CLAUDE.md@packages/spec/src/claude · git:20260819.27b9281 · 2026-08-19 · sha256 e59b876af8d84f91
CLAUDE.md@packages/spec/src/claude git:20260819.27b9281B
Immutable. This exact content is served forever at /api/v1/blob/e59b876af8d84f91.
# CLAUDE.md
@AGENTS.md
<!-- Claude Code reads this file; the @import above loads the shared AGENTS.md core.
Humans: review installed hooks with /hooks before trusting them. -->
## Claude Code runtime
- Edit project skills under `.claude/skills/`, not `~/.claude/skills`.
- Run Python skill scripts with the skill venv:
- macOS/Linux: `.claude/skills/.venv/bin/python3 scripts/<script>.py`
- Windows: `.claude\skills\.venv\Scripts\python.exe scripts\<script>.py`
- Consult `.claude/rules/state-sync.md`, `.claude/rules/hook-protocols.md`, and `.claude/rules/skill-workflow-routing.md` when their topics apply.
- New Specs work uses the process-first flow. `/hapo:specs` opens C1, writes
`specs/<feature>/plan.md` with flat `task-NN-*.md` files beside it, then opens
C2 after adversarial review. It never starts implementation.
- Start implementation only through a new explicit `/hapo:develop` invocation.
Execute one unblocked task at a time; each task has exactly one `Status:`
field and the controller is its sole state-and-proof writer.
- Use `/hapo:sync` for surgical updates to observed file state. A done task
requires a canonical final inline `## Receipt` with the exact command,
`Exit: 0`, `Verification: PASS`, runtime-derived Base and Head values, and
non-empty fenced current output.
- At C3, show current receipts and unresolved limitations. The user decides
completion; no command, review, or host state may invent approval or proof.
### Legacy Specs compatibility
Existing packets containing `spec.json`, nested tasks, or legacy kernel
artifacts keep their installed adapter, `task_registry`, `semantic_model`,
`planning_depth`, lane, `execution_tier`, machine authority, separate receipts,
and closeout contract. Do not migrate them during unrelated process-first work.