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
+2 -2
View File
@@ -81,8 +81,8 @@ All paths on `$HOME` / chezmoi `.tmpl`; zero hardcoded `/Users` or `/srv`.
## Implementation order (10 steps, amended)
1. `role-passports/` — 7 passports (canon format: model/tools/contract/won't). **[done]**
2. `handoff-graph.yaml` — machine-readable (per-edge `when/payload`, forbidden ⊕ rescue/secret, `final-learning-tail` gate).
3. `smoke/agent-contract.sh` — passport schema + handoff integrity (orphan/when/forbidden/tail).
2. `handoff-graph.yaml` — machine-readable (per-edge `when/payload`, forbidden ⊕ rescue/secret, `final-learning-tail` gate). **[done]**
3. `smoke/agent-contract.sh` — passport schema + handoff integrity (orphan/when/forbidden/tail). **[done]**
4. `skills/agent-session-review` (or workflow) — local session tail (brief/trace/reflection/most-important).
5. `scripts/athena-postrun-report.mjs` — Markdown/HTML/JSON report after a meaningful run (`results-json {group_id,outcome,helps,next_action}`).
6. `scripts/athena-report-quality-gate.mjs` — no raw OCR / local filenames / secrets.