This file is the agent entrypoint and map, not the full manual.
- Read
CLAUDE.mdfirst. - Follow the chain to
.agents/CLAUDE.mdand treat it as the authoritative instruction set. - Run
yarn harness:contextto collect current repository and git context.
- Authoritative project conventions:
.agents/CLAUDE.md - Context and file map:
docs/agent/context-map.md - Deterministic workflows and validation loop:
docs/agent/workflows.md - Chrome MCP browser verification workflow:
docs/agent/chrome-mcp.md - Active implementation plans and design notes:
docs/plans/ - CI truth for enforced checks:
.github/workflows/ci.yml
Run these after every change:
yarn typecheckyarn testyarn lintyarn test:e2e:if-available
Or run the harness command:
yarn harness:verify
- Set up Chrome DevTools MCP:
yarn codex:mcp:chrome:setup - Start app with deterministic worktree runtime:
yarn dev:worktree - Inspect resolved worktree URL/port:
yarn worktree:env
- Use Conventional Commits:
type(scope): subject(ortype: subjectwhen no scope is needed). - Preferred types:
feat,fix,chore,docs,refactor,test,ci,build,perf,revert.
yarn test:e2e:if-availablemust run Playwright only when environment is cloud/CI orPLAYWRIGHT_FORCE=1, and a database is configured and reachable.- If the guarded Playwright command skips, report the skip reason in updates/final output.
- Any user-facing UI behavior change requires Playwright coverage updates for the affected workflow.
- Re-run Playwright until the updated UI workflow tests pass, not just once.
- Keep
AGENTS.mdshort and stable. - Move detailed guidance into
docs/agent/*and link from here.