This file is the shared entry point for all AI agents operating in the TTA repository. Read this before acting.
Therapeutic Text Adventure (TTA) — An AI-powered narrative game for mental health support. Players make choices that branch the story; a therapist/editorial layer curates which paths are safe and effective.
TTA.dev (/home/thein/repos/TTA.dev) provides reusable platform primitives.
| Agent | Role | Config |
|---|---|---|
| Claude Code | Main agent — primary decision maker | CLAUDE.md |
| GitHub Copilot | IDE suggestions | .github/copilot-instructions.md |
| Augment | Code intelligence | .augment/instructions.md |
| Cline | AI coding assistant | .cline/instructions.md |
| Gemini | Secondary review | GEMINI.md |
Before any non-trivial task, recall context from Hindsight:
mcp__hindsight__recall— queryadam-globalfor durable directives and cross-project patternsmcp__hindsight__recall— query the current derivedproject-*orworkspace-*bank for TTA-specific context
After completing a significant task (architecture decision, bug root-cause, resolved TODO):
- Cross-project patterns → retain to
adam-global - TTA-specific decisions, commands, failures → retain to current derived
project-*/workspace-*bank
Hindsight MCP: http://localhost:8888/mcp/ | Start: uvx --from hindsight-api hindsight-local-mcp
- Python: 3.12+ only
- Package manager:
uv— neverpip install - Type hints:
str | NonenotOptional[str] - Line length: 88 chars (Ruff)
- Type checking: Pyright
standardmode - Commits: Conventional Commits (
feat:,fix:,refactor:,test:,chore:) - Tests: pytest
asyncio_mode = "auto"; integration tests use@pytest.mark.integration
uv run ruff check src/ --fix
uv run ruff format src/
uv run pyright src/
make testmake watch # Reruns unit tests on every .py/.toml save (cancels in-progress run)
make watch-all # Same, but includes integration tests (requires Neo4j + Redis)TTA.dev owns the emerging developer-agent L0 control plane.
TTA does not own that layer. In this repo, L0-related work should focus on
integrating with TTA.dev, not recreating a second developer control plane
inside src/agent_orchestration/.
- keep runtime/player-session orchestration separate from developer-agent orchestration
- define how TTA build/test/release work should be represented as TTA.dev L0 tasks and runs
- add adapters or scripts that let TTA.dev-managed agents safely operate on this repo
- surface enough project/workflow metadata that TTA.dev can coordinate work without touching therapeutic runtime state
Do not treat IPA/WBA/NGA runtime coordination as the same problem as Claude/Copilot developer coordination. Those are different control planes.