Repository navigation
feat(#1021): reviewer false-positive arbitration で unreasoned blocker を iteration 消費なしで降格する - #1032
Conversation
Implements REVIEWER_CLAIM_REPLAY_V1 — a deterministic checker that verifies whether issue-reviewer C4/VC-syntax/missing-section blockers are backed by contract_readiness_check, vc_contract_syntax, or baseline_vc_preflight source results. Unbacked blockers are classified as reviewer_claim_unbacked_by_deterministic_checker and do not consume loop iterations. Includes 16 pytest tests covering AC1–AC5. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Preview URL✅ verified live assets: https://squne121.github.io/loop-protocol/pr-1032/ The preview will be removed when this PR is closed. |
結論Request changes。PR #1032 はまだ merge 不可です。 PR は draft/open、 主要 BlockerB1. 実ループに組み込まれていないため、機能が dead code#1021 は scope に これは #1021 の中核 AC を満たしていません。 B2. deterministic checker の実スキーマと fixture がずれている
つまり、テストは実 producer の contract を再現していません。これは routing-critical な arbitration ではかなり危険です。fixture が green でも、本番 payload で別判定になります。 B3. rule_id の prefix 判定が広すぎ、誤って deterministic-backed にする
この実装だと、たとえば reviewer が C4 同様に B4.
|
|
STATUS: ready_for_review
|
Summary
reviewer_claim_replay.pyをISSUE_REVIEW_RESULT_COMPACT_V1artifact とISSUE_CONTRACT_READINESS_RESULT_V1artifact の consumer に修正issue-refinement-loop/SKILL.mdに Step 2a arbitration を追加し、needs-fixから即 Step 4 rewrite に進まない routing を明記startswith("LP")/startswith("LP0")を廃止body_sha256 + reviewer_blocker_code + normalized_kindベースの state file 永続化で consecutive false-positive を判定Test plan
python3 -m py_compile .claude/skills/issue-refinement-loop/scripts/reviewer_claim_replay.pyuv run pytest .claude/skills/issue-refinement-loop/tests/test_reviewer_claim_replay.py -quv run pytest .claude/skills/issue-refinement-loop/tests -qVerification
python3 -m py_compile .claude/skills/issue-refinement-loop/scripts/reviewer_claim_replay.pyuv run pytest .claude/skills/issue-refinement-loop/tests/test_reviewer_claim_replay.py -quv run pytest .claude/skills/issue-refinement-loop/tests -qNotes
pnpm typecheck/pnpm lint/pnpm test/pnpm buildは今回未実行です。変更が Python と skill entrypoint のみで、issue-refinement-loop全体テスト 693 件を優先しました。vc_contract_syntax.pyは shared parser のため、JSON producer artifact がある場合だけ optional input として受け取る前提にしています。Closes #1021
Refs #1014