This file is a map for coding agents working in this repository. Keep it short and use it as a table of contents, not as a full manual.
- Read
docs/index.mdfor the docs map. - Read
ARCHITECTURE.mdfor package boundaries. - If the task is non-trivial, create or update an execution plan in
docs/exec-plans/active/. - Run
make devbefore handing off changes.
- Prefer repository-local knowledge over chat history.
- Keep changes small, reviewable, and easy to revert.
- Encode repeated guidance as docs or checks, not one-off instructions.
- Favor clear structure and predictable naming over cleverness.
- Product and architecture intent:
docs/andARCHITECTURE.md - Code and API behavior:
src/ - Quality baseline and known gaps:
docs/quality/score.md - Active and completed execution plans:
docs/exec-plans/ - OpenSpec change artifacts:
openspec/changes/
src/cutkit/: Python package sourcetests/: test suitedocs/: documentation system of recorddocs/index.md: doc indexdocs/exec-plans/active/: plans in progressdocs/exec-plans/completed/: archived plansdocs/quality/score.md: architecture and quality scorecarddocs/entire-transcript-policy.md: transcript handling policy
.github/workflows/ci.yml: CI checksMakefile: common local commands
- Create one markdown file per meaningful task in
docs/exec-plans/active/. - Include: objective, scope, acceptance criteria, and checklist.
- Keep plan progress updated while implementing.
- Move completed plans to
docs/exec-plans/completed/with outcomes.
- Start change definition with
/opsx-propose(OpenCode) or/opsx:propose. - Implement with
/opsx-apply(OpenCode) or/opsx:apply. - Archive with
/opsx-archive(OpenCode) or/opsx:archive.
Use uv and prek via:
make devEquivalent checks:
uv run prek run --all-files- Python requirement is
>=3.12. - Do not bypass hooks or CI requirements.
- Do not push directly to
main. - Keep docs and code in sync when behavior changes.