Skip to content

実装: required CI を snapshot read-only に固定し baseline canonicalization を reviewed PR 境界に限定する #1388

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "#1380"
ancestor_issue: "#1370"
goal_ref: "required CI の snapshot write を禁止し、baseline candidate と canonicalization の境界を reviewed PR に限定する"
change_kind: mixed
preflight_scope: pr_review_only
runtime_verification_applicability: not_applicable
baseline_expect: pass

baseline_expect は legacy default であり、各 Verification Command 直前の # baseline-expect: を本 Issue の実行前判定に使用する。

Parent Issue

#1380

Parent Goal Ref

Dependencies

Current Validated Scope

Remaining Parent Gaps

Outcome

required CI lane では Playwright が missing snapshot を含む tracked snapshot を作成・更新できず、既知の workflow・local composite action・package script 経路にある Playwright/Vitest の write-capable update mode は policy validator が拒否する。CI artifact または pinned local environment が baseline candidate を生成すること自体は禁止しない。candidate は reviewed PR に明示的に commit されるまで canonical baseline ではない。本 Issue のコードが保証するのは既知の required CI snapshot-write 経路の拒否までであり、human review の実施強制は repository rules と運用契約に依存する。

In Scope

  • package.json に local/manual candidate generation 用の test:vrt:update:e2e を追加し、Playwright update mode を明示する。
  • playwright.config.ts で CI 時の updateSnapshots: 'none' を明示し、ローカル通常実行と明示的 update script を壊さない。
  • scripts/check-vrt-snapshot-policy.py を新設し、repository 内の workflow、workflow から参照される local composite action、bounded な package script 解決を構造解析する。
  • write-capable Playwright/Vitest update mode と pnpm test:vrt:update:e2e の直接・間接呼出しを拒否し、safe mode と無関係な command を許可する。
  • update-sensitive invocation に unresolved expression、matrix、env、shell variable がある場合、malformed YAML の場合、または validator CI wiring が欠落する場合は fail-closed にする。
  • scripts/tests/test_check_vrt_snapshot_policy.py を新設し、safe/unsafe mode、YAML comment、python -u、indirect package script、local composite action、unresolved interpolation、malformed YAML、CI wiring を検証する。
  • .github/ci/python-test-plan.json と .github/workflows/ci.yml に validator test と validator execution を配線する。
  • docs/dev/visual-baseline-registry.md に candidate producer、canonicalization authority、persistence、enforcement limitation を区別して記載し、既存 baseline review checklist を保持する。
  • baseline PNG は追加・更新しない。

Out of Scope

  • baseline PNG の生成、追加、更新。
  • test:vrt:update:component、@vitest/browser-playwright、vitest.visual.config.ts、tests/visual/**、実装: Vitest Browser Mode component VRT を report-only scaffold として追加する #1389 の実装。
  • CI が candidate artifact を生成すること自体の全面禁止。
  • repository rules、CODEOWNERS、branch protection の変更、または static validator が human review 実施を保証するという主張。
  • external visual SaaS、arbitrary shell call graph parser、scripts/check-visual-artifact-pipeline.py への新責務の混入。
  • issue-refinement-loop、planner、controlled executor の変更。

Acceptance Criteria

  • AC1: test:vrt:update:e2e が local/manual candidate generation 専用として明示的な Playwright update mode で追加され、required CI から直接・間接に呼び出されない。
  • AC2: required CI では playwright.config.ts が updateSnapshots: 'none' に解決され、flag がなくても missing snapshot を作成・更新できない。
  • AC3: validator が Playwright/Vitest の write-capable mode と update package script 呼出しを拒否する。
  • AC4: validator が workflow、local composite action、bounded な package script の既知の間接経路を構造解析する。
  • AC5: validator が safe mode、通常の Playwright/Vitest command、python -u、YAML comment・説明文だけの update flag を許可する。
  • AC6: unresolved interpolation、malformed YAML、validator CI wiring 欠落を fail-closed にする。
  • AC7: docs が candidate producer、canonicalization authority、persistence、enforcement limitation を区別し、既存 baseline review checklist を保持する。
  • AC8: baseline PNG を変更せず、policy validator unit tests、typecheck、lint、test、build、policy validator が PASS する。

Verification Commands

# AC1
# baseline-expect: fail
$ rg -n "test:vrt:update:e2e" package.json

# AC2
# baseline-expect: fail
$ rg -n "updateSnapshots.*none" playwright.config.ts

# AC3
# baseline-expect: fail
$ uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_write_capable_playwright_and_vitest_modes -q

# AC4
# baseline-expect: fail
$ uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_indirect_package_script_and_composite_action_paths -q

# AC5
# baseline-expect: fail
$ uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_allows_safe_modes_python_u_and_comment_text -q

# AC6
# baseline-expect: fail
$ uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_fails_closed_for_interpolation_malformed_yaml_and_missing_wiring -q

# AC7
# baseline-expect: pass
$ rg -n "baseline 変更 PR のレビュー checklist" docs/dev/visual-baseline-registry.md

# AC8
# baseline-expect: pass
# preflight-scope: pr_review_only
$ pnpm typecheck

# AC8
# baseline-expect: pass
# preflight-scope: pr_review_only
$ pnpm lint

# AC8
# baseline-expect: pass
# preflight-scope: pr_review_only
$ pnpm test

# AC8
# baseline-expect: pass
# preflight-scope: pr_review_only
$ pnpm build

Runtime Verification Applicability

  • decision: not_applicable
  • reason: 本 Issue の acceptance は static policy、config、unit test、CI wiring で完結し、baseline を書き換える update command を readiness では実行しない。AC8 の regression commands は runtime evidence ではなく PR review-only の構造 gate とする。

OWNER Anchor Traceability

  • P0-1: candidate producer、canonicalization authority、persistence を Outcome と registry docs で分離し、CI artifact の生成自体を禁止しない。
  • P0-2: required CI の updateSnapshots: 'none' を AC2 と config test で検証する。
  • P0-3: workflow、local composite action、bounded package script の既知経路を AC3・AC4 の dedicated validator が構造解析する。
  • P0-4: component update と未解決 split dependency を削除し、実装: Vitest Browser Mode component VRT を report-only scaffold として追加する #1389 に deferred する。
  • P0-5: dedicated pytest で write-capable mode、safe mode、false positive、unresolved input、malformed YAML、wiring を検証する。
  • P0-6: human review enforcement は repository rules と運用に依存することを Outcome と docs に明記する。
  • P0-7: global default ではなく、各 VC の # baseline-expect: を使用する。
  • P1: scripts/check-visual-artifact-pipeline.py を変更せず、snapshot policy 専用 validator と unit test を追加する。

Allowed Paths

  • package.json
  • playwright.config.ts
  • scripts/check-vrt-snapshot-policy.py
  • scripts/tests/test_check_vrt_snapshot_policy.py
  • scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_write_capable_playwright_and_vitest_modes
  • scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_indirect_package_script_and_composite_action_paths
  • scripts/tests/test_check_vrt_snapshot_policy.py::test_allows_safe_modes_python_u_and_comment_text
  • scripts/tests/test_check_vrt_snapshot_policy.py::test_fails_closed_for_interpolation_malformed_yaml_and_missing_wiring
  • .github/ci/python-test-plan.json
  • .github/workflows/ci.yml
  • docs/dev/visual-baseline-registry.md

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合。
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合。
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)。
  • 後続 Phase / 別スコープへの波及が判明した場合。
  • nested SubAgent delegation が必要になった場合。
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合。
  • 実装: Vitest Browser Mode component VRT を report-only scaffold として追加する #1389 の実装なしでは本 Issue の AC を満たせないことが実証された場合。
  • baseline PNG の追加・更新、repository settings mutation、secret、破壊的操作が必要になった場合。
  • arbitrary shell interpreter が必要になる場合、または validator に human review enforcement を担わせる必要がある場合。

Required Skills

  • GitHub Actions
  • Python
  • Playwright
  • Vitest

Required Design References

  • docs/dev/visual-baseline-registry.md
  • .github/workflows/ci.yml
  • playwright.config.ts
  • package.json
  • scripts/check-visual-artifact-pipeline.py

Scope Delta

  • 追加: required CI snapshot read-only config、snapshot policy validator、unit tests、CI wiring、local E2E update script。
  • 削除: component update script、未解決の split Issue dependency、文字列検索だけの validator verification。
  • 変更: CI update flag 一律禁止を write-capable mode と canonicalization boundary の明示へ置換。

Delivery Rule

Activity

  1. added
    phase/implementation
    agent/implementer
    enhancement
    on Jul 7, 2026
  2. squne121 commented on Aug 1, 2026

    @squne121
    OwnerAuthor

    判定

    REQUEST_CHANGES — 現状の本文では実装着手不可です。

    目的自体は妥当ですが、#1388 は「baseline を生成する場所」と「baseline を正として採用する権限」を混同しています。また、禁止対象の列挙、依存関係、テスト可能性が現在の Playwright/Vitest とリポジトリ実装に追随していません。

    #1388 には後続コメントがなく、現在の本文を上書きする owner decision もありません。親 #1380 のレビュー要求をほぼそのまま分割した状態です。

    P0 ブロッカー

    P0-1. local-human-only という境界が誤っています

    必要なのは次の分離です。

    • candidate producer: baseline 候補を生成する環境
    • canonicalization authority: その画像を正として Git に採用する権限
    • persistence: reviewed PR を通じた commit/merge

    Playwright は baseline と比較実行を同一環境で行うよう要求しています。Vitest の現行公式ガイドも、ローカル生成ではなく、制御された環境での手動 CI update workflow を有効な構成として提示しています。したがって「CI で生成した時点で禁止」ではなく、CI が自動的に baseline を正として commit・merge・同一 run の expected に採用することを禁止するのが正しい境界です。 ([Playwright]1)

    このリポジトリ自身も既に同じ結論に到達しています。

    したがってタイトルと Goal は、例えば次へ変更すべきです。

    required CI を snapshot read-only に固定し、baseline canonicalization を human-reviewed PR に限定する

    P0-2. flag がなくても Playwright は snapshot を書き込みます

    現行 playwright.config.ts には updateSnapshots の明示設定がありません。

    Playwright の既定値は updateSnapshots: 'missing' です。つまり --update-snapshots も -u もなくても、missing snapshot は生成されます。CI を本当に read-only にするには、少なくとも CI では updateSnapshots: 'none' を明示する必要があります。ところが #1388 の Allowed Paths には playwright.config.ts が含まれていません。 ([Playwright]2)

    さらに、次の安全な指定まで一律禁止してはいけません。

    • Playwright: --update-snapshots=none
    • Vitest: --update=none

    Playwright は all / changed / missing / none、Vitest は true|all / new / none を持ちます。禁止すべきなのは write-capable mode であって、option 名の存在自体ではありません。 ([Playwright]3)

    P0-3. この Issue が追加する package script 自体が validator の迂回経路になります

    workflow が次を実行した場合、

    pnpm test:vrt:update:e2e

    workflow YAML 内には --update-snapshots が一文字も現れません。そのため本文どおりの「workflow command context から flag を探す」実装は、自分で追加した更新 script を検出できません。

    現行 CI は既に pnpm package scripts とローカル composite actions を多用しています。package script、.github/actions/**/action.yml、再利用 workflow、matrix/env 経由の引数を無視して .github/workflows/** の literal run だけを解析しても、CI から到達可能な実行経路は監査できません。 GitHub Actions は env/matrix context、composite action、reusable workflow による間接実行を正式にサポートしています。 ([GitHub Docs]4)

    最低限、validator は次を検査する必要があります。

    1. .github/workflows/**/*.yml|yaml の literal run
    2. workflow から参照されるローカル composite action
    3. test:vrt:update:* の package script 名の直接呼出し
    4. Playwright/Vitest の write-capable CLI mode
    5. config 内の write-capable update mode
    6. test runner の引数に env/matrix interpolation がある場合の fail-closed 判定

    任意の shell call graph を完全解析する必要はありません。ただし、解析できない経路を「安全」と見なしてはいけません。

    P0-4. test:vrt:update:component は現在実行不能です

    #1388 の依存は依然として split Issue 3、split Issue 4 という未解決名です。現在は #1387 が完了済み、component VRT 本体の #1389 は未実装・OPEN です。

    現行 package.json には test:vrt:component、@vitest/browser-playwright、vitest.visual.config.ts がありません。

    したがって次のいずれかが必要です。

    「Prefer after」では不十分です。実行対象そのものが存在しません。

    P0-5. AC4 を検証する test path が Allowed Paths にありません

    本文は「grep ではなく YAML を構造解析する」と要求していますが、Verification Commands は実質的に次の存在確認です。

    • rg "yaml"
    • rg "expected"
    • validator や workflow 内の文字列検索

    これは構造解析、false-positive 回避、exit status、否定系を一切証明しません。しかも Allowed Paths に unit test や fixture がありません。

    直前の #1387 / PR #1813 は、同じ validator に正常系・否定系 unit tests を追加し、python-test lane に常設しています。現行 main にもその test suite が存在します。

    #1388 にも少なくとも以下が必要です。

    • write-capable Playwright mode が fail
    • --update-snapshots=none が pass
    • write-capable Vitest mode が fail
    • --update=none が pass
    • python -u が false positive にならない
    • pnpm test:vrt:update:e2e が fail
    • composite action 内の同じ呼出しが fail
    • YAML comment や説明文だけでは fail しない
    • matrix/env による未解決引数を fail-closed にする
    • malformed YAML が fail
    • validator 自身が CI に配線されていない場合に fail

    P0-6. 「human review 必須」は docs と validator では強制できません

    #1388 が実装するのは package scripts、docs、static validator です。これらで保証できるのは「既知の CI update 経路を拒否する」ことまでであり、「baseline PNG が人間にレビューされた」ことではありません。

    GitHub 上でレビューを強制するには、required pull request reviews、CODEOWNERS と required Code Owner review、ruleset、bypass 制限などの repository-side enforcement が必要です。 ([GitHub Docs]5)

    リポジトリ設定まで扱わないなら、Goal は次のように限定すべきです。

    この Issue は CI snapshot write 経路を静的・設定的に拒否する。人間レビューの実施自体は repository rules と運用契約に依存し、本 validator の保証範囲外とする。

    P0-7. baseline_expect: fail が現行 main と一致しません

    現行 registry には既に以下があります。

    • CI snapshot auto-update 禁止
    • baseline 追加・更新は human commit/review 前提
    • expected / actual / diff
    • maturity transition
    • artifact URL/digest
    • environment fingerprint

    したがって AC2 と AC5 は少なくとも部分的または完全に baseline pass です。

    Issue 全体を一律 baseline_expect: fail にすると、refinement/implementation loop で VCP_UNEXPECTED_PASS が発生する可能性があります。AC ごとに次を明記すべきです。

    • update scripts: fail
    • CI policy validator: fail
    • config read-only enforcement: fail
    • policy docs: pass/partial
    • review checklist: pass

    P1 設計上の問題

    validator の責務が既存 script と合っていません

    scripts/check-visual-artifact-pipeline.py は capture、comparator、artifact digest、summary wiring を検証する既に大きな validator です。CI command policy は別の責務です。

    推奨構成は次です。

    scripts/check-vrt-snapshot-policy.py
    scripts/tests/test_check_vrt_snapshot_policy.py
    

    これを python-test lane から実行してください。既存 monolith に shell/YAML/package-script policy まで混在させるより、障害原因と test fixture が明確になります。

    -u 単体の禁止規則が曖昧です

    -u は Playwright/Vitest 以外でも使用されます。例えば python -u を拒否してはいけません。runner executable と subcommand を認識し、少なくとも次の形で判定する必要があります。

    playwright test -u                  reject
    playwright test --update-snapshots reject
    vitest -u                           reject
    vitest --update=all                 reject
    python -u script.py                 allow
    playwright test --update-snapshots=none allow
    vitest --update=none                allow
    

    推奨する最小修正版

    Outcome

    required CI lane では Playwright/Vitest が tracked snapshot を作成・更新できず、baseline 候補が CI artifact または pinned local container で生成された場合も、reviewed PR に明示的に commit されるまで canonical baseline として扱われない。

    Dependencies

    Depends on: #1387 (completed)
    Component VRT update support: deferred to #1389
    

    In Scope

    • test:vrt:update:e2e
    • CI 時の playwright.config.ts updateSnapshots: 'none'
    • dedicated snapshot-policy validator
    • workflow・local composite action・固定 package update script の検査
    • write-capable mode と safe mode の区別
    • unit tests / fixtures
    • registry docs の producer/authority 境界修正
    • baseline PNG は変更しない

    必須 Allowed Paths

    package.json
    playwright.config.ts
    scripts/check-vrt-snapshot-policy.py
    scripts/tests/test_check_vrt_snapshot_policy.py
    .github/ci/python-test-plan.json
    .github/workflows/ci.yml
    docs/dev/visual-baseline-registry.md
    

    削除すべき項目

    • test:vrt:update:component
    • Depends on: split Issue 3
    • Prefer after: split Issue 4
    • rg "yaml" や rg "expected" を合否根拠とする Verification
    • 「この validator が human review を保証する」という主張

    最終評価

    #1388 は廃止する必要はありません。ただし現在のまま実装すると、次の不正な状態が発生します。

    1. flag なしの missing snapshot write を見逃す
    2. 自分で追加した update package script から迂回できる
    3. 安全な none mode を誤検出する
    4. component VRT がないのに component update script を要求する
    5. unit test なしで「構造解析済み」と宣言する
    6. CI-generated candidate の正当な人間採用運用を禁止してしまう
    7. 実装していない human-review enforcement を達成済みと主張する

    したがって、「CI update flag 禁止」から「required CI の snapshot read-only 保証+human canonicalization 境界」へ契約を修正してから実装すべきです。

  3. squne121 commented on Aug 1, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop: human_escalation

    LOOP_TERMINATION_RESULT_V1:
      termination_reason: human_escalation
      max_iterations: 3
      blockers_history:
        - iteration: 0
          blockers:
            - PLANNER_FAIL_CLOSED
    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      schema_version: 1
      materialized_by: issue-refinement-loop
      follow_up_issues: []
      note_only_observations: []
  4. squne121 commented on Aug 1, 2026

    @squne121
    OwnerAuthor

    推奨アクション

    同じ contract_update.run.with_anchor を再実行するのではなく、今回の指示を OWNER の明示承認として、正規の edit-issue transaction で #1388 のタイトル・本文を直接更新するのが適切です。その後、live body に対する fresh issue review と contract readiness を取得し、go なら実装・Draft PR まで継続させます。

    理由は、設計判断自体はアンカーで既に具体化されており、停止原因は「trusted contract patch を生成できなかったこと」に限定されているためです。ガードを弱めたり refinement-loop 実装を修正したりする必要はありません。

    現行 main では Playwright の updateSnapshots が未指定で、更新用・component 用 package script もまだ存在しません。#1387 は完了済み、#1389 は OPEN なので、component VRT を #1388 から除外すれば #1389 を待たずに進行できます。

    Playwright は snapshot 更新の既定値が missing で、CI でも明示的に none にしなければ missing snapshot を生成し得ます。Vitest は現在、CI では既定で書き込みませんが、-u、all、new などの明示指定は書き込み可能です。([Playwright]1)

    以下を Codex CLI に貼り付けてください。

    squne121/loop-protocol の Issue #1388 を、human escalation から復旧させ、Issue contract の更新、fresh review、fresh readiness、可能なら実装と Draft PR 作成まで続行してください。

    対象:

    最優先方針

    作業を停止することではなく、正規経路で続行することを優先してください。

    現在の PLANNER_FAIL_CLOSED は、技術設計が未決だからではなく、contract_update.run.with_anchor が trusted contract patch plan を生成できず、controlled mutation lane が本文を更新できなかったことによる停止です。

    今回のプロンプトを、次の OWNER 判断として扱ってください。

    OWNER は、issuecomment-5150837921 の推奨最小修正版を基準に、#1388 のタイトルと本文を再構成することを承認する。
    contract_update.run.with_anchor の同一失敗を繰り返すのではなく、正規の edit-issue transaction を使用して本文へ反映し、fresh review と fresh readiness を取り直した上で作業を続行する。

    ただし、以下は禁止します。

    1. 実行前確認

    canonical main root / default branch から開始してください。

    以下を確認してください。

    同じ contract_update.run.with_anchor を最初のアクションとして再実行しないでください。現在の Issue body が変わっていない限り、同じ停止を繰り返す可能性があります。

    2. サブエージェントの使用

    gpt-5.3-codex-spark を優先してください。

    最初に少なくとも2つの spark-deep サブエージェントを並行起動してください。いずれも read-only とします。

    spark-deep A: contract reconstruction

    入力:

    タスク:

    • OWNER anchor の P0-1〜P0-7、P1 を漏れなく Issue contract へ写像する
    • 新タイトル、Outcome、In Scope、Out of Scope、Dependencies、AC、VC、Allowed Paths、Stop Conditions の候補を作る
    • component VRT を 実装: Vitest Browser Mode component VRT を report-only scaffold として追加する #1389 へ明確に deferred する
    • candidate producer、canonicalization authority、persistence の境界を分離する
    • static validator で保証できる範囲と、repository rules/運用に依存する範囲を分離する
    • SPARK_AGENT_RESULT_V1 のみ返す

    spark-deep B: adversarial AC/VC audit

    タスク:

    • candidate contract を敵対的にレビューする
    • AC ごとの baseline 状態を判定する
    • VCP_UNEXPECTED_PASS を起こす不正な baseline-expect: fail を検出する
    • semantic AC が rg の存在確認だけになっていないか確認する
    • AC番号とVC番号、Allowed Paths、変更予定ファイル、CI wiring の整合を確認する
    • safe mode と write-capable mode の誤分類を検出する
    • python -u などの false positive を検出する
    • matrix/env interpolation、composite action、reusable workflow、package script 間接呼出しの扱いを確認する
    • SPARK_AGENT_RESULT_V1 のみ返す

    必要な場合だけ web-researcher を追加し、次の公式一次資料に限定して現行仕様を確認してください。

    • Playwright TestConfig / CLI / snapshots
    • Vitest snapshot update config / CLI
    • GitHub Actions contexts / matrix / composite actions / reusable workflows

    ブログや二次情報を根拠にしないでください。

    spark-deep は Issue mutation や最終 verdict を行わせず、分析結果を main thread が統合してください。

    3. #1388 の目標契約

    以下を下限としてください。細部は live repository と deterministic checker に合わせて修正できますが、OWNER anchor の要求を弱めてはいけません。

    推奨タイトル

    実装: required CI を snapshot read-only に固定し baseline canonicalization を reviewed PR 境界に限定する

    タイトルが達成保証を過大表現すると判断した場合は、次でも構いません。

    実装: required CI の snapshot write を禁止し baseline canonicalization 境界を明文化する

    Machine-Readable Contract

    基本方針:

    • issue_kind: implementation
    • parent_issue: "#1380"
    • ancestor_issue: "#1370"
    • change_kind: mixed
    • global の baseline_expect だけに依存せず、各 Verification Command に # baseline-expect: を付ける
    • runtime_verification_applicability は現行 checker に従い再判定する
    • baseline を実際に書き換える update command を readiness のために実行しない
    • static policy、unit tests、config validation だけで完結するなら not_applicable とし、理由を明記する

    Dependencies

    必須:

    • Depends on: #1387 (completed)
    • Component VRT update support: deferred to #1389

    削除:

    #1389 を #1388 の hard dependency にして作業停止させないでください。component update は #1389 に委譲し、#1388 は Playwright E2E と将来の Vitest 経路を拒否できる policy validator に限定します。

    Outcome

    少なくとも次を表現してください。

    • required CI lane では tracked Playwright snapshot を missing を含め作成・更新できない
    • CI artifact や pinned local environment が baseline candidate を生成すること自体は禁止しない
    • candidate は reviewed PR に明示的に commit されるまで canonical baseline ではない
    • 本 Issue のコードが保証するのは、既知の required CI snapshot-write 経路の拒否まで
    • 実際の human review 強制は repository rules と運用契約に依存し、本 validator の保証範囲外

    4. 必須 In Scope

    • test:vrt:update:e2e の追加

      • local/manual candidate generation 用
      • update mode は省略せず明示する
      • CI required lane からの呼出しは禁止する
    • playwright.config.ts

      • CI では updateSnapshots: 'none' に解決されること
      • ローカル通常実行時の authoring 動作と update script の明示 override を壊さないこと
    • dedicated validator:

      • scripts/check-vrt-snapshot-policy.py
    • dedicated unit tests:

      • scripts/tests/test_check_vrt_snapshot_policy.py
    • .github/workflows/**/*.yml|yaml の構造解析

    • workflow から参照される local composite action の runs.steps[].run の構造解析

    • package.json scripts の bounded な解決

    • pnpm test:vrt:update:e2e の直接・間接呼出し拒否

    • Playwright の write-capable update mode の拒否

    • Vitest の write-capable update mode の拒否

    • safe mode と write-capable mode の区別

    • update-sensitive command に unresolved env/matrix/expression がある場合の fail-closed

    • malformed YAML の fail

    • YAML comment、説明文、無関係な -u の false positive 回避

    • validator 自身の required CI wiring

    • unit test file の .github/ci/python-test-plan.json 登録

    • registry docs の producer / authority / persistence 境界修正

    • 既存 baseline review checklist の保持

    • baseline PNG は変更しない

    任意の shell call graph を完全解析する大規模ハーネスにはしないでください。対象は repository 内の既知の GitHub Actions、local composite actions、package scripts、Playwright/Vitest invocation に限定します。

    5. 必須 Out of Scope

    • baseline PNG の生成、追加、更新
    • test:vrt:update:component
    • @vitest/browser-playwright の導入
    • vitest.visual.config.ts の導入
    • tests/visual/** の追加
    • 実装: Vitest Browser Mode component VRT を report-only scaffold として追加する #1389 の実装
    • CI が candidate artifact を生成すること自体の全面禁止
    • repository rules / CODEOWNERS / branch protection の変更
    • static validator が human review 実施を保証するという主張
    • external visual SaaS
    • arbitrary shell call graph parser
    • scripts/check-visual-artifact-pipeline.py への新責務の混入
    • issue-refinement-loop、planner、controlled executor の修正

    6. Acceptance Criteria の下限

    以下を独立した AC として検証可能にしてください。

    1. test:vrt:update:e2e が local/manual candidate generation 用として存在する。
    2. required CI では、flag がなくても Playwright が missing snapshot を作成できない。
    3. validator が Playwright/Vitest の write-capable mode と update package script 呼出しを拒否する。
    4. validator が workflow、local composite action、package script の既知の間接経路を検査する。
    5. safe mode と無関係な command を許可する。
    6. unresolved interpolation、malformed YAML、validator wiring 欠落を fail-closed にする。
    7. docs が candidate producer、canonicalization authority、persistence、enforcement limitation を区別し、既存 review checklist を保持する。
    8. baseline PNG が変更されず、対象 unit tests、typecheck、lint、test、build、policy validator が PASS する。

    最低限必要な unit test ケース

    Fail:

    • playwright test -u
    • playwright test --update-snapshots
    • playwright test --update-snapshots=all
    • playwright test --update-snapshots=changed
    • playwright test --update-snapshots=missing
    • vitest -u
    • vitest --update
    • vitest --update=all
    • vitest --update=new
    • pnpm test:vrt:update:e2e
    • wrapper package script 経由の update script
    • local composite action 内の同じ呼出し
    • update-sensitive invocation に unresolved ${{ ... }}、matrix、env、shell variable がある場合
    • malformed YAML
    • validator の CI wiring 欠落
    • Playwright CI config が none でない場合

    Pass:

    • playwright test --update-snapshots=none
    • vitest --update=none
    • 現行仕様上安全なら vitest --update=false
    • python -u script.py
    • YAML comment や documentation text に update flag が書かれているだけのケース
    • update command を含まない通常の Playwright/Vitest test
    • CI read-only config が存在する repository fixture

    各 mode の正確な現行仕様は公式 docs を再確認してください。

    7. Allowed Paths

    原則として次に限定してください。

    • package.json
    • playwright.config.ts
    • scripts/check-vrt-snapshot-policy.py
    • scripts/tests/test_check_vrt_snapshot_policy.py
    • .github/ci/python-test-plan.json
    • .github/workflows/ci.yml
    • docs/dev/visual-baseline-registry.md

    依存追加が不要なら pnpm-lock.yaml を追加しないでください。

    .github/actions/** は validator の読取対象ですが、変更が不要なら Allowed Paths に追加しないでください。

    fixture は unit test 内の tmp_path 等で構築し、独立 fixture ファイルが本当に必要と確認されるまでは tests/fixtures/** を追加しないでください。

    8. Verification Commands の作成規則

    • canonical fenced bash 形式を使う
    • 各 command の直前に bare # ACn を置く
    • AC ごとに baseline expectation を正確に付ける
    • semantic behavior の検証を rg だけで済ませない
    • rg は literal script key や文言の存在確認に限定する
    • validator behavior、safe/unsafe mode、YAML parsing、CI wiring は pytest で検証する
    • baseline に既に存在する docs checklist は # baseline-expect: pass
    • 新規 update script、CI config、validator、tests、wiring は # baseline-expect: fail
    • baseline PNG 無変更と既存 regression gates は # baseline-expect: pass
    • 高コストまたは implementation 後にしか意味を持たない command は repo policy に従い # preflight-scope: pr_review_only を使用する
    • current baseline_vc_preflight.py の allowlist と grammar を実際に実行して確認する
    • rg "yaml" や rg "expected" のような trivially-pass VC を使用しない

    9. Issue body の正規更新

    candidate body を repo-relative temporary file に保存してください。

    primary analysis は spark-deep の結果を使用しますが、Issue mutation は次のいずれかの正規経路だけを使用してください。

    優先:

    1. dedicated issue-author agent を mutation adapter として使用
    2. main thread が .agents/skills/edit-issue/SKILL.md から canonical .claude/skills/edit-issue/SKILL.md を読み、edit_issue_txn.py を実行

    issue-author は独立した再設計判断を行わせず、Spark が作成した candidate contract を正規 transaction へ渡す役割に限定してください。

    mutation 前に少なくとも以下を行ってください。

    • check_vc_scope.py --body-file <candidate>
    • body guard / hygiene check
    • candidate static readiness
    • current title/body hash/updatedAt の readback
    • stale precondition の設定
    • ISSUE_EDIT_TXN_INPUT_V1 の生成
    • title_update.required: true
    • title と body を単一 controlled transaction で更新
    • final live readback
    • expected body hash と live body hash の一致確認

    readiness payload を偽造しないでください。human_judgment や input_or_runtime_error を go に書き換えてはなりません。

    body-author-fixable な checker failure は candidate body を修正して再実行してください。環境障害または非修正可能な authority conflict だけを停止理由とします。

    10. 更新後の fresh review

    Issue body 更新後、古い review artifact や body hash を再利用しないでください。

    次の順で実行してください。

    1. live Issue body/title/updatedAt/hash の再取得
    2. spark-deep による短い adversarial read-only audit
    3. canonical issue-reviewer による fresh review
    4. REVIEWED_BODY_SHA256 と live body hash の一致確認
    5. needs-fix が body-author-fixable なら、最大3 iteration まで自動修正
    6. canonical issue-contract-review
    7. fresh CONTRACT_REVIEW_RESULT_V1 status: go の取得

    同じ planner failure を再発させるだけのために issue-refinement-loop 全体を最初から再実行しないでください。まず明示承認済みの body update を完了し、その live body に対して review/readiness を行ってください。

    成功後、Issue に簡潔な resolution comment を controlled publish してください。最低限、以下を含めます。

    • OWNER-approved direct contract rewrite を適用したこと
    • fail-closed guard を緩和していないこと
    • previous PLANNER_FAIL_CLOSED は trusted patch generation failure として解消したこと
    • fresh review verdict
    • fresh contract readiness status
    • reviewed body hash / contract snapshot URL
    • implementation handoff の可否

    11. go 後の実装続行

    fresh contract readiness が go なら、確認待ちで止まらず、同一セッションで実装へ続行してください。

    • issue-specific worktree / branch を正規 skill で作成
    • Allowed Paths を厳守
    • baseline PNG を変更しない
    • primary design review に spark-deep を使う
    • bounded edit helper が有効なら spark-worker を限定的に使用してよい
    • spark-worker には task_scope と正確な allowed_paths を渡す
    • Issue authoring、review verdict、publish は spark-worker に行わせない
    • validator と unit tests を先に実装
    • config、workflow wiring、package script、docs を後続で整合させる
    • relevant tests を先に実行
    • full regression checks を実行
    • baseline screenshot directory に変更がないことを確認
    • Draft PR を作成
    • PR body に AC/VC evidence、no-baseline-PNG-change evidence、validator test matrix を記録
    • impl-review-loop を実行
    • actionable blocker は自動修正
    • merge は明示指示がない限り行わない

    12. 停止してよい条件

    次の場合だけ停止してください。

    • controlled edit-issue transaction の実行権限・環境が実際に利用不能
    • live Issue が別の新しい OWNER decision により supersede されている
    • candidate body が deterministic checker で非修正可能な authority conflict になる
    • Allowed Paths 外の本質的変更が不可避
    • 実装: Vitest Browser Mode component VRT を report-only scaffold として追加する #1389 の実装なしでは AC を満たせないと実証された
    • baseline PNG の変更が不可避
    • required CI の安全性を証明するため arbitrary shell interpreter が必要になる
    • external service または repository settings mutation が必要
    • secret、権限昇格、破壊的操作が必要

    単に PLANNER_FAIL_CLOSED が以前発生したこと、subagent が懸念を述べたこと、VC が最初に失敗したことだけでは停止しないでください。

    13. 最終報告

    最終出力には以下を含めてください。

    status:
    issue:
    previous_blocker:
    owner_authorized_route:
    subagents:
      spark_deep:
      spark_worker:
    issue_mutation:
      title_updated:
      body_updated:
      transaction_status:
      old_body_sha256:
      new_body_sha256:
    fresh_review:
      verdict:
      reviewed_body_sha256:
    fresh_readiness:
      status:
      contract_snapshot_url:
    implementation:
      started:
      branch:
      commit:
      draft_pr:
    verification:
      passed:
      failed:
    baseline_png_changed:
    remaining_blockers:
    recommended_next_action:

    長い raw logs やサブエージェント transcript は返さず、artifact path、GitHub URL、body hash、検証結果を返してください。

    このプロンプトでは、Spark を主要な分析主体として使いながら、Issue mutation と正式 verdict だけを専用の正規エージェント/skill に残しています。spark-deep は実際に gpt-5.3-codex-spark の high reasoning read-only agentとして構成されています。

  5. changed the title [-]実装: VRT snapshot update を local-human-only に固定し CI update flag を禁止する[/-] [+]実装: required CI を snapshot read-only に固定し baseline canonicalization を reviewed PR 境界に限定する[/+] on Aug 1, 2026
  6. squne121 commented on Aug 1, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-08-01T10:06:43Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1388
      body_sha256: "sha256:e21a0a270b2f4235e4a213fe1cb3952b003e6c5ae63265320b1267123179ddea"
      checks:
        readiness: go
        blockers: pass
        product_spec: pass
        product_spec_check: {"schema":"product_spec_check/v1","applicability":"applicable","decision":"pass","triggers":{"docs_product_allowed_paths":false,"tasks_md_mentioned":false,"specify_artifact_mentioned":false,"generated_task_mentioned":false,"product_spec_context_present":false,"machine_readable_contract_present":true},"conditions":{"docs_product_requires_spec_evidence":{"status":"pass","evidence":[]},"tasks_md_not_direct_source":{"status":"pass","evidence":[]},"specify_not_canonical":{"status":"pass","evidence":[]},"diff_first_rationale_present":{"status":"pass","evidence":[]},"generated_task_trace_present":{"status":"pass","evidence":[]},"task_dependencies_materialized":{"status":"pass","evidence":[]}},"blocked_reasons":[],"body_sha256":"sha256:e21a0a270b2f4235e4a213fe1cb3952b003e6c5ae63265320b1267123179ddea","source_provenance":{"source_type":"github_api","body_file":null}}
        vc_preflight:
          decision: pass
          classifications: [{"ac":"AC1","line":3,"raw_command":"rg -n \"test:vrt:update:e2e\" package.json","command_hash":"sha256:67ad626e817f4e4a3f220192844258ad0dbd35529e573c91a5d2faef65f7f5f9","execution_key_hash":"sha256:199a0c483bf13cdb3bbcceaae955861ca67865859108420e1c44e7047e5668b0","runner":"exec","exit_code":1,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":2,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC2","line":7,"raw_command":"rg -n \"updateSnapshots.*none\" playwright.config.ts","command_hash":"sha256:cec9ded7fd4b4aa410a550fe5409ff574444e75463b335d9c4ee2998162b91ec","execution_key_hash":"sha256:66d7480c6517002ca5e27bd23139f2f1d302677480f23f1b898b332d68005c9f","runner":"exec","exit_code":1,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":2,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":6,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC3","line":11,"raw_command":"uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_write_capable_playwright_and_vitest_modes -q","command_hash":"sha256:0bcb39794473591d8a90515f275a8ef7d990753f796c0dd483d6ea3b275e2a8f","execution_key_hash":"sha256:7a367ff2791de259b363e35351a4ae85ea66208e934cf2f70212fd8fc83a4b1b","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_write_capable_playwright_and_vitest_modes"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":174,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":10,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC4","line":15,"raw_command":"uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_indirect_package_script_and_composite_action_paths -q","command_hash":"sha256:cc5feaecbb70de5547a7a02f4f504aa9497a7dff082e0d61fff9ea6bdffc2c00","execution_key_hash":"sha256:742fbfb45c7bd86ad9af59b48438a50a542e76fba2360b034738c96c6b7e339a","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_indirect_package_script_and_composite_action_paths"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":175,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":14,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC5","line":19,"raw_command":"uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_allows_safe_modes_python_u_and_comment_text -q","command_hash":"sha256:64b4dbc9dd6120a0bdfffc92f2cec558610a928ca7b00e291bf1e93e91579e14","execution_key_hash":"sha256:4c802ef1421aa32753c813a3c2e8e31762d5c2d97db633ec909ea44ee89568aa","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: scripts/tests/test_check_vrt_snapshot_policy.py::test_allows_safe_modes_python_u_and_comment_text"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":173,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":18,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC6","line":23,"raw_command":"uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_fails_closed_for_interpolation_malformed_yaml_and_missing_wiring -q","command_hash":"sha256:584dcf67818ca9d7779402c357f11c53409684284d1a1cd0a2d3f81edf0aa607","execution_key_hash":"sha256:edb0571d869d809fb0ad607dd63f6ab75211ab81fcf0dd14a7949981009b913c","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: scripts/tests/test_check_vrt_snapshot_policy.py::test_fails_closed_for_interpolation_malformed_yaml_and_missing_wiring"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":182,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":22,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC7","line":27,"raw_command":"rg -n \"baseline 変更 PR のレビュー checklist\" docs/dev/visual-baseline-registry.md","command_hash":"sha256:45912ca6a864e30292f750a09a33e75ae6a184e927abb3849d68cb1dfd5d6f1b","execution_key_hash":"sha256:a369fc19d24ebf168d27b10c087b55a221339a221c47ba50bd33397527d66f36","runner":"exec","exit_code":0,"classification":"expected_pass","category":"baseline_expect_pass","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["260:### baseline 変更 PR のレビュー checklist(基準画像変更のレビュー項目)"],"stdout_truncated":false,"stdout_original_line_count":2,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":1,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"pass","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":26,"raw":"# baseline-expect: pass"},"strict":null,"repair":null},{"ac":"AC8","line":32,"raw_command":"pnpm typecheck","command_hash":"sha256:1b65adab2d69e0f148ddd11c15c7dcd73ca087b66cc02dac2672f9493093cc6d","execution_key_hash":null,"runner":"skipped","exit_code":null,"classification":"skipped","category":"preflight_scope_pr_review_only","decision":"go","scope_class":"pr_review_only","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":0,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":30,"raw":"# baseline-expect: pass"},"strict":null,"repair":null,"verification_owner":"pr-review-judge","deferred_reason":"VC marked pr_review_only; verification deferred to PR review","runtime_verification_required":false,"pnpm_gate_evidence_required":true,"pnpm_gate_evidence":{"schema":"pnpm_gate_evidence/v1","gate_id":"pnpm.typecheck.v1","exact_request_argv":["pnpm","typecheck"],"launch_argv":["/home/squne/.local/share/fnm/node-versions/v24.15.0/installation/lib/node_modules/corepack/dist/pnpm.js","run","typecheck"],"runner_env_delta":{"CI":"true"},"manifest_path":"/home/squne/projects/LOOP_PROTOCOL/package.json","manifest_integrity_digest":"sha256:db2e25fc7dae3882ed2b85e1e039f8e5c87512d058ffc8ae4775142faf426c6a","validator_digest":"sha256:170b449efe5e974158481604bc5f94bd57935e18257143a2d3970b98263cc096"}},{"ac":"AC8","line":37,"raw_command":"pnpm lint","command_hash":"sha256:ede823a2d5f2814db6ddd8a2969504d513bf5a4428b806aa4d1a0499fb38462f","execution_key_hash":null,"runner":"skipped","exit_code":null,"classification":"skipped","category":"preflight_scope_pr_review_only","decision":"go","scope_class":"pr_review_only","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":0,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":35,"raw":"# baseline-expect: pass"},"strict":null,"repair":null,"verification_owner":"pr-review-judge","deferred_reason":"VC marked pr_review_only; verification deferred to PR review","runtime_verification_required":false,"pnpm_gate_evidence_required":true,"pnpm_gate_evidence":{"schema":"pnpm_gate_evidence/v1","gate_id":"pnpm.lint.v1","exact_request_argv":["pnpm","lint"],"launch_argv":["/home/squne/.local/share/fnm/node-versions/v24.15.0/installation/lib/node_modules/corepack/dist/pnpm.js","run","lint"],"runner_env_delta":{"CI":"true"},"manifest_path":"/home/squne/projects/LOOP_PROTOCOL/package.json","manifest_integrity_digest":"sha256:bffbd84769f6a3a529a69a91c07b702779a76e614ec09c7c397c2cc3a027cd30","validator_digest":"sha256:170b449efe5e974158481604bc5f94bd57935e18257143a2d3970b98263cc096"}},{"ac":"AC8","line":42,"raw_command":"pnpm test","command_hash":"sha256:ae7aca4de98e885127fe392c0b60056f3472ed0f0be972870a06df422b3f140a","execution_key_hash":null,"runner":"skipped","exit_code":null,"classification":"skipped","category":"preflight_scope_pr_review_only","decision":"go","scope_class":"pr_review_only","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":0,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":40,"raw":"# baseline-expect: pass"},"strict":null,"repair":null,"verification_owner":"pr-review-judge","deferred_reason":"VC marked pr_review_only; verification deferred to PR review","runtime_verification_required":false,"pnpm_gate_evidence_required":true,"pnpm_gate_evidence":{"schema":"pnpm_gate_evidence/v1","gate_id":"pnpm.test.v1","exact_request_argv":["pnpm","test"],"launch_argv":["/home/squne/.local/share/fnm/node-versions/v24.15.0/installation/lib/node_modules/corepack/dist/pnpm.js","run","test"],"runner_env_delta":{"CI":"true"},"manifest_path":"/home/squne/projects/LOOP_PROTOCOL/package.json","manifest_integrity_digest":"sha256:1fb02dc3d0e170f244c177f83fadad021f5cd1fbf4b69bef89a3ae551ccf53f7","validator_digest":"sha256:170b449efe5e974158481604bc5f94bd57935e18257143a2d3970b98263cc096"}},{"ac":"AC8","line":47,"raw_command":"pnpm build","command_hash":"sha256:702e948d947e109310cb2bf19c157b5bb8142b88c87e02ae87a7594c9b797893","execution_key_hash":null,"runner":"skipped","exit_code":null,"classification":"skipped","category":"preflight_scope_pr_review_only","decision":"go","scope_class":"pr_review_only","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":0,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":45,"raw":"# baseline-expect: pass"},"strict":null,"repair":null,"verification_owner":"pr-review-judge","deferred_reason":"VC marked pr_review_only; verification deferred to PR review","runtime_verification_required":false,"pnpm_gate_evidence_required":true,"pnpm_gate_evidence":{"schema":"pnpm_gate_evidence/v1","gate_id":"pnpm.build.v1","exact_request_argv":["pnpm","build"],"launch_argv":["/home/squne/.local/share/fnm/node-versions/v24.15.0/installation/lib/node_modules/corepack/dist/pnpm.js","run","build"],"runner_env_delta":{"CI":"true"},"manifest_path":"/home/squne/projects/LOOP_PROTOCOL/package.json","manifest_integrity_digest":"sha256:5cd459743411275f0df5594c3f96de7140420a3a4535fb9a46352435215eccda","validator_digest":"sha256:170b449efe5e974158481604bc5f94bd57935e18257143a2d3970b98263cc096"}}]
        declared_path_overlap: {"schema":"declared_path_overlap/v1","advisory":true,"blocking":false,"decision":"advisory_only","disjoint":true,"overlapping_prs":[],"inventory":{"schema":"OPEN_PR_INVENTORY_V1","repo":"squne121/loop-protocol","state":"open","base_ref":"main","base_sha":"a313312d7c5b50f5b8dec2eddfdcd8615ac21d7a","draft_policy":"include_drafts","prs":[{"number":1528,"title":"feat(cleanup): 同一実行内の branch-only fallback を追加","base_ref_name":"main","head_ref_name":"worktree-issue-1403-post-merge-cleanup-dedicated-branch-forc","head_ref_oid":"b29007580ae225eb9676c7f32c878ee2bb9ccaa9","is_draft":false,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1528","changed_files_count_graphql":4},{"number":1919,"title":"feat(codex): .codex/agents の model 配分と permission profile を役割相応に再設計する","base_ref_name":"main","head_ref_name":"worktree-issue-1915-codex-agents-permission-profile","head_ref_oid":"df1d1088bd506f4ab7a46404a2e77042a259770b","is_draft":false,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1919","changed_files_count_graphql":9},{"number":1921,"title":"実装: worktree 内の Claude Code/Codex CLI runtime smoke を herdr で観測する共有 Skill を追加する","base_ref_name":"main","head_ref_name":"worktree-issue-1887-runtime-smoke-skill","head_ref_oid":"358782a475fc9c6b5f1a9e5b5ec91ba5a6ecf0d9","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1921","changed_files_count_graphql":11},{"number":1922,"title":"feat(codex): canonical dispatch instructionをNative V2 shapeへ移行","base_ref_name":"main","head_ref_name":"worktree-issue-1838-native-v2-dispatch","head_ref_oid":"5dd189ceb6c13fd731436f8703eb07c07540c795","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1922","changed_files_count_graphql":6},{"number":1925,"title":"feat(ui): move running combat HUD into a compact battle-stage overlay (#1375)","base_ref_name":"main","head_ref_name":"worktree-issue-1375-combat-hud-overlay","head_ref_oid":"8502866cd196274224ef961bd74bd389c582aafa","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1925","changed_files_count_graphql":25}],"fetched_count":5,"totalCount":5,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:0296493b738f314f0ca39892385cf17a13d8f2fca41c0757f3e8fbe8749ac441","errors":[]},"inventory_digest_extended":"sha256:29d482b7e0d63118634a4672c79a3ff4bce289e42bd60011f8b2e5827518de3d","errors":[],"note":"changed-file 名の単純な重なりのみを証明する advisory check。3-way merge・hunk 競合・rename/delete 競合は評価しない(実 Git merge 競合の判定は Issue #1792 の PAIRWISE_MERGE_OBSERVATION_V1 producer の責務)。単独では blocking にしない。disjoint は tri-state(true/false/null)— 観測が不完全な場合は null。"}
      source: ensure_contract_snapshot_auto
      expected_contract_fingerprint: {"issue_number":1388,"contract_source_kind":"issue_comment","contract_source_id":"5150955518","contract_body_sha256":"sha256:e21a0a270b2f4235e4a213fe1cb3952b003e6c5ae63265320b1267123179ddea","allowed_paths_normalized_sha256":"62d7a5de2c7c07b83f13ede7d90ef865862d25d3c1e8020267c2b80174cbb691","base_ref":"main","base_sha_at_snapshot":"14f1f5ce51d9f7a2218281fcc4a1490ce0666853"}
  7. squne121 commented on Aug 1, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装完了

    • PR: feat(vrt): required CI の snapshot write を拒否する #1930
    • Worktree: .claude/worktrees/issue-1388-vrt-snapshot-policy
    • Branch: worktree-issue-1388-vrt-snapshot-policy
    • Commit: 06fe16eecedc5f8f42b6d02201bc4bd85068e113
    • Verification: focused pytest 4/4 PASS、snapshot policy validator PASS、python-test lane verifier PASS
    • pnpm typecheck / lint / test / build は Issue contract の preflight-scope: pr_review_only により PR review gate で実施します。
    • 後続: pr-review-judge による current-head review → CI 完了後のマージ判定 → post-merge-cleanup
  8. squne121 commented on Aug 1, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装完了

    • PR: feat(vrt): required CI の snapshot write を拒否する #1930
    • Commit: 06fe16eecedc5f8f42b6d02201bc4bd85068e113
    • Worktree: .claude/worktrees/issue-1388-vrt-snapshot-policy
    • Branch: worktree-issue-1388-vrt-snapshot-policy
    • 検証: policy pytest 4件、policy validator、python-test plan guard、typecheck、lint、Vitest(1794 tests)、build、docs lint、Ruff が PASS
    • CI 性能判断: CI_TEST_PERFORMANCE_DECISION_V1 を PR 本文に記録済み。current-head CI は PR review の証跡として待機。
    • 後続: pr-review-judge による current-head review
  9. squne121 commented on Aug 1, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-08-01T12:38:55Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1388
      body_sha256: "sha256:e21a0a270b2f4235e4a213fe1cb3952b003e6c5ae63265320b1267123179ddea"
      checks:
        readiness: go
        blockers: pass
        product_spec: pass
        product_spec_check: {"schema":"product_spec_check/v1","applicability":"applicable","decision":"pass","triggers":{"docs_product_allowed_paths":false,"tasks_md_mentioned":false,"specify_artifact_mentioned":false,"generated_task_mentioned":false,"product_spec_context_present":false,"machine_readable_contract_present":true},"conditions":{"docs_product_requires_spec_evidence":{"status":"pass","evidence":[]},"tasks_md_not_direct_source":{"status":"pass","evidence":[]},"specify_not_canonical":{"status":"pass","evidence":[]},"diff_first_rationale_present":{"status":"pass","evidence":[]},"generated_task_trace_present":{"status":"pass","evidence":[]},"task_dependencies_materialized":{"status":"pass","evidence":[]}},"blocked_reasons":[],"body_sha256":"sha256:e21a0a270b2f4235e4a213fe1cb3952b003e6c5ae63265320b1267123179ddea","source_provenance":{"source_type":"github_api","body_file":null}}
        vc_preflight:
          decision: pass
          classifications: [{"ac":"AC1","line":3,"raw_command":"rg -n \"test:vrt:update:e2e\" package.json","command_hash":"sha256:67ad626e817f4e4a3f220192844258ad0dbd35529e573c91a5d2faef65f7f5f9","execution_key_hash":"sha256:199a0c483bf13cdb3bbcceaae955861ca67865859108420e1c44e7047e5668b0","runner":"exec","exit_code":1,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":2,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC2","line":7,"raw_command":"rg -n \"updateSnapshots.*none\" playwright.config.ts","command_hash":"sha256:cec9ded7fd4b4aa410a550fe5409ff574444e75463b335d9c4ee2998162b91ec","execution_key_hash":"sha256:66d7480c6517002ca5e27bd23139f2f1d302677480f23f1b898b332d68005c9f","runner":"exec","exit_code":1,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":2,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":6,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC3","line":11,"raw_command":"uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_write_capable_playwright_and_vitest_modes -q","command_hash":"sha256:0bcb39794473591d8a90515f275a8ef7d990753f796c0dd483d6ea3b275e2a8f","execution_key_hash":"sha256:7a367ff2791de259b363e35351a4ae85ea66208e934cf2f70212fd8fc83a4b1b","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_write_capable_playwright_and_vitest_modes"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":254,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":10,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC4","line":15,"raw_command":"uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_indirect_package_script_and_composite_action_paths -q","command_hash":"sha256:cc5feaecbb70de5547a7a02f4f504aa9497a7dff082e0d61fff9ea6bdffc2c00","execution_key_hash":"sha256:742fbfb45c7bd86ad9af59b48438a50a542e76fba2360b034738c96c6b7e339a","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: scripts/tests/test_check_vrt_snapshot_policy.py::test_rejects_indirect_package_script_and_composite_action_paths"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":180,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":14,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC5","line":19,"raw_command":"uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_allows_safe_modes_python_u_and_comment_text -q","command_hash":"sha256:64b4dbc9dd6120a0bdfffc92f2cec558610a928ca7b00e291bf1e93e91579e14","execution_key_hash":"sha256:4c802ef1421aa32753c813a3c2e8e31762d5c2d97db633ec909ea44ee89568aa","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: scripts/tests/test_check_vrt_snapshot_policy.py::test_allows_safe_modes_python_u_and_comment_text"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":177,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":18,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC6","line":23,"raw_command":"uv run --locked pytest scripts/tests/test_check_vrt_snapshot_policy.py::test_fails_closed_for_interpolation_malformed_yaml_and_missing_wiring -q","command_hash":"sha256:584dcf67818ca9d7779402c357f11c53409684284d1a1cd0a2d3f81edf0aa607","execution_key_hash":"sha256:edb0571d869d809fb0ad607dd63f6ab75211ab81fcf0dd14a7949981009b913c","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: scripts/tests/test_check_vrt_snapshot_policy.py::test_fails_closed_for_interpolation_malformed_yaml_and_missing_wiring"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":209,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":22,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC7","line":27,"raw_command":"rg -n \"baseline 変更 PR のレビュー checklist\" docs/dev/visual-baseline-registry.md","command_hash":"sha256:45912ca6a864e30292f750a09a33e75ae6a184e927abb3849d68cb1dfd5d6f1b","execution_key_hash":"sha256:a369fc19d24ebf168d27b10c087b55a221339a221c47ba50bd33397527d66f36","runner":"exec","exit_code":0,"classification":"expected_pass","category":"baseline_expect_pass","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["260:### baseline 変更 PR のレビュー checklist(基準画像変更のレビュー項目)"],"stdout_truncated":false,"stdout_original_line_count":2,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":2,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"pass","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":26,"raw":"# baseline-expect: pass"},"strict":null,"repair":null},{"ac":"AC8","line":32,"raw_command":"pnpm typecheck","command_hash":"sha256:1b65adab2d69e0f148ddd11c15c7dcd73ca087b66cc02dac2672f9493093cc6d","execution_key_hash":null,"runner":"skipped","exit_code":null,"classification":"skipped","category":"preflight_scope_pr_review_only","decision":"go","scope_class":"pr_review_only","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":0,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":30,"raw":"# baseline-expect: pass"},"strict":null,"repair":null,"verification_owner":"pr-review-judge","deferred_reason":"VC marked pr_review_only; verification deferred to PR review","runtime_verification_required":false,"pnpm_gate_evidence_required":true,"pnpm_gate_evidence":{"schema":"pnpm_gate_evidence/v1","gate_id":"pnpm.typecheck.v1","exact_request_argv":["pnpm","typecheck"],"launch_argv":["/home/squne/.local/share/fnm/node-versions/v24.15.0/installation/lib/node_modules/corepack/dist/pnpm.js","run","typecheck"],"runner_env_delta":{"CI":"true"},"manifest_path":"/home/squne/projects/LOOP_PROTOCOL/package.json","manifest_integrity_digest":"sha256:db2e25fc7dae3882ed2b85e1e039f8e5c87512d058ffc8ae4775142faf426c6a","validator_digest":"sha256:170b449efe5e974158481604bc5f94bd57935e18257143a2d3970b98263cc096"}},{"ac":"AC8","line":37,"raw_command":"pnpm lint","command_hash":"sha256:ede823a2d5f2814db6ddd8a2969504d513bf5a4428b806aa4d1a0499fb38462f","execution_key_hash":null,"runner":"skipped","exit_code":null,"classification":"skipped","category":"preflight_scope_pr_review_only","decision":"go","scope_class":"pr_review_only","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":0,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":35,"raw":"# baseline-expect: pass"},"strict":null,"repair":null,"verification_owner":"pr-review-judge","deferred_reason":"VC marked pr_review_only; verification deferred to PR review","runtime_verification_required":false,"pnpm_gate_evidence_required":true,"pnpm_gate_evidence":{"schema":"pnpm_gate_evidence/v1","gate_id":"pnpm.lint.v1","exact_request_argv":["pnpm","lint"],"launch_argv":["/home/squne/.local/share/fnm/node-versions/v24.15.0/installation/lib/node_modules/corepack/dist/pnpm.js","run","lint"],"runner_env_delta":{"CI":"true"},"manifest_path":"/home/squne/projects/LOOP_PROTOCOL/package.json","manifest_integrity_digest":"sha256:bffbd84769f6a3a529a69a91c07b702779a76e614ec09c7c397c2cc3a027cd30","validator_digest":"sha256:170b449efe5e974158481604bc5f94bd57935e18257143a2d3970b98263cc096"}},{"ac":"AC8","line":42,"raw_command":"pnpm test","command_hash":"sha256:ae7aca4de98e885127fe392c0b60056f3472ed0f0be972870a06df422b3f140a","execution_key_hash":null,"runner":"skipped","exit_code":null,"classification":"skipped","category":"preflight_scope_pr_review_only","decision":"go","scope_class":"pr_review_only","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":0,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":40,"raw":"# baseline-expect: pass"},"strict":null,"repair":null,"verification_owner":"pr-review-judge","deferred_reason":"VC marked pr_review_only; verification deferred to PR review","runtime_verification_required":false,"pnpm_gate_evidence_required":true,"pnpm_gate_evidence":{"schema":"pnpm_gate_evidence/v1","gate_id":"pnpm.test.v1","exact_request_argv":["pnpm","test"],"launch_argv":["/home/squne/.local/share/fnm/node-versions/v24.15.0/installation/lib/node_modules/corepack/dist/pnpm.js","run","test"],"runner_env_delta":{"CI":"true"},"manifest_path":"/home/squne/projects/LOOP_PROTOCOL/package.json","manifest_integrity_digest":"sha256:1fb02dc3d0e170f244c177f83fadad021f5cd1fbf4b69bef89a3ae551ccf53f7","validator_digest":"sha256:170b449efe5e974158481604bc5f94bd57935e18257143a2d3970b98263cc096"}},{"ac":"AC8","line":47,"raw_command":"pnpm build","command_hash":"sha256:702e948d947e109310cb2bf19c157b5bb8142b88c87e02ae87a7594c9b797893","execution_key_hash":null,"runner":"skipped","exit_code":null,"classification":"skipped","category":"preflight_scope_pr_review_only","decision":"go","scope_class":"pr_review_only","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":0,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":45,"raw":"# baseline-expect: pass"},"strict":null,"repair":null,"verification_owner":"pr-review-judge","deferred_reason":"VC marked pr_review_only; verification deferred to PR review","runtime_verification_required":false,"pnpm_gate_evidence_required":true,"pnpm_gate_evidence":{"schema":"pnpm_gate_evidence/v1","gate_id":"pnpm.build.v1","exact_request_argv":["pnpm","build"],"launch_argv":["/home/squne/.local/share/fnm/node-versions/v24.15.0/installation/lib/node_modules/corepack/dist/pnpm.js","run","build"],"runner_env_delta":{"CI":"true"},"manifest_path":"/home/squne/projects/LOOP_PROTOCOL/package.json","manifest_integrity_digest":"sha256:5cd459743411275f0df5594c3f96de7140420a3a4535fb9a46352435215eccda","validator_digest":"sha256:170b449efe5e974158481604bc5f94bd57935e18257143a2d3970b98263cc096"}}]
        declared_path_overlap: {"schema":"declared_path_overlap/v1","advisory":true,"blocking":false,"decision":"advisory_only","disjoint":true,"overlapping_prs":[],"inventory":{"schema":"OPEN_PR_INVENTORY_V1","repo":"squne121/loop-protocol","state":"open","base_ref":"main","base_sha":"03bc8d29cd1753f7d71f5ae8e768cff371a6b36f","draft_policy":"include_drafts","prs":[{"number":1528,"title":"feat(cleanup): 同一実行内の branch-only fallback を追加","base_ref_name":"main","head_ref_name":"worktree-issue-1403-post-merge-cleanup-dedicated-branch-forc","head_ref_oid":"b29007580ae225eb9676c7f32c878ee2bb9ccaa9","is_draft":false,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1528","changed_files_count_graphql":4},{"number":1925,"title":"feat(ui): move running combat HUD into a compact battle-stage overlay (#1375)","base_ref_name":"main","head_ref_name":"worktree-issue-1375-combat-hud-overlay","head_ref_oid":"4c8acb5ae131629fe124b73bee56f622de50ca42","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1925","changed_files_count_graphql":29},{"number":1930,"title":"feat(vrt): required CI の snapshot write を拒否する","base_ref_name":"main","head_ref_name":"worktree-issue-1388-vrt-snapshot-policy","head_ref_oid":"bf04d37cfcbe671d13e584b4cccb0b7cf42b584d","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1930","changed_files_count_graphql":7}],"fetched_count":3,"totalCount":3,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:143d3b12b935d7106db5f76888356608b28d51be05207fed179bf14545fe1894","errors":[]},"inventory_digest_extended":"sha256:9548c6cfe2e90928ff768fc16effd7b1bc35a1674faee85eb43d4c2c6aaa2529","errors":[],"note":"changed-file 名の単純な重なりのみを証明する advisory check。3-way merge・hunk 競合・rename/delete 競合は評価しない(実 Git merge 競合の判定は Issue #1792 の PAIRWISE_MERGE_OBSERVATION_V1 producer の責務)。単独では blocking にしない。disjoint は tri-state(true/false/null)— 観測が不完全な場合は null。"}
      source: ensure_contract_snapshot_auto
      expected_contract_fingerprint: {"issue_number":1388,"contract_source_kind":"issue_comment","contract_source_id":"5151457996","contract_body_sha256":"sha256:e21a0a270b2f4235e4a213fe1cb3952b003e6c5ae63265320b1267123179ddea","allowed_paths_normalized_sha256":"62d7a5de2c7c07b83f13ede7d90ef865862d25d3c1e8020267c2b80174cbb691","base_ref":"main","base_sha_at_snapshot":"03bc8d29cd1753f7d71f5ae8e768cff371a6b36f"}
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/implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions