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
Session Handoff [auto-1640]: Assert the Planted Registration Defects Are Reported (#1640) #1849
Fix A Registration Test Asserts Two Defects Are Not Misreported Without Asserting They Are Reported #1640 in host-setup/agent-safety/claude/test_install.py.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 says "is not registered" or "never runs". Add assertions that each of the two planted defects is reported, matching the specific problem text registration_problems raises for each shape (read the sibling tests above it for the standard: assert the problem it should raise, not that one was raised), while keeping the two existing absence assertions. Done looks like: the test passes on develop, and fails when registration_problems is mutated to stop reporting either planted defect (prove it by making that mutation locally and reverting it). The installer suite passes.
Drive the pull request to develop with drive-pr, its body carrying Closes on promotion: #1640, and close this lane out.
External blockers
None known.
Internal dependencies
None. #1641 (six installer tests failing on a dirty checkout) is in the same file but is a separate issue with its own open choice; do not fold it in. Commit before running the suite if the dirty-checkout failures from #1641 obscure the result.
State
No branch, worktree or pull request exists for this lane yet. Re-derive from git worktree list and the open pull request list before starting.
The parked decision queue
0 parked decisions.
What the last round did
Nothing. This lane was created by an unattended-handoff picker from the open backlog.
PR Assert the Planted Registration Defects Are Reported #1851 merged to develop as 7e82bb2 (squash of 89c7c6b): added assertions that test_an_entry_with_a_defect_is_not_also_reported_absent actually reports both planted defects (the SessionEnd type: "prompt" shape and the PreToolUse matcher: "Edit" shape), alongside the original absence assertions. Verified by locally mutating registration_problems to suppress each planted defect in turn and confirming the test fails, then reverting.
Full test_install.py suite (65 tests) passes on develop.
Activity
ptr727 commentedon Sep 26, 2026
Fixed and merged.
test_an_entry_with_a_defect_is_not_also_reported_absentactually reports both planted defects (the SessionEndtype: "prompt"shape and the PreToolUsematcher: "Edit"shape), alongside the original absence assertions. Verified by locally mutatingregistration_problemsto suppress each planted defect in turn and confirming the test fails, then reverting.test_install.pysuite (65 tests) passes on develop.Closing this handoff lane.