Skip to content

Source Initial Plan

Reese Hodge edited this page Sep 26, 2026 · 1 revision

Source: Initial Plan

Source path: docs/initial-plan.md.

This is the original broad plan for Max Height: a cloud-only browser experience with a talking AI character, voice input/output, glitch/CRT styling, memory, AWS-hosted agent infrastructure and a strict small-budget posture. It is useful as project history and design background, but current implementation truth now lives in the wiki, specs, and code.

See Feature-Max-Height-Core for current capability state and Source-Infra-Plan for the later infrastructure correction.

Core constraints captured

  • Cloud-only AI: no browser-side model inference.
  • Web-only delivery: browser app rather than native mobile.
  • Hard personal-project budget posture.
  • Friends-and-family audience, not a public product.
  • Legal distinction: Max Height is the project character; no real-person voice clone or exact visual replica.
  • Personality-first build order: text/persona before voice, then visuals, then polish.

Major technical choices

The initial plan selected React + Vite, React Three Fiber, Zustand, Web Audio, Web Speech API, Amazon Bedrock, Amazon Polly, Cognito guest identity, AgentCore Runtime, AgentCore Memory, S3 and CloudFront.

It also explains several enduring choices:

  • Polly is preferred over premium voice providers because the base voice is cheap and the "Max" feel comes from DSP effects.
  • Cognito guest credentials fit the friends-and-family audience better than account creation.
  • Zustand owns ephemeral client UI state only; conversation history belongs server-side.
  • Real-time LLM-as-judge was rejected for cost, latency and streaming reasons; evaluation belongs in offline or async gates.

Build sequence

The plan's phase sequence is:

  1. Text chat and core agent personality.
  2. Personality validation gate.
  3. Personality steering and tools.
  4. Voice pipeline.
  5. Avatar and scene.
  6. Visual effects.
  7. Integration and polish.
  8. Stretch goals.

The personality gate is the most important architectural signal: a polished avatar with weak character is defined as failure.

Current caveats

Several facts in this source are superseded:

  • Some package names, versions and service limits have gone stale.
  • AgentCore Runtime V2 changed the deployment plan; see Source-Infra-Plan and Decision-AgentCore-Runtime-V2.
  • The repo layout shown here predates the current packages/frontend, packages/agent, and packages/infra workspace structure.
  • Detailed personality rules now live in Source-Personality-Bible.

Trap: speckit.plan can destructively regenerate artifacts

The process lesson linked from Gotchas belongs here: running speckit.plan against an existing feature can destructively regenerate that feature's artifacts. Treat it as a source-changing operation, not a harmless read or refresh. Before invoking it, confirm the target feature and inspect the worktree so generated changes are reviewable rather than accidental.

What agents should take from it

Use this document to understand why the project exists and why the architecture leans personality-first, cloud-only, low-cost and legally distinct. Do not use it as the final source for current package versions, task status or deployment mechanics.

Clone this wiki locally