Skip to content

実装: M3 完了を docs に反映し M3/M4/M5 milestone-boundary SSOT の不整合を解消する #1094

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "M3 完了後に stale 化した milestone docs を現在の状態へ同期し、conceptual milestone と GitHub milestone object の対応を readback 付きで明示する"
change_kind: docs
changed_requirement_id: DOC-REQ-001,DOC-FOCUS-001,DOC-ROADMAP-001
diff_rationale: M3 実装完了後も current-focus/requirements/roadmap と入口文書に stale な milestone 記述が残っているため、M4 着手状態と conceptual milestone to GitHub milestone mapping を current repo reality に同期する
affected_sections: docs/product/requirements.md::Current Capability Gate|Milestone Scope;docs/product/playable-roadmap.md::Conceptual Milestones|Maintenance Policy;docs/dev/current-focus.md::Current Phase|Current Milestone

Parent Issue

none(単独改善)

Parent Goal Ref

  • Goal: M3 実装完了後の docs stale を解消し、milestone 境界の参照先を current repo / GitHub reality に同期する
  • Desired Destination: docs/dev/current-focus.md、docs/product/requirements.md、docs/product/playable-roadmap.md、CLAUDE.md、.claude/rules/project-constitution.md が 2026-06-21 時点の current phase と GitHub milestone mapping を矛盾なく説明できる状態

Current Validated Scope

  • docs/dev/current-focus.md を M4 着手状態へ更新し、M3 進行中の stale 記述を除去する
  • docs/product/requirements.md の capability_gate / Current Capability Gate / Milestone Scope を M4 前提へ更新する
  • docs/product/playable-roadmap.md に conceptual milestone と GitHub milestone object の mapping fields / mapping table を追加し、2026-06-21 readback を明記する
  • CLAUDE.md の Current Phase 記述を current repo reality に同期する
  • .claude/rules/project-constitution.md のスコープ管理に残る M1 前提の stale 記述を current milestone reality に同期する

Product Spec Context

  • source_of_truth: docs/product/requirements.md が global scope / non-goals の正本、docs/product/playable-roadmap.md が conceptual milestone boundary の正本
  • diff_rationale: M3 実装完了後も docs/product/requirements.md と docs/dev/current-focus.md が M3 進行中のままで、docs/product/playable-roadmap.md には GitHub milestone mapping の readback が未記録なため、M4 着手 reality と GitHub milestone object 対応を docs 側へ同期する必要がある
  • changed_requirement_id: DOC-REQ-001, DOC-FOCUS-001, DOC-ROADMAP-001
  • affected_sections: docs/product/requirements.md の Current Capability Gate / Milestone Scope: M3 Result Persistence (v0.3.x)、docs/product/playable-roadmap.md の Conceptual Milestones / Maintenance Policy、docs/dev/current-focus.md の Current Phase / Current Milestone
  • mapping_readback_date: 2026-06-21
  • product_spec_change_mode: docs_ssot_sync_only

Remaining Parent Gaps

  • GitHub milestone object 自体の rename / close / state change は別スコープ
  • M3 parent close/readback の最終判断は #733 側で扱う
  • Implementation Issue の milestone 直付け metadata 整理は本文更新だけでは完了しないため、必要なら別コメントまたは follow-up で扱う

Outcome

milestone 関連 SSOT と入口文書が 2026-06-21 時点の current phase / GitHub milestone readback に整合し、false-green にならない AC / VC で docs-only PR を実装投入できる。

In Scope

  • docs/dev/current-focus.md の frontmatter / Current Phase / Priority Order / Do Now / Do Not Do を M4 前提へ更新する
  • docs/product/requirements.md の capability_gate、Current Capability Gate、Milestone Scope を M4 前提へ更新する
  • docs/product/playable-roadmap.md の conceptual milestone block と対応表に GitHub milestone mapping を追加する
  • CLAUDE.md の Current Phase を current milestone reality に同期する
  • .claude/rules/project-constitution.md の milestone stale 記述を current milestone reality に同期する
  • touched docs の last_updated_by_issue を 1094 へ更新する
  • pnpm run lint:docs を含む docs-only quality gate を通す
  • tests/fixtures/issue-body/vc_unlabeled_fence.md の MD040 違反(fenced code block に言語指定なし)を修正し pnpm run lint:docs を pass させる

Out of Scope

  • コード・テスト実装の変更
  • GitHub milestone object の rename / create / close / state change
  • M4 と M5 の conceptual scope 順序変更
  • 新規 Issue の起票
  • feature spec(docs/product/features/)の追加・変更
  • M3 parent close 判定の代行

Acceptance Criteria

  • AC1: docs/dev/current-focus.md の frontmatter に milestone: M4 が存在する
  • AC2: docs/dev/current-focus.md の Current Phase / Current Milestone が M4: Upgrade Loop (v0.4.x) を指す
  • AC3: docs/product/requirements.md の capability_gate が M4 を指す
  • AC4: docs/product/requirements.md に M3.*進行中 相当の stale 行が存在しない
  • AC5: docs/product/playable-roadmap.md の conceptual milestone block(M2 / M3 / M4 / M5)に github_milestone_number と github_milestone_title への言及、または unmapped 状態が機械可読に記録されている
  • AC6: docs/product/playable-roadmap.md に conceptual_milestone_id, conceptual_title, github_milestone_number, github_milestone_title, mapping_status, decision_note を列として持つ対応表がある
  • AC7: docs/product/playable-roadmap.md の対応表で conceptual M4 が GitHub milestone number 2 / title M4: UX MVP Gate (v0.4.x) と readback され、mapping_status: mismatch_pending_rename で明示されている
  • AC8: CLAUDE.md の Current Phase が M4: Upgrade Loop (v0.4.x) を指し、M1: Foundation Gate (v0.1.x) を current phase として扱っていない
  • AC9: .claude/rules/project-constitution.md に current milestone reality と矛盾する M1 固定のスコープ管理記述が残っていない
  • AC10: last_updated_by_issue フィールドを持つ touched docs が 1094 に更新されている
  • AC11: pnpm run lint:docs が pass する
  • AC12: pnpm typecheck が pass する
  • AC13: pnpm lint が pass する
  • AC14: pnpm test が pass する
  • AC15: pnpm build が pass する

Verification Commands

# AC1
$ rg -n "^milestone: M4" docs/dev/current-focus.md
# AC2
$ rg -n "M4: Upgrade Loop \(v0\.4\.x\)" docs/dev/current-focus.md
# AC3
$ rg -n "^capability_gate: M4" docs/product/requirements.md
# AC4
$ ! rg -n "M3.*進行中" docs/product/requirements.md
# AC5
$ rg -nUP "(?s)milestone_id:\s*M2.*?github_milestone_number:.*?milestone_id:\s*M3.*?github_milestone_number:.*?milestone_id:\s*M4.*?github_milestone_number:.*?milestone_id:\s*M5.*?mapping_status:" docs/product/playable-roadmap.md
# AC6
$ rg -n "conceptual_milestone_id.*conceptual_title.*github_milestone_number.*github_milestone_title.*mapping_status.*decision_note" docs/product/playable-roadmap.md
# AC7
$ rg -n "M4: Upgrade Loop \(v0\.4\.x\).* 2 .*M4: UX MVP Gate \(v0\.4\.x\).*mismatch_pending_rename" docs/product/playable-roadmap.md
# AC8
$ rg -n "M4: Upgrade Loop \(v0\.4\.x\)" CLAUDE.md
# AC9
$ ! rg -n "M1: Foundation Gate \(v0\.1\.x\).*M1" .claude/rules/project-constitution.md
# AC10
$ rg -n "^last_updated_by_issue: 1094$" docs/dev/current-focus.md docs/product/requirements.md docs/product/playable-roadmap.md
# AC11
# preflight-scope: pr_review_only
$ pnpm run lint:docs
# AC12
$ pnpm typecheck
# AC13
$ pnpm lint
# AC14
$ pnpm test
# AC15
$ pnpm build

Allowed Paths

  • docs/dev/current-focus.md
  • docs/product/requirements.md
  • docs/product/playable-roadmap.md
  • CLAUDE.md
  • .claude/rules/project-constitution.md
  • tests/fixtures/issue-body/vc_unlabeled_fence.md

Runtime Verification Applicability

  • decision: not_applicable
  • reason: docs-only issue であり、runtime surface や preview / manual play evidence を直接変更しない

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
  • GitHub milestone readback が 2026-06-21 時点の M2=/milestone/4, M3=/milestone/3, M4=/milestone/2, M1=/milestone/1 と一致せず、mapping 方針の再判断が必要になった場合
  • conceptual milestone と GitHub milestone object の対応を記録するだけでは足りず、rename / create / close 判断が必要と判明した場合

Required Skills

なし

Scope Delta(任意)

  • tests/fixtures/issue-body/vc_unlabeled_fence.md を Allowed Paths に追加(理由: pnpm run lint:docs が同ファイルの MD040 違反で失敗し AC11 未達のため。scope_signal_guard 対象につき人間承認済み)

Delivery Rule

1 Issue = 1 PR。worktree で作業する。Draft PR で開始し、AC 全件 PASS 後に ready for review にする。

Activity

  1. added
    phase/implementation
    agent/implementer
    enhancement
    docs
    triage-required
    on Jun 21, 2026
  2. squne121 commented on Jun 21, 2026

    @squne121
    OwnerAuthor

    判定

    #1094 は目的自体は妥当です。現行 docs には M3: Result Persistence が進行中として残っており、current-focus.md と requirements.md は実際に stale です。current-focus.md は frontmatter でも本文でも M3 進行中、requirements.md も capability_gate と Current Capability Gate が M3 進行中です。

    ただし、敵対的に見ると この Issue はこのまま実装投入すると false green の PR になるリスクが高いです。特に AC4/AC5 の検証が既存文面だけで通ってしまう点と、Allowed Paths が不足している点が致命的です。

    主要な指摘

    重要度 | 指摘 | 理由 | 修正方針 -- | -- | -- | -- P0 | AC4 が既に通る | docs/product/playable-roadmap.md には現時点で prose として github_milestone_number が存在するため、rg "github_milestone_number" は YAML block へ追記しなくても成功します。 | M2〜M5 の各 YAML block に github_milestone_number: があることを block 単位で検証する P0 | AC5 が既に通る | roadmap には既に GitHub という語が複数存在します。対応表を追加しなくても rg "GitHub" は成功します。 | 対応表の見出し・列名・M4 mismatch 行まで検証する P0 | AC3 のコマンドが逆 | 「残っていない」ことを検証するのに rg "M3.*進行中" だけだと、正しい状態では exit 1 になり、検証失敗に見えます。 | ! rg "M3.*進行中" docs/product/requirements.md にする P0 | Allowed Paths が足りない | AI の読み順では CLAUDE.md と .claude/rules/project-constitution.md が requirements.md / current-focus.md より先です。 その CLAUDE.md にはまだ M1 進行中、project-constitution にも M1 前提のスコープ管理が残っています。 | CLAUDE.md と .claude/rules/project-constitution.md を Allowed Paths に入れるか、未更新リスクを follow-up Issue として明示する P1 | Implementation Issue の milestone 直付けが怪しい | #1094 は issue_kind: implementation / parent_issue: none なのに milestone が付いており、コメントは 0 件です。 しかし milestone-ops は GitHub Milestone 直付け対象を Parent Issue 原則とし、Implementation Issue の直付けは理由コメントが必要としています。 | milestone を外す、Parent Issue を作る、または例外理由コメントを明示する P1 | 「M3 完了」の言い切りが強い | M3 E2E は 5 passed で証跡がありますが、Load Game による snapshot 適用は本 E2E では未実行で、#733 が M3 parent close 判定として残っています。 | 「M3 実装・自動検証は完了、正式 close/readback は #733 側」と書き分ける P1 | docs-only なのに docs lint がない | package.json には lint:docs = markdownlint + textlint が定義されていますが、#1094 AC には入っていません。 | pnpm run lint:docs を AC に追加 P2 | last_updated_by_issue 更新が AC にない | 対象 docs は last_updated_by_issue を持っていますが、#1094 へ更新する AC がありません。 | touched docs の issue trace を #1094 に更新する

    外部仕様から見た高品質化

    GitHub Milestone の readback は title ではなく number を正本識別子として扱うべきです。GitHub REST API は milestone の path parameter として milestone_number を使い、Issue 更新時の milestone も number または null です。また、権限不足時には milestone 変更が silent drop され得るため、readback が必須です。(GitHub Docs) (GitHub Docs)

    Milestone 一覧取得は state=all と pagination を前提にしてください。GitHub の Milestones API は state filter と per_page/page pagination を持つため、open だけ・1 page だけの readback は不完全です。(GitHub Docs)

    localStorage 周りは #1094 の直接実装対象ではありませんが、M3 完了表現の根拠として使うなら注意が必要です。MDN でも localStorage は origin ごとの保存で、private browsing の最後の private tab を閉じると消え、file: URL の挙動は保証されません。repo 側の persistence spec が browser-local / best-effort / origin-scoped としているのは妥当です。(MDN Web Docs)

    #1094 に入れるべき修正版 AC / 検証

    - [ ] AC1: `docs/dev/current-focus.md` の frontmatter に `milestone: M4` が存在する
    - [ ] AC2: `docs/product/requirements.md` の `capability_gate` が M4 を指す
    - [ ] AC3: `docs/product/requirements.md` に `M3.*進行中` 相当の stale 行が存在しない
    - [ ] AC4: `docs/product/playable-roadmap.md` の M2 / M3 / M4 / M5 各 YAML block に `github_milestone_number: <integer>` が存在する
    - [ ] AC5: `docs/product/playable-roadmap.md` に `conceptual_milestone_id`, `conceptual_title`, `github_milestone_number`, `github_milestone_title`, `mapping_status`, `decision_note` を持つ対応表がある
    - [ ] AC6: `/milestone/2` の title mismatch は `mapping_status: mismatch_pending_rename` 等で明示され、rename 判断は Out of Scope のまま保持されている
    - [ ] AC7: touched docs の `last_updated_by_issue` が `1094` に更新されている
    - [ ] AC8: `pnpm run lint:docs` が pass する
    - [ ] AC9: `pnpm typecheck` が pass する
    - [ ] AC10: `pnpm lint` が pass する
    - [ ] AC11: `pnpm test` が pass する
    - [ ] AC12: `pnpm build` が pass する
    

    検証コマンドは最低限こう直すべきです。

    # stale M3 wording must be absent
    ! rg "M3.*進行中" docs/product/requirements.md
    

    block-level github_milestone_number validation

    node - <<'NODE'
    const fs = require('node:fs')
    const md = fs.readFileSync('docs/product/playable-roadmap.md', 'utf8')

    for (const id of ['M2', 'M3', 'M4', 'M5']) {
    const re = new RegExp(milestone_id:\\s*${id}[\\s\\S]*?github_milestone_number:\\s*[0-9]+, 'm')
    if (!re.test(md)) throw new Error(${id} missing github_milestone_number in its YAML block)
    }

    const required = [
    'conceptual_milestone_id',
    'conceptual_title',
    'github_milestone_number',
    'github_milestone_title',
    'mapping_status',
    'decision_note',
    ]
    for (const token of required) {
    if (!md.includes(token)) throw new Error(missing mapping column/token: ${token})
    }
    NODE

    docs-specific lint

    pnpm run lint:docs

    existing quality gates

    pnpm typecheck
    pnpm lint
    pnpm test
    pnpm build

    実装者へ渡すならこう指示する

    Issue #1094 はそのまま実装せず、まず contract を修正してください。

    重点:

    1. AC4/AC5 の false positive を潰す。rg "github_milestone_number" と rg "GitHub" は既存文面だけで通るため禁止。
    2. gh api --paginate "repos/squne121/loop-protocol/milestones?state=all&amp;per_page=100" で GitHub milestone を readback し、M2〜M5 の conceptual milestone block に github_milestone_number を追加する。
    3. docs/product/playable-roadmap.md には単なる number ではなく、conceptual title と GitHub milestone title の対応表を追加し、M4=Upgrade Loop / GitHub側 M4: UX MVP Gate の mismatch は mismatch_pending_rename として明示する。rename は実行しない。
    4. docs/dev/current-focus.md と docs/product/requirements.md は M4 着手状態へ更新する。ただし「M3 完了」は #733 close 判定と混同せず、「M3 implementation/evidence complete; parent close/readback handled separately」程度に抑える。
    5. CLAUDE.md と .claude/rules/project-constitution.md の stale M1 記述は、Allowed Paths に追加して同 PR で直すか、workflow.md の例外条件に従って follow-up Issue と未反映リスクを PR 本文に明記する。
    6. pnpm run lint:docs を必須検証に追加する。
    7. #1094 は implementation issue なのに milestone 直付けされているため、milestone-ops に従い、直付け例外理由をコメントで記録するか milestone 割当を見直す。

    この修正を入れれば、#1094 は「M3/M4/M5 境界の docs stale 解消」Issue として実装投入可能です。現状のままだと、表面上 AC PASS でも milestone 対応表が実質追加されていない PR を通せてしまいます。

    ## 判定

    #1094 は目的自体は妥当です。現行 docs には M3: Result Persistence が進行中として残っており、current-focus.md と requirements.md は実際に stale です。current-focus.md は frontmatter でも本文でも M3 進行中、requirements.md も capability_gate と Current Capability Gate が M3 進行中です。

    ただし、敵対的に見ると この Issue はこのまま実装投入すると false green の PR になるリスクが高いです。特に AC4/AC5 の検証が既存文面だけで通ってしまう点と、Allowed Paths が不足している点が致命的です。

    主要な指摘

    重要度 指摘 理由 修正方針
    P0 AC4 が既に通る docs/product/playable-roadmap.md には現時点で prose として github_milestone_number が存在するため、rg "github_milestone_number" は YAML block へ追記しなくても成功します。 M2〜M5 の各 YAML block に github_milestone_number: <integer> があることを block 単位で検証する
    P0 AC5 が既に通る roadmap には既に GitHub という語が複数存在します。対応表を追加しなくても rg "GitHub" は成功します。 対応表の見出し・列名・M4 mismatch 行まで検証する
    P0 AC3 のコマンドが逆 「残っていない」ことを検証するのに rg "M3.*進行中" だけだと、正しい状態では exit 1 になり、検証失敗に見えます。 ! rg "M3.*進行中" docs/product/requirements.md にする
    P0 Allowed Paths が足りない AI の読み順では CLAUDE.md と .claude/rules/project-constitution.md が requirements.md / current-focus.md より先です。 その CLAUDE.md にはまだ M1 進行中、project-constitution にも M1 前提のスコープ管理が残っています。 CLAUDE.md と .claude/rules/project-constitution.md を Allowed Paths に入れるか、未更新リスクを follow-up Issue として明示する
    P1 Implementation Issue の milestone 直付けが怪しい #1094 は issue_kind: implementation / parent_issue: none なのに milestone が付いており、コメントは 0 件です。 しかし milestone-ops は GitHub Milestone 直付け対象を Parent Issue 原則とし、Implementation Issue の直付けは理由コメントが必要としています。 milestone を外す、Parent Issue を作る、または例外理由コメントを明示する
    P1 「M3 完了」の言い切りが強い M3 E2E は 5 passed で証跡がありますが、Load Game による snapshot 適用は本 E2E では未実行で、#733 が M3 parent close 判定として残っています。 「M3 実装・自動検証は完了、正式 close/readback は #733 側」と書き分ける
    P1 docs-only なのに docs lint がない package.json には lint:docs = markdownlint + textlint が定義されていますが、#1094 AC には入っていません。 pnpm run lint:docs を AC に追加
    P2 last_updated_by_issue 更新が AC にない 対象 docs は last_updated_by_issue を持っていますが、#1094 へ更新する AC がありません。 touched docs の issue trace を #1094 に更新する

    外部仕様から見た高品質化

    GitHub Milestone の readback は title ではなく number を正本識別子として扱うべきです。GitHub REST API は milestone の path parameter として milestone_number を使い、Issue 更新時の milestone も number または null です。また、権限不足時には milestone 変更が silent drop され得るため、readback が必須です。([GitHub Docs]1) ([GitHub Docs]2)

    Milestone 一覧取得は state=all と pagination を前提にしてください。GitHub の Milestones API は state filter と per_page/page pagination を持つため、open だけ・1 page だけの readback は不完全です。([GitHub Docs]3)

    localStorage 周りは #1094 の直接実装対象ではありませんが、M3 完了表現の根拠として使うなら注意が必要です。MDN でも localStorage は origin ごとの保存で、private browsing の最後の private tab を閉じると消え、file: URL の挙動は保証されません。repo 側の persistence spec が browser-local / best-effort / origin-scoped としているのは妥当です。([MDN Web Docs]4)

    #1094 に入れるべき修正版 AC / 検証

    - [ ] AC1: `docs/dev/current-focus.md` の frontmatter に `milestone: M4` が存在する
    - [ ] AC2: `docs/product/requirements.md` の `capability_gate` が M4 を指す
    - [ ] AC3: `docs/product/requirements.md` に `M3.*進行中` 相当の stale 行が存在しない
    - [ ] AC4: `docs/product/playable-roadmap.md` の M2 / M3 / M4 / M5 各 YAML block に `github_milestone_number: <integer>` が存在する
    - [ ] AC5: `docs/product/playable-roadmap.md` に `conceptual_milestone_id`, `conceptual_title`, `github_milestone_number`, `github_milestone_title`, `mapping_status`, `decision_note` を持つ対応表がある
    - [ ] AC6: `/milestone/2` の title mismatch は `mapping_status: mismatch_pending_rename` 等で明示され、rename 判断は Out of Scope のまま保持されている
    - [ ] AC7: touched docs の `last_updated_by_issue` が `1094` に更新されている
    - [ ] AC8: `pnpm run lint:docs` が pass する
    - [ ] AC9: `pnpm typecheck` が pass する
    - [ ] AC10: `pnpm lint` が pass する
    - [ ] AC11: `pnpm test` が pass する
    - [ ] AC12: `pnpm build` が pass する

    検証コマンドは最低限こう直すべきです。

    # stale M3 wording must be absent
    ! rg "M3.*進行中" docs/product/requirements.md
    
    # block-level github_milestone_number validation
    node - <<'NODE'
    const fs = require('node:fs')
    const md = fs.readFileSync('docs/product/playable-roadmap.md', 'utf8')
    
    for (const id of ['M2', 'M3', 'M4', 'M5']) {
      const re = new RegExp(`milestone_id:\\s*${id}[\\s\\S]*?github_milestone_number:\\s*[0-9]+`, 'm')
      if (!re.test(md)) throw new Error(`${id} missing github_milestone_number in its YAML block`)
    }
    
    const required = [
      'conceptual_milestone_id',
      'conceptual_title',
      'github_milestone_number',
      'github_milestone_title',
      'mapping_status',
      'decision_note',
    ]
    for (const token of required) {
      if (!md.includes(token)) throw new Error(`missing mapping column/token: ${token}`)
    }
    NODE
    
    # docs-specific lint
    pnpm run lint:docs
    
    # existing quality gates
    pnpm typecheck
    pnpm lint
    pnpm test
    pnpm build

    実装者へ渡すならこう指示する

    Issue #1094 はそのまま実装せず、まず contract を修正してください。
    
    重点:
    1. AC4/AC5 の false positive を潰す。`rg "github_milestone_number"` と `rg "GitHub"` は既存文面だけで通るため禁止。
    2. `gh api --paginate "repos/squne121/loop-protocol/milestones?state=all&per_page=100"` で GitHub milestone を readback し、M2〜M5 の conceptual milestone block に `github_milestone_number` を追加する。
    3. `docs/product/playable-roadmap.md` には単なる number ではなく、conceptual title と GitHub milestone title の対応表を追加し、M4=Upgrade Loop / GitHub側 M4: UX MVP Gate の mismatch は `mismatch_pending_rename` として明示する。rename は実行しない。
    4. `docs/dev/current-focus.md` と `docs/product/requirements.md` は M4 着手状態へ更新する。ただし「M3 完了」は #733 close 判定と混同せず、「M3 implementation/evidence complete; parent close/readback handled separately」程度に抑える。
    5. `CLAUDE.md` と `.claude/rules/project-constitution.md` の stale M1 記述は、Allowed Paths に追加して同 PR で直すか、workflow.md の例外条件に従って follow-up Issue と未反映リスクを PR 本文に明記する。
    6. `pnpm run lint:docs` を必須検証に追加する。
    7. #1094 は implementation issue なのに milestone 直付けされているため、milestone-ops に従い、直付け例外理由をコメントで記録するか milestone 割当を見直す。

    この修正を入れれば、#1094 は「M3/M4/M5 境界の docs stale 解消」Issue として実装投入可能です。現状のままだと、表面上 AC PASS でも milestone 対応表が実質追加されていない PR を通せてしまいます。

  3. squne121 commented on Jun 21, 2026

    @squne121
    OwnerAuthor

    Issue #1094 本文更新

    実施結果

    • check_vc_scope.py: PASS
    • guard-issue-body.py: PASS
    • issue_contract_hygiene_autofix.py: no_change
    • contract_readiness_check.py --mode static: go

    変更要約

    • AC/VC を reviewer feedback に合わせて false positive が出ない形へ修正
    • docs/dev/current-focus.md / docs/product/requirements.md / docs/product/playable-roadmap.md を current state に同期する方針へ整理
    • CLAUDE.md と .claude/rules/project-constitution.md を含めた stale milestone drift の扱いを明示
  4. squne121 commented on Jun 21, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-06-21T08:59:43Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1094
      body_sha256: "sha256:3c491c53f89158ad0866626bb47f17f3408f78c14d073d9e0a35502ef92a8618"
      checks:
        readiness: go
        blockers: pass
        product_spec: pass
        vc_preflight: pass
      source: ensure_contract_snapshot_auto
  5. squne121 commented on Jun 21, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装完了 (2026-06-21T09:10:07Z)

    • PR: docs: sync milestone SSOT for M4 (#1094) #1102
    • Worktree: .claude/worktrees/issue-1094-milestone-doc-sync
    • Branch: worktree-issue-1094-milestone-doc-sync
    • Verification:
      • pnpm run lint:docs: FAIL
        • 既存 baseline の tests/fixtures/issue-body/vc_unlabeled_fence.md:15 (MD040/fenced-code-language) により失敗。Allowed Paths 外のため本 PR では未修正。
      • pnpm typecheck: PASS
      • pnpm lint: PASS
      • pnpm test: PASS (69 files / 922 tests)
      • pnpm build: PASS
    • 後続: PR レビュー → baseline docs lint failure の扱い判断 → マージ → post-merge-cleanup
  6. squne121 commented on Jun 22, 2026

    @squne121
    OwnerAuthor

    敵対的レビュー結論

    判定: REQUEST CHANGES。#1094 の Issue contract はかなり改善済みだが、実装 PR #1102 はまだ ready for review / merge にできません。
    理由は主に、pnpm run lint:docs が未解決で失敗していること、PR 本文が repo の必須 PR テンプレートを満たしていないこと、roadmap 内に M3/M4 の stale boundary 表現が残っていること、GitHub milestone readback の証跡が PR/Issue 上で再現可能になっていないことです。#1102 は draft のままなので、現状態で止まっていること自体は妥当です。PR 本文も lint:docs 失敗を明記し、Actions 側は ci 等が success になっていますが、これは AC 全件 PASS とは別物です。

    良い点

    前回レビューで指摘された「AC/VC が既存文面だけで false green になる」問題はかなり潰されています。#1094 の対象は docs-only で、Allowed Paths は 5 ファイルに限定され、#1102 の changed files も .claude/rules/project-constitution.md、CLAUDE.md、docs/dev/current-focus.md、docs/product/playable-roadmap.md、docs/product/requirements.md に収まっています。

    current-focus.md と requirements.md は M4 現在地へ更新され、M3 は「実装と自動検証は完了、formal close / milestone readback は #733 側」と切り分けています。この書き分けは妥当です。

    playable-roadmap.md には conceptual milestone と GitHub milestone object の対応表が入り、M2/M4 の title mismatch、M5 の unmapped 状態も明示されています。各 YAML block にも github_milestone_number / github_milestone_title / mapping_status / decision_note が追加されています。

    P0: lint:docs 失敗を「既存 baseline」扱いで通すのは不可

    #1094 の AC には pnpm run lint:docs pass が含まれており、package.json 上も lint:docs は lint:md && lint:prose です。#1102 は pnpm run lint:docs が tests/fixtures/issue-body/vc_unlabeled_fence.md:15 の MD040/fenced-code-language で失敗したと自己申告しています。これは「報告したから OK」ではなく、AC 未達です。

    これは実際に再現性のある failure です。.markdownlint-cli2.yaml は docs/** や .github/** を ignore していますが tests/** は ignore しておらず、MD040 は有効です。問題の fixture には unlabeled fence が存在します。markdownlint の MD040 は fenced code block に言語指定を要求するルールなので、 ```text または ```bash のように明示する必要があります。 ([GitHub]1)

    修正方針は二択です。最も安全なのは #1094 を一度止め、baseline lint fix を別 Issue/PR で先に入れることです。#1094 内で直すなら、Allowed Paths に tests/fixtures/issue-body/vc_unlabeled_fence.md または markdownlint config を追加し、Issue contract / AC / Scope Delta を更新してから修正してください。Allowed Paths 外だから未修正、ただし AC は pass 扱い、という処理は false green です。

    P0: PR 本文が repo の必須 PR テンプレートを満たしていない

    docs/dev/workflow.md は implement-issue が生成する PR 本文の必須セクションとして ## Summary、## 受け入れ条件の達成状況、## 検証コマンド結果、## Allowed Paths 遵守 を要求しています。#1102 の本文は ## Summary と ## Checks はありますが、少なくとも後者 3 つの見出しが正規形ではありません。

    これは形式だけの問題ではありません。#1094 は AC が 15 個あり、lint:docs が失敗しているため、PR 本文に ACごとの達成/未達/根拠 がないとレビュー不能になります。## Checks ではなく、repo の要求どおり ## 検証コマンド結果 に分け、## 受け入れ条件の達成状況 には AC1〜AC15 の表を置くべきです。

    P1: roadmap に M3/M4 stale boundary 表現が残っている

    docs/product/playable-roadmap.md の SSOT 境界に、まだ “M3 / M4 boundary authority” と “M3 / M4 の conceptual milestone boundary” という記述が残っています。今回の #1094 は M3/M4/M5 milestone-boundary SSOT の不整合解消が目的なので、ここは M5 を含めるか、より安全に “conceptual milestone boundary authority” と一般化すべきです。

    この残存は小さく見えますが、AI エージェントにとっては参照順の早い SSOT 文面です。新しく M5 mapping を表で追加しても、上部の authority 説明が M3/M4 のままだと、後続 Issue で「M5 は boundary authority 外」と誤読される余地があります。

    修正例:

    - **Milestone boundary authority**: M3 / M4 / M5 の conceptual milestone boundary は本 roadmap の各 milestone セクションと mapping table を参照元とする。

    P1: GitHub milestone readback の証跡が不足している

    #1102 は readback_date: 2026-06-21 と対応表を追加していますが、PR/Issue コメント上に実際の gh api --paginate ... milestones?state=all の出力が見当たりません。GitHub Milestone は title ではなく number を安定識別子として扱う必要があり、Issue 更新 API の milestone フィールドも milestone number または null です。また、GitHub の Issues API は権限不足時に milestone 更新を silent drop し得るため、readback が重要です。([GitHub Docs]2)

    GitHub Milestones 一覧 API は state の既定が open で、all 指定と pagination を使わないと closed milestone や 101 件目以降を取りこぼします。GitHub CLI も --paginate で全ページ取得する設計です。repo 側の milestone-ops.md も state=all&per_page=100 と --paginate を前提にしています。([GitHub Docs]3) ([GitHub CLI]4)

    PR か #1094 コメントに最低限これを貼ってください。

    gh api --paginate \
      "repos/squne121/loop-protocol/milestones?state=all&per_page=100" \
      --jq '.[] | {number, state, title, open_issues, closed_issues, html_url}'

    加えて、#1094 自体は implementation issue なのに milestone が付いています。repo の milestone-ops.md は、GitHub Milestone へ直接割り当てる対象は Parent Issue 原則で、Implementation Issue の直接割当は理由コメントが必要としています。#1094 の metadata には milestone があり、例外理由コメントは確認できませんでした。

    P1: CLAUDE.md / prompt layer に #733 caveat が薄い

    current-focus.md と requirements.md は #733 caveat を明記していますが、CLAUDE.md は “M3 の実装と自動検証は完了済み” で止まり、formal close / readback が #733 側であることまでは書いていません。.claude/rules/project-constitution.md も M4 current boundary は書けていますが、M3 close 未完了の caveat は持っていません。

    prompt layer は SSOT ではないので長文重複は不要です。ただし今回の事故点は「AI が M3 完了を milestone close 可能と誤読する」ことなので、CLAUDE.md に 1 行だけ足す価値があります。

    - M3 の formal close / GitHub milestone readback は `#733` と `docs/dev/current-focus.md` を参照し、この文書だけで close 済み扱いしない。

    P2: M5 null mapping の型規約を明文化した方がよい

    M5 は github_milestone_number: null / mapping_status: unmapped として記録されています。これは現状の表現としては妥当ですが、後続の validator が github_milestone_number を integer 前提で読むと壊れます。mapping table の近くに以下を追加すると安全です。

    mapping_field_contract:
      github_milestone_number: integer | null
      github_milestone_title: string | null
      mapping_status:
        - aligned
        - mismatch_pending_rename
        - unmapped
      null_allowed_when: mapping_status == unmapped

    配布物・localStorage まわりの高品質化観点

    #1094 自体は docs-only ですが、M4 は M3 persistence の上に upgrade loop を載せるフェーズです。ここで localStorage を「信頼できる永続保存」と誤解すると、M4 の resource consumption / upgrade 実装で破綻します。repo の persistence spec はすでに、localStorage は best-effort / browser-local であり durable storage ではなく、getItem / setItem / JSON.parse を failure boundary とし、SecurityError、QuotaExceededError、corrupt JSON、invalid schema を crash させないと定義しています。これは MDN の localStorage 仕様、特に origin 単位・private browsing 後の消去・SecurityError の可能性とも整合します。 ([MDN Web Docs]5)

    また、GitHub Pages の PR preview と本番が同一 origin になる場合、path が違っても localStorage は共有され得ます。repo の quick-save / persistence spec は、production key loop-protocol.mvp.save を E2E や preview で clear しない方針まで書けています。M4 の upgrade spec を作るときは、resources を保存値から直接信用せず、validate / clamp 後の progression snapshot だけを消費対象にする、preview / E2E は loop-protocol.preview.pr-* や loop-protocol.e2e.* 系 key を使う、という制約を先に AC 化してください。

    PR preview コメントも “asset-level live check 未検証” と明記しているため、#1102 で preview URL を runtime evidence として扱うべきではありません。docs-only issue なので runtime evidence は不要ですが、配布物の検証済み証跡としては使わない、という扱いが正しいです。

    最低修正セット

    1. pnpm run lint:docs を実際に pass させる。Allowed Paths 外なら 実装: M3 完了を docs に反映し M3/M4/M5 milestone-boundary SSOT の不整合を解消する #1094 を更新するか、baseline lint fix を先行 PR に分離する。
    2. PR 本文を repo 必須テンプレートに合わせ、AC1〜AC15 の達成状況表を追加する。
    3. docs/product/playable-roadmap.md の “M3 / M4 boundary authority” を M5 まで含む表現に修正する。
    4. GitHub milestone readback の実コマンドと出力を 実装: M3 完了を docs に反映し M3/M4/M5 milestone-boundary SSOT の不整合を解消する #1094 か docs: sync milestone SSOT for M4 (#1094) #1102 に貼る。
    5. 実装: M3 完了を docs に反映し M3/M4/M5 milestone-boundary SSOT の不整合を解消する #1094 の implementation issue milestone 直付けについて、削除するか、例外理由コメントを残す。
    6. CLAUDE.md に 導入: M3 Loop MVP Gate を報酬→resource→localStorage 永続化まで接続する #733 formal close caveat を 1 行追加するか、PR 本文に「prompt layer は current-focus を参照するため重複しない」と明記する。

    レビューコメント案

    REQUEST_CHANGES
    
    #1102 は #1094 の主目的には近づいていますが、現時点では ready for review / merge 不可です。
    
    Blockers:
    1. `pnpm run lint:docs` が失敗しており、#1094 AC11 未達です。既存 baseline failure と報告するだけでは pass になりません。Allowed Paths 外なら #1094 を更新するか、baseline lint fix を別 PR で先に解消してください。
    2. PR 本文が `docs/dev/workflow.md` の必須セクション(`## 受け入れ条件の達成状況`, `## 検証コマンド結果`, `## Allowed Paths 遵守`)を満たしていません。AC1〜AC15 の達成状況表を追加してください。
    3. `docs/product/playable-roadmap.md` の SSOT 境界に `M3 / M4 boundary authority` が残っており、#1094 の M3/M4/M5 boundary sync と不整合です。
    4. milestone mapping の readback 証跡として、`gh api --paginate "repos/squne121/loop-protocol/milestones?state=all&per_page=100"` の実出力を PR または Issue コメントに貼ってください。
    5. #1094 は implementation issue なのに GitHub milestone が直付けされています。`docs/dev/milestone-ops.md` の例外規約に従い、理由コメントを残すか milestone 割当を見直してください。
    
    CI green は確認できますが、#1094 の明示 AC である docs lint failure が未解決なので false green と見なします。
  7. squne121 commented on Jun 22, 2026

    @squne121
    OwnerAuthor

    Refinement Loop: Human Escalation Required

    The loop has terminated and requires human review. Cause: human judgment required

    Blockers

    "C12 check_issue_contract.py が product_spec_id / requirement_id / source_task_id 欠落で needs-fix を返したが、2回連続で deterministic 非裏付け (unknown_blocker_type) → reviewer_false_positive_suspected。C12 checker がこの docs-only issue 形式に対して偽陽性を出している可能性が高い。"
    
    "Anchor comment (issuecomment-4765539185) P0: pnpm run lint:docs が tests/fixtures/issue-body/vc_unlabeled_fence.md の MD040 で失敗。Allowed Paths 外のファイルのため AC11 未達。対応方針はオーナー判断: (A) Allowed Paths に tests/fixtures/issue-body/vc_unlabeled_fence.md を追加して Scope Delta 更新 (scope_signal_guard 対象) または (B) baseline lint fix を別 Issue/PR で先行させてから #1094 を継続 (新規 Issue 起票 = Stop Condition)。"
    
    "Anchor comment P1: docs/product/playable-roadmap.md に M3 / M4 boundary authority の stale 表現が残存。M5 まで含む表現に更新が必要だが、これは実装側 (PR #1102) の修正事項であり Issue contract ブロッカーではない (Issue contract 変更不要)。"
    
    "Anchor comment P1: GitHub milestone readback 証跡 (gh api --paginate milestones?state=all) が PR/Issue 上に未記録。AC7 の readback 根拠として Issue または PR コメントへの実出力貼付が必要。"
    
    "issue-reviewer SubAgent が local_main_branch_guard hook により bash 実行不可となりエスカレーション。control-plane が check_issue_contract.py を直接実行した代替レビューの結果。"
    
  8. squne121 commented on Jun 22, 2026

    @squne121
    OwnerAuthor

    refinement loop 続報: 人間判断の反映

    先の termination report(human_escalation)に対し、オーナー判断で以下を反映しました。

    P0 (lint:docs / Allowed Paths) — 対応方針 (A) を採用

    tests/fixtures/issue-body/vc_unlabeled_fence.md の MD040 違反を本 Issue 内で修正する方針を選択。本 Issue 本文を以下のとおり更新済み:

    • ## Allowed Paths に tests/fixtures/issue-body/vc_unlabeled_fence.md を追加
    • ## In Scope に「同 fixture の MD040 違反を修正し pnpm run lint:docs を pass させる」を追加
    • ## Scope Delta に追加理由(scope_signal_guard 対象につき人間承認済み)を記録

    これにより AC11(pnpm run lint:docs)が Allowed Paths 内で正規に達成可能になりました。

    C12 checker 偽陽性 — follow-up Issue を起票

    refinement loop の Step 2 で check_issue_contract.py の C12(check_c12_product_trace_fields_structure)が、change_kind: docs の docs-only issue でも ## Product Spec Context セクションの存在だけを根拠に product_spec_id / requirement_id / source_task_id の欠落を blocking fail として誤検出する偽陽性を確認しました(root cause: check_issue_contract.py:1202 の applicability 判定が change_kind を参照しない)。

    → #1135 で修正を tracking します。本 Issue (#1094) の contract 自体はこの偽陽性の影響を受けないため、reviewer_claim_replay arbitration で non-blocking に downgrade 済みです。

    実装側 (PR) で残る対応事項

    以下は contract ブロッカーではなく、実装 PR 側で対応すべき項目です(anchor comment P1 由来):

    • docs/product/playable-roadmap.md の "M3 / M4 boundary authority" 表現を M5 まで含む一般化表現へ修正
    • GitHub milestone readback の実出力(gh api --paginate "repos/squne121/loop-protocol/milestones?state=all&per_page=100")を PR または本 Issue コメントへ記録
    • PR 本文を docs/dev/workflow.md の必須セクション(## 受け入れ条件の達成状況 / ## 検証コマンド結果 / ## Allowed Paths 遵守)に整形し、AC1〜AC15 の達成状況表を追加

    Issue contract は実装着手可能な状態になりました。

  9. squne121 commented on Jun 22, 2026

    @squne121
    OwnerAuthor

    Contract Review Result (refreshed)

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-06-22T07:22:55Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1094
      body_sha256: "sha256:5cf0b3b6d5b07a7303aa2155e1ddc260128409b1a4725fccc315cf15b5833234"
      checks:
        readiness: go
        blockers: pass
        product_spec: pass
        vc_preflight: pass
      source: run_contract_review_once_manual_refresh
      supersedes_body_sha256: "sha256:3c491c53f89158ad0866626bb47f17f3408f78c14d073d9e0a35502ef92a8618"

    注: 以前の go コメント (body_sha256 sha256:3c491c5...) は Issue 本文の Allowed Paths / Scope Delta 拡張 (tests/fixtures/issue-body/vc_unlabeled_fence.md 追加) により stale 化していたため、現行本文 sha256 で再計算した fresh go を投稿し supersede する。

  10. squne121 commented on Jun 22, 2026

    @squne121
    OwnerAuthor

    GitHub Milestone Readback 証跡 (2026-06-22)

    PR #1102 の milestone mapping table の readback 根拠として、実際の GitHub Milestone object 一覧を記録する。

    取得コマンド:

    gh api "repos/squne121/loop-protocol/milestones?state=all"

    結果(関連フィールド抜粋):

    number title state open_issues closed_issues html_url
    1 M1: Foundation Gate (v0.1.x) open 3 4 https://github.com/squne121/loop-protocol/milestone/1
    2 M4: UX MVP Gate (v0.4.x) open 0 0 https://github.com/squne121/loop-protocol/milestone/2
    3 M3: Result Persistence (v0.3.x) open 0 14 https://github.com/squne121/loop-protocol/milestone/3
    4 M2: Combat MVP Gate (v0.2.x) open 0 1 https://github.com/squne121/loop-protocol/milestone/4

    milestone 総数は 4 件であり、state=all で closed milestone を含めても追加は無い(pagination 不要)。

    conceptual milestone ↔ GitHub milestone object の対応確認

    docs/product/playable-roadmap.md の mapping table と上記 readback は完全に一致する:

    • conceptual M2 (Gameplay Core) → GitHub number 4 / title M2: Combat MVP Gate (v0.2.x) → mismatch_pending_rename
    • conceptual M3 (Result Persistence) → GitHub number 3 / title M3: Result Persistence (v0.3.x) → aligned
    • conceptual M4 (Upgrade Loop) → GitHub number 2 / title M4: UX MVP Gate (v0.4.x) → mismatch_pending_rename
    • conceptual M5 (Playable Slice Hardening) → 対応する GitHub milestone object なし → unmapped

    これは Issue 本文の Stop Condition「M2=/milestone/4, M3=/milestone/3, M4=/milestone/2, M1=/milestone/1」と一致しており、mapping 方針の再判断は不要(rename / create / close は Out of Scope のまま保持)。

    Implementation Issue への milestone 直付けについて(milestone-ops 例外理由)

    docs/dev/milestone-ops.md は GitHub Milestone への直接割当を Parent Issue 原則とし、Implementation Issue の直接割当には理由コメントを要求している。本 Issue (#1094) は issue_kind: implementation / parent_issue: none でありながら milestone M1: Foundation Gate (v0.1.x) (number 1) に直付けされているため、その理由を以下に記録する:

  11. squne121 commented on Jun 22, 2026

    @squne121
    OwnerAuthor

    レビュー指摘対応: milestone metadata / readback 証跡 / scope item の機械可読化

    PR #1102 の追加レビュー(issuecomment-4767344024)の Blocker 1・2・High risk 5 に対応し、機械可読な証跡を以下に記録する。

    1. #1094 milestone metadata の解決(exception_retained)

    #1094 は issue_kind: implementation でありながら milestone 1(M1: Foundation Gate (v0.1.x))に直付けされている。本 Issue は新規 feature 実装ではなく docs / 最小仕様正本(SSOT)の整合性整備であり、milestone M1 の scope「Combat 実装を広げる前に docs / guardrail / workflow / 最小仕様正本を揃える」に substantively 合致する。よって metadata は削除せず、milestone-ops の例外として理由を明示したうえで保持する。

    ISSUE_MILESTONE_METADATA_RESOLUTION_V1:
      issue: 1094
      previous_milestone_number: 1
      resolution: exception_retained
      readback_after_action:
        milestone: 1
        milestone_title: "M1: Foundation Gate (v0.1.x)"
        state: open
      rationale: "#1094 は docs-only の SSOT 整合性整備であり、M1 Foundation Gate(docs / guardrail / workflow / 最小仕様正本の整備)scope に合致する。GitHub milestone object 自体の rename / close / state change は Out of Scope のまま保持する。owner が再割当を望む場合は milestone を外して再 readback すればよい。"

    2. GitHub milestone readback(機械可読)

    GitHub Milestones API は state 既定が open のため state=all を指定し、安定識別子は title ではなく milestone_number を用いる。将来の milestone 増加に備え --paginate / per_page=100 を前提とする。

    GITHUB_MILESTONE_READBACK_V1:
      collected_at: "2026-06-22T09:35:00Z"
      command: 'gh api --paginate "repos/squne121/loop-protocol/milestones?state=all&per_page=100"'
      api_contract:
        identifier: milestone_number
        state_filter: all
        pagination: required
      total_milestones: 4
      milestones:
        - conceptual_id: M1
          github_milestone_number: 1
          github_milestone_title: "M1: Foundation Gate (v0.1.x)"
          state: open
          mapping_status: aligned
        - conceptual_id: M2
          github_milestone_number: 4
          github_milestone_title: "M2: Combat MVP Gate (v0.2.x)"
          state: open
          mapping_status: mismatch_pending_rename
        - conceptual_id: M3
          github_milestone_number: 3
          github_milestone_title: "M3: Result Persistence (v0.3.x)"
          state: open
          mapping_status: aligned
        - conceptual_id: M4
          github_milestone_number: 2
          github_milestone_title: "M4: UX MVP Gate (v0.4.x)"
          state: open
          mapping_status: mismatch_pending_rename
        - conceptual_id: M5
          github_milestone_number: null
          github_milestone_title: null
          mapping_status: unmapped

    上記 readback は docs/product/playable-roadmap.md の mapping table と完全一致する。conceptual M4 と GitHub number 2(UX MVP Gate)の title mismatch は mismatch_pending_rename として保持し、rename は実行しない。

    5. fixture scope item の resolution(#1107 で解決済み)

    #1094 の In Scope / Allowed Paths に含まれる tests/fixtures/issue-body/vc_unlabeled_fence.md の MD040 修正は、本 PR の最終 head 以前に main 側(#1107)で解決済みである。本 PR は rebase で取り込んでおり、diff には fixture を含まない。

    SCOPE_ITEM_RESOLUTION_V1:
      issue: 1094
      item: tests/fixtures/issue-body/vc_unlabeled_fence.md
      resolution: already_resolved_on_main
      resolving_pr: 1107
      resolving_commit: 83ef23e4
      included_in_pr_1102_diff: false
      reason: "AC11 lint:docs blocker was eliminated by the base branch (#1107 の MD040 抑止) before the final PR head; rebase で取り込み済み。"

    なお Blocker 3(CLAUDE.md への #733 closure gate caveat 追加)と High risk 4(AC7 を M4 row exact check へ強化)は PR #1102 / Issue 本文側で対応する。

  12. squne121 commented on Jun 22, 2026

    @squne121
    OwnerAuthor

    Contract Review Result (refreshed)

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-06-22T11:06:06Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1094
      body_sha256: "sha256:8d2ba547473f5c7d65789fd8e15fec0bea9a2ba409a659c3b8edf2e0f8c03815"
      checks:
        readiness: go
        blockers: pass
        product_spec: pass
        vc_preflight: pass
      source: run_contract_review_once_manual_refresh
      supersedes_body_sha256: "sha256:5cf0b3b6d5b07a7303aa2155e1ddc260128409b1a4725fccc315cf15b5833234"

    注: 直前の go コメント (body_sha256 sha256:5cf0b3b6d5b07a7303aa2155e1ddc260128409b1a4725fccc315cf15b5833234) は VC7 が VC parser 非互換 (テーブル pipe | を含む形) で human_judgment 化していた本文に対するものだった。VC7 を pipe 非依存の正規表現 (M4: Upgrade Loop \(v0\.4\.x\).* 2 .*M4: UX MVP Gate \(v0\.4\.x\).*mismatch_pending_rename) へ決定論置換した結果、baseline_vc_preflight が AC7 を expected_baseline_fail (decision=go) に分類するようになった。現行本文 sha256 (sha256:8d2ba547473f5c7d65789fd8e15fec0bea9a2ba409a659c3b8edf2e0f8c03815) で run_contract_review_once.py --mode execute --skip-idempotency-check を再計算し全 checks pass を確認したため、fresh go を投稿し supersede する。

  13. added 3 commits that reference this issue on Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/implementerdocsenhancementphase/implementationtriage-required

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions