Skip to content

process: GitHub native issue dependencies を blocker SSOT とし Depends On 本文欄を fallback/mirror に降格するポリシーを docs に記述する #233

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "GitHub native issue dependencies を blocker SSOT とし、Depends On 本文欄を fallback/mirror に降格するポリシーを docs に記述する"
change_kind: docs

Parent Issue

none

Parent Goal Ref

  • Goal: blocking dependency の SSOT を GitHub native issue dependency に統一し、Depends On 本文欄の役割を fallback/mirror/informative reference に限定する。加えて、hard dependency を採用した Issue に対して native blockedBy を実際に materialize する運用方針(判定ルール・materialize 方針・再利用する既存 controlled executor・readback 必須化・approve ゲート条件)を docs に明記する。
  • Desired Destination: N/A(standalone improvement)

Current Validated Scope

  • docs/dev/github-ops.md に、以下を追記する:
    1. Issue authoring/refinement(issue-refinement-loop 等)が hard dependency の有無を判定するルール
    2. hard dependency 採用時に native blockedBy を materialize する phase を issue-refinement-loop 等の Step 4 rewrite に必須化する方向性(本 Issue のスコープは docs 記述のみであり、issue-refinement-loop 本体の実装配線は別 Issue の scope として明示的に Out of Scope とする。新規 Issue はこの時点では起票せず、将来必要になった時点で起票判断される旨のみ記述する)
    3. native 化 mutation は既存の controlled/idempotent helper(edit-issue skill の native_relationships / issue_relationship.update controlled executor)を再利用する方針。新しい独自の dependency graph・ledger・receipt・broker は作らない
    4. mutation 後の live readback を必須とする方針
    5. readback が expected set と一致するまで、当該 Issue を approved / implementation-ready と扱わない旨(refinement loop 側のゲート方針として記述)
    6. Issue 本文の Depends On セクションの prose は native dependency の mirror/fallback/informative reference であり、blocker 判定の SSOT ではないこと(実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 の改訂内容と整合)
    7. issue-contract-review(check_blockers.sh 含む)は upstream relation の検証だけを行い、dependency materialization の mutation owner にはしないという責務分離(実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 の改訂内容と整合)
    8. 新規の graph schema / ledger / mutation broker / receipt を作らない旨

Remaining Parent Gaps

なし

Required Design References

Outcome

docs/dev/github-ops.md に、GitHub native issue dependency を blocker 判定の SSOT とする既存ポリシー(本 Issue 着手前から記述済み: native primary・Depends on #N fallback・native/body 不一致時 human escalation・issue_relationship.update による既存 native 関係性同期の仕組み)に加えて、以下の運用方針が明記されている状態:

  1. hard dependency 判定ルール: Issue authoring/refinement(issue-refinement-loop 等)が、ある依存関係を「着手可否に直接影響する hard dependency」として扱うか「単なる informative reference」として扱うかを判定するルールが明記されている。
  2. native materialize phase の必須化方向性: hard dependency を採用した場合、GitHub native dependency(blockedBy)を materialize する phase を issue-refinement-loop 等の Step 4 rewrite に必須化する方向性が明記されている。ただし本 Issue のスコープはこの方向性を docs に記述することに限定され、issue-refinement-loop 本体への実装配線は別 Issue の scope として明示的に Out of Scope とする。新規 Issue は本 Issue の完了時点では起票せず、将来 issue-refinement-loop 側で実装着手が必要と判断された時点で起票判断される旨のみを記述する。
  3. 既存 controlled executor の再利用: native 化 mutation は、既存の edit-issue skill の native_relationships(ISSUE_EDIT_TXN_INPUT_V1.native_relationships → issue_relationship.update controlled executor、Issue 実装: edit-issue transaction に GitHub native 親子・依存関係の同期と readback を追加する #1883)を再利用する方針が明記されている。新しい独自の dependency graph schema・ledger・receipt・mutation broker は作らないことが明記されている。
  4. mutation 後の live readback 必須化: native dependency mutation 後は、GitHub からの live readback を必須とする方針が明記されている。
  5. approve ゲート条件: readback が expected set と一致するまで、当該 Issue を refinement loop 上で approved / implementation-ready と扱わない旨が、refinement loop 側のゲート方針として明記されている。
  6. Depends On 本文欄の位置づけ: Depends On セクションの prose は native dependency の mirror / fallback / informative reference であり、blocker 判定の SSOT ではないことが明記されている(実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 の check_blockers.sh native-first 改訂と整合)。
  7. issue-contract-review の責務分離: issue-contract-review(check_blockers.sh 含む)は upstream relation の検証(validation)だけを行い、dependency materialization(mutation)の owner にはしないという責務分離が明記されている(実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 の改訂内容と整合)。
  8. 新規 schema/ledger/broker/receipt の非採用: 上記いずれの方針も、新規の graph schema・ledger・mutation broker・receipt を作らないことを前提とする旨が明記されている。

In Scope

  • docs/dev/github-ops.md への追記(新規セクションとして、上記 Outcome の 1〜8 を記述する)
  • 既存の native dependency SSOT ポリシー記述(native primary・fallback・mismatch 時 human escalation・issue_relationship.update 同期の仕組み)との整合性確認・矛盾があれば軽微な文言調整

Out of Scope

  • 既存 Issue の遡及修正(native blockedBy の実際の materialize 作業を含む。本 Issue の完了後、必要な Issue に対して別途 mutation を実行する)
  • issue-refinement-loop skill 本体(Step 4 rewrite 等)への native materialize phase の実装配線。本 Issue は docs にその方向性を記述するのみであり、実装は将来必要と判断された時点で別 Issue として起票判断される(本 Issue の完了時点では新規 Issue を起票しない)
  • .github/ISSUE_TEMPLATE/*.yml へのフィールド追加(native dependency が既に primary な機構として運用されているため、template への [blocking]/[informative] マーカーフィールド新設は不要と判断し取り下げる)
  • 新規ファイル docs/dev/issue-dependency-policy.md / docs/dev/issue-contract.md の作成(既存の docs/dev/github-ops.md に追記することで代替し、新規ファイルは作らない)
  • check_blockers.sh スクリプト実装の修正(実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 が担当・完了済み)
  • CI/CD での自動バリデーション実装
  • 新規の dependency graph schema / ledger / mutation broker / receipt の実装(docs 記述のみ)

Depends On

Acceptance Criteria

  • AC1: docs/dev/github-ops.md に、(a) Issue authoring/refinement が hard dependency の有無を判定するルール、(b) hard dependency 採用時に native blockedBy materialize phase を issue-refinement-loop 等の Step 4 rewrite に必須化する方向性(実装配線は別 Issue の Out of Scope である旨と、新規 Issue はこの時点では起票しない旨を含む)が明記されている
  • AC2: 同ドキュメントに、(a) native 化 mutation は既存の edit-issue skill の native_relationships / issue_relationship.update controlled executor を再利用し新規の dependency graph / ledger / mutation broker / receipt を作らない方針、(b) mutation 後の live readback を必須とする方針、(c) readback が expected set と一致するまで当該 Issue を approved / implementation-ready と扱わない旨(refinement loop 側のゲート方針)が明記されている
  • AC3: 同ドキュメントに、(a) Depends On 本文欄の prose が native dependency の mirror/fallback/informative reference であり blocker 判定の SSOT ではない旨、(b) issue-contract-review(check_blockers.sh 含む)は upstream relation の検証のみを行い dependency materialization の mutation owner にはしないという責務分離、の 2 点が明記されている(いずれも 実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 の改訂内容と整合する記述であること)

Verification Commands

# AC1
$ rg -n -e "hard dependency" -e "blockedBy.*materialize" -e "materialize.*blockedBy" docs/dev/github-ops.md
# AC2
$ rg -n -e "live readback" -e "implementation-ready" -e "mutation broker" docs/dev/github-ops.md
# AC3
$ rg -n -e "informative reference" -e "mutation owner" -e "検証のみ" docs/dev/github-ops.md

Allowed Paths

  • docs/dev/github-ops.md

Runtime Verification Applicability

decision: not_applicable
reason: >
  本 Issue の成果物は docs/dev/github-ops.md への Markdown 追記のみ。
  実行可能なランタイム成果物がないため自動 VC 実行は不適用。

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
  • native blockedBy の実際の materialize(mutation の実行そのもの)が必要と判明した場合(本 Issue は docs 記述のみが scope であり、mutation 実行は別途扱う)

Required Skills

  • docs authoring
  • GitHub native issue dependency の仕組みに関する知識(issue_relationship.update、edit-issue skill)

Scope Delta(任意)

reframe_in_place: Outcome / In Scope / Out of Scope / AC / Verification Commands / Allowed Paths を実質的に変更。OWNER directive(本セッションでの直接指示)に基づき、単なる「native SSOT ポリシーを docs に書く」だけでなく、issue authoring/refinement 側の hard dependency 判定ルール・native materialize phase 必須化の方向性(実装配線は別 Issue として明示的に Out of Scope)・既存 controlled executor 再利用(新規 schema/ledger/broker/receipt 禁止)・mutation 後 readback 必須・readback が一致するまで approved 扱いしないゲート方針を追加した。あわせて .github/ISSUE_TEMPLATE/implementation.yml へのフィールド追加と新規ファイル作成(docs/dev/issue-dependency-policy.md / docs/dev/issue-contract.md)は、native dependency が既に primary な機構として運用されている現状(#265 改訂内容)と整合しないため Out of Scope へ移し、既存の docs/dev/github-ops.md への追記に統合した。VC は inline backtick 形式から canonical fenced code block($ prefix)形式へ修正した。

Source

Activity

  1. added
    enhancement
    phase/implementation
    state/queued
    agent/implementer
    triage-required
    process
    on May 23, 2026
  2. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    人間からの指摘です。
    Issue本文に「Depends On」を埋め込むissueはよく見るけど、そもそも種はGithubのブロッカー機能の認識。しかし使われていないし、改善issueも見ていない。

  3. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    レビュー判定: REQUEST CHANGES

    人間指摘は妥当です。#233 は「Issue本文の Depends On 記法を機械判定しやすくする」改善としては意味がありますが、問題の根はそこではありません。GitHub には既に native issue dependencies があり、公式ドキュメント上も Relationships から Mark as blocked by / Mark as blocking を設定して、blocked issue をUI上で可視化する機能として定義されています。つまり blocker の SSOT は本文内 Markdown ではなく GitHub native dependency に寄せるべきです。([GitHub Docs]1)

    #233 の現行スコープは .github/ISSUE_TEMPLATE/implementation.yml と docs/dev/issue-contract.md に [blocking] / [informative] を定義するものですが、これは fallback 記法の整備であって、native blocker を使わない運用を温存します。#233 自身も Outcome で「Issue template または docs に区分を定義し、AI Agent が依存関係を機械的に判定できる」としており、native dependency を SSOT 化する記述がありません。

    主な問題点

    1. BLOCKER: “Depends On本文欄”を第一級に扱う設計が逆

    既存の check_blockers.sh は、既に GitHub native dependency API らしき repos/${REPO}/issues/${ISSUE_NUMBER}/dependencies/blocked_by を primary として読みに行き、本文中の Depends on #N は fallback として扱う設計です。つまり既存実装の思想は「native dependency primary」です。

    一方で #233 は、本文側の Depends On 表記を [blocking] / [informative] で精緻化するだけです。これでは 本来 primary であるべき GitHub blocker 関係を使う運用改善になっていない。修正方針は「Markdown欄の強化」ではなく、「native dependency を SSOT、Markdown は mirror/fallback」と明記することです。

    2. 既に関連改善Issueはある。ただし、問題設定がズレている

    「改善issueも見ていない」という指摘に対しては、関連Issueは存在します。ただし、どれも native blocker 利用の徹底ではなく、本文解析の誤検出対策に寄っています。

    #223 は milestone_rollup.sh が Issue 本文全体から #NNN を拾ってしまう問題を扱い、## Depends On セクション限定への絞り込みを提案しています。
    #265 は check_blockers.sh が条件文中の Depends on #14 を fallback blocker と誤検出した問題を扱っています。
    PR #262 でも同じ false positive が実作業中に観測されています。native API は blocker 0 件だったのに、本文中の条件文を拾って native/fallback 不一致になった、という事象です。

    したがって現状の改善群は「本文解析をどう安全にするか」に偏っており、「そもそも GitHub native blocker を運用SSOTにする」という改善Issueが不足しています。

    3. 実装とドキュメントが既に不整合

    issue-contract-review/SKILL.md は、fallback Depends on #N parsing を「専用セクションの line-anchored 宣言文のみ」とし、Delivery Rule の条件文や歴史的注記は blocker と見なさない、と書いています。

    しかし実際の check_blockers.sh は最初に Issue 本文全体へ grep -oP '(?i)Depends on #\K[0-9]+' をかけています。これは SKILL.md の規約と矛盾します。

    この状態で #233 だけを実装すると、テンプレート上は [informative] と書いても、既存スクリプトが本文全体から Depends on #N を拾う限り false positive は残ります。#233 は #265 と統合するか、少なくとも #265 を prerequisite にすべきです。

    4. implementation.yml に Depends On欄がまだ存在しない

    現在の .github/ISSUE_TEMPLATE/implementation.yml には、Machine-Readable Contract、Parent Issue、Parent Goal Ref、Current Validated Scope、Remaining Parent Gaps、Outcome、In Scope、Out of Scope、Acceptance Criteria、Verification Commands、Allowed Paths、Stop Conditions、Required Skills、Scope Delta が並んでいますが、Depends On 専用欄は確認できません。

    つまり #233 の「Depends On 関連セクションにプレフィックス例を追加」は、既存欄への説明追記ではなく テンプレート構造の追加になり得ます。これは docs-only の軽微修正ではなく、Issue contract の producer/consumer 変更です。review-issue / issue-contract-review / milestone-rollup / check_blockers.sh がその欄をどう扱うかまで含めないと中途半端です。

    5. docs/dev/issue-contract.md が main 上で確認できなかった

    #233 の Allowed Paths には docs/dev/issue-contract.md が含まれていますが、今回 main から取得した限りでは存在を確認できませんでした。#233 は「既存文書への追記」なのか「新規SSOT作成」なのかを明示すべきです。現状のままだと、実装者が Stop Condition に当たる可能性があります。

    推奨する設計変更

    #233 はこのまま実装せず、目的を次に差し替えるべきです。

    新しい目的:

    GitHub native issue dependencies を blocker 判定の SSOT とし、Issue本文の Depends On は native dependency が読めない場合の fallback / 人間向け mirror / informative reference に限定する。

    GitHub側では issue dependencies と sub-issues は別機能です。sub-issues は作業をタスク階層に分解するためのもので、依存関係は blocked by / blocking を表す別の Relationships 機能です。([GitHub Docs]2) ([GitHub Docs]1)

    Issue分割案

    A. #233 を置き換える policy Issue

    タイトル案:

    process: GitHub native issue dependencies を blocker SSOT とし Depends On 本文欄を fallback/mirror に降格する

    AC案:

    • docs/dev/github-ops.md または新規 docs/dev/issue-dependency-policy.md に「blocking dependency の SSOT は GitHub native issue dependency」と明記されている
    • Depends On 本文欄は native dependency の mirror / fallback / informative reference であり、native と矛盾した場合は native を優先または human escalation とする、と定義されている
    • implementation.yml に Depends On 欄を追加する場合、blocking は native dependency 設定必須、informative は blocker 判定対象外、と説明されている
    • docs/dev/issue-contract.md を使うなら、新規作成であることが Allowed Paths / Outcome に明示されている

    B. #265 を blocker にして、実装不整合を先に直す

    #265 は check_blockers.sh の false positive を直すIssueなので、#233より優先度が高いです。本文規約を増やす前に、スクリプトが SKILL.md の規約どおり「line-anchored / dedicated section only」になっている必要があります。

    C. native dependency 運用の audit / migration Issue を新規に切る

    既存Issueに Markdown Depends On が散在しているなら、次の作業が必要です。

    • open issue の ## Depends On / Depends on #N を棚卸し
    • blocking と informative を人間が判定
    • blocking は GitHub Relationships の blocked by / blocking に移す
    • 本文側は mirror として残すか、informative reference に降格する
    • check_blockers.sh が native/fallback 不一致を human escalation する方針を維持する

    #233 への具体的な差し戻しコメント案

    REQUEST CHANGES.
    
    このIssueは fallback Markdown 記法の改善に寄りすぎています。
    GitHubには native issue dependencies(Relationships → Mark as blocked by / Mark as blocking)があり、既存の check_blockers.sh も native dependency API を primary として扱っています。
    
    したがって本Issueの目的は `[blocking]` / `[informative]` マーカー追加ではなく、次に変更すべきです。
    
    - blocker 判定のSSOTは GitHub native issue dependency
    - Issue本文の Depends On は mirror / fallback / informative reference
    - native dependency と本文 fallback が不一致なら human escalation
    - `[informative]` は blocker 判定対象外
    - `[blocking]` を本文に書く場合は native dependency も設定済みであることを要求
    
    また、現在 check_blockers.sh は本文全体の `Depends on #N` を拾う実装で、SKILL.md の「専用セクション・line-anchoredのみ」と矛盾しています。#265 を先に解決するか、本Issueに依存関係として明示してください。
    
    加えて `docs/dev/issue-contract.md` は main 上で確認できなかったため、新規作成なのか既存追記なのかを明記してください。

    最終判断

    #233 は 単独ではマージ不適です。
    正しい順序は次です。

    1. 実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 で check_blockers.sh の本文全体 grep を修正する
    2. native dependency を blocker SSOT とする policy Issue を作る
    3. その policy に合わせて process: GitHub native issue dependencies を blocker SSOT とし Depends On 本文欄を fallback/mirror に降格するポリシーを docs に記述する #233 を「本文マーカー追加」ではなく「native blocker + fallback mirror 規約」に書き換える
    4. 既存Issueの migration/audit を別Issueで行う

    この修正を入れないと、[blocking] / [informative] を追加しても、根本的には「GitHubの blocker 機能を使わず、Markdown本文を擬似APIとしてパースする」運用が残ります。

  4. removed
    state/queued
    on May 23, 2026
  5. changed the title [-]process: Issue template の Depends On セクションに [blocking] / [informative] マーカーを導入する[/-] [+]process: GitHub native issue dependencies を blocker SSOT とし Depends On 本文欄を fallback/mirror に降格するポリシーを docs に記述する[/+] on May 23, 2026
  6. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    Issue 本文 reframe_in_place 適用(issue-refinement-loop Step 4)

    issue-reviewer からの blocking_issues (B1/B2/B3) および anchor_comment_feedback (final_classification: reframe_in_place) を受けて本文を書き換えました。

    適用した変更

    タイトル変更

    • 旧: process: Issue template の Depends On セクションに [blocking] / [informative] マーカーを導入する
    • 新: process: GitHub native issue dependencies を blocker SSOT とし Depends On 本文欄を fallback/mirror に降格するポリシーを docs に記述する

    Outcome の書き換え(B2 対応)

    • 抽象的な「AI Agent が判定できる」能力文から、具体的な成果物記述(docs への方針明記 + implementation.yml への Depends On フィールド新規追加)に変更
    • docs/dev/issue-contract.md は新規作成である事実を明記
    • implementation.yml への Depends On 欄は新規フィールド追加である事実を明記

    In Scope の書き換え

    • blocker SSOT ポリシー記述先を docs/dev/github-ops.md または新規 docs/dev/issue-dependency-policy.md と明示
    • implementation.yml への Depends On フィールドが新規追加であることを明記
    • docs/dev/issue-contract.md が新規作成であることを明記

    Out of Scope への追記

    AC の書き換え(B1/B2 対応)

    • AC1/AC2/AC3 の番号ラベルを明示(B1: VC との不一致解消)
    • AC1: SSOT ドキュメントへの native dependency SSOT 明記
    • AC2: fallback/mirror/informative の定義および native 優先ルール
    • AC3: implementation.yml への Depends On フィールド新規追加と説明

    VC の書き換え

    • AC 番号(AC1/AC2/AC3)に対応したコマンドに更新

    Allowed Paths の更新

    • docs/dev/issue-dependency-policy.md および docs/dev/issue-contract.md を追加

    Depends On セクションを新規追加(N1 対応)

    Runtime Verification Applicability セクションを新規追加(B3 対応)

    • decision: not_applicable(docs/YAML 編集のみのため)

    変更区分

    scope_impact: amend — Outcome / In Scope / AC / Allowed Paths を実質的に変更する reframe_in_place

  7. squne121 commented on May 23, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop: 完了 (2026-05-23T15:28:13Z)

    • iteration: 1
    • verdict: approve
    • termination_reason: approved
    • removed_state_labels: ["state/queued"]

    改善履歴

    iteration 0 → 1 (reframe_in_place):

    次アクション

    issue-contract-review でのプリフライト確認を推奨。ただし [blocking] #265 がオープンのため、#265 クローズ後に着手すること。

    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      follow_up_issues:
        - request_dedupe_key: "native-dependency-migration-audit"
          issue_number: null
          issue_url: null
          status: skipped_pending_human_decision
          note: >
            既存 Issue の Depends On 記述を native dependency へ migration する audit Issue。
            人間レビューコメントで「C. native dependency 運用の audit / migration Issue を新規に切る」として提案されたが、
            #265 クローズ後・policy Issue (#233) 実装後の判断が適切なため自動起票を保留。
    
      note_only_observations:
        - dedupe_key: "check-blockers-pattern1-skill-md-inconsistency"
          source_url: "https://github.com/squne121/loop-protocol/issues/233#issuecomment-4525780059"
          source_note_id: "anchor_comment"
          summary: >
            check_blockers.sh Pattern 1 (全体 grep) と SKILL.md(専用セクション限定)の矛盾は
            #265 でカバー予定。#265 クローズで解消される見込み。
  8. squne121 commented on Aug 23, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop: approved

    OWNER directive(本セッションでの直接指示)に基づき、Issue #233 を reframe_in_place しました。

    変更点サマリ

    • Outcome / In Scope / Out of Scope / Acceptance Criteria / Verification Commands / Allowed Paths を実質的に改訂しました。
    • 単なる「native SSOT ポリシーを docs に書く」から、以下を含む契約へ拡張しました:
      1. Issue authoring/refinement(issue-refinement-loop 等)が hard dependency の有無を判定するルールを docs に明記する方針
      2. hard dependency 採用時に native blockedBy を materialize する phase を issue-refinement-loop 等の Step 4 rewrite に必須化する方向性(実装配線自体は別 Issue の scope として明示的に Out of Scope とし、本 Issue の完了時点では新規 Issue を起票しない旨を明記)
      3. native 化 mutation は既存の edit-issue skill の native_relationships / issue_relationship.update controlled executor を再利用し、新規の graph schema・ledger・receipt・mutation broker を作らない方針
      4. mutation 後の live readback を必須とする方針
      5. readback が expected set と一致するまで approved / implementation-ready と扱わない、refinement loop 側のゲート方針
      6. Depends On 本文欄は native dependency の mirror/fallback/informative reference であり SSOT ではない旨(実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 の改訂内容と整合)
      7. issue-contract-review(check_blockers.sh 含む)は upstream relation の検証のみを行い、dependency materialization の mutation owner にはしないという責務分離(実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 の改訂内容と整合)
    • .github/ISSUE_TEMPLATE/implementation.yml へのフィールド追加、および新規ファイル docs/dev/issue-dependency-policy.md / docs/dev/issue-contract.md の作成は Out of Scope へ移し、既存の docs/dev/github-ops.md への追記に統合しました(native dependency が既に primary な機構として運用されている現状、および 実装: check_blockers.sh の条件付き依存記述による false positive を改善する #265 改訂内容との整合性のため)。
    • ## Required Design References セクションを新規追加(implementation kind の必須セクション)。
    • ## Runtime Verification Applicability の rationale: を reason: に修正(kind-specific guard の必須フィールド)。
    • Verification Commands を inline backtick 形式から canonical fenced code block($ prefix)形式へ修正しました。既存セクションとの語彙衝突による baseline unexpected-pass(AC2 の native_relationships / issue_relationship.update が既存の 実装: edit-issue transaction に GitHub native 親子・依存関係の同期と readback を追加する #1883 節に既にヒットしていた)を検出・修正し、live readback / implementation-ready / mutation broker へ差し替えました。
    • Depends On の [blocking] #265 記述はそのまま維持しています(native blockedBy の実際の materialize は別ステップで実行します)。

    最終 verdict

    • Step 2(deterministic review): VERDICT: approve(NEXT_ACTION: proceed、blockers: 0、reviewed_body_sha256 一致)
    • Step 2.5(semantic design review): semantic_review_applicable: false(cross-contract change なし、checker gap なし、owner decision conflict なし)のためスキップ

    body_sha256

    sha256:a5195deb11195333e04977b25f63b8db9bab09220553252437631ea885960c03

    Implementation handoff(LOOP_HANDOFF_RESULT_V1)に関する注記

    issue-contract-review(現行実装)を本 Issue に対して実行すると、native dependency API 側に #233→#265 の blockedBy が未登録であるため(本 Issue が扱う materialize phase 自体が未配線のため)、本文の [blocking] #265 記述にもかかわらず status: go を返します。これは本 Issue の背景で確認された native/body 不一致そのものであり、docs/dev/github-ops.md の既存ポリシー(「native dependency と Depends on #N が不一致の場合」節)に従えば本来 human escalation 対象です。

    このため、本ループでは LOOP_HANDOFF_RESULT_V1 を impl_ready として出力せず、human_judgment_required として記録します。native blockedBy(#233 → #265)の materialize が完了し、readback で native/body の一致が確認されるまで、impl-review-loop の自動起動を保留してください。

    LOOP_HANDOFF_RESULT_V1:
      status: human_judgment_required
      routing_action: ask_human
      reason: >
        native dependency API に #233 -> #265 の blockedBy が未登録のまま
        contract_review が status: go を返すため(本 Issue が定める materialize
        phase が issue-refinement-loop へ未配線のための既知ギャップ)。native
        blockedBy の materialize と readback 一致確認を先に完了させること。
      contract_review:
        status: go
        gate_result: fresh_go
        latest_comment_url: null
        generated_at: "2026-08-23T09:14:21.087347Z"
        body_sha256: "sha256:a5195deb11195333e04977b25f63b8db9bab09220553252437631ea885960c03"
      metadata:
        title_prefix_ready: true
      label_sync_observation:
        kind: presentation_sync
        result: noop
        detail: "label mutation not attempted in this loop iteration"
      auto_fixes:
        result: human_judgment_required
        required: []

    残課題

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/implementerenhancementphase/implementationprocesstriage-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions