Skip to content

実装: visual-impact-policy-trusted に TS import graph transitive reachability の trusted-side 独立検証を追加する #2099

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "#2093"
goal_ref: "#2093 の Goal(1): TS import graph 経由の到達可能性が trusted side で独立検証される設計を実装または明示的に不採用と決定する"
change_kind: mixed

Parent Issue

#2093

Parent Goal Ref

Predecessor

#2098(Blocker): .github/workflows/visual-impact-trusted-consumer.yml の同じ trusted-input derivation block(Git 認証 bootstrap failure の分類・修正)を扱う OPEN Issue であり、.github/workflows/visual-impact-trusted-consumer.yml / scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py を Allowed Paths に持つ。本 Issue はその fetch 後にさらに candidate blobs を読む拡張のため、#2098 未完了の状態で並行実装すると認証・plumbing failure の failure taxonomy を二重に触ることになる。#2098 マージ後に本 Issue へ着手すること(OWNER レビュー、issuecomment-5254213373)。また open Draft PR #2070 も同 workflow に広範な変更を含むため、着手直前に current diff との衝突有無を確認すること。

Current Validated Scope

  • scripts/agent-ops/resolve_visual_impact.mjs の isRelativeSpecifier() は / 始まりを相対として許容し path.resolve(containingDir, base) で解決する実装が現存する(HEAD 3559ad2 時点 codebase-investigator fact-check で confirmed)。Node の path.resolve() は後続の absolute segment に到達するとそれ以前を捨てる semantics であり、isRelativeSpecifier() が / 始まりを relative 扱いすることと組み合わさると path confinement の抜け穴になり得る
  • producer path(modules/styles/assets/config)を定義する正本 schema は docs/dev/visual-surfaces.schema.json である(scripts/agent-ops/resolve_visual_impact.py の DEFAULT_SCHEMA_PATH がこれを指す。control-plane が直接コード確認済み: resolve_visual_impact.py:45)。docs/dev/visual-impact.schema.json(DEFAULT_VISUAL_IMPACT_SCHEMA_PATH、同ファイル47行目)は declaration/decision/evidence 用の別 schema であり、producer path の定義を持たない
  • scripts/agent-ops/resolve_visual_impact.py の resolve_trusted_minimum() は meta-policy path / global invalidator / direct producer・contract path / registry-union mapping deletion / coverage-root boundary の5シグナルのみで、TS import graph walk を含まない(実装: visual-impact-policy-trusted の trusted-side re-derivation で forged-self-consistent artifact bypass を fail-closed に修正する #2091 実装済み範囲の前提通り。関数 docstring にも "Deliberately omits step 4 (mjs transitive reachability)" と明記されている)
  • .github/workflows/visual-impact-trusted-consumer.yml には || true が2箇所存在する(control-plane が直接コード確認済み)。159行目 git diff --name-status ... > artifacts/trusted/name_status.nul || true は trusted input 取得の fail-open であり本 Issue の対象。214行目 cat verdict.json || true は診断出力のみで trusted input 取得ではなく対象外
  • 同ファイル166-174行目の git show "${SHA}:${REGISTRY_PATH}" ... else rm -f ... は、registry ファイルが当該コミットに存在しない正常なケース(missing file)と、任意の git plumbing failure(ネットワークエラー・オブジェクト破損等)を同一の else 節(rm -f)で扱っており、fail-closed taxonomy が分離されていない(control-plane が直接コード確認済み)
  • scripts/agent-ops/resolve_visual_impact.py の run_mjs()(304-317行目)の subprocess.run() には timeout= 引数がなく、wall-clock 上限が存在しない(control-plane が直接コード確認済み)
  • scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py(440-442行目)には、workflow 内で pnpm /npm /npx を実行する run fragment を禁止する既存 regression test が存在する。一方 .github/workflows/visual-impact-trusted-consumer.yml は base checkout 後に Python/uv setup のみを行い、Node/TypeScript dependency の provisioning を一切行っていない(control-plane が直接コード確認済み)。現行 resolve_visual_impact.mjs は import ts from 'typescript' に依存するため、この既存 regression と Node dependency 不在の間には未解決の bootstrap ギャップがある
  • 本 Issue の write-capable scope は上記の trusted-side 拡張と || true fail-open 穴(159行目相当のみ)の除去に限る

Remaining Parent Gaps

Outcome

resolve_trusted_minimum()(scripts/agent-ops/resolve_visual_impact.py)が TS import graph 経由の到達可能性も trusted side で独立検証できるように実装され、対応する pytest が PASS している状態。実装は以下を満たす:

  • 候補ソースを実行可能な checkout として materialize せず、git ls-tree / git cat-file --batch 等で Git object database を read-only に読む、またはそれと同等以上に狭い trust boundary を持つ設計(base-locked resolver・candidate data はデータとしてのみ扱う・resource bound を満たす)
  • 全 path ingress(entry module 自身、TS import/export、CSS @import、CSS url()、new URL(..., import.meta.url)、extension/index probing を含む)が単一の confined resolver を必ず通り、absolute path / .. escape / symlink escape / / 始まり specifier の誤許容を一貫して拒否する
  • per-file bytes / total bytes / file count / import-hop depth(max_graph_depth)/ wall-clock time / Node heap(可能な場合)の resource bound が、それぞれ個別の fail-closed reason code とテストを持つ
  • TypeScript dependency(typescript パッケージ)の trusted-side bootstrap 方針が固定・文書化されている(base 側 lockfile に固定した最小限の deterministic install を許容するか、Node dependency 自体を trusted consumer へ一切持ち込まない代替設計にするかのいずれかを選択し、scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py の pnpm/npm/npx 禁止 regression(440-442行目)との整合を取る、または該当 regression を明示的に更新する)

あわせて .github/workflows/visual-impact-trusted-consumer.yml の trusted input 取得における || true fail-open 記述(159行目、trusted input acquisition のみ。214行目の診断用 cat || true は対象外)が除去され、git show の missing-file と git plumbing failure を区別する fail-closed taxonomy が実装され、対応する negative control テストが追加されている状態。

In Scope

  • resolve_trusted_minimum() への TS import graph transitive reachability trusted-side 検証の追加、または candidate checkout/materialization を避けた Git-object-backed な候補ソース静的解析設計の実装(base-locked resolver、実行なし)
  • 候補ソースをデータとしてのみ扱う(実行しない。ディスクへの materialize を避けられる設計を優先する)
  • 全 path ingress(entry module、TS import/export、CSS @import/url()、new URL(...)、extension/index probing)を単一の confined resolver に通す実装(fs.realpath() 等による canonical realpath を含む repo-root confinement。symlink/.. escape 拒否)
  • absolute path / .. / symlink escape / / 始まり specifier の誤許容の拒否
  • per-file / total bytes / file count / import-hop depth(max_graph_depth)/ time の resource bound の実装(それぞれ個別の fail-closed reason code)
  • TypeScript dependency の trusted-side bootstrap 方針の決定・実装・文書化(既存の pnpm/npm/npx 禁止 regression との整合、または明示的な regression 更新を含む)
  • transitive-only change(TS import 経由でのみ到達可能な変更)を正しく検出する negative control fixture の追加。producer が affected_surfaces: [] を forge しても ok=False になることを検証する adversarial fixture を含む
  • .github/workflows/visual-impact-trusted-consumer.yml に現存する trusted input 取得の || true fail-open 穴(159行目、git diff ... || true)の除去(214行目の診断用 cat verdict.json || true は対象外)
  • git show/git diff の failure taxonomy 分離: missing file(正常系)と任意の git plumbing failure(異常系)を異なる分岐・異なる fail-closed reason code で扱う実装、および両方を想定した negative control の追加
  • 実装が「TS compiler import graph」ではなく「base-locked existing static-import resolver semantics」であることを Issue/コード双方の呼称・コメントで正確に反映する(paths/baseUrl/Vite alias/package imports・exports を解決しない、という既存の限界を明示する)
  • AC1/AC2 の Verification Commands を、verify_trusted_artifact() の最終 verdict まで通す end-to-end adversarial test に変更する(comment/dead code で通ってしまう presence-based rg 検査からの脱却)

Out of Scope

Acceptance Criteria

  • AC1: resolve_trusted_minimum() が TS import graph transitive reachability を trusted side で独立検証する実装が追加されている、または candidate checkout/materialization を避けた Git-object-backed な静的解析設計(base-locked resolver・実行なし)が採用され実装されている。検証は verify_trusted_artifact() の最終 verdict まで通す end-to-end adversarial test で行う
  • AC2: 候補ソースの全 path ingress(entry module、TS import/export、CSS @import/url()、new URL(...)、extension/index probing)が単一の confined resolver を通り、absolute path / .. escape / symlink escape / / 始まり specifier の誤許容を一貫して拒否する実装になっている
  • AC3: absolute path / .. / symlink escape / / 始まり specifier の誤許容を拒否する negative control テストが追加され PASS している
  • AC4: per-file / total bytes / file count / import-hop depth(max_graph_depth)/ time の resource bound が実装され、それぞれ個別の fail-closed reason code とともに上限超過時に fail-closed になることを検証するテストが追加されている
  • AC5: TS import 経由でのみ到達可能な transitive-only change を正しく検出する negative control fixture が追加され PASS している。producer が affected_surfaces: [] を forge しても ok=False になることを検証する adversarial fixture を含む
  • AC6: .github/workflows/visual-impact-trusted-consumer.yml 159行目相当の trusted input 取得における || true fail-open 記述が除去されている(214行目の診断用 cat verdict.json || true は対象外と明示する)
  • AC7: git show/git diff の failure taxonomy が分離されている(missing file と git plumbing failure が異なる分岐・異なる fail-closed reason code で扱われる)。両方を想定した negative control テストが追加され PASS している
  • AC8: TypeScript dependency の trusted-side bootstrap 方針が固定・文書化され、scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py の pnpm/npm/npx 禁止 regression(440-442行目)との整合が取れている、または該当 regression が本 Issue 内で明示的に更新されている

Runtime Verification Applicability

decision: immediate
applicable_acs:
  - AC3
  - AC4
  - AC5
  - AC7
execution_environment:
  cli_tools:
    - python3
    - uv
    - node
  auth_required: false
  network_required: false
skip_conditions:
  - "node バイナリが実行環境に存在しない場合は SKIP ではなく environment blocked として扱う"
fallback_policy:
  fallback_success_is_pass: false
  notes: "fallback 経由の成功を PASS に変換しない"
artifact_requirements:
  - "pytest 実行ログ(exit code・stdout/stderr)"

reason: AC3/AC4/AC5/AC7 は resolve_visual_impact.mjs を実際に Node subprocess として起動し、resource bound(wall-clock timeout・resource 超過時の fail-closed 終了)や negative control(symlink escape・git plumbing error 等)を実プロセス起動・実ファイルシステム I/O で検証する。静的解析(typecheck/lint/unit test のみ)では resource bound の実効性やプロセス終了コードの検証が成立しない。

Verification Commands

# AC1
$ uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k end_to_end_adversarial -v
# AC2
$ uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k confined_resolver -v
# AC3
$ uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k symlink -v
# AC4
$ uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k resource_bound -v
# AC5
$ uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k transitive_only -v
# AC6
$ rg -c "artifacts/trusted/name_status\.nul$" .github/workflows/visual-impact-trusted-consumer.yml
# AC7
$ uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k git_plumbing_error -v
# AC8
$ uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k typescript_bootstrap -v

Allowed Paths

  • scripts/agent-ops/resolve_visual_impact.py
  • scripts/agent-ops/resolve_visual_impact.mjs
  • scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py
  • scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py
  • scripts/agent-ops/tests/test_visual_surfaces_schema.py
  • .github/workflows/visual-impact-trusted-consumer.yml
  • docs/dev/visual-surfaces.schema.json

Stop Conditions

Required Skills

なし

Required Design References

  • docs/dev/visual-surfaces.schema.json
  • docs/dev/visual-baseline-registry.md

Scope Delta(任意)

N/A

Notes for Reviewer

Priority P1。Refs #2093、Refs #2091。Predecessor: #2098(マージ後に着手)。TS import graph の静的解析設計は、第一候補として candidate checkout/materialization を避けた Git-object-backed virtual filesystem(git ls-tree -r -z -l によるエントリ列挙 + git cat-file --batch による blob 読み取り)+ base-locked resolver を検討すること。base graph だけで conservative detection を成立させられないか(固定 entry から head で新たに reachability が生じる経路上の最初の新規 edge を持つ importer 自身が変更されているかを見る)という代替案も設計上の候補として検討に値するが、採用する場合は反例探索と adversarial fixture での証明が必要(OWNER レビュー issuecomment-5254213373 より)。

Scope Collision (C1, overlap_requires_comment): related_issue=#2098(trusted visual-impact consumer の Git 認証 bootstrap failure 修正、.github/workflows/visual-impact-trusted-consumer.yml / scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py が重複)。#2098 は non-conflict ではなく hard predecessor として扱う(同じ trusted-input derivation block を扱うため、#2098 未完了での並行実装は認証・plumbing failure の failure taxonomy を二重に触ることになる。OWNER レビュー issuecomment-5254213373 で明示)。related_issue=#2019(visual-surface dependency registry 導入、resolve_visual_impact.py/.mjs・docs/dev/visual-surfaces.schema.json・visual-impact-trusted-consumer.yml が重複)。non_conflict_reason: #2019 は visual-surface registry 導入自体の既存実装 Issue であり、本 Issue はその trusted-side 検証拡張のみを扱う。実 Git conflict は worktree/PR 作成時に別途検出される(#1860 Owner Decision)。また open Draft PR #2070 も .github/workflows/visual-impact-trusted-consumer.yml を含む広範な変更を保持しているため、着手直前に current diff との衝突有無を確認すること。

Activity

  1. squne121 commented on Aug 11, 2026

    @squne121
    OwnerAuthor

    判定

    REQUEST_CHANGES / needs-fix です。

    #2099 の問題設定そのものは正しいです。むしろ現行 registry では src/ui/HudController.ts が ../state と ../systems/UpgradeSystem を import している一方、coverage_roots は src/ui/** / src/render/** 等に限定されています。したがって、coverage root 外の transitive-only change を resolve_trusted_minimum() が見逃す経路は現在の実コードでも成立します。これは #2094 が明示的に #2093 へ送った残存 gap と整合します。

    ただし、現 Issue contract のまま着手すると trust boundary を不必要に広げるか、AC を形式的に満たして実質的な穴を残す可能性があります。

    1. [Blocker] Canonical schema を取り違えています。 実装: visual-impact-policy-trusted に TS import graph transitive reachability の trusted-side 独立検証を追加する #2099 は「docs/dev/visual-impact.schema.json の producer path は string + minLength」としていますが、producer modules/styles/assets/config を定義している正本は docs/dev/visual-surfaces.schema.json です。Python 側も DEFAULT_SCHEMA_PATH としてこちらを使用しています。visual-impact.schema.json は declaration/decision/evidence の schema で、producer path の定義はありません。
      これは文言上のミスだけではありません。Allowed Paths に誤った visual-impact.schema.json が入り、本来 path contract を強化すべき visual-surfaces.schema.json とその schema test が変更不能です。docs/dev/visual-surfaces.schema.json と scripts/agent-ops/tests/test_visual_surfaces_schema.py を Allowed Paths に入れるか、「schema は変更せず runtime confinement のみ」と明示的に決定すべきです。

    2. [Blocker] TypeScript dependency の trusted-side bootstrap が未定義です。 現行 MJS は import ts from 'typescript' し、repository は TypeScript ~6.0.2 を devDependency としています。しかし trusted workflow は base checkout 後に Python/uv setup を行うだけで、project Node dependencies を決定論的に provision していません。さらに既存 security regression は workflow 内の pnpm / npm / npx 実行を禁止しています。
      つまり AC1 の「base-locked resolver/dependencies」が実装契約になっていません。base 側の pnpm-lock.yaml に固定した install を許すのか、その場合 scripts/cache をどう扱うのか、あるいは Node dependency 自体を trusted consumer へ持ち込まないのかを 着手前に固定する必要があります。

    3. [P1] candidate tree をディスクへ materialize する設計を第一候補にすべきではありません。 workflow_run は privileged context になり得るため、GitHub 自身も untrusted code/artifact の取り扱いや cache poisoning に注意を要求しています。([GitHub Docs]1)
      より狭い trust boundary は、candidate commit を checkout せず Git object database を read-only virtual filesystem として扱う方式です。git ls-tree -r -z -l で entry と blob size を先に列挙し、git cat-file --batch で必要な blob だけを読む構成なら、host filesystem の symlink traversal 自体をかなり減らせます。([Git]2)
      MJS 側を readFile/exists abstraction にし、POSIX repo-relative path → candidate blob の lookup に閉じる方が、${RUNNER_TEMP} へ untrusted tree を再現して realpath() で後追い防御するより設計上単純です。

    4. [P1] path confinement は realpath() が1回出てくるだけでは不十分です。 現行 MJS は entry module、TS import/export、CSS @import、CSS url()、new URL(..., import.meta.url)、extension/index probing の複数箇所で host path を構成します。また isRelativeSpecifier() は / 始まりを許可し、path.resolve(containingDir, base) を使います。Node の path.resolve() は後続の absolute segment に到達するとそれ以前を捨てる semantics です。 ([Node.js]3)
      AC2 は「realpath を使う」ではなく、全 path ingress が単一の confined resolver を必ず通ることを要求すべきです。absolute、.. escape、symlink escape に加えて、entry path 自体も対象です。

    5. [P1] resource bound に memory がなく、depth の意味も未定義です。 現在の run_mjs() は subprocess.run() に timeout がありません。 Python は subprocess timeout を直接提供し、Node は V8 old-space 上限も指定できます。([Python documentation]4)
      AC4 は少なくとも max_file_bytes、max_total_bytes、max_files、max_graph_depth、wall-clock timeout、Node heap cap を別々の fail-closed reason code とテストにすべきです。「depth」が filesystem depth / AST nesting / import-hop depth のどれか不明な現状は実装者依存になります。

    6. [P1] || true の AC6 と Verification Command が一致していません。 現行 workflow には問題の git diff ... || true だけでなく、診断用の cat verdict.json || true も存在します。一方 実装: visual-impact-policy-trusted に TS import graph transitive reachability の trusted-side 独立検証を追加する #2099 の AC6 は「trusted input acquisition の fail-open を除去」と限定しているのに、VC は workflow 全体の || true を数えます。
      さらに深刻なのは git show "$SHA:$REGISTRY_PATH" の else が missing file と任意の git plumbing failure を同じ rm -f に潰している点です。実装: visual-impact-policy-trusted の trusted-side re-derivation で forged-self-consistent artifact bypass を fail-closed に修正する #2091 が Python 側で直した missing-ref-object != missing-file と同じ fail-closed taxonomy を shell 側にも適用すべきです。AC7 は git diff だけでなく git show / registry acquisition の異常も対象にしてください。

    7. [P1] AC1/AC2 の VC は security property を証明しません。 rg "resolve_trusted_minimum" と rg "realpath" は comment や dead code だけでも通ります。
      必須 evidence は verify_trusted_artifact() の最終 verdict まで通す adversarial test にすべきです。特に「src/systems/... のような coverage-root 外かつ entry module から transitive にのみ reachable なファイルを変更し、producer が affected_surfaces: [] を forged しても ok=False」を integration property として固定するべきです。

    8. [P1/P2] “TS compiler import graph” という名称が実装より強いです。 現行 MJS は TypeScript の createSourceFile() で AST を解析していますが、module resolution 自体は独自の relative-path resolver です。コード自身も paths / baseUrl / Vite alias / package imports・exports を解決しないと明示しています。 TypeScript の実際の module resolution はより広い semantics を持ちます。([GitHub]5)
      実装を変えないなら AC は「base-locked existing static-import resolver semantics」と呼ぶ方が正確です。ts.resolveModuleName 等へ移行するなら、それは別途 compiler options / host contract を固定すべき変更です。

    9. [P1] 実装: trusted visual-impact consumer の Git 認証 bootstrap failure を分類・修正する #2098 を単なる “non-conflict” ではなく hard predecessor にした方がよいです。 実装: trusted visual-impact consumer の Git 認証 bootstrap failure を分類・修正する #2098 はまさに同じ trusted-input derivation block の Git authentication bootstrap failure と failure taxonomy を修正する open Issue で、同じ workflow/test を Allowed Paths にしています。 実装: visual-impact-policy-trusted に TS import graph transitive reachability の trusted-side 独立検証を追加する #2099 はその fetch 後にさらに candidate blobs を読むので、実装: trusted visual-impact consumer の Git 認証 bootstrap failure を分類・修正する #2098 未完了の状態で並行実装すると認証・plumbing failure の意味付けを二重に触ることになります。加えて open Draft PR fix(contract-review): RVA 欠落を fail-closed に統一 #2070 も同 workflow を含む広範な変更を保持しています。

    推奨する設計方向

    第一候補は、candidate checkout/materialization を避けた Git-object-backed virtual filesystem + base-locked resolver です。candidate tree は「実行可能な checkout」ではなく blob 集合として読み、path normalization と size/count bound を blob 読み込み前に適用し、Node parser は host filesystem に直接触れない設計が最も trust boundary を狭くできます。

    さらに検討価値があるのは、base graph だけで conservative detection を成立させられないかという案です。固定 entry から head で新たに reachability が生じるには、通常はその経路上の最初の新規 edge を持つ importer 自身が変更されています。その importer が base graph で既に reachable なら、その変更だけで surface を affected と判断できます。base で unresolved だった import が head で初めて解決されるケースなどを fail-closed にできるなら、candidate source parsing 自体を避けられる可能性があります。これは現時点では設計上の推論なので、採用するなら反例探索と adversarial fixture で証明する必要があります。

    結論として、#2099 は実装すべきですが、着手前に contract rewrite が必要です。最低条件は「正しい visual-surfaces.schema.json への修正」「TypeScript dependency bootstrap の固定」「#2098 の predecessor 化」「全 path ingress の単一 confinement」「memory を含む resource bounds」「git diff/git show の failure taxonomy」「presence-based VC から end-to-end adversarial VC への変更」です。ここまで直せば、#2099 はかなり強い P1 security-hardening Issue になります。

  2. squne121 commented on Aug 11, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-08-11T14:35:50Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/2099
      body_sha256: "sha256:819fec9f6950943695cdc8cf2f91bac017659d7ea4571104f49794035d7351dc"
      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:819fec9f6950943695cdc8cf2f91bac017659d7ea4571104f49794035d7351dc","source_provenance":{"source_type":"body_file","body_file":"/tmp/contract_review_once_body_uedfqx_b.md"}}
        vc_preflight:
          decision: pass
          classifications: '[{"ac":"AC1","line":2,"raw_command":"uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k end_to_end_adversarial -v","command_hash":"sha256:c802cb8145ff448218cef2bd0c5b1443d55a9b8d7bdf28ad7ecec58e848bb847","execution_key_hash":"sha256:cb142c04bcad72d175aebb220acdcc37f8987efe7ed8dd564a7190f5abecd5ff","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["============================= test session starts ==============================","platform linux -- Python 3.12.3, pytest-9.0.3, pluggy-1.6.0 -- /home/squne/projects/LOOP_PROTOCOL/.venv/bin/python","cachedir: .pytest_cache","rootdir: /home/squne/projects/LOOP_PROTOCOL","configfile: pyproject.toml","plugins: xdist-3.8.0","collecting ... collected 0 items","============================ no tests ran in 0.01s ============================="],"stdout_truncated":false,"stdout_original_line_count":10,"stderr_head":["ERROR: file or directory not found: scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":185,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC2","line":2,"raw_command":"uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k confined_resolver -v","command_hash":"sha256:014df41a0afec8fc0c650a21f6104a85a5b1d45d6461838c3b0b6b6582d83a30","execution_key_hash":"sha256:caf37a2be8734ed011fd28e9b8ff48ec69bf730f94984f8961319e3c257032dc","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["============================= test session starts ==============================","platform linux -- Python 3.12.3, pytest-9.0.3, pluggy-1.6.0 -- /home/squne/projects/LOOP_PROTOCOL/.venv/bin/python","cachedir: .pytest_cache","rootdir: /home/squne/projects/LOOP_PROTOCOL","configfile: pyproject.toml","plugins: xdist-3.8.0","collecting ... collected 0 items","============================ no tests ran in 0.01s ============================="],"stdout_truncated":false,"stdout_original_line_count":10,"stderr_head":["ERROR: file or directory not found: scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":169,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC3","line":2,"raw_command":"uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k symlink -v","command_hash":"sha256:bca91d9f56d6821aa9c1bf17bef255be25f96d85bc501753de2b0cc85647e2a1","execution_key_hash":"sha256:96671dfb5cd0b75ab0478312f12a1641d0a024452f81bdfcb202f35c78bc2f86","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["============================= test session starts ==============================","platform linux -- Python 3.12.3, pytest-9.0.3, pluggy-1.6.0 -- /home/squne/projects/LOOP_PROTOCOL/.venv/bin/python","cachedir: .pytest_cache","rootdir: /home/squne/projects/LOOP_PROTOCOL","configfile: pyproject.toml","plugins: xdist-3.8.0","collecting ... collected 0 items","============================ no tests ran in 0.01s ============================="],"stdout_truncated":false,"stdout_original_line_count":10,"stderr_head":["ERROR: file or directory not found: scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":169,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC4","line":2,"raw_command":"uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k resource_bound -v","command_hash":"sha256:bdc43e9dc9ea442fc4e4067aac2a8d42899491d4c2cd3195c99ae1df07305f78","execution_key_hash":"sha256:e37c3599f57fb36e49bc9cf2edde5ba5fb9707b23341856f56445825581d499e","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["============================= test session starts ==============================","platform linux -- Python 3.12.3, pytest-9.0.3, pluggy-1.6.0 -- /home/squne/projects/LOOP_PROTOCOL/.venv/bin/python","cachedir: .pytest_cache","rootdir: /home/squne/projects/LOOP_PROTOCOL","configfile: pyproject.toml","plugins: xdist-3.8.0","collecting ... collected 0 items","============================ no tests ran in 0.01s ============================="],"stdout_truncated":false,"stdout_original_line_count":10,"stderr_head":["ERROR: file or directory not found: scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":169,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC5","line":2,"raw_command":"uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k transitive_only -v","command_hash":"sha256:23a52d639d8f547ae92904889af246a662d667b02f6013d1bbb80918aa18b8f6","execution_key_hash":"sha256:e2622be0fc23f2e28455f3935a7ef8f71cbea7384fee99bcf8cd098b572e8b20","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["============================= test session starts ==============================","platform linux -- Python 3.12.3, pytest-9.0.3, pluggy-1.6.0 -- /home/squne/projects/LOOP_PROTOCOL/.venv/bin/python","cachedir: .pytest_cache","rootdir: /home/squne/projects/LOOP_PROTOCOL","configfile: pyproject.toml","plugins: xdist-3.8.0","collecting ... collected 0 items","============================ no tests ran in 0.01s ============================="],"stdout_truncated":false,"stdout_original_line_count":10,"stderr_head":["ERROR: file or directory not found: scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":160,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC6","line":2,"raw_command":"rg -c \"artifacts/trusted/name_status\\.nul$\" .github/workflows/visual-impact-trusted-consumer.yml","command_hash":"sha256:3ff32794a999e5de41ec05c39a5f4698372ba903916957c1de571ae507b6b068","execution_key_hash":"sha256:f78d317328df2a452abc0ce0528a7218fb0b6bdc6e8ed018a370c994c5af4a79","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":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC7","line":2,"raw_command":"uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k git_plumbing_error -v","command_hash":"sha256:f4e019f930b6772d15d00dd6d5f7b33a0110e501f683bb94b1a41e78eecaafe8","execution_key_hash":"sha256:eebb890c6498cc98481117c114b832987d8482c449608b12e401284ad3f6b95c","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["============================= test session starts ==============================","platform linux -- Python 3.12.3, pytest-9.0.3, pluggy-1.6.0 -- /home/squne/projects/LOOP_PROTOCOL/.venv/bin/python","cachedir: .pytest_cache","rootdir: /home/squne/projects/LOOP_PROTOCOL","configfile: pyproject.toml","plugins: xdist-3.8.0","collecting ... collected 0 items","============================ no tests ran in 0.01s ============================="],"stdout_truncated":false,"stdout_original_line_count":10,"stderr_head":["ERROR: file or directory not found: scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":164,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null},{"ac":"AC8","line":2,"raw_command":"uv run pytest scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py -k typescript_bootstrap -v","command_hash":"sha256:c38602ee8c26e83c275ff7a4d160b7e98cc371c8a41489be7f8473b3c569967f","execution_key_hash":"sha256:ea5a3a2aa8b5990fa08bdb87fc37a5a90d0427e6287510b05a6397ba7b08bd92","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["============================= test session starts ==============================","platform linux -- Python 3.12.3, pytest-9.0.3, pluggy-1.6.0 -- /home/squne/projects/LOOP_PROTOCOL/.venv/bin/python","cachedir: .pytest_cache","rootdir: /home/squne/projects/LOOP_PROTOCOL","configfile: pyproject.toml","plugins: xdist-3.8.0","collecting ... collected 0 items","============================ no tests ran in 0.01s ============================="],"stdout_truncated":false,"stdout_original_line_count":10,"stderr_head":["ERROR: file or directory not found: scripts/agent-ops/tests/test_resolve_visual_impact_trusted_transitive.py"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":175,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":null,"vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":null,"raw":null},"strict":null,"repair":null}]'
          classifications_transport: {"schema":"vc_preflight_classifications_transport/v1","classification_count":8,"original_payload_sha256":"sha256:265e902f9190af0f0f0407672752af230e7753f664d7c6ff597a9b64f89d2747","compact":false,"truncated":false}
        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":"f32785733ef342b6ec4c63efcf6f76aea482dd3b","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":2070,"title":"fix(contract-review): RVA 欠落を fail-closed に統一","base_ref_name":"main","head_ref_name":"worktree-issue-2040-implementation-issue-runtime-verificatio","head_ref_oid":"ff1a07e9c5d531f4945a80555ba3b4d553c21fd5","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2070","changed_files_count_graphql":34},{"number":2072,"title":"fix: test_issue_1952回帰テストのrepo_root誤指定による.claude/.claude迷子ディレクトリ生成を修正する","base_ref_name":"main","head_ref_name":"worktree-issue-2071-repo-root-fix","head_ref_oid":"488bc8554a6f2d6e5187d0ea374034d19954a14f","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2072","changed_files_count_graphql":1},{"number":2083,"title":"fix(issue-refinement-loop): trusted scope directive を planner に束縛する","base_ref_name":"main","head_ref_name":"worktree-issue-2055-planner-binding","head_ref_oid":"b259500a832ebc5aefe174991a099c4e894d3c83","is_draft":false,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2083","changed_files_count_graphql":4},{"number":2095,"title":"fix: extend readiness review timeout","base_ref_name":"main","head_ref_name":"worktree-issue-1631-run-contract-review-once-py-readiness-ch","head_ref_oid":"bd987b2a65d47f3893735a1b31f896b9f8f16040","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2095","changed_files_count_graphql":2},{"number":2096,"title":"実装: operator-selected human context の scope reframe を自動継続し scope expansion stop を撤去する","base_ref_name":"main","head_ref_name":"worktree-issue-2086-scope-reframe-continuation","head_ref_oid":"345d27b25a4c597028a691932f1e2e912ea61738","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2096","changed_files_count_graphql":12},{"number":2097,"title":"fix: AGY grounded_research の model_chain 固定を廃止し account_default へ委譲する","base_ref_name":"main","head_ref_name":"worktree-issue-2069-agy-grounded-research-quota","head_ref_oid":"ed723602d9f1a5be4ad70667905d6ad0d3357554","is_draft":false,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2097","changed_files_count_graphql":6},{"number":2103,"title":"fix: exclude .claude/artifacts exact entry from permission-profile fixture copytree","base_ref_name":"main","head_ref_name":"worktree-issue-2078-test-codex-permission-profile-config-fix","head_ref_oid":"b60598ef2f916039553ae035d0805e7d2e89fa42","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2103","changed_files_count_graphql":3},{"number":2104,"title":"fix(ci): trusted visual-impact fetch authentication","base_ref_name":"main","head_ref_name":"worktree-issue-2098-trusted-visual-impact-auth-bootstrap-recovery","head_ref_oid":"adbcd488dd589c8ef44b16be65813b155af1eaf7","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2104","changed_files_count_graphql":2}],"fetched_count":9,"totalCount":10,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:ccbdc00b9b19ba54626f6af7af4fa0b17f217f12a82db778b605aa263a49a714","errors":[]},"inventory_digest_extended":"sha256:88f6ca3f20777d36bc8e6baa3908b2dc907ea184a6c030a6382abf35645b9e83","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":2099,"contract_source_kind":"issue_comment","contract_source_id":"5254602455","contract_body_sha256":"sha256:819fec9f6950943695cdc8cf2f91bac017659d7ea4571104f49794035d7351dc","allowed_paths_normalized_sha256":"d1c26acf6e2b70ae1012faf3621e37f941d5b652403de9d9161260bc2188e811","base_ref":"main","base_sha_at_snapshot":"f32785733ef342b6ec4c63efcf6f76aea482dd3b"}
    
  3. squne121 commented on Aug 11, 2026

    @squne121
    OwnerAuthor

    issue-refinement-loop: approved

    Anchor comment 反映内容

    OWNER の9個の Blocker/P1 指摘(control-plane が全項目コード直接確認で fact-check 済み、全て正確と確認)を Issue 契約へ反映した:

    1. producer path 正本を docs/dev/visual-surfaces.schema.json に修正(誤り: visual-impact.schema.json)
    2. ## Predecessor セクションを新設し 実装: trusted visual-impact consumer の Git 認証 bootstrap failure を分類・修正する #2098 を hard predecessor 化
    3. TypeScript dependency の trusted-side bootstrap 方針決定を Outcome/In Scope/AC8 に追加
    4. || true fail-open の対象を159行目(trusted input acquisition)のみに限定、214行目(診断用)を対象外化
    5. git show/git diff の failure taxonomy 分離(missing file vs plumbing error)を AC7 に追加
    6. resource bound に max_graph_depth・wall-clock・memory を個別 fail-closed reason code として追加
    7. AC1/AC2 の VC を presence-based rg から end-to-end adversarial test へ変更
    8. 全 path ingress の単一 confined resolver 要求を AC2 に明示
    9. 呼称を「TS compiler import graph」から「base-locked existing static-import resolver semantics」へ修正
    LOOP_HANDOFF_RESULT_V1:
      status: impl_ready
      routing_action: run_impl_review_loop
      contract_review:
        status: go
        gate_result: fresh_go
        latest_comment_url: https://github.com/squne121/loop-protocol/issues/2099#issuecomment-5254602455
        generated_at: "2026-08-11T14:36:02Z"
        body_sha256: "sha256:819fec9f6950943695cdc8cf2f91bac017659d7ea4571104f49794035d7351dc"
      metadata:
        title_prefix_ready: true
      label_sync_observation:
        kind: presentation_sync
        result: noop
        detail: "state/* label 変更なし"
      auto_fixes:
        result: auto_fixed
        required:
          - kind: contract_snapshot_materialization
            executor: issue-refinement-loop
            result: applied
            evidence:
              before: "OWNER レビュー反映後の Issue body に fresh contract snapshot がなかった"
              after: "current body SHA に束縛した Contract Review Result を投稿済み"
              comment_url: https://github.com/squne121/loop-protocol/issues/2099#issuecomment-5254602455
        skipped: []
      blockers: []
      permissions:
        unavailable: []
      generated_at: "2026-08-11T14:36:02Z"
      checked_body_sha256: "sha256:819fec9f6950943695cdc8cf2f91bac017659d7ea4571104f49794035d7351dc"
      checker_exit_code: 0
      missing_sections: []
      missing_contract_keys: []
    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      schema_version: 1
      materialized_by: issue-refinement-loop
      follow_up_issues: []
      note_only_observations:
        - "着手前に #2098 のマージを確認すること(本 Issue の Predecessor セクション参照)"
  4. squne121 commented on Aug 12, 2026

    @squne121
    OwnerAuthor

    implement-issue: 実装完了 (2026-08-12T14:24:13Z)

  5. squne121 commented on Aug 12, 2026

    @squne121
    OwnerAuthor

    impl-review-loop: 完了 (2026-08-12T15:10:00Z)

    IMPL_REVIEW_LOOP_RESULT_V1:
      schema_version: 1
      status: draft_pr_ready
      pr_url: "https://github.com/squne121/loop-protocol/pull/2144"
      head_sha: "49b6c9facc301b4f1b26f69e07d83e6969c5af18"
      issue_number: 2099
      termination_reason: approved
      merge_ready: false
      merge_ready_note: "mergeable=MERGEABLE, merge_state_status=UNSTABLE(non-required visual-impact-policy-trusted のみ fail。required checks 全 pass。follow-up #2145)"
      iteration: 1
    
    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      schema_version: 1
      materialized_by: impl-review-loop
      follow_up_issues:
        - request_dedupe_key: "visual-impact-policy-trusted-pr-body-digest-mismatch"
          status: created
          issue:
            number: 2145
            url: "https://github.com/squne121/loop-protocol/issues/2145"
          reason: null
      note_only_observations: []
  6. squne121 commented on Aug 12, 2026

    @squne121
    OwnerAuthor

    impl-review-loop: 完了 (2026-08-12T22:20:00Z)

    このイテレーションは repo owner による PR コメント(https://github.com/squne121/loop-protocol/pull/2144#issuecomment-5273206822)の REQUEST_CHANGES(P1 4件)を fix_delta として実装・再検証・再レビューしたもの。P1 4件全て pr-reviewer が実コードで独立再検証済み。

    IMPL_REVIEW_LOOP_RESULT_V1:
      schema_version: 1
      status: draft_pr_ready
      pr_url: "https://github.com/squne121/loop-protocol/pull/2144"
      head_sha: "14b850e08ac780c0a5695cc6110c86243ce4e181"
      issue_number: 2099
      termination_reason: approved
      merge_ready: true
      iteration: 2
    
    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      schema_version: 1
      materialized_by: impl-review-loop
      follow_up_issues: []
      note_only_observations:
        - dedupe_key: "visual-impact-trusted-verdict-global-resource-budget"
          source_url: "https://github.com/squne121/loop-protocol/pull/2144#issuecomment-5273206822"
          source_note_id: "P1-budget/P2-directory-index-fallback/P2-imports-exports-parity"
          summary: "Human owner の P2 指摘(verdict-global resource budget 化、base/head directory-index fallback 対応、producer .mjs との package.json imports/exports parity)は Issue #2099 Out of Scope 境界のため今回は未対応。将来的に follow-up Issue 化を検討する余地があるが、現時点では note のみ。"
  7. squne121 commented on Aug 13, 2026

    @squne121
    OwnerAuthor

    post-merge-cleanup: 完了 (2026-08-13T13:25:00Z)

    FOLLOW_UP_MATERIALIZATION_RESULT_V1:
      schema_version: 1
      materialized_by: post-merge-cleanup
      follow_up_issues:
        - request_dedupe_key: "follow-up:squne121/loop-protocol:issue-2099:pr_body_digest_mismatch"
          status: reused_open
          issue:
            number: 2145
            url: "https://github.com/squne121/loop-protocol/issues/2145"
          reason: null
    
      note_only_observations:
        - dedupe_key: "visual-impact-trusted-verdict-global-resource-budget"
          source_url: "https://github.com/squne121/loop-protocol/pull/2144#issuecomment-5273206822"
          source_note_id: "P2-items"
          summary: "human owner の P2 指摘(verdict-global resource budget 化、base/head directory-index fallback 対応、producer .mjs との package.json imports/exports parity)は Issue #2099 Out of Scope 境界のため未対応。将来的な follow-up 化は threat model 次第で人間判断とする。"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

phase/implementation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions