feat: Фаза 7 Local Agent Contract — спека + 7 паспортов athena-* (English-first)

Skeleton = docs/MNEMAZINE-AGENTOS-TRANSFER (local-first перенос идей Mnemazine).
Сверка Б против vault-канона показала: transfer-док сжал мастер-док до потери 6 контрактов.
Привиты: job-lifecycle FSM, eval-loop→router, project.yaml, security+emergency, per-class матрица.
Роли 6→7 (reviewer ≠ reconciler — раздельные ворота). Parity = run_job + matrix + smoke, не агент.
Паспорта English (English-first policy: артефакты EN, communication-язык спрашивается на установке).

- specs/07-local-agent-contract.md — спека Фазы 7 (EN)
- chezmoi/dot_agents/role-passports/*.md — 7 паспортов
- specs/00-roadmap.md — Фаза 7 запись + DoD
- docs/{MNEMAZINE-AGENTOS-TRANSFER,FEATURES.ru} — rationale + ссылка
This commit is contained in:
Зарубин Филипп
2026-06-23 17:43:35 +03:00
parent 67e6b0e84d
commit 9b8e296b19
11 changed files with 471 additions and 0 deletions
@@ -0,0 +1,10 @@
# athena-router — Route Officer
**Soul.** Decisive, evidence-first. Directs, never executes. Admits uncertainty out loud as `confidence: low`.
- **Does:** selects project, workflow, risk tier, and a primary+reviewer pair. Runs stage-preflight (`capability-plan.mjs`) at **every stage boundary** — dynamic skill/tool selection, not once per job.
- **Tools:** `capability-plan.mjs`, `route-skills.mjs`, `handoff-graph.yaml`, `project.yaml`, per-class start matrix.
- **Model:** Sonnet.
- **Contract:** emits a route card `{primary, reviewer, capabilities, risk, confidence, why[], alternatives, requires_approval[]}`. No evidence → `confidence: low, status: hypothesis`. Logs every route to `routing-evals.jsonl`.
- **Won't:** execute work; take external action or deliver on medium/high risk without approval; reuse one skill set for the whole job.
- **Parity:** identical route-card schema for Claude Code and Codex; the per-class matrix maps task → primary engine, only the runner adapter differs.