Skip to content

Source Tasks 001

Reese Hodge edited this page Oct 18, 2026 · 3 revisions

Source: Tasks 001

specs/001-max-height-ai-character/tasks.md is the task plan and drift record for the core Max Height feature. It is not proof of implementation. The standing lesson is: a [x] in tasks.md is a claim, not proof — verify against code before building on it. Deviation C4 is the concrete example: T023 had been marked complete, but code review showed only the WebSocket/Lambda/SSM half existed; the AgentCore Memory construct was never written.

This page is linked from Gotchas because task boxes can mislead future agents. Use Feature-Max-Height-Core for current capability status and Source-Spec-001 for requirements.

Coverage gap fixes and deviations

The top table in tasks.md records these important entries:

ID Substance
C1 Personality gate evaluation was missing, so T069-T070 were added in Phase 3 to build and run the 50-case golden set via AgentCore Evaluations. T069 built 65 cases, matching the bible's revised count, and T070 never ran (see Concept-Personality-Gate).
C2 Observability trace spans were missing, so T017 was added in Phase 2 to wire AgentCore Observability plus five custom latency spans.
C3 The WebSocket Lambda handler was missing, so T020 was added in Phase 2 and plan.md project structure was updated.
C4 T023 was marked complete but only half-implemented in the 2026-09-20 audit: agent-stack.ts had only WebSocket API + Lambda + SSM; the AgentCore Memory construct was absent and @aws-cdk/aws-bedrock-agentcore-alpha was imported nowhere. The task was split into T023a done, T023b Memory construct, and T023c agent-side client stub.
C5 As of 2026-09-20 the runtime was not provisioned and its platform version was undecided. T148-T153 were added. The original CLI-only deployment rationale was superseded by C7; V2 remains an accepted target, not a constructed runtime.
C6 T148/T149 readiness gating landed in #30 but remained unchecked until corrected. initialize() delays listening, /ping is 503 before readiness, and startup has a 120 s deadline. The unexercised-client half was split into T154; #33 completed it with a real, non-inference ListAsyncInvokes warm-up. T148/T149/T154 are now checked, backed by code and tests.
C7 CloudFormation gained PlatformVersion and AgentCore constructs moved to stable CDK. #34 removed the unused alpha dependency; T023b and T152 now target stable CDK. This changes the accepted design, not what agent-stack.ts currently constructs. The constitution still says AgentCore CLI owns deployment; amendment remains unresolved.

Related table entries also matter: K1 embedded tests into each user story to satisfy TDD/P10; I1 added the 30-minute session cap; B1 clarified MVP export is localStorage-only; B2 clarified React Three Fiber is an MVP dependency for CRT effects; I3 clarified displayAlias is stored locally in MVP.

Phase map

Phase Scope Status signal from tasks
1 Setup and monorepo tooling checked
2 Foundational types, stores, observability, connection, Lambda, CDK mostly checked, but T023b/T023c remain open because of C4
3 First-visit core MVP many checked; greeting MP3 task appears open in tasks despite MP3 files existing; video task is deferred/obsolete by later spec clarification
3 extension CHANNEL knob theme cycling task table shows open T140-T147, but code/tests now exist for several pieces; verify directly before acting
4 Mobile/iOS checked
5 Text-only/mic-blocked checked; first-laugh gate T119 remains open
6 Returning visitor memory many implementation tasks checked, but real AgentCore Memory client/resource gaps remain because C4 blocks production use
7 PWA/offline open
8 Polish/E2E/security/runtime many open; T148/T149/T150/T154 are checked, but T151/T152/T153 remain open and runtime deployment is unverified
9 Web Speech API enhancements added later; inspect the current task range before relying on it

Verification notes from code

packages/infra/lib/agent-stack.ts confirms C4 and C5: neither Memory nor Runtime is constructed. packages/agent/src/memory/agentCoreMemoryClient.ts still throws unless tests inject a mock. packages/agent/src/index.ts gates listening on initialize() and readiness, with no old Lambda-lifetime comment; packages/agent/src/bedrock/warmup.ts actually sends the startup probe. Those checks verify container code, not a deployed V2 resource. T151/T152/T153 remain open; see Decision-AgentCore-Runtime-V2.

When planning work from this task file, first grep for the claimed file/import/resource, then inspect tests or runtime behavior. Do not build new work on a checked task until the code exists and the behavior is verified. See Gotchas and Concept-Testing-And-TDD.

Clone this wiki locally