Phase 7 «Local Agent Contract» (Hire-Agents, local-first): adds a behavioral layer that checks agent workflow — roles, handoff transitions, reports, and eval records. A job is not done when there is only a text answer.
What changed
Steps 1–3 (passports + graph + smoke):
specs/07-local-agent-contract.md — full phase spec (EN), grafted 6 load-bearing contracts lost in prior compression
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Phase 7 «Local Agent Contract» (Hire-Agents, local-first): adds a behavioral layer that checks agent workflow — roles, handoff transitions, reports, and eval records. A job is not done when there is only a text answer.
What changed
Steps 1–3 (passports + graph + smoke):
specs/07-local-agent-contract.md— full phase spec (EN), grafted 6 load-bearing contracts lost in prior compressionchezmoi/dot_agents/role-passports/*.md— 7 passports:athena-{router,guard,runner,reconciler,reviewer,librarian,steward}(English-first, model/tools/contract/won't/parity)chezmoi/dot_agents/handoff-graph.yaml— machine-readable directed DAG withwhen/payloadper edge,forbiddenentries withwhy,final-learning-tailgatesmoke/agent-contract.sh— zero-dep integrity check: 7 passports × canon fields, graph keys, orphan detection, every edge haswhen, every forbidden haswhy, all 4 tail outputs presentSteps 4–6 (session tail + postrun report + quality gate):
skills/agent-session-review/SKILL.md(dual-write root + chezmoi) — 4 mandatory blocks:brief_md / agent_trace / self_reflection / most_important. Mandatory before the deliver gate fires (Karpathy method: synthesize on write)chezmoi/dot_agents/registry/scripts/athena-postrun-report.mjs— adapted frommnemazine-postrun-knowledge-report.mjs(520 → ~120 lines, vault-specific logic removed). Input:--results-json [{group_id, outcome, helps, next_action}]. Output:--format md|html|json. Env:ATHENA_REPORTS,ATHENA_RUN_IDchezmoi/dot_agents/registry/scripts/athena-report-quality-gate.mjs— 5 rules:no-raw-ocr/no-local-paths/no-secrets/has-outcome/has-next-action. Accepts.htmland.md. Exit 0 = pass, 1 = failsmoke/agent-contract.sh+4 checks: SKILL.md 4-block presence, synthetic postrun run, gate PASS on good report, gate FAIL on bad report (negative test)Language policy:
DoD status
smoke/smoke.shgreenshellcheck -S error0Remaining (steps 7–10, next session)
job-lifecycle.yamlFSM +claude-starter/project.yamltemplaterouting-evals.jsonl), start matrix per-classTest plan
bash smoke/smoke.sh→SMOKE OKshellcheck -S error smoke/agent-contract.sh→ exit 0node chezmoi/dot_agents/registry/scripts/athena-postrun-report.mjs --results-json <file> --run-id test→ produces.mdinATHENA_REPORTSnode chezmoi/dot_agents/registry/scripts/athena-report-quality-gate.mjs --report <good.md>→ exit 0node chezmoi/dot_agents/registry/scripts/athena-report-quality-gate.mjs --report <bad.md>→ exit 1chezmoi apply --dry-runon a clean machine — zero hardcoded/Users/paths🤖 Generated with Claude Code