Repository navigation
fence 1c: require Mask's mechanism, not just its properties - #62
Conversation
CodeRabbit posted this on #60 forty-four seconds before that PR merged, so it landed against an already-merged head. Fixed here. Verified before changing anything: a note reading "Both halves are checked at each top-level facade call, and neither is not atomic" -- false about RowStore, naming no mechanism at all -- passed 38/38. The two required phrases are properties a rewrite can KEEP while deleting what they are properties OF. This breaks the rule the previous instance established, one entry later. I disabled 1c by DELETING the Mask bullet, saw red, and reported the requirement protected. Deleting the bullet removed the two phrases along with the mechanism, so the test proved only that deletion is caught. A disable proves the path it walks and no other: eleven taught that a disable must not be wider than the regression, twelve adds that it must not be narrower in kind. Found while fixing it: fence 1c never received the normalization written for 1b. "generation-checked registry" wraps in the doctrine, so the new assertion could not have matched on raw lines. The identical defect one function over, surfaced only because a later assertion needed a phrase that happened to wrap. 1c now folds whitespace and case exactly as classJavadocOf does. Disable-run, red-then-green on the case that matters: gut the mechanism while preserving both phrases -> the new assertion fires alone. Gate: 360 checks, 0 failures (was 359).
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_6bc0dd0e-fd7d-46c0-99fe-ad232bace0dd) |
The entry said a review's residual concern was tested and did not hold. My test deleted the Mask bullet, which removed the two required phrases along with the mechanism, so it proved only that deletion is caught. The real case is a rewrite preserving both phrases -- measured, 38/38 green. Struck in place rather than rewritten, since the wrong version is the point: a disable proves the path it walks and no other, and I reported a claim disproven on a test that could not have seen it. Corrected before this PR merges rather than after, because the entry would otherwise enter the durable record asserting the opposite of what #62 establishes.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe doctrine fence test now normalizes extracted Markdown text and verifies wording for Mask’s re-validation mechanism and RowStore’s unchecked epoch. The issues ledger records deletion-only coverage, rewrite regressions, timing concerns, and missing whitespace normalization. ChangesDoctrine fence validation
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: Poem
✨ Finishing Touches📝 Generate docstrings
Comment |
CodeRabbit posted this on #60 44 seconds before that PR merged, so it landed against an already-merged head. I merged into a review I hadn't read.
The finding, verified before touching anything
Fence 1c required
at each top-level facade callandnot atomic. Those are properties a rewrite can keep while deleting what they are properties of.Measured — this note passes 38/38:
False about
RowStore, naming no mechanism at all, fence green.Why I missed it, which is the part worth recording
I did disable-test 1c before merging #60, and reported to the operator that the concern was "disproven". My disable deleted the
Maskbullet — which removed the two required phrases along with the mechanism, so it went red. That proved deletion is caught. CodeRabbit's case is rewrite.Instance eleven taught that a disable must not be wider than the regression. Twelve adds that it must not be narrower in kind: deletion and rewrite are different regressions, and a fence can catch one while missing the other.
Found while fixing it — the same defect one function over
generation-checked registrywraps in the doctrine, so the new assertion could not have matched on raw lines. The whitespace/case normalization was written for fence 1b and simply not carried to 1c when 1c was built. It surfaced only because a later assertion happened to need a phrase that wraps. 1c now folds exactly asclassJavadocOfdoes.Disable run
Gate: 360 checks, 0 failures (was 359).
Note on #61
#61 (batched arc entries) carries a line saying the residual claim was tested and does not hold. That is now half-wrong and is corrected there before it merges — the entry stays, restated.
Generated by Claude Code
Summary by CodeRabbit