You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A Registration Test Asserts Two Defects Are Not Misreported Without Asserting They Are Reported #1640
test_an_entry_with_a_defect_is_not_also_reported_absent plants a SessionEnd type: "prompt" and a PreToolUse matcher: "Edit", then asserts only that no problem contains "is not registered" and none contains "never runs". It never asserts the two planted defects are reported at all, so it passes unchanged if registration_problems stops reporting them entirely, which is the strictly worse regression.
Its sibling three tests above states the standard it misses: "Each shape asserts the problem it should raise rather than that it raised one, since a second and false 'not registered' line satisfied a bare truthiness check by itself."
The fix is to assert both planted defects appear alongside the existing absence assertions. Found by a local strict review pass on #1632.
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.
Activity
Assert the Planted Registration Defects Are Reported (#1851)
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.