mergegate/autorun/phase-5-github-sync/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

433 B

Approval Gate: Phase 5

Pass Criteria

  • cargo test → all GREEN
  • MockFetcher: PR merged → evidence → Merged transition GREEN
  • MockFetcher: API down → AwaitingGithubSync GREEN
  • MockFetcher: Issue manual close → NOT done GREEN
  • GitHubEvidenceFetcher trait defined with mock + real impl

On Failure

  • gh CLI not found → fall back to HTTP
  • Rate limit → exponential backoff
  • Retry (max 3)