mergegate/autorun/phase-7-cli/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

380 B

Approval Gate: Phase 7

Pass Criteria

  • cargo build → dtp binary compiles
  • dtp register --issue 1 --title test → creates task
  • dtp status → JSON output with task list
  • dtp --help → all subcommands listed
  • Exit codes: 0=success, 1=gate-rejected, 2=input-error

On Failure

  • clap derive issues → check feature flags
  • Retry (max 3)