Skip to content

Source Quickstart

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

Source: Quickstart

specs/001-max-height-ai-character/quickstart.md is the developer setup and deployment source for the core feature. It explains local tooling, validation, AWS setup, MCP server posture, deployment order, and troubleshooting. See Guide-Local-Setup and Guide-Validation-Gate for wiki-current operational guidance.

Toolchain

Tool Required by quickstart
Node.js 24; repo pins the exact patch via package manager/runtime settings
pnpm 11; quickstart names 11.24.0
AWS CLI 2.x for deployment
AWS CDK CLI 2.258+ for infra deployment
AgentCore CLI 0.30+ as @aws/agentcore, not the unpublished old package name
Docker 24+ for agent deployment

Only Node and pnpm are required for install/build/test. AWS CLI, CDK, AgentCore CLI, and Docker are deploy-only. Corepack is not required; pnpm self-switching and runtime pinning are documented in the quickstart.

Repository shape

packages/
  frontend/   React + Vite SPA
  agent/      Strands agent for AgentCore Runtime
  infra/      AWS CDK stacks
specs/        feature specifications
docs/         design documents and personality source

Main commands

Command Purpose
pnpm install install workspace dependencies
pnpm run validate lint, format check, typecheck, build, test
pnpm run test all unit/integration tests
pnpm run test:coverage coverage reports
pnpm audit --audit-level=moderate dependency audit; CI also runs it
cd packages/frontend && pnpm run dev local UI dev server
cd packages/agent && pnpm run dev local agent server
cd packages/infra && npx cdk synth validate CDK templates

Deployment sequence

  1. Configure short-lived AWS credentials in the shell; do not write long-lived access keys to disk.
  2. Create required SSM SecureString parameters for weather and news provider keys before deploying the agent stack.
  3. Bootstrap CDK once.
  4. Target, not an executable step today: quickstart.md §Deployment was revised 2026-09-27 to put the V2 runtime in CDK using a PlatformVersion override and post-deploy verification. T152 and the runtime construct remain open; the constitution still assigns agent deployment to the CLI. Resolve that conflict and build/test the resource before following this step.
  5. Deploy CDK stacks: Cognito, Agent, Frontend, Budget, once their dependencies and prerequisites are satisfied. No deployed account state was verified here.
  6. Copy WebSocket and Cognito outputs into frontend environment config, build frontend, and sync dist/ to the deployed bucket.

The quickstart preserves an AgentCore CLI fallback if CloudFormation V2 provisioning fails. That is a contingency, not evidence either path has been deployed. See Guide-Deployment and Decision-AgentCore-Runtime-V2.

MCP notes

.mcp.json is for AI coding assistants only and is not needed to build, test, or deploy. VS Code reads .vscode/mcp.json; both checked-in files must stay in parity, with different top-level keys. Entries in these repo-shared configs must be plain HTTP endpoints, not local package-manager-launched stdio servers. This is enforced by packages/infra/test/mcp-config.test.ts; it does not prohibit separate personal or session-scoped stdio configs. See Guide-MCP-Servers and Concept-Credential-Hygiene.

Troubleshooting highlights

Problem Quickstart guidance
Node engine failure repo requires Node 24 and .npmrc uses strict engine checks
pnpm minimum release age violation restore lockfile and resolve under policy; do not patch lockfile manually
ignored builds explicitly allow or deny in pnpm-workspace.yaml
Zod peer conflict overrides live in pnpm-workspace.yaml, not package.json
Playwright missing browsers run npx playwright install under packages/frontend
AgentCore V2 conflicts wait for runtime terminal state before update/delete
MCP region confusion MCP server hosting region is not necessarily the target deployment region

For capability details, use Feature-Max-Height-Core; for contract surfaces, use Contract-WebSocket-API and Contract-Message-Protocol.

Clone this wiki locally