Repository navigation
Conversation
|
Implementation summary for issue #410 Rejected receipts now include their invalid field, comment identity, and declared attempt. Resume compares that declaration with the journaled review attempt for the current change request and head; only a match stops. Other rejected receipts are warnings and trigger a fresh review. Verification: the focused 22-test suite, package validator, BasedPyright, and diff check passed. The required full discovery command exceeded the 10-minute limit and remains unverified, so this implementation attempt is reported as |
[CCR-20261203-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2CHANGES_REQUESTED on
Findings, evidence, verification, CI[REV-001] · high · open · - · blocks:yes — Gated rejected receipt is neither stopped nor reported on automatic resumePath: [REV-002] · low · open · - · blocks:no — Declined-check cause is not its own stop entryPath: [REV-003] · low · open · - · blocks:no — Any rejected receipt forces a re-review on every resumePath: Acceptance criteria
Security triageNot a sensitive change: the security audit was skipped after triage (neither the deterministic rule nor review matched; no auth, input, secrets or CI paths touched). Verification
CI (parallel policy, read once)Passed: Classify the change, Skills/manifests/Bash installer, Windows test shards 1-4. Pending: PowerShell installer. Documentation reviewed
|
[CCT-20261203-001] · cheap_coder · openai/gpt-6-luna→? · high · triaged:43d5a08fc0c1ff15be51db6312702cae51f91102 · schema:2Resolved in
Delta review found no issues; security audit was not required. Tests: 2,916 passed (1 skipped); package validation and type check passed. No GitHub checks were reported. Finding history, evidence, and prior receipts[CCR-20261203-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2[REV-001] · high · open · - · blocks:yes — Gated rejected receipt is neither stopped nor reported on automatic resumeOriginal finding: [REV-002] · low · open · - · blocks:no — Declined-check cause is not its own stop entryOriginal finding: [REV-003] · low · open · - · blocks:no — Any rejected receipt forces a re-review on every resumeOriginal finding: [REV-001] · high · resolved · valid · blocks:yes — Gated rejected receipt is neither stopped nor reported on automatic resumePath: [REV-002] · low · resolved · valid · blocks:no — Declined-check cause is not its own stop entryPath: [REV-003] · low · resolved · valid · blocks:no — Any rejected receipt forces a re-review on every resumePath: Agent-reported verification:
GitHub checks read once after push on Documentation reviewed: Prior implementation receipt: Prior review receipt: |
Fix rejected receipt attribution on resume
Closes #410
Summary
Rejected schema-2 receipts from trusted change-request comments now report the invalid field, the carrying comment ID and URL, and the receipt's declared attempt ID. On resume, the runtime compares that declaration with the journaled last
revieworrereviewattempt for this change request and current head. A matching rejection stops with a diagnosis; a different or unavailable journal identity is a warning and the current head is reviewed again. Rejected receipts are never reused as evidence. Explicit--from reviewor--from rereviewdispatches a fresh attempt and clears the old gate.Stop causes are preserved as separate, deterministic, deduplicated text entries. The result and telemetry schemas are unchanged.
Diagnosis
The incident described in #410 is historically documented. A regression now builds a rejected receipt inside the same published-comment fixture used by the cycle and verifies its comment and attempt identity. Command:
python3 -m unittest tests.test_ci_policy.AccumulatingCommentTests tests.test_ci_policy.StopCauseTests tests.test_ci_policy.ResumeTests— passed, 22 tests.The refined issue hypothesis was confirmed in
scripts/cycle_review_gate.py: resume parsed trusted comments with a generic exception path, losing comment identity, andreview_attemptsis reset for each new session instead of being recovered from journaled review dispatches. The invariant is that only the journaled dispatch for this pull request and exact head can make its rejected receipt a stop; a rejected receipt is never evidence. A permission refusal remains a separate cause.Related items reviewed: #406, #393, #382, #438 and #459. #406, #393, #438 and #459 are closed; #382 remains open and is out of scope. The code search covered the review gate, journal event records, resume dispatch path, and the owning execution-plan documentation.
Work units
WU-1scripts/cycle_review_gate.py,scripts/cycle_session.py,tests/test_ci_policy.py,docs/execution-plan.mdpython3 scripts/validate-package.py,basedpyright, andgit diff --checkpassed. Full discovery exceeded the 10-minute limit and remains unverified.Verification
python3 -m unittest tests.test_ci_policy.AccumulatingCommentTests tests.test_ci_policy.StopCauseTests tests.test_ci_policy.ResumeTests(22 tests).python3 scripts/validate-package.py.basedpyright(0 errors, 0 warnings, 0 notes).python3 -m unittest(0 tests discovered by this command).python3 -m unittest discover -s testsdid not finish within the required 10-minute limit; it was stopped at 10 minutes. The command emitted some errors and a failure before timing out, without reaching its traceback summary.rtk git diff --check.Documentation review
Reviewed
docs/execution-plan.md(updated),docs/README.md,README.md,CONTRIBUTING.md,AGENTS.md,SECURITY.md, and.github/ISSUE_TEMPLATE/work-item.md. There is no pull-request template. The behavior belongs in the execution-plan guide; the index and overview only link to topic pages, and the other reviewed guidance remains current.CI policy is parallel. The code-host checks for the pushed head are reported separately after publication; this stage does not wait for them.
Checks of the published head
Head:
43d5a08fc0c1ff15be51db6312702cae51f91102.Classify the change: passed.Windows test shard (windows-1): pending.Windows test shard (windows-2): pending.Windows test shard (windows-3): pending.Windows test shard (windows-4): pending.Skills, manifests, and Bash installer: pending.