feat: Фаза 7 шаги 7-10 — job-lifecycle FSM + project passport + parity-smoke #3

Merged
zarubinvibe merged 1 commits from phase7-steps7-10 into main 2026-06-23 19:18:11 +00:00
zarubinvibe commented 2026-06-23 19:16:26 +00:00 (Migrated from github.com)

Summary

  • job-lifecycle.yaml — FSM 13 состояний: Draft→Staging→ProjectDetection→RouteProposed→Approved→Queued→Running→NeedsInput→ReviewReady→Delivered→Archived + Failed→Retry. Invariants: retry-once, delivered/archived gates, no-vault-bypass.
  • claude-starter/project.yaml — шаблон project passport: data_policy (sensitivity/allow_cloud/allow_embeddings/retention_days/require_upload_manifest), capabilities, agents.preferred_pair, steward.max_proposals_per_week.
  • routing-evals.example.jsonl — формат eval-записи (3 примера: code-edit/arch/legal, поля: ts/job_id/task_class/primary/reviewer/confidence/why/outcome/correction).
  • athena-router.md — start matrix 10 классов (code-edit/debug/arch/docs/legal/obsidian/deploy/ui/security/steward → primary+reviewer+why) + eval feedback loop.
  • parity-smoke.sh — synthetic: fixture route-card Claude vs Codex → schema identical + required fields + drift-check ~/.claude↔~/.codex.
  • agent-contract.sh — +5 новых проверок (lifecycle/project-yaml/routing-evals/matrix/parity).

Test plan

  • bash smoke/agent-contract.sh . → agent-contract OK
  • bash smoke/smoke.sh → SMOKE OK
  • shellcheck -S warning *.sh smoke/*.sh → exit 0, 0 warnings
  • CI smoke.yml — должен пройти (те же чеки)

🤖 Generated with Claude Code

## Summary - **job-lifecycle.yaml** — FSM 13 состояний: `Draft→Staging→ProjectDetection→RouteProposed→Approved→Queued→Running→NeedsInput→ReviewReady→Delivered→Archived` + `Failed→Retry`. Invariants: retry-once, delivered/archived gates, no-vault-bypass. - **claude-starter/project.yaml** — шаблон project passport: `data_policy` (sensitivity/allow_cloud/allow_embeddings/retention_days/require_upload_manifest), `capabilities`, `agents.preferred_pair`, `steward.max_proposals_per_week`. - **routing-evals.example.jsonl** — формат eval-записи (3 примера: code-edit/arch/legal, поля: ts/job_id/task_class/primary/reviewer/confidence/why/outcome/correction). - **athena-router.md** — start matrix 10 классов (code-edit/debug/arch/docs/legal/obsidian/deploy/ui/security/steward → primary+reviewer+why) + eval feedback loop. - **parity-smoke.sh** — synthetic: fixture route-card Claude vs Codex → schema identical + required fields + drift-check `~/.claude`↔`~/.codex`. - **agent-contract.sh** — +5 новых проверок (lifecycle/project-yaml/routing-evals/matrix/parity). ## Test plan - [x] `bash smoke/agent-contract.sh .` → `agent-contract OK` - [x] `bash smoke/smoke.sh` → `SMOKE OK` - [x] `shellcheck -S warning *.sh smoke/*.sh` → exit 0, 0 warnings - [x] CI smoke.yml — должен пройти (те же чеки) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.