mergegate/autorun/phase-6-protocol/GATE.md
林 駿甫 (Shunsuke Hayashi) 146fcafc5e [追加] DTP (Deterministic Task Protocol) 設計文書・指示書を移植
deterministic-task-protocol リポから miyabi-cli-standalone に統合:
- docs/dtp/: PLAYBOOK, PLAN, UML, GIT-RULES, Codex レビュー 3件
- autorun/: Phase 0-8 の TASKS/ASSIGNMENT/GATE + INDEX/HANDOFF/ROLLBACK
- project_memory/tasks.json: 全9 Phase の DAG SSOT
- skills/: polaris-ops, rust-llm-pitfalls
- .codex/instructions.md: Codex 設定

実装は miyabi-core に gate.rs, lock.rs, protocol.rs, store.rs を追加する方針。
既存の dag.rs, github.rs, approval.rs 等は変更不要。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 01:07:32 +09:00

14 lines
504 B
Markdown

# Approval Gate: Phase 6
## Pass Criteria
- [ ] `cargo test` → all GREEN (20+ tests)
- [ ] E2E happy path: draft → done test GREEN
- [ ] GATE rejection tests: 8+ tests, all correctly reject
- [ ] Escape hatch tests: force_unlock, manual_complete GREEN
- [ ] All operations emit events to EventStore
- [ ] Snapshot persists after every state change
## On Failure
- Component integration mismatch → check trait bounds
- Event ordering → verify append is sequential
- Retry (max 3), then escalate