Skip to content

Drive NRA sibling_override and restated_base to zero across src/toad - #2236

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

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

Conversation

@trissim

@trissim trissim commented Nov 24, 2026

Copy link
Copy Markdown

Batch 28 NRA structural slop sweep (490 -> 467 raw findings; 0 sibling_override, 0 restated_base, 0 restated_override, 0 repeated_property_alias_hooks across all of src/toad/):

  • Remove restated FlashHost base from Conversation
  • Hoist 16 remaining sibling_override families across ConfiguredView, CompletionPopup, NeovimRequester, LiteralProjectLink, TabTransition, QueueSource, WorkspaceSource/ActiveWorkspaceSource, ScreenContent/PreparableContent, LiteralToolOutputPart, ExecutionTerminal, CommandFormCore, Page.mode, SessionScope.thread_identity, RetainedBytesStorage, FrameState/DisplayingFrame, and QuestionAction.available
  • Update test_home_reads_who_the_reader_is_off_the_loop_once_before_it_opens_a_target for thread_identity hoisted onto SessionScope

Verified with qt_inherit_ratchet.py (0/0/0/0/0), shadow_check.py (0), guarded_imports.py (0), all 137 tests/guards/ tests (outside test_client_imports_without_textual), and cached NRA confirming 0 remaining sibling_override / restated_base.

…(Batch 28)

- Remove restated FlashHost base on Conversation (already inherited via MenuConversation; restated_base -> 0).
- Hoist ConfiguredView.footer_compact = True (removing duplicates on FilePreviewScreen and MainScreen; WelcomeScreen stays False).
- Hoist CompletionPopup.requires_completion = True (removing duplicates on PathSearch and SlashComplete).
- Default NeovimRequester.resolve_reply to reply.resolve(request, value) (removing duplicates on NeovimSession and NeovimHost).
- Add LiteralProjectLink(ProjectLink, declared_name=None) owning href for MissingProjectFileLink and ExternalProjectLink.
- Add TabTransition(TransitionTarget) owning animation_visible for TabGrowth and TabGhost.
- Default QueueSource.queue_scope to NoQueueScope() (removing duplicates on NoQueueSource and BusQueueSource).
- Default WorkspaceSource.retire to return self; drop redundant abstract BoundWorkspaceSource.current; add ActiveWorkspaceSource owning current() for LoadingWorkspaceSource and ShownWorkspaceSource.
- Default ScreenContent.line/wait/prepare and add PreparableContent owning prepare() for OpeningContent and ReadyContent.
- Add LiteralToolOutputPart(ToolOutputPart, declared_name=None) owning line_blocks for SentMessageToolOutputPart and PublishedSentMessageToolOutputPart.
- Add ExecutionTerminal(Terminal) owning resize_process for CommandPane and TerminalTool.
- Hoist CommandFormCore.dismiss_control (removing duplicates on QtActionProperties and CommandForm).
- Default Page.mode to return self.id (removing duplicates on QtOpeningSessionView and QtMailboxView).
- Default SessionScope._identity/thread_identity (removing duplicates on HomeSessionOrigin, SessionView, QtMailboxView, and redundant abstract/restated hooks on toad.session_scope.SessionScope).
- Add RetainedBytesStorage(ReusableStorage) owning result_size for SourcePageWork and TranscriptPageRenderTask.
- Default FrameState.displayed to no-op and add DisplayingFrame for PendingFrame and WritingFrame.
- Hoist QuestionAction.available (removing duplicates on SelectionAction and SelectAction).
- Cached NRA raw findings: 490 -> 467 (restated_override: 0, restated_base: 0, repeated_property_alias_hooks: 0, sibling_override: 0).
@trissim
trissim merged commit 8243d9a 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