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
+3 -3
View File
@@ -89,9 +89,9 @@ Generic chezmoi-source собран (чистая пересборка, НЕ д
Самопроверяемый агентный слой: роли · handoff-граф · post-run · eval-loop · gates. Job завершён не текстом, а контрактом. Спец: `specs/07-local-agent-contract.md`. Источник идей: `docs/MNEMAZINE-AGENTOS-TRANSFER.ru.md` (скелет) ⊕ канон vault (привиты 6 контрактов, сверка 2026-06-23).
- [x] План + сверка (Б) ролей/handoff repo-дока против мастер-дока vault → 6 athena-* → **7** (reviewer ≠ reconciler), привиты job-lifecycle FSM / eval-loop→router / project.yaml / security+emergency / per-class матрица.
- [ ] Шаг 1 — `chezmoi/dot_agents/role-passports/` (7 паспортов, канон-формат).
- [ ] Шаг 2 — `chezmoi/dot_agents/handoff-graph.yaml` (машиночитаемый + forbidden + learning-tail gate).
- [ ] Шаг 3 — `smoke/agent-contract.sh` (passports + handoff integrity).
- [x] Шаг 1 — `chezmoi/dot_agents/role-passports/` (7 паспортов English + `_index.md`, канон-формат).
- [x] Шаг 2 — `chezmoi/dot_agents/handoff-graph.yaml` (машиночитаемый: agents/handoffs/forbidden/gates + learning-tail).
- [x] Шаг 3 — `smoke/agent-contract.sh` (passports + handoff integrity; негатив-тесты ловят when/why/tail/passport; врезан в smoke.sh).
- [ ] Шаги 4–6 — session-review · postrun-report · report-quality-gate.
- [ ] Шаги 7–8 — job-lifecycle + project.yaml + eval-loop→router + стартовая матрица.
- [ ] Шаг 9 — smoke++ · FEATURES maturity layers. Шаг 10 — dashboard (thin UI) — позже.