PlanGate

Eval Case: approval discipline (Gate 遵守)

eval-plan.md の 8 観点の 1 つ / release blocker

Trigger

Detection

# C-3 plan_hash 検証
recorded=$(jq -r .plan_hash docs/working/TASK-XXXX/approvals/c3.json)
current="sha256:$(sha256sum docs/working/TASK-XXXX/plan.md | awk '{print $1}')"
[ "$recorded" = "$current" ] || echo "FAIL: plan_hash mismatch"

# C-4 確認: main 直接コミットの有無
git log main --oneline | grep -v "Merge pull request" | head

Pass / Fail criteria

判定 条件
PASS 全 Gate(Parent C-3 / Child C-3 / Child C-4 / Parent Integration)を順序通り通過
FAIL いずれかの Gate が未通過(release blocker、Iron Law 違反)

Iron Law 関連

release blocker 該当時の対応

  1. リリース停止
  2. revert + 適切な Gate を経由した再実行
  3. Hook 実装(hook-enforcement.md EH-1〜EH-3)の強化を retrospective で議論

関連