Skip to content

docs(ai-loop): #873 TASK-0873 plan 正式化(MERGE_READY 状態機械 delivery.py・C-3 待ち)#900

Merged
s977043 merged 2 commits into
mainfrom
docs/task-0873-plan
Jul 22, 2026
Merged

docs(ai-loop): #873 TASK-0873 plan 正式化(MERGE_READY 状態機械 delivery.py・C-3 待ち)#900
s977043 merged 2 commits into
mainfrom
docs/task-0873-plan

Conversation

@s977043

@s977043 s977043 commented Jul 22, 2026

Copy link
Copy Markdown
Owner

概要

TASK-0873(issue #873 / P0 / EPIC #870)の plan フェーズ成果物一式。C-3 Human 詳細レビュー待ち(Mode=critical・lite_eligible=false・autonomous APPROVE 不可)。

フロー実績

  • B-1: Human 確認 2 問(サブステート導入 / refactor(ai-loop): 検証ロジックの共通契約層化 — 定数/hash/snapshot三つ組照合の重複解消(#873/#874 前の基盤整理) #896 並行)→ 事前メトリクス検証(fixture 10・touch 8-9・ratio 1.0)
  • B-2: 実行モデル(A-1 snapshot 判定エンジン)/ 契約形(code 単一定義 + contract emit)/ サブステート集合の 3 論点比較
  • B-3: plan / todo / test-cases 同時生成 + INDEX / current-state / decision-log
  • C-1: PASS(WARN 1 = record 出力先未指定を自動修正)
  • C-2 2 レーン: Codex 設計妥当性 = reject(critical 2 / major 6) / 独立コードベース整合 = approve(minor 5 / info 3) → 分裂裁定を一次ソース実測 4 点で確定 → R-001〜R-015 全 15 件採用(R-004/R-006 は部分採用 = sandbox アクション実行スタブ + Phase 1 信頼境界 + C-3 論点化)→ 1 回確定反映(Refs 付き)→ 簡易 C-1 PASS(二次矛盾 1 件検出・是正済み)

Mode 判定

critical(AC 12 → mode-classification 定量基準 11+ で決定論。pbi-input の high-risk 見込みは hedge と判定し引き上げ)

C-3 論点(8 件・plan Questions 節)

  1. 契約の機械可読形(code 単一定義 + emit vs docs/schemas JSON)
  2. サブステート集合 + 判断表全 8 行の正規化表(優先度 3 recurse / 7=candidate・8 分離)
  3. refactor(ai-loop): 検証ロジックの共通契約層化 — 定数/hash/snapshot三つ組照合の重複解消(#873/#874 前の基盤整理) #896 並行の正式承認
  4. delivery.py = 判定エンジン(A-1)の採否
  5. taxonomy の snapshot 供給(gh 実叩きは V2)
  6. V1 repair 実行範囲(sandbox スタブまで・実 gh consumer は V2)
  7. snapshot 信頼境界(Phase 1 宣言 + fail-closed / raw evidence 束縛は V2)
  8. resume 原子性(stable action ID + intent/receipt 2 段)

C-3 承認手順(Human)

本 branch 上で bin/plangate approve TASK-0873(確定後 plan_hash 8c366f53…)→ 同 PR に c3.json を追加 commit(1 PR 完結・v11 知見)→ merge 後 PLANGATE_HOOK_TASK=TASK-0873 セッションで exec。

🤖 Generated with Claude Code

…015 確定反映 + 簡易 C-1)

- #873 MERGE_READY 状態機械 delivery.py の実行計画(Mode=critical・AC12 定量決定論)
- B-1 Human 確定: サブステート導入(既存 3 状態不変)/ #896 並行
- C-2 分裂裁定(Codex reject vs 整合レーン approve)を一次ソース実測で確定・15 件採用
- C-3 論点 8 件(契約形 / 正規化表 / #896 並行 / 判定エンジン境界 / taxonomy 供給 / repair 実行範囲 / snapshot 信頼境界 / resume 原子性)
- 確定後 plan_hash=8c366f5387572bdd6cb30a33092c239ff1c4068cbff8e04d8747a4244e9cd033

Refs: R-001..R-015

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 05:43
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

Check PR Issue Link: WARN: no closing keyword found (expected one of: closes #N / fixes #N / resolves #N)

  • 推奨: PR 本文に closes #N / fixes #N / resolves #N を含めてください
  • 対象外の場合: PR に chore / documentation ラベルを付けるか、PR 本文に <!-- skip-issue-link-check --> を含めてください
  • 詳細: Issue #159

@s977043
s977043 merged commit 4b335e0 into main Jul 22, 2026
6 checks passed
@s977043
s977043 deleted the docs/task-0873-plan branch July 22, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants