Repository navigation
fix: stale go snapshot freshness を検証する - #1448
Conversation
Preview URLPreview removed (PR #1448 closed). |
検証結果レポートIssue #1445 / PR #1448 の current head
TEST_VERDICT:
result: PASS
head_sha: 2483fdadea2490cbb5908631f96748c13c2e9dcc
mergeable: MERGEABLE
merge_state_status: BLOCKED
branch_behind_main: false
baseline_only: false
verification_commands_pass: 8
verification_commands_fail: 0
verification_skipped_count: 0
runtime_ac_results: []VC_ADJUDICATION_RESULT_V1:
overall_status: indeterminate
blocking: true
rerun_required: true
reason: contract_snapshot_vc_preflight_classifications_missing
source_integrity:
current_vc_result_head_sha: 2483fdadea2490cbb5908631f96748c13c2e9dcc
reviewed_head_sha: 2483fdadea2490cbb5908631f96748c13c2e9dcc
evidence_complete: false
errors:
- missing_vc_preflight_classifications
- missing_adjudicator_baseline_evidenceテスト自体は全件成功しましたが、公開済み contract snapshot に baseline VC classifications がないため、VC adjudication の正本判定は fail-closed です。 |
squne121
left a comment
There was a problem hiding this comment.
レビュー判定
current head の CI で python-test が失敗しています。Ruff E501 が変更したテストの2行で検出され、TEST_VERDICT の43件PASSだけでは CI 失敗を相殺できません。加えて、同 head の VC adjudication は baseline classifications 欠落により fail-closed です。
LOOP_VERDICT_V2
LOOP_VERDICT_V2:
verdict: REQUEST_CHANGES
reviewed_head_sha: "2483fdadea2490cbb5908631f96748c13c2e9dcc"
merge_ready: false
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "BLOCKED"
blockers:
- "CI_CHECK_RUN_SCOPED: python-test が Ruff E501 で失敗(test_ensure_contract_snapshot.py:288,312)"
- "VC_ADJUDICATION_RESULT_V1: contract_snapshot_vc_preflight_classifications_missing により blocking=true"
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status_find_renames_z
changed_files:
- ".claude/skills/impl-review-loop/scripts/ensure_contract_snapshot.py"
- ".claude/skills/impl-review-loop/tests/test_ensure_contract_snapshot.py"
allowed_paths_gate_source: review_subagentCI_TEST_PERFORMANCE_DECISION_V1
CI_TEST_PERFORMANCE_DECISION_V1:
schema: CI_TEST_PERFORMANCE_DECISION_V1
issue_number: 1445
pr_number: 1448
decision_scope: review_only
changed_paths:
- ".claude/skills/impl-review-loop/scripts/ensure_contract_snapshot.py"
- ".claude/skills/impl-review-loop/tests/test_ensure_contract_snapshot.py"
lane_classification:
python_unit:
applicable: true
evidence:
- "python-test CI: Ruff E501 failure"
required_commands:
- "uv run --locked ruff check --select E,F --ignore E402 .claude/scripts scripts schemas .claude/skills"
fast_static:
applicable: true
evidence:
- "Ruff は python-test job で失敗"
required_commands: []
contract_artifact:
applicable: true
evidence:
- "VC adjudication は baseline classifications 不足で indeterminate"
required_commands: []
integration:
applicable: false
evidence: []
required_commands: []
baseline_inputs:
ci_runtime_baseline_v1_available: false
run_count: 0
p50_p95_ready: false
artifact_consistency:
ci_test_selection_v1_checked: false
missing_pytest_args: []
risk_flags:
- "CI failure"
- "VC adjudication evidence incomplete"
reviewer_gate:
approve_allowed: false
required_evidence:
- TEST_VERDICT_MACHINE
- CI_CHECK_RUN_SCOPED
follow_up_required: []
検証結果レポート(新 head)Issue #1445 / PR #1448 の current head
TEST_VERDICT:
result: PASS
head_sha: 6f0a49f22d60798bce3a9c85c99ec1a128c8dbd4
mergeable: MERGEABLE
merge_state_status: BLOCKED
branch_behind_main: false
baseline_only: false
verification_commands_pass: 8
verification_commands_fail: 0
verification_skipped_count: 0
runtime_ac_results: []VC_ADJUDICATION_RESULT_V1:
overall_status: indeterminate
blocking: true
rerun_required: true
reason: contract_snapshot_vc_preflight_classifications_missing
source_integrity:
current_vc_result_head_sha: 6f0a49f22d60798bce3a9c85c99ec1a128c8dbd4
reviewed_head_sha: 6f0a49f22d60798bce3a9c85c99ec1a128c8dbd4
evidence_complete: false
errors:
- missing_vc_preflight_classifications
- missing_adjudicator_baseline_evidenceテストは全件成功しましたが、公開済み contract snapshot に baseline VC classifications がないため、VC adjudication の正本判定は fail-closed です。 |
squne121
left a comment
There was a problem hiding this comment.
再レビュー判定
Ruff 修正と current-head の TEST_VERDICT(8/8 PASS、skip/fallback なし)は確認しました。ただし、CI は python-test と e2e が実行中で、VC adjudication も baseline classifications 欠落により fail-closed のままです。
LOOP_VERDICT_V2
LOOP_VERDICT_V2:
verdict: REQUEST_CHANGES
reviewed_head_sha: "6f0a49f22d60798bce3a9c85c99ec1a128c8dbd4"
merge_ready: false
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "BLOCKED"
blockers:
- "CI_CHECK_RUN_SCOPED: python-test と e2e が pending_or_queued で完了証跡がない"
- "VC_ADJUDICATION_RESULT_V1: contract_snapshot_vc_preflight_classifications_missing により blocking=true"
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status_find_renames_z
changed_files:
- ".claude/skills/impl-review-loop/scripts/ensure_contract_snapshot.py"
- ".claude/skills/impl-review-loop/tests/test_ensure_contract_snapshot.py"
allowed_paths_gate_source: review_subagent
squne121
left a comment
There was a problem hiding this comment.
CI完了後の再レビュー
current head の required CI は完了し、GitHub の mergeability は MERGEABLE/CLEAN です。python-test と e2e を含む本体CIは成功しています。
ただし、current-head TEST_VERDICT は8/8 PASSである一方、VC adjudication は contract_snapshot_vc_preflight_classifications_missing により fail-closed のままです。
LOOP_VERDICT_V2
LOOP_VERDICT_V2:
verdict: REQUEST_CHANGES
reviewed_head_sha: "6f0a49f22d60798bce3a9c85c99ec1a128c8dbd4"
merge_ready: false
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "CLEAN"
blockers:
- "VC_ADJUDICATION_RESULT_V1: contract_snapshot_vc_preflight_classifications_missing により blocking=true"
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status_find_renames_z
changed_files:
- ".claude/skills/impl-review-loop/scripts/ensure_contract_snapshot.py"
- ".claude/skills/impl-review-loop/tests/test_ensure_contract_snapshot.py"
allowed_paths_gate_source: review_subagent
判定: REQUEST_CHANGES方向性は正しいです。 ただし、マージ前に直すべき問題が3件あります。 P1-1. 投稿直前の fresh-go dedupe が
|
検証結果レポート(fresh snapshot)Issue #1445 / PR #1448 の current head
TEST_VERDICT:
result: PASS
head_sha: fde0506516cde0ffc29e0bb98c2a691c7795fbde
mergeable: MERGEABLE
merge_state_status: BLOCKED
branch_behind_main: false
baseline_only: false
verification_commands_pass: 8
verification_commands_fail: 0
verification_skipped_count: 0
runtime_ac_results: []VC_ADJUDICATION_RESULT_V1:
schema_version: 1
overall_status: pass
blocking: false
rerun_required: false
contract_snapshot_url: https://github.com/squne121/loop-protocol/issues/1445#issuecomment-4942505320
contract_vc_classifications_count: 8
source_integrity:
evidence_complete: true
evidence_fresh: true
current_vc_result_head_sha: fde0506516cde0ffc29e0bb98c2a691c7795fbde
reviewed_head_sha: fde0506516cde0ffc29e0bb98c2a691c7795fbde
diff_summary_head_sha: fde0506516cde0ffc29e0bb98c2a691c7795fbde
per_ac:
- { ac: AC1, status: pass }
- { ac: AC2, status: pass }
- { ac: AC3, status: pass }
- { ac: AC4, status: pass }
- { ac: AC5, status: pass }
- { ac: AC6, status: pass }
- { ac: AC7, status: pass }
- { ac: AC8, status: pass }
errors: []current head と検証証跡は一致し、全 VC が成功しました。 |
squne121
left a comment
There was a problem hiding this comment.
最終レビュー判定
fresh contract snapshot と current-head の TEST_VERDICT / VC adjudication(8/8 PASS、blocking=false)は確認しました。Allowed Paths も適合しています。
ただし、head-scoped required CI は完了したものの python-test が Ruff E501 で失敗しており、APPROVE 不可です。
LOOP_VERDICT_V2
LOOP_VERDICT_V2:
verdict: REQUEST_CHANGES
reviewed_head_sha: "fde0506516cde0ffc29e0bb98c2a691c7795fbde"
merge_ready: false
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "BLOCKED"
blockers:
- "CI_CHECK_RUN_SCOPED: python-test が Ruff E501 で失敗(test_ensure_contract_snapshot.py:481)"
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status_find_renames_z
changed_files:
- ".claude/skills/impl-review-loop/scripts/ensure_contract_snapshot.py"
- ".claude/skills/impl-review-loop/tests/test_ensure_contract_snapshot.py"
allowed_paths_gate_source: review_subagent
検証結果レポート(最終再実行)Issue #1445 / PR #1448 の current head
TEST_VERDICT:
result: PASS
head_sha: d30b1633f4eb17cee970341918b7431131f1a0b8
mergeable: MERGEABLE
merge_state_status: BLOCKED
branch_behind_main: false
baseline_only: false
verification_commands_pass: 8
verification_commands_fail: 0
verification_skipped_count: 0
runtime_ac_results: []VC_ADJUDICATION_RESULT_V1:
schema_version: 1
overall_status: pass
blocking: false
rerun_required: false
contract_snapshot_url: https://github.com/squne121/loop-protocol/issues/1445#issuecomment-4942505320
contract_vc_classifications_count: 8
source_integrity:
evidence_complete: true
evidence_fresh: true
current_vc_result_head_sha: d30b1633f4eb17cee970341918b7431131f1a0b8
reviewed_head_sha: d30b1633f4eb17cee970341918b7431131f1a0b8
diff_summary_head_sha: d30b1633f4eb17cee970341918b7431131f1a0b8
per_ac:
- { ac: AC1, status: pass }
- { ac: AC2, status: pass }
- { ac: AC3, status: pass }
- { ac: AC4, status: pass }
- { ac: AC5, status: pass }
- { ac: AC6, status: pass }
- { ac: AC7, status: pass }
- { ac: AC8, status: pass }
errors: []current head と検証証跡は一致し、全 VC が成功しました。 |
squne121
left a comment
There was a problem hiding this comment.
最終レビュー判定
current head の fresh snapshot、TEST_VERDICT(VC 8/8 PASS、skip/fallback なし)、VC adjudication(blocking=false)、head-scoped CI 全件成功、Allowed Paths 適合を確認しました。Draft 状態は merge-ready 判定の blocker としません。
LOOP_VERDICT_V2
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: "d30b1633f4eb17cee970341918b7431131f1a0b8"
merge_ready: true
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "CLEAN"
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status_find_renames_z
changed_files:
- ".claude/skills/impl-review-loop/scripts/ensure_contract_snapshot.py"
- ".claude/skills/impl-review-loop/tests/test_ensure_contract_snapshot.py"
allowed_paths_gate_source: review_subagent
Summary
ensure_contract_snapshot.pyが current Issue 本文の canonicalbody_sha256と一致する go 結果だけを再利用するよう修正しました。Checks
uv run --locked pytest .claude/skills/impl-review-loop/tests/test_ensure_contract_snapshot.py -k 'test_existing_go_matches_current_body_returns_ok or test_invalid_or_stale_go_never_returns_existing_go or test_stale_go_auto_without_post_materializes_dry_run or test_stale_go_at_post_check_does_not_dedupe or test_fresh_go_at_post_check_dedupes or test_existing_go_snapshot_change_retries_then_conflicts or test_parser_result_with_canonical_body_sha256_is_consumed' -vSchema Change Applicability
status: goの consumer が受理する入力集合を、hash欠落を含む従来の結果からcanonical body hashと現在本文が一致する結果へ狭める互換性変更のため。Schema Consumer Inventory
before
ensure_contract_snapshot.pyは parser-validなstatus: goとmarkerだけのコメントを current snapshot として採用できた。after
ensure_contract_snapshot.pyは parser-validかつcanonicalなinner.body_sha256が現在本文と完全一致するstatus: goだけを採用する。marker単独は投稿抑止のauthorityにしない。.claude/skills/issue-contract-review/SKILL.mdbody_sha256producer formalizationは別Issueの責務。.claude/skills/issue-contract-review/references/output-schema.md.claude/skills/issue-contract-review/scripts/contract_review_result_parser.py.claude/skills/impl-review-loop/scripts/ensure_contract_snapshot.py.claude/skills/issue-contract-review/scripts/run_contract_review_once.py.claude/skills/impl-review-loop/scripts/build_intake_capsule.py.claude/skills/impl-review-loop/steps/preparation.mdSafety Claim Matrix
test_updated_at_only_change_with_fresh_go_dedupesPASStest_marker_only_comment_does_not_authorize_existing_goPASStest_fresh_go_without_classifications_materializes_dry_runPASSNotes