When to use
- Onboard a developer to this repository.
- Build a subsystem mental model before making changes.
- Create a guided learning path with checkpoints.
Core commands
/teach-fullfor broad architecture scan + pause checkpoint./teach-dive <subsystem>for targeted deep dives./teach-ask <question>for direct answer-only mentoring responses.
Standard flow
- Ensure context is loaded from:
.aoc/context.mdaoc-mem readaoc-stm resume(fallbackaoc-stm read-currentwhen no archive exists)aoc-task list.taskmaster/docs/prd.txt(fallback.taskmaster/docs/prd.md)
- For full scan, explore subsystem tracks in parallel.
- Synthesize a teaching report with:
- system mental model
- subsystem map
- key files per subsystem
- current status (done vs fragile/missing)
- top risks
- End with numbered checkpoint options and wait for user choice.
- For deep dive, return:
- concept in plain English
- repo implementation with file refs
- tradeoffs and alternatives
- debugging checklist
- 2-3 hands-on exercises
Insight logging (local-only)
Maintain a local insight workspace in .aoc/insight/:
current.md: active teaching state and pending choicesinsights.md: append-only insight logindex.md: compact history indexsessions/*.md: timestamped full scan and deep-dive snapshots
Do not change .gitignore for this workspace; keep it local-only.
Insight entry format
- timestamp (UTC)
- subsystem
- insight
- evidence (file refs)
- confidence (
high|medium|low) - suggested action
- promote to memory (
yes|no)
Guardrails
- Default to read-only exploration.
- Do not edit code unless explicitly requested.
- Never edit
.aoc/memory.mddirectly. - Never edit
.taskmaster/tasks/tasks.jsondirectly. - Promote durable decisions with
aoc-mem addonly when asked.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.