Skip to content

Clear NRA lambda_fold, latent_implementation_roster, numeric_literal_dispatch, and missing_mixin/own_type_test findings - #2237

Merged
trissim merged 1 commit into
mainfrom
toad-qt/nra-slop-sweep-29
Nov 24, 2026
Merged

trissim merged 1 commit into
mainfrom
toad-qt/nra-slop-sweep-29

Conversation

@trissim

@trissim trissim commented Nov 24, 2026

Copy link
Copy Markdown

Batch 29 NRA structural slop sweep (467 -> 458 raw findings; 0 lambda_fold, 0 latent_implementation_roster, 0 numeric_literal_dispatch, 0 sibling_override, 0 restated_base, 0 restated_override, 0 repeated_property_alias_hooks):

  • Hoist AgentConnection defaults (ready, get_info, set_session_name, cancel, stop)
  • Override AnsweringReads.tell() once instead of duplicating 4 interest no-ops
  • Add SidebarPlacement.available(conversation_open), NoBlockSpan.open_pinned, MouseTracking.tracks_move, SessionCommands(DeclaredFamily), SessionLabel._click_handlers
  • Drop match PickerRow() type test in ToadApp.picked_bus

Verified with qt_inherit_ratchet.py (0/0/0/0/0), shadow_check.py (0), guarded_imports.py (0), runtime invariant assertions, and 137/137 tests/guards/ passing.

…dispatch, and missing_mixin/own_type_test findings (Batch 29)

- AgentConnection: default ready, get_info, set_session_name, cancel, and stop (removing duplicates from NoAgentConnection and AgentBase).
- AnsweringReads: override Observing.tell() to no-op instead of duplicating all 4 interest methods.
- SidebarPlacement: add available(conversation_open) classmethod (overridden on ThreadSidebarPlacement), removing the type test in QtToadApp._pane_available.
- ToadApp.picked_bus: replace match PickerRow() type test with direct None check.
- NoBlockSpan/BlockSpan: add open_pinned(window) and use partial in TranscriptHistory._place_candidate (drives NRA lambda_fold to 0).
- MouseTracking: add tracks_move(button) referencing MouseAnyEventMode.tracking and MouseDragMode.tracking (removes restated 'all'/'drag' literals in Terminal.on_mouse_move).
- SessionCommands: register via DeclaredFamily so MainScreen.COMMANDS derives from SessionCommands.members_with(SessionCommands) (drives latent_implementation_roster to 0).
- SessionLabel.on_click: dispatch button clicks through _click_handlers table (drives numeric_literal_dispatch to 0).
- Cached NRA raw findings: 467 -> 458.
@trissim
trissim merged commit 2867eab into main Nov 24, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant