Skip to content

修復: issue-refinement-loop preflight の schema-valid failure artifact を保証する #1037

Closed

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "canonical preflight が ISSUE_EXECUTION_DECISION_V1 の schema reference failure 又は planner exit 3 に遭遇しても、例外又は schema-invalid artifact を出さず、原因を bounded に記録した schema-valid environment_failure artifact を返す"
change_kind: code

Parent Issue

none(#1023 follow-up を置換する単独 bootstrap repair)

Parent Goal Ref

  • Goal: preflight.run.with_anchor の canonical executor が 実装: C2a successor structural collision の誤った human review route を修正する #1797 の anchor-bound planner を、環境差異又は schema reference failure で二次的に schema-invalid にせず fail-closed に報告する。
  • Desired Destination: planner failure の一次原因と wrapper failure artifact が分離され、artifact/readback/schema validation を通じて再現可能に診断できる。

Current Validated Scope

  • issue_execution_decision_v1.schema.json の root $id を Draft 2020-12 の registry 非依存な absolute URI 又は URN にし、relative $id による reference-resolution exception を排除する。
  • validate_issue_execution_decision.validate_schema() は schema read、JSON parse、validator selection、schema check、validator construction、format checker、iter_errors、reference resolution の全例外を bounded violation として返し、外へ例外を出さない。
  • run_refinement_preflight.py は planner exit 3 / plan is None でも planner_fail_closed: true と schema-valid な FAIL_CLOSED_REWRITE_CONSTRAINTS_V1 fallback を一貫して生成し、final validation・atomic artifact write・readback validation 後にのみ canonical artifact を報告する。
  • command registry の canonical uv run python3 executor contract は変更せず、provenance に実行 interpreter と dependency versions を記録して lock-enforced 実行との差異を診断可能にする。

Remaining Parent Gaps

Outcome

canonical main の preflight.run.with_anchor が planner internal failure を受けても、refinement_preflight_result_v1.json は schema-valid のまま status: environment_failure、bounded blocker、schema-valid fallback rewrite_constraints、artifact hashes と provenance を返す。ISSUE_EXECUTION_DECISION_V1 schema は remote retrieval に依存せず、validator は malformed schema/reference input で例外を送出しない。

In Scope

  • .claude/skills/issue-refinement-loop/schemas/issue_execution_decision_v1.schema.json の $id portability 修正
  • .claude/skills/issue-refinement-loop/scripts/validate_issue_execution_decision.py の never-raises schema validation と bounded violations
  • .claude/skills/issue-refinement-loop/scripts/run_refinement_preflight.py の planner-internal-error fallback、final schema validation、artifact readback validation、provenance
  • 上記の deterministic regression tests と fixture

Out of Scope

Acceptance Criteria

  • AC1: issue_execution_decision_v1.schema.json は Draft 2020-12 check_schema を通り、root $id が fragment なしの absolute URI 又は URN で、remote retrieval なしに validator construction ができる。
  • AC2: validate_schema() は malformed schema、unresolved reference、validator construction、format checker、iter_errors の失敗で例外を送出せず、bounded violation list を返す。
  • AC3: planner exit 3 / plan is None の wrapper result は planner_fail_closed: true、schema-valid rewrite_constraints、environment_failure、bounded failure classification を持つ。
  • AC4: planner failure artifact は書込み後に readback して result schema に再検証され、validation failure 後に status/blocker だけを書き換えた artifact を canonical filename に残さない。
  • AC5: canonical uv run python3 executor argv は維持され、provenance が sys.executable、Python、jsonschema、referencing の version を記録する。
  • AC6: existing issue-execution-decision、preflight、exact executor、command policy regression suites が PASS する。

Verification Commands

# AC1
# baseline-expect: fail
$ uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_issue_execution_decision_schema_id_is_absolute_and_portable -q
# AC2
# baseline-expect: fail
$ uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_validate_schema_never_raises_for_reference_resolution_failures -q
# AC3
# baseline-expect: fail
$ uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_planner_exit_3_emits_schema_valid_fallback_result -q
# AC4
# baseline-expect: fail
$ uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_failure_artifact_is_readback_schema_valid_before_reporting -q
# AC5
# baseline-expect: fail
$ uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_preflight_provenance_records_interpreter_and_dependency_versions -q
# AC6
$ uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_issue_execution_decision_semantic_validator.py .claude/skills/issue-refinement-loop/tests/test_refinement_preflight.py scripts/agent-guards/tests/test_skill_runtime_preflight_bytecode_cache.py -q

Allowed Paths

  • .claude/skills/issue-refinement-loop/schemas/issue_execution_decision_v1.schema.json
  • .claude/skills/issue-refinement-loop/scripts/validate_issue_execution_decision.py
  • .claude/skills/issue-refinement-loop/scripts/run_refinement_preflight.py
  • .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py
  • .claude/skills/issue-refinement-loop/tests/test_refinement_preflight.py
  • .claude/skills/issue-refinement-loop/tests/test_issue_execution_decision_semantic_validator.py
  • scripts/agent-guards/tests/test_skill_runtime_preflight_bytecode_cache.py

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
  • ISSUE_EXECUTION_DECISION_V1 の意味論・field・enum・migration phase を変更する必要が判明した場合
  • command registry argv、privileged executor policy、hook/guard の緩和が必要になった場合
  • Allowed Paths 外の production path 又は既存 Issue 実装: run_refinement_preflight.py の結果に decisions フィールドを出力しSKILL.mdとのSSOT乖離を解消する #1556 の decisions projection を変更する必要が判明した場合
  • remote schema retrieval、秘密情報、外部課金が必要になった場合
  • canonical main で修復後の preflight artifact を再現・schema validation・readback できない場合

Required Skills

  • Python
  • JSON Schema Draft 2020-12
  • pytest

Required Design References

  • .claude/skills/issue-refinement-loop/SKILL.md
  • .claude/skills/issue-refinement-loop/references/refinement-loop-plan-output.md
  • https://github.com/squne121/loop-protocol/issues/1797#issuecomment-5083622681

Scope Delta

Runtime Verification Applicability

decision: not_applicable
reason: "Python subprocess、JSON Schema validator、fixture と canonical preflight artifact の deterministic verification で完結し、外部 runtime 観測を要しない。"

Delivery Rule

  • 1 Issue = 1 PR
  • canonical main では metadata mutation のみを controlled executor で行う
  • implementation は専用 worktree と Draft PR で行う

Notes for Reviewer

Activity

  1. changed the title [-]改善: issue-refinement-loop preflight の fail_closed 制約を issue-author へ安全透過[/-] [+]修復: issue-refinement-loop preflight の schema-valid failure artifact を保証する[/+] on Jul 26, 2026
  2. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-07-26T14:04:58Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1037
      body_sha256: "sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512"
      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:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512","source_provenance":{"source_type":"github_api","body_file":null}}
        vc_preflight:
          decision: pass
          classifications: [{"ac":"AC1","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_issue_execution_decision_schema_id_is_absolute_and_portable -q","command_hash":"sha256:0987371ef09c963c0e76633764aad3b5bb748f28c8a4ccde040a2ce150493a15","execution_key_hash":"sha256:b1709ec2653b9bb9dd3945eb68b013b0c60064d65661828ca25a40569fae517d","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_issue_execution_decision_schema_id_is_absolute_and_portable"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":195,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC2","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_validate_schema_never_raises_for_reference_resolution_failures -q","command_hash":"sha256:43e6c7540efc737f21ff5e1ff9a9a6743a3c64f811bdef2ff2e8fc5b00761d8c","execution_key_hash":"sha256:8a0df966281ca83a75f0c984a560a9bd4de33e8cef32067b4f656ab3552e7e85","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_validate_schema_never_raises_for_reference_resolution_failures"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":225,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC3","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_planner_exit_3_emits_schema_valid_fallback_result -q","command_hash":"sha256:b457f8b0c780c725eb9cb3cfc93a81d90f0efbb5939095c29c37deed5acc7a70","execution_key_hash":"sha256:586755db7b612742dde8ef051c8ca0c423a880c540344f1496aacdddd5a9adff","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_planner_exit_3_emits_schema_valid_fallback_result"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":192,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC4","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_failure_artifact_is_readback_schema_valid_before_reporting -q","command_hash":"sha256:9eb3e3d1269e31072a34ee2505198a5fe14d2c1686f2abdd5a108616861d5a0d","execution_key_hash":"sha256:aafd313f4ce449942d06531f1a9623b891651f5c9b5bee9a5b71c1ab58d6ba2b","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_failure_artifact_is_readback_schema_valid_before_reporting"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":195,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC5","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_preflight_provenance_records_interpreter_and_dependency_versions -q","command_hash":"sha256:1704e1d4cad495ee3e64fbcbaa6bf20b521d2e9b5ba56f587e3ba110e4468748","execution_key_hash":"sha256:946fed0ce54303daf2d28fa7a8c5ebb851615dd73228bf741191f5fa246d2742","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_preflight_provenance_records_interpreter_and_dependency_versions"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":200,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC6","line":2,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_issue_execution_decision_semantic_validator.py .claude/skills/issue-refinement-loop/tests/test_refinement_preflight.py scripts/agent-guards/tests/test_skill_runtime_preflight_bytecode_cache.py -q","command_hash":"sha256:7eb88efa9e64934de9eb54fd143570863147dad8467cf7eb0c99a1d1fc76aae0","execution_key_hash":"sha256:91cb3645bef2f7a87a162964e0e40e73fcc042681b07d3e80c4948d43313548d","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["........................................................................ [ 60%]","...............................................                          [100%]","119 passed in 10.41s"],"stdout_truncated":false,"stdout_original_line_count":4,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":10646,"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}]
        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":"56a4f10db4086de72d3e67dbccc20e9f2ea05821","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":1784,"title":"feat(ci): Ruff設定をpyprojectへ集約","base_ref_name":"main","head_ref_name":"worktree-issue-1764-ruff-config-ssot","head_ref_oid":"778c0131c76be75c359d9ffa25e65d57a490be15","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1784","changed_files_count_graphql":5},{"number":1787,"title":"fix(claude): issue-reviewer compact output hook を追加","base_ref_name":"main","head_ref_name":"worktree-issue-1754-issue-reviewer-subagent-prose-canonical-","head_ref_oid":"8819d4e00b995655fb82f5b066130fb33977c3db","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1787","changed_files_count_graphql":10},{"number":1798,"title":"実装: build_request.py を provider-aware にし、Gemini/AGY/auto の request contract を正しく生成・検証する","base_ref_name":"main","head_ref_name":"worktree-issue-1692-build-request-py-provider-aware-gemini-a","head_ref_oid":"c1b18d6a9bd565ccc6682f1f3e797556e8d90d1c","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1798","changed_files_count_graphql":7}],"fetched_count":4,"totalCount":4,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:edf3dda24d2ef548200db1a8bc3934d2c06b3cc23de2d3ffbeebe116140b40a8","errors":[]},"inventory_digest_extended":"sha256:21515b48061a0ed98f8c7221c91de80f1429a9e54736423c6e9c7f85e36e54a3","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":1037,"contract_source_kind":"issue_comment","contract_source_id":"5083813225","contract_body_sha256":"sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512","allowed_paths_normalized_sha256":"762ca057714cf73dce4603f7e7bc3445af9d8c229a2d23557419a1a93ec257a4","base_ref":"main","base_sha_at_snapshot":"56a4f10db4086de72d3e67dbccc20e9f2ea05821"}
  3. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    本セッションの OWNER 指示「推奨アクションを実施して」に基づく C1 non-conflict 判断です。#1037 の schema-valid failure artifact 修復は #205 の対象と別責務です。

    HUMAN_C1_DECISION_V1:
      candidate_issue_number: 205
      decision: C1/non-conflict
      current_body_sha256: sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512
      candidate_body_sha256: sha256:4bca903246825c72bc75e63cf0c6cd1bfaafc446ec9a214ca00abdb3483316d2
  4. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    本セッションの OWNER 指示「推奨アクションを実施して」に基づく C1 non-conflict 判断です。#1037 の schema-valid failure artifact 修復は #420 の対象と別責務です。

    HUMAN_C1_DECISION_V1:
      candidate_issue_number: 420
      decision: C1/non-conflict
      current_body_sha256: sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512
      candidate_body_sha256: sha256:daa94650f3b6f0ea5ecea30037c818e5442eccb5b9dcbdf8e9e4888a5a17aa10
  5. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    本セッションの OWNER 指示「推奨アクションを実施して」に基づく C1 non-conflict 判断です。#1037 の schema portability と failure artifact 修復は #944 の対象と別責務です。

    HUMAN_C1_DECISION_V1:
      candidate_issue_number: 944
      decision: C1/non-conflict
      current_body_sha256: sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512
      candidate_body_sha256: sha256:5ff60ffae2caeeffc743528205b9a3761666f3b159c1b2d65c11bf8ec5d95af3
  6. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    本セッションの OWNER 指示「推奨アクションを実施して」に基づく C1 non-conflict 判断です。#1037 は preflight producer の failure boundary、#1006 は preflight artifact consumer の LOOP_STATE wrapper であり、責務は分離されています。

    HUMAN_C1_DECISION_V1:
      candidate_issue_number: 1006
      decision: C1/non-conflict
      current_body_sha256: sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512
      candidate_body_sha256: sha256:91a204bd29f567b7c5d8c43ebe5b5ce1f2624ec0edab58b48bca57a586d1ad78
  7. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    本セッションの OWNER 指示「推奨アクションを実施して」に基づく C1 non-conflict 判断です。#1037 の schema-valid failure artifact 修復は #1007 の対象と別責務です。

    HUMAN_C1_DECISION_V1:
      candidate_issue_number: 1007
      decision: C1/non-conflict
      current_body_sha256: sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512
      candidate_body_sha256: sha256:e195dc3f60df76d69ac2e96fc65998643536c53222cbb5b7de07e6dfca3a31d7
  8. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    本セッションの OWNER 指示「推奨アクションを実施して」に基づく C1 non-conflict 判断です。#1037 は planner/runtime failure の schema-valid fallback と artifact write/readback、#1556 は成功 artifact の decisions projection を所有し、同一ファイルでも変更する contract boundary は分離されています。

    HUMAN_C1_DECISION_V1:
      candidate_issue_number: 1556
      decision: C1/non-conflict
      current_body_sha256: sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512
      candidate_body_sha256: sha256:9c3c8b39372a26957eab8ab15a84aa3c9a63888d50509d9638d55e1c5a7c8a21
  9. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    本セッションの OWNER 指示「推奨アクションを実施して」に基づく C1 non-conflict 判断です。#1037 の schema-valid failure artifact 修復は #1775 の対象と別責務です。

    HUMAN_C1_DECISION_V1:
      candidate_issue_number: 1775
      decision: C1/non-conflict
      current_body_sha256: sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512
      candidate_body_sha256: sha256:9f7a403cdeae8b021eb9d48dd5bb61d0a305fc59252f0d9004f36fcf6ff778fe
  10. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-07-26T14:29:41Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1037
      body_sha256: "sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512"
      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:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512","source_provenance":{"source_type":"github_api","body_file":null}}
        vc_preflight:
          decision: pass
          classifications: [{"ac":"AC1","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_issue_execution_decision_schema_id_is_absolute_and_portable -q","command_hash":"sha256:0987371ef09c963c0e76633764aad3b5bb748f28c8a4ccde040a2ce150493a15","execution_key_hash":"sha256:b1709ec2653b9bb9dd3945eb68b013b0c60064d65661828ca25a40569fae517d","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_issue_execution_decision_schema_id_is_absolute_and_portable"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":226,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC2","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_validate_schema_never_raises_for_reference_resolution_failures -q","command_hash":"sha256:43e6c7540efc737f21ff5e1ff9a9a6743a3c64f811bdef2ff2e8fc5b00761d8c","execution_key_hash":"sha256:8a0df966281ca83a75f0c984a560a9bd4de33e8cef32067b4f656ab3552e7e85","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_validate_schema_never_raises_for_reference_resolution_failures"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":252,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC3","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_planner_exit_3_emits_schema_valid_fallback_result -q","command_hash":"sha256:b457f8b0c780c725eb9cb3cfc93a81d90f0efbb5939095c29c37deed5acc7a70","execution_key_hash":"sha256:586755db7b612742dde8ef051c8ca0c423a880c540344f1496aacdddd5a9adff","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_planner_exit_3_emits_schema_valid_fallback_result"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":213,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC4","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_failure_artifact_is_readback_schema_valid_before_reporting -q","command_hash":"sha256:9eb3e3d1269e31072a34ee2505198a5fe14d2c1686f2abdd5a108616861d5a0d","execution_key_hash":"sha256:aafd313f4ce449942d06531f1a9623b891651f5c9b5bee9a5b71c1ab58d6ba2b","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_failure_artifact_is_readback_schema_valid_before_reporting"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":191,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC5","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_preflight_provenance_records_interpreter_and_dependency_versions -q","command_hash":"sha256:1704e1d4cad495ee3e64fbcbaa6bf20b521d2e9b5ba56f587e3ba110e4468748","execution_key_hash":"sha256:946fed0ce54303daf2d28fa7a8c5ebb851615dd73228bf741191f5fa246d2742","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.02s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_preflight_provenance_records_interpreter_and_dependency_versions"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":424,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC6","line":2,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_issue_execution_decision_semantic_validator.py .claude/skills/issue-refinement-loop/tests/test_refinement_preflight.py scripts/agent-guards/tests/test_skill_runtime_preflight_bytecode_cache.py -q","command_hash":"sha256:7eb88efa9e64934de9eb54fd143570863147dad8467cf7eb0c99a1d1fc76aae0","execution_key_hash":"sha256:91cb3645bef2f7a87a162964e0e40e73fcc042681b07d3e80c4948d43313548d","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["........................................................................ [ 60%]","...............................................                          [100%]","119 passed in 11.10s"],"stdout_truncated":false,"stdout_original_line_count":4,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":11627,"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}]
        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":"36be5ec23dc0043f0b412777e73dfef8e63aa335","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":1787,"title":"fix(claude): issue-reviewer compact output hook を追加","base_ref_name":"main","head_ref_name":"worktree-issue-1754-issue-reviewer-subagent-prose-canonical-","head_ref_oid":"8819d4e00b995655fb82f5b066130fb33977c3db","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1787","changed_files_count_graphql":10},{"number":1798,"title":"実装: build_request.py を provider-aware にし、Gemini/AGY/auto の request contract を正しく生成・検証する","base_ref_name":"main","head_ref_name":"worktree-issue-1692-build-request-py-provider-aware-gemini-a","head_ref_oid":"6d4949e4c178dbccc4a429a69cb2d74259860125","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1798","changed_files_count_graphql":7},{"number":1801,"title":"実装: review-issue の structured_blockers を compact_review_result.py の REVIEW_ISSUE_RESULT_V1 スキーマに一致させる (#1791)","base_ref_name":"main","head_ref_name":"worktree-issue-1791-review-issue-structured-blockers-compact","head_ref_oid":"64a1fd435dbb5d93054c6aa199b9fe50dcd6d2de","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1801","changed_files_count_graphql":3}],"fetched_count":4,"totalCount":4,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:b331056ebe55fc7de2c5c5fb6d0ef5466474ef4e9cfb2d7dd868e1aafe779f5b","errors":[]},"inventory_digest_extended":"sha256:f429e5e74a415815bbbf1010e45eadcafc76eca1fa4a07a7c5a6c265248b147d","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":1037,"contract_source_kind":"issue_comment","contract_source_id":"5083901593","contract_body_sha256":"sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512","allowed_paths_normalized_sha256":"762ca057714cf73dce4603f7e7bc3445af9d8c229a2d23557419a1a93ec257a4","base_ref":"main","base_sha_at_snapshot":"36be5ec23dc0043f0b412777e73dfef8e63aa335"}
  11. squne121 commented on Jul 26, 2026

    @squne121
    OwnerAuthor

    Contract Review Result

    CONTRACT_REVIEW_RESULT_V1:
      status: go
      generated_at: "2026-07-26T15:07:40Z"
      generated_by: issue-contract-review
      issue_url: https://github.com/squne121/loop-protocol/issues/1037
      body_sha256: "sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512"
      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:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512","source_provenance":{"source_type":"github_api","body_file":null}}
        vc_preflight:
          decision: pass
          classifications: [{"ac":"AC1","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_issue_execution_decision_schema_id_is_absolute_and_portable -q","command_hash":"sha256:0987371ef09c963c0e76633764aad3b5bb748f28c8a4ccde040a2ce150493a15","execution_key_hash":"sha256:b1709ec2653b9bb9dd3945eb68b013b0c60064d65661828ca25a40569fae517d","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_issue_execution_decision_schema_id_is_absolute_and_portable"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":178,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC2","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_validate_schema_never_raises_for_reference_resolution_failures -q","command_hash":"sha256:43e6c7540efc737f21ff5e1ff9a9a6743a3c64f811bdef2ff2e8fc5b00761d8c","execution_key_hash":"sha256:8a0df966281ca83a75f0c984a560a9bd4de33e8cef32067b4f656ab3552e7e85","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_validate_schema_never_raises_for_reference_resolution_failures"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":169,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC3","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_planner_exit_3_emits_schema_valid_fallback_result -q","command_hash":"sha256:b457f8b0c780c725eb9cb3cfc93a81d90f0efbb5939095c29c37deed5acc7a70","execution_key_hash":"sha256:586755db7b612742dde8ef051c8ca0c423a880c540344f1496aacdddd5a9adff","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_planner_exit_3_emits_schema_valid_fallback_result"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":199,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC4","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_failure_artifact_is_readback_schema_valid_before_reporting -q","command_hash":"sha256:9eb3e3d1269e31072a34ee2505198a5fe14d2c1686f2abdd5a108616861d5a0d","execution_key_hash":"sha256:aafd313f4ce449942d06531f1a9623b891651f5c9b5bee9a5b71c1ab58d6ba2b","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_failure_artifact_is_readback_schema_valid_before_reporting"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":179,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC5","line":3,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_preflight_provenance_records_interpreter_and_dependency_versions -q","command_hash":"sha256:1704e1d4cad495ee3e64fbcbaa6bf20b521d2e9b5ba56f587e3ba110e4468748","execution_key_hash":"sha256:946fed0ce54303daf2d28fa7a8c5ebb851615dd73228bf741191f5fa246d2742","runner":"exec","exit_code":4,"classification":"expected_fail","category":"expected_baseline_fail","decision":"go","scope_class":"baseline_fail_expected","confidence":"high","stdout_head":["no tests ran in 0.01s"],"stdout_truncated":false,"stdout_original_line_count":3,"stderr_head":["ERROR: file or directory not found: .claude/skills/issue-refinement-loop/tests/test_preflight_runtime_schema_recovery.py::test_preflight_provenance_records_interpreter_and_dependency_versions"],"stderr_truncated":false,"stderr_original_line_count":3,"runner_env_delta":{},"duration_ms":159,"fix_hint":null,"certified_target_paths":null,"annotations":{"baseline_expect":"fail","vc_role":null,"missing_baseline_expect":false},"annotation_source":{"line":2,"raw":"# baseline-expect: fail"},"strict":null,"repair":null},{"ac":"AC6","line":2,"raw_command":"uv run --locked pytest .claude/skills/issue-refinement-loop/tests/test_issue_execution_decision_semantic_validator.py .claude/skills/issue-refinement-loop/tests/test_refinement_preflight.py scripts/agent-guards/tests/test_skill_runtime_preflight_bytecode_cache.py -q","command_hash":"sha256:7eb88efa9e64934de9eb54fd143570863147dad8467cf7eb0c99a1d1fc76aae0","execution_key_hash":"sha256:91cb3645bef2f7a87a162964e0e40e73fcc042681b07d3e80c4948d43313548d","runner":"exec","exit_code":0,"classification":"expected_pass","category":"regression_gate","decision":"go","scope_class":"regression_gate","confidence":"low","stdout_head":["........................................................................ [ 60%]","...............................................                          [100%]","119 passed in 10.43s"],"stdout_truncated":false,"stdout_original_line_count":4,"stderr_head":[],"stderr_truncated":false,"stderr_original_line_count":1,"runner_env_delta":{},"duration_ms":11311,"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}]
        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":"a4ccec3bae024c5c31de254cb5f226f1c683381f","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":1787,"title":"fix(claude): issue-reviewer compact output hook を追加","base_ref_name":"main","head_ref_name":"worktree-issue-1754-issue-reviewer-subagent-prose-canonical-","head_ref_oid":"a0ba0b43b61a5ecf8721ba35187a920a9bdc7278","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1787","changed_files_count_graphql":10},{"number":1798,"title":"実装: build_request.py を provider-aware にし、Gemini/AGY/auto の request contract を正しく生成・検証する","base_ref_name":"main","head_ref_name":"worktree-issue-1692-build-request-py-provider-aware-gemini-a","head_ref_oid":"00e358c458e4271b6233448fd76f532f2c0d75ec","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1798","changed_files_count_graphql":14},{"number":1801,"title":"実装: review-issue の structured_blockers を compact_review_result.py の REVIEW_ISSUE_RESULT_V1 スキーマに一致させる (#1791)","base_ref_name":"main","head_ref_name":"worktree-issue-1791-review-issue-structured-blockers-compact","head_ref_oid":"13537faddda37391617541bbd50ea4814ac49377","is_draft":true,"is_cross_repository":false,"head_repository_owner":"squne121","head_repository_name":"loop-protocol","url":"https://github.com/squne121/loop-protocol/pull/1801","changed_files_count_graphql":3}],"fetched_count":4,"totalCount":4,"has_next_page":false,"complete":true,"saturated":false,"limit":200,"page_count":1,"inventory_digest":"sha256:1b00ce10ed0721f63058b3670f2c188262fb44aca5ee8387cf1147c7b0775722","errors":[]},"inventory_digest_extended":"sha256:178f670f097c606b57f11d3fbe4e6382deb92c59ea245ce118f9f76b7b41ad7d","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":1037,"contract_source_kind":"issue_comment","contract_source_id":"5084058922","contract_body_sha256":"sha256:0366bdc8e2f0b076889e42edb85aefcad51339e134b19f46dc8004c87ba12512","allowed_paths_normalized_sha256":"762ca057714cf73dce4603f7e7bc3445af9d8c229a2d23557419a1a93ec257a4","base_ref":"main","base_sha_at_snapshot":"a4ccec3bae024c5c31de254cb5f226f1c683381f"}
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions