Repository navigation
fix: visual-impact-trusted-consumer.yml の gh api --output 未対応バグを修正する (#2076) - #2085
Conversation
visual-impact-trusted-consumer.yml の Download producer artifacts ステップで gh api ... --output decision.zip / evidence.zip を実行していたが、gh api は --output フラグをサポートしておらず unknown flag: --output で常に失敗していた。 gh api ... > decision.zip / > evidence.zip のstdoutリダイレクト形式へ修正し、 visual-impact-policy-trusted CheckRun が実際に producer artifact を取得・検証 できるようにする。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Preview URL✅ verified live assets: https://squne121.github.io/loop-protocol/pr-2085/ The preview will be removed when this PR is closed. |
判定システム全体としては PR #2085 は current head Findings
PR #2085 をどう扱うべきかこの P0 を PR #2085 の1ファイル2行 scope に混載するのは勧めません。#2076 は evaluator logic を明示的に Out of Scope としており、#2070 との exact-overlap を解く bootstrap PR として綺麗に分離されています。現在の active repository ruleset で required status check になっているのは したがって推奨は次です。
最終評価Patch correctness: APPROVE 既存 |
|
レビューありがとうございます。ご指摘の通り対応します。 対応方針
以上を踏まえ、PR #2085 自体(2行のtransport bug修正)はご指摘どおり patch correctness / bootstrap scope として妥当と理解しております。マージ判断は引き続き人間にお任せします。 |
Summary
Issue #2076 の契約に従い、
.github/workflows/visual-impact-trusted-consumer.ymlの producer artifact download で未対応の--outputを使わないよう、stdout リダイレクトへの2行変更を提供する。対象PRは Draft のままとし、Issue はCloses #2076で紐付ける。Checks
9865e529fc6b155ca519ec10febf243be076dc3c9aa2cb45e23409e164cb885c8b02cc8816808bc6.github/workflows/visual-impact-trusted-consumer.ymlのみ。--outputの2箇所を stdout リダイレクトへ置換していることを確認した。追加の製品差分はない。31463851015は success。typecheck、lint、test、build、actionlint、python-test、e2e、ci-verdict-summary、visual-impact-policyを含むCI Check Runは success である。visual-impact-policy-trustedの failure は別のworkflow_runconsumer 状態であり、Issue contract の deferred runtime verification を本PRの成功証拠へ読み替えない。受け入れ条件の達成状況
gh apiと--outputの組み合わせは残らず、対象2箇所は stdout リダイレクトへ置換されている。decision.zipとevidence.zipは、それぞれgh api ... > decision.zipとgh api ... > evidence.zipの形で取得する。deferred。main landing 後に fix(contract-review): RVA 欠落を fail-closed に統一 #2070 を最新 main へ更新して fresh CI を発生させる post-merge 条件であり、current head における genuine runtime 成功は主張しない。Allowed Paths 遵守
.github/workflows/visual-impact-trusted-consumer.ymlの1 pathのみ。--outputを stdout リダイレクトへ替える2行置換のみ。Visual Impact Declaration(視覚影響申告)
この workflow の変更は meta policy change として次の2 surface に影響する。UI baseline の変更は主張せず、宣言は untrusted input としてCIの独立判定に委ねる。
Schema Change Applicability
Schema Consumer Inventory
before
gh api ... --output <zip>が未対応フラグで失敗し、artifact download が完了しない。after
gh api ... > <zip>により GitHub CLI の標準出力を同じ zip ファイルへ保存する。.github/workflows/visual-impact-trusted-consumer.ymlresolve_visual_impact.pySafety Claim Matrix
--outputを artifact download command から除去する31463851015の actionlint success31463851015の scoped CI Check Run successCI_TEST_PERFORMANCE_DECISION_V1
Notes
Runtime Verification Applicability は
deferred。この workflow はworkflow_runトリガーであり、修正版を main に landing した後に fix(contract-review): RVA 欠落を fail-closed に統一 #2070 を最新 main へ更新して fresh CI を発生させるまで genuine runtime verification は成立しない。current-head CI run
31463851015は success であり、本文の CI reviewer gate はこの scoped Check Run evidence に束縛する。statusCheckRollupが100件を超えることによるCI_VERDICT_SUMMARY_V1のgh_errorは control-plane の別 blocker である。本PR本文はその事実を偽装せず、解消もしない。task-owned worktree は canonical bootstrap executor により branch identity と clean state を確認済みだが、HEAD は
38bf0c3dd27a70123cade9abb0ae73c01a36c36eのままである。同 executor には既存 worktree を remote current head へ同期する操作がないため、raw reset/checkout を用いず同期を停止した。この本文の current-head evidence は GitHub API/PR diff/Check Run readback のみを正本とする。Dependency Disposition: PR fix(contract-review): RVA 欠落を fail-closed に統一 #2070 は同一ファイルの exact-path/exact-intent を含む。実装: visual-impact-trusted-consumer.yml の gh api --output 未対応バグを修正する #2076 を minimal bootstrap landing の authoritative owner とし、実装: visual-impact-trusted-consumer.yml の gh api --output 未対応バグを修正する #2076 merge 後に fix(contract-review): RVA 欠落を fail-closed に統一 #2070 の同等 hunk を消化する。
Issue の自動 close 指定: Closes 実装: visual-impact-trusted-consumer.yml の gh api --output 未対応バグを修正する #2076