Skip to content

実装: trusted visual-impact consumer の Git 認証 bootstrap failure を分類・修正する #2098

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "Issue #1631 の required check を、trusted visual-impact consumer の認証 bootstrap failure を artifact semantic rejection と誤分類せずに評価可能にする"
change_kind: workflow

Parent Issue

なし(独立した hard predecessor。GitHub native dependency の blocking 方向で #1631 をブロックする)

Parent Goal Ref

Current Validated Scope

  • .github/workflows/visual-impact-trusted-consumer.yml の trusted-side git fetch 認証と、trusted-input derivation failure / verifier-not-run / artifact rejection の CheckRun 診断。
  • scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py の上記 trust boundary・診断分類を固定する回帰テスト。

Remaining Parent Gaps

Outcome

更新された trusted consumer workflow と回帰テストにより、supported な HTTP Git 認証で trusted-side fetch が完了し、bootstrap 失敗と artifact 再検証拒否が別の CheckRun 診断として確認できる PR が作成され、unit regression と actionlint が pass している状態。

Background

PR #2095 の current head bd987b2a65d47f3893735a1b31f896b9f8f16040 に対する visual-impact-policy-trusted は、trusted-side git -c http.extraheader="AUTHORIZATION: bearer ${GH_TOKEN}" fetch ... で could not read Username となった。Independently re-derive trusted-side inputs が失敗したため verifier step は skipped だったが、CheckRun summary は producer artifact の独立再検証失敗と表示した。

これは producer artifact の semantic reject ではなく trusted_consumer_bootstrap_failure / trusted_input_derivation_failed として扱う必要がある。Issue #1631 の Allowed Paths はこの2ファイルを含まない。#2093 の live In Scope にも credential/bootstrap defect は含まれず、指定キーワードの OPEN Issue 重複検索では同一 Outcome の Issue は確認されなかった。

採用方針は、まず actions/checkout@v6 の supported credential persistence を用いて後続 git fetch を checkout の認証済み Git path に乗せる案を検討する。persist-credentials: false がこの trust boundary の必須不変条件なら、GitHub 公式に文書化された HTTP Git credential mechanism を使用する。REST API 用 Bearer header が Git transport でも有効であるという未保証の仮定には依存しない。

In Scope

  • workflow_run trusted consumer で base/default branch のみを checkout・実行する不変条件を維持したまま、trusted-side git fetch の認証 bootstrap を supported mechanism に修正する。
  • candidate PR head の checkout、local action 実行、package script 実行を追加しない。
  • job permissions を least privilege に保つ。
  • trusted input derivation が失敗した場合、verifier が未実行であることと bootstrap/precondition failure を CheckRun summary で明示し、actual producer artifact verification rejection と分離する。
  • credential を echo、CheckRun summary、artifact、ログファイルへ出力しない。
  • workflow 静的検証と unit regression を追加・更新する。

Out of Scope

Acceptance Criteria

  • AC1: trusted-side git fetch が GitHub の supported な認証機構で実行され、could not read Username による bootstrap failure を起こさない。
  • AC2: workflow_run trusted consumer は candidate PR head を checkout せず、candidate-controlled code、local action、package script を実行しない。
  • AC3: workflow/job permissions は contents: read、actions: read、checks: write を超えて拡大しない。
  • AC4: trusted-input derivation failure または verifier-not-run と、actual producer artifact verification rejection が別の reason/CheckRun summary として診断される。
  • AC5: credential 値が logs、artifacts、CheckRun summary に出力・保存されない。
  • AC6: 回帰 unit tests と actionlint が pass する。

Verification Commands

# AC1
$ uv run --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q
# AC2
$ uv run --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q
# AC3
$ uv run --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q
# AC4
$ uv run --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q
# AC5
$ uv run --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q
# AC6
$ pnpm lint

Allowed Paths

  • .github/workflows/visual-impact-trusted-consumer.yml
  • scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合

Required Skills

  • GitHub Actions

Required Design References

Delivery Rule

Notes for Reviewer

Activity

  1. added
    phase/implementation
    enhancement
    agent/implementer
    triage-required
    on Aug 11, 2026
  2. squne121 commented on Aug 11, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-08-11T12:57:35Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/2098
      body_sha256: "sha256:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d"
      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:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d","source_provenance":{"source_type":"body_file","body_file":"/tmp/contract_review_once_body_0_6kyqcf.md"}}
        vc_preflight:
          decision: pass
          classifications: '[{"ac":"AC1","line":2,"raw_command":"uv run --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:ef3929a46c6c20fcb9480313b3bb62fc54f80a9cf8b5b88884ff4b5e66077cbc","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.34s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":701,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:9f1daa77bf2e0e2e3edd04cba0656e78e31a10dab9fe688b671905f647c0874e","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.34s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":673,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:b0652de5f4880f8078370cb4f93aa362d81dd37b3a16737c3206b74db1f4c4a4","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.39s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":796,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:52f526d2461d972e8d3b02bfec5eebeec2f90aad336a9069d3450a09fc4ccd07","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.34s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":656,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:d64313dbc91be7d2665a91669c174623249f8c31901fb4833ff469f4f4b5d6c7","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.34s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":632,"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":"pnpm lint","command_hash":"sha256:ede823a2d5f2814db6ddd8a2969504d513bf5a4428b806aa4d1a0499fb38462f","execution_key_hash":"sha256:6b5f83d0880d897b4a0062ff214f7a4f6559de347b340e38ce2aaba03539c91a","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":["$ eslint ."],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":8196,"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,"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"}}]'
          classifications_transport: {"schema":"vc_preflight_classifications_transport/v1","classification_count":6,"original_payload_sha256":"sha256:24d5c7e5681f6f00eeb1ba1fc35b6ff2db77496cde486a4e394b12e30859accc","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":"3559ad214b7f1fdaf26740671f6460fbdf03016e","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":2068,"title":"fix(issue-refinement-loop): bind freeform OWNER scope authority end-to-end and expose routing telemetry","base_ref_name":"main","head_ref_name":"worktree-issue-2053-bind-freeform-authority-transport","head_ref_oid":"77acc5fd7ae880d2177a6e4bf5d90e56889e0ef9","is_draft":false,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2068","changed_files_count_graphql":16},{"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":"fb3132d1b60a72ff4582d907df48c3ace785618b","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":"c969e43a5fc0d43604c9e3984b8e05e6876d6374","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":"24f3c4b0c3f280b4ae40fcaadb4082af36f8c932","is_draft":true,"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}],"fetched_count":8,"totalCount":8,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:a1a422fc99d512def8725e2fe01cc246e1a9dea4c5b45b6b479139c3662e2e50","errors":[]},"inventory_digest_extended":"sha256:42b5ae94dbed48bcb3ba902376cab6cc2646a681df735cb3a5a09006979d13d4","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":2098,"contract_source_kind":"issue_comment","contract_source_id":"5253473747","contract_body_sha256":"sha256:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d","allowed_paths_normalized_sha256":"e6a76fb6e572d5949241242ebbdad56b6e481a7f30000dbdb33d1cad5b820aa5","base_ref":"main","base_sha_at_snapshot":"3559ad214b7f1fdaf26740671f6460fbdf03016e"}
  3. squne121 commented on Aug 11, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-08-11T13:08:42Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/2098
      body_sha256: "sha256:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d"
      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:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d","source_provenance":{"source_type":"body_file","body_file":"/tmp/contract_review_once_body_xteq3hum.md"}}
        vc_preflight:
          decision: pass
          classifications: '[{"ac":"AC1","line":2,"raw_command":"uv run --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:ef3929a46c6c20fcb9480313b3bb62fc54f80a9cf8b5b88884ff4b5e66077cbc","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.40s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":823,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:9f1daa77bf2e0e2e3edd04cba0656e78e31a10dab9fe688b671905f647c0874e","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.37s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":758,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:b0652de5f4880f8078370cb4f93aa362d81dd37b3a16737c3206b74db1f4c4a4","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.35s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":714,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:52f526d2461d972e8d3b02bfec5eebeec2f90aad336a9069d3450a09fc4ccd07","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.42s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":815,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:d64313dbc91be7d2665a91669c174623249f8c31901fb4833ff469f4f4b5d6c7","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.33s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":761,"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":"pnpm lint","command_hash":"sha256:ede823a2d5f2814db6ddd8a2969504d513bf5a4428b806aa4d1a0499fb38462f","execution_key_hash":"sha256:6b5f83d0880d897b4a0062ff214f7a4f6559de347b340e38ce2aaba03539c91a","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":["$ eslint ."],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":9855,"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,"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"}}]'
          classifications_transport: {"schema":"vc_preflight_classifications_transport/v1","classification_count":6,"original_payload_sha256":"sha256:f3916ab921e04e716f13951d5fe0711d88b93f470a75c45e4b6ec263aa7f10ef","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":"fb3132d1b60a72ff4582d907df48c3ace785618b","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":"c969e43a5fc0d43604c9e3984b8e05e6876d6374","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":"24f3c4b0c3f280b4ae40fcaadb4082af36f8c932","is_draft":true,"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}],"fetched_count":7,"totalCount":7,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:8e7e5a93eae0f08e2d88f7e6e95b1c4640b8b710ef09a68aeaa66f8a78ae90db","errors":[]},"inventory_digest_extended":"sha256:21e8bc6b9b2a4bb9172ac471dd56906e989ed3413897069dcaef44f06dfc654b","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":2098,"contract_source_kind":"issue_comment","contract_source_id":"5253591658","contract_body_sha256":"sha256:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d","allowed_paths_normalized_sha256":"e6a76fb6e572d5949241242ebbdad56b6e481a7f30000dbdb33d1cad5b820aa5","base_ref":"main","base_sha_at_snapshot":"f32785733ef342b6ec4c63efcf6f76aea482dd3b"}
  4. squne121 commented on Aug 11, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-08-11T15:07:05Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/2098
      body_sha256: "sha256:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d"
      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:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d","source_provenance":{"source_type":"body_file","body_file":"/tmp/contract_review_once_body_e877szya.md"}}
        vc_preflight:
          decision: pass
          classifications: '[{"ac":"AC1","line":2,"raw_command":"uv run --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:ef3929a46c6c20fcb9480313b3bb62fc54f80a9cf8b5b88884ff4b5e66077cbc","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.24s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":397,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:9f1daa77bf2e0e2e3edd04cba0656e78e31a10dab9fe688b671905f647c0874e","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.26s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":424,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:b0652de5f4880f8078370cb4f93aa362d81dd37b3a16737c3206b74db1f4c4a4","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.24s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":421,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:52f526d2461d972e8d3b02bfec5eebeec2f90aad336a9069d3450a09fc4ccd07","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.24s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":405,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:d64313dbc91be7d2665a91669c174623249f8c31901fb4833ff469f4f4b5d6c7","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.25s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":420,"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":"pnpm lint","command_hash":"sha256:ede823a2d5f2814db6ddd8a2969504d513bf5a4428b806aa4d1a0499fb38462f","execution_key_hash":"sha256:6b5f83d0880d897b4a0062ff214f7a4f6559de347b340e38ce2aaba03539c91a","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":["$ eslint ."],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":5001,"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,"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"}}]'
          classifications_transport: {"schema":"vc_preflight_classifications_transport/v1","classification_count":6,"original_payload_sha256":"sha256:0f084ae9c7517e11e7898a428c63ce3014e6e85036a3f4bc3f4648ffa654bb7c","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":"0fbdf82ee41c9e911fd829197a8881a163093ed8","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":"066884770273758febcd9bdd1429482d04f3fe31","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":13},{"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":"ae79ced0f81624b12a4684cb6d713c0fc4753c2b","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":"c987eb3e237c3c580e348147569bc06f94e8fc6c","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":8,"totalCount":8,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:c4349164009aa39bb7cd53ea8ec0dc2edef3997c745fcc318cbcc31a5da24d51","errors":[]},"inventory_digest_extended":"sha256:9b78cc9853dcbc47581087bfe301c972c307a203879dae18781c542dfc66f59f","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":2098,"contract_source_kind":"issue_comment","contract_source_id":"5254982259","contract_body_sha256":"sha256:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d","allowed_paths_normalized_sha256":"e6a76fb6e572d5949241242ebbdad56b6e481a7f30000dbdb33d1cad5b820aa5","base_ref":"main","base_sha_at_snapshot":"0fbdf82ee41c9e911fd829197a8881a163093ed8"}
  5. squne121 commented on Aug 11, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-08-11T22:11:33Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/2098
      body_sha256: "sha256:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d"
      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:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d","source_provenance":{"source_type":"body_file","body_file":"/tmp/contract_review_once_body_47p95vx6.md"}}
        vc_preflight:
          decision: pass
          classifications: '[{"ac":"AC1","line":2,"raw_command":"uv run --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:ef3929a46c6c20fcb9480313b3bb62fc54f80a9cf8b5b88884ff4b5e66077cbc","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.36s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":687,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:9f1daa77bf2e0e2e3edd04cba0656e78e31a10dab9fe688b671905f647c0874e","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.28s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":519,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:b0652de5f4880f8078370cb4f93aa362d81dd37b3a16737c3206b74db1f4c4a4","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.31s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":534,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:52f526d2461d972e8d3b02bfec5eebeec2f90aad336a9069d3450a09fc4ccd07","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.31s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":529,"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 --locked pytest scripts/agent-ops/tests/test_visual_impact_trusted_consumer.py -q","command_hash":"sha256:645f8d0fd656226949f695d2e431e4db9197bc32feced046f4c6c870e489c9d8","execution_key_hash":"sha256:d64313dbc91be7d2665a91669c174623249f8c31901fb4833ff469f4f4b5d6c7","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["..........................                                               [100%]","26 passed in 0.37s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":684,"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":"pnpm lint","command_hash":"sha256:ede823a2d5f2814db6ddd8a2969504d513bf5a4428b806aa4d1a0499fb38462f","execution_key_hash":"sha256:6b5f83d0880d897b4a0062ff214f7a4f6559de347b340e38ce2aaba03539c91a","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":[],"stdout_truncated":false,"stdout_original_line_count":1,"stderr_head":["$ eslint ."],"stderr_truncated":false,"stderr_original_line_count":2,"runner_env_delta":{"CI":"true"},"duration_ms":6037,"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,"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"}}]'
          classifications_transport: {"schema":"vc_preflight_classifications_transport/v1","classification_count":6,"original_payload_sha256":"sha256:8679733f1c1de29646c2240658ab5b5a8160dd74303da7f6f92af16b94eaa2e6","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":"8d7541263db4256a79e5f6f50fa404741ff66cf0","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":"17ff97fcc06f5f91c881b06cb1c117de304f2da5","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":10},{"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":"c4d534accb8dd45be1ae0bf01287f487dacc790e","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":13},{"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":"f07446df424af2829bcbf14ddc7330483afb8840","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},{"number":2118,"title":"fix(loop): main drift evidence を再束縛する (#2102)","base_ref_name":"main","head_ref_name":"worktree-issue-2102-main-drift-origin","head_ref_oid":"ac9a7df52975446ef88eff1cefb0fd488bedef59","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/2118","changed_files_count_graphql":13}],"fetched_count":8,"totalCount":8,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:3aa272cf0d89db49e9f7cb5ff5a31485006e942bc02d8cf19ab3934534dabc7d","errors":[]},"inventory_digest_extended":"sha256:e972b74d368215d2ff97fb1dacb70a80bae53331745dbf2b09f0029635bf9631","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":2098,"contract_source_kind":"issue_comment","contract_source_id":"5259436848","contract_body_sha256":"sha256:131115bf4fd468e4cfdf54c47523c6207934ac27a7d56a417924e8bcbc61750d","allowed_paths_normalized_sha256":"e6a76fb6e572d5949241242ebbdad56b6e481a7f30000dbdb33d1cad5b820aa5","base_ref":"main","base_sha_at_snapshot":"8d7541263db4256a79e5f6f50fa404741ff66cf0"}
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/implementationtriage-required

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions