feat: Фаза 7 шаги 2-3 — handoff-граф + agent-contract smoke

handoff-graph.yaml: directed DAG (7 agents/handoffs/forbidden/gates), engine-agnostic,
per-edge when, per-forbidden why, final-learning-tail (brief/trace/reflection/most_important).
agent-contract.sh: zero-dep валидатор (passports + граф integrity), врезан в smoke.sh.
Негатив-тесты подтверждены: ловит missing when/why/tail/passport. shellcheck 0 (error-level).
role-passports/_index.md — навигация по 7 душам.
This commit is contained in:
Зарубин Филипп
2026-06-23 17:55:32 +03:00
parent e432e46f5e
commit 3094b0a6ae
6 changed files with 171 additions and 5 deletions
@@ -0,0 +1,15 @@
# Role Passports — index
Engine-agnostic agent contracts read by **both Claude Code and Codex**. One file per agent; format `Soul · Does · Tools · Model · Contract · Won't · Parity`. The directed handoff graph (`../handoff-graph.yaml`) wires them; `smoke/agent-contract.sh` enforces passport + graph integrity.
| Agent | Role | Model | Gate it owns |
|---|---|---|---|
| [athena-router](athena-router.md) | route officer | Sonnet | route card + stage-preflight |
| [athena-guard](athena-guard.md) | intake census | Haiku | inputs accounted, secret-path blocked |
| [athena-runner](athena-runner.md) | provider adapter | Haiku→Opus | sandboxed run, outbox-only |
| [athena-reconciler](athena-reconciler.md) | coverage ledger | Sonnet | `unaccounted == 0` |
| [athena-reviewer](athena-reviewer.md) | eval / release gate | Sonnet→Opus | verdict before deliver |
| [athena-librarian](athena-librarian.md) | knowledge curator | Haiku→Sonnet | synthesis-only vault |
| [athena-steward](athena-steward.md) | weekly governance | Sonnet | budgeted proposals |
`reconciler` and `reviewer` are **separate gates** — accounting inputs ≠ judging quality. Never merge.