Repository navigation
Recover findings across comment history - #22
Conversation
Initial review —
|
| Command | Result |
|---|---|
python3 -m unittest tests.test_review_contract -v |
47 tests, OK |
python3 -m unittest discover -s tests -v |
423 tests, OK |
python3 scripts/validate-package.py |
VALID: 12 skills (6 cycle, 6 supporting), shared sections in sync, cross-agent manifests aligned |
| targeted reproduction of REV-001, REV-002, REV-003 | all three reproduced as quoted above |
gh pr checks 22 |
all checks pass |
Runtime: Python 3.10.12. Findings REV-001, REV-002 and REV-003 are runtime
evidence. REV-004, REV-005 and REV-006 are code and convention inspection.
Unverified
- Windows behaviour was not executed locally; CI covers it and passes.
- No end-to-end run of a cycle skill against a real change-request history was
performed, so the findings describe the contract module's behaviour and the
instructions that drive it, not an observed orchestrated cycle. - The
skills@1.5.23CLI discovery step was not run locally; CI covers it.
CI
Both jobs the repository defines ran on this head and passed, on both platforms:
| Check | State |
|---|---|
| Skills, manifests, and Bash installer (ubuntu-latest) | pass |
| PowerShell installer (windows-latest) | pass |
Both jobs run scripts/validate-package.py and unittest discover -s tests, so
the new tests are gated. No defined check is missing, pending, skipped, or
cancelled.
Residual risk
The recovery rule is now stated in three skills and implemented in the reference
parser, but the parser is a reference: the skills' prose is what an agent
actually follows, and that prose says to fold the complete history without
saying whose comments count. Until REV-001 is closed, the more faithfully a skill
follows the new instruction, the more exposed the recovered verdict is. REV-003
means the first legitimate re-score of a finding stops the cycle with no
documented way to restart it.
Verdict
CHANGES_REQUESTED. The issue's stated behaviour is implemented and tested, and
the shared sections are in sync. REV-001 and REV-002 must be closed before
approval: both let a third-party comment control the recovered review state, one
by forging a resolution and one by making recovery fail permanently. REV-003 is
not blocking but will surface the first time a finding is legitimately re-scored.
Resolution update —
|
Re-review —
|
| Command | Result |
|---|---|
python3 -m unittest tests.test_review_contract |
51 tests, OK |
python3 -m unittest discover -s tests |
427 tests, OK |
python3 scripts/validate-package.py |
VALID: 12 skills (6 cycle, 6 supporting), shared sections in sync, cross-agent manifests aligned |
git diff --check |
clean |
reproduction of REV-001, REV-002, REV-003 against 35a6e40 |
all three fixed, as quoted above |
| reproduction of REV-007 and REV-008 | both reproduced, as quoted above |
Runtime: Python 3.10.12.
Unverified
- REV-005 and REV-006 were maintainability and convention findings with no
runtime reproduction; their fixes were confirmed by reading the code and the
two files, plus the passing suite. - Windows behaviour was not executed locally; CI covers it and passes.
- No end-to-end run of a cycle skill against a real change-request history was
performed. The evidence covers the reference parser and the instructions that
drive it, not an observed orchestrated cycle. recover_comment_historyraising on an emptytrusted_authorsset has no
test; it was confirmed by readingscripts/review_contract.py:453.
CI
Both jobs the repository defines ran on 35a6e40 and passed on both platforms.
| Check | State |
|---|---|
| Skills, manifests, and Bash installer (ubuntu-latest) | pass |
| PowerShell installer (windows-latest) | pass |
gh pr checks 22 reports 4 passed, 0 failed. Both jobs run
scripts/validate-package.py and unittest discover -s tests, so the new tests
are gated. No defined check is missing, pending, skipped, or cancelled.
Residual risk
The trust boundary is real and the forgery vector is closed, but the recovered
record can still lose a blocking finding through REV-007, and the trust anchor
REV-008 describes is both undefined and silent when wrong. Both are narrower than
the original REV-001: they need a trusted-but-buggy run or a misconfiguration,
not an arbitrary commenter.
The three skills stay byte-identical, which the validator confirms, so the
instruction drift risk is unchanged.
Verdict
CHANGES_REQUESTED. All six previous findings are fixed and five of them were
verified by re-running their original reproductions. REV-007 and REV-008 block
approval: the first reintroduces the loss of a blocking finding that issue #19
requires to be BLOCKED, and the second leaves the new trust check resting on an
input nothing defines, failing silently when it is wrong. REV-009 is a docstring
and contract note.
Resolution update —
|
Re-review —
|
| Command | Result |
|---|---|
python3 -m unittest tests.test_review_contract |
55 tests, OK |
python3 -m unittest discover -s tests |
431 tests, OK |
python3 scripts/validate-package.py |
VALID: 12 skills (6 cycle, 6 supporting), shared sections in sync, cross-agent manifests aligned |
git diff --check |
clean |
reproduction of REV-001 through REV-004 on f3eb800 |
all still fixed |
reproduction of REV-007 and REV-008 on f3eb800 |
both fixed, as quoted above |
| reproduction of REV-010 | reproduced, as quoted above |
Runtime: Python 3.10.12.
Unverified
- REV-005, REV-006 and REV-009 were maintainability, convention and
documentation findings with no runtime reproduction; their fixes were
confirmed by reading the code and the affected files, plus the passing suite. - Windows behaviour was not executed locally; CI covers it and passes.
- No end-to-end run of a cycle skill against a real change-request history was
performed. The evidence covers the reference parser and the instructions that
drive it, not an observed orchestrated cycle. REV-010's impact on
cc-initial-reviewis therefore argued from the skill's documented recovery
order, not from an observed blocked run. code_cycle.review.trusted_authorsis read by agents following the prose; no
script inscripts/parses it, so there is no automated check that a
repository's value is well-formed.
CI
Both jobs the repository defines ran on f3eb800 and passed on both platforms.
| Check | State |
|---|---|
| Skills, manifests, and Bash installer (ubuntu-latest) | pass |
| PowerShell installer (windows-latest) | pass |
gh pr checks 22 reports 4 passed, 0 failed. Both jobs run
scripts/validate-package.py and unittest discover -s tests, so the new tests
are gated. No defined check is missing, pending, skipped, or cancelled.
Residual risk
Collision detection is now title-only, which is what makes REV-007 and REV-003
coexist, but it means a reworded title for one ID is a permanent
FindingCollisionError across an append-only history. The shared section tells
republishers to preserve the first title, so the rule is stated where it needs to
be — this is a trade-off I recommended in the previous review, and it is worth
naming rather than leaving implicit. A reword reaching a published comment cannot
be undone without editing history on the host.
Recovery still depends on each adapter supplying an authenticated login; the
parser validates that the value is a non-empty string, not that it came from
authenticated metadata.
Verdict
CHANGES_REQUESTED. All nine previous findings are fixed, seven of them verified
by re-running their original reproductions against f3eb800. REV-010 blocks
approval: the guard added for REV-008 cannot distinguish a wrong allow-list from
an unreviewed change request, so a change request that has merely been discussed
cannot enter the cycle. REV-011 is a one-line configuration follow-up in this
repository.
Resolution update —
|
Re-review —
|
| Command | Result |
|---|---|
python3 -m unittest tests.test_review_contract |
56 tests, OK |
python3 -m unittest discover -s tests |
432 tests, OK |
python3 scripts/validate-package.py |
VALID: 12 skills (6 cycle, 6 supporting), shared sections in sync, cross-agent manifests aligned |
git diff --check |
clean |
reproduction of REV-001, REV-002, REV-003, REV-007, REV-008 on 2aa6248 |
all still fixed |
| reproduction of REV-010, both halves | fixed, as quoted above |
| reproduction of REV-012 and REV-013 | both reproduced, as quoted above |
As an end-to-end check, this change request's own comment history was folded with
the branch's own recover_comment_history and trusted_authors={"datacas"}: it
returns every finding with the correct status and frozen dispositions, no
recovery notes, and the next free ID.
Runtime: Python 3.10.12.
Unverified
- REV-004, REV-005, REV-006, REV-009 and REV-011 had no runtime reproduction of
their own; they were confirmed by reading the code and the affected files, plus
the passing suite. - Windows behaviour was not executed locally; CI covers it and passes.
- No orchestrated cycle was run end to end. The evidence covers the reference
parser, the validator, and the instructions that drive them. code_cycle.review.trusted_authorsis read by agents following the prose; no
script inscripts/parses it, so nothing checks a repository's value
automatically.
CI
Both jobs the repository defines ran on 2aa6248 and passed on both platforms.
| Check | State |
|---|---|
| Skills, manifests, and Bash installer (ubuntu-latest) | pass |
| PowerShell installer (windows-latest) | pass |
gh pr checks 22 reports 4 passed, 0 failed. Both jobs run
scripts/validate-package.py and unittest discover -s tests, so the new tests
are gated. No defined check is missing, pending, skipped, or cancelled.
Residual risk
Collision detection stays title-only, so a reworded title for one ID is a
permanent FindingCollisionError across an append-only history. The shared
section instructs republishers to preserve the first title, which is where that
rule belongs, and it is the trade-off that lets REV-003 and REV-007 coexist.
Recovery still depends on each adapter supplying an authenticated login; the
parser validates that the value is a non-empty string, not its provenance. The
allow-list is maintained by hand and nothing checks it.
REV-012 and REV-013 are open. Both fail closed, neither can produce a wrong
review verdict, and both are cheap to close later.
Verdict
APPROVED. The reviewed head 2aa6248 matches the change-request head, all four
defined checks pass, and every one of the eleven previous findings is classified
as corrected — seven of them re-verified by running their original reproductions
against this head. The two new findings are low and do not block approval.
Summary
Verification
Issue: #19
#19