Repository navigation
refactor(F0): keep claimed-fix history across resumed runs - #224
Conversation
A --from resume now rebuilds the claim and survival history from the change request's trusted review comments before its first stage, so a finding that already survived a claimed fix stays contested, a second survival across runs stops the cycle, and the max-effort escalation follows the seeded history. An unreadable history stops before any dispatch (BLOCKED, or HUMAN_INTERVENTION when trusted_authors is empty) and is never read as empty.
[CCR-20261013-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2Initial review: PR #224 (closes #179)Verdict: APPROVED. Head Scope
Findings[REV-001] · medium · open · - · blocks:no — A trusted comment with finding headers but no run line makes every
|
[CCT-20261013-001] · cheap_coder · anthropic/claude-sonnet-5-5→? · high · triaged:58ed54f94deb4791ee3093947626ac1ec9cb8255 · schema:2[CCR-20261013-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2Resolution: PR #224 (closes #179)Status: RESOLVED. Triage was judged against [REV-001] · medium · resolved · valid · blocks:no — A trusted comment with finding headers but no run line makes every
|
[CCR-20261013-002] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2[CCT-20261013-001] · cheap_coder · anthropic/claude-sonnet-5-5→? · high · triaged:58ed54f94deb4791ee3093947626ac1ec9cb8255 · schema:2[CCR-20261013-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2Rereview: PR #224 (closes #179)Verdict: APPROVED. Head Changed since the previous review (
|
…-history # Conflicts: # scripts/run_cycle.py
[CCR-20261013-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2[CCR-20261013-002] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2[CCT-20261013-001] · cheap_coder · anthropic/claude-sonnet-5-5→? · high · triaged:58ed54f94deb4791ee3093947626ac1ec9cb8255 · schema:2[CCR-20261013-003] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2Rereview: PR #224 (closes #179)Verdict: APPROVED. Head Changed since the previous review (
|
Closes #179
Work item: datacas/code-cycle-toolkit#179 (GitHub Issues). Runtime attempt
attempt-a3680e15ce0c4393aed1d208feb0c1ae.Diagnosis
--fromstarts the repeated-findings ladder at zero, so a finding that already survived a claimed fix is not contested (seen with REV-001 in Record verified work-item resolution outcomes #120).run_cycle.py, wherehistorystarts empty and only completed stages of the current run are appended. The existing testtest_a_resumed_cycle_starts_with_no_survivalsasserted that behaviour. No separate repro command was needed.max.code_cycle.review.trusted_authors(review_contract.comment_run_history, sharing_place_recordwithcomment_runs) and seedhistorybefore the first resumed stage. No new telemetry storage, stop reason, or schema change. Classification:isolated_defect; decision:implement.Behaviour
trusted_authors: stop withHUMAN_INTERVENTION.BLOCKED. The reason names the comment id and the failure. The stop reason staysstage_not_completed.cycle.py: an escalated resolve without a previous resolve target (only possible after a resume) now runs atmaxon the routed primary.check_repeated_findings_laddervalidator phrases no longer say a resume starts at zero.Work units
WU-1scripts/review_contract.py,scripts/run_cycle.py,scripts/cycle.py,scripts/validate-package.py,docs/review-cycle.md,docs/instrumentation.md, both orchestratorSKILL.md,CHANGELOG.mdtests/test_run_cycle.py(ResumedHistoryTests),tests/test_review_contract.py(CommentRunHistoryTests),tests/test_issue_review.pyharnessVerification (agent-reported)
python3 scripts/validate-package.py: exit 0 (VALID: 15 skills ...).python3 -m unittest discover -s tests: exit 0, 1241 tests, OK.read_change_request_commentsandcomment_run_historyagainst 12 real PRs of this repository throughgh; all read without error (for example fix(runtime): probe Codex linked-worktree metadata access #206: 10 comments, 7 runs).ghcall is mocked. The local run shares no assumptions with CI beyond Python 3.