Repository navigation
Clear NRA restated_override, TerminalMessage, SelfSearchedNode, and phase duplicates - #2234
Merged
Merged
Conversation
…ttingPhase, and SuspendedTranscript duplicates - Delete restated SessionScope.matches_launch (already on SharedSessionScope), driving NRA restated_override to 0. - Terminal.TerminalMessage: own terminal + control property once for Finalized, AlternateScreenChanged, LongRunning, ShellTerminal.Terminate, and ShellTerminal.Interrupt (also fixing latent teminal->terminal typo bug on ShellTerminal.Terminate/Interrupt and Conversation.on_shell_terminal_terminate). - SelfSearchedNode(ContextNode): own search_roots and search_description once for ReferenceNode, RecordedTurnNode, AnnotationNode, and AnnotationSourceNode. - PendingSubmissionPhase / SettledSubmissionPhase: own submitting() once for NotYetSent/PromptUnstarted and DeliveryOutcome/PromptStarted. - SuspendedTranscript.successors: default to (DetachedTranscript,), removing duplicates on ClosingTranscript and RetiredProjectionTranscript.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clears six more
nominal_refactor_advisorfindings (8 files, -27 net lines):SessionScope.matches_launch(session_scope.py, already onSharedSessionScope), driving NRArestated_overrideto 0.Terminal.TerminalMessage(widgets/terminal.py,widgets/shell_terminal.py,widgets/conversation.py) owningterminal+controlonce forFinalized,AlternateScreenChanged,LongRunning,ShellTerminal.Terminate, andShellTerminal.Interrupt— also fixing the latentteminal->terminaltypo bug whereevent.controlonTerminate/InterruptraisedAttributeError.SelfSearchedNode(ContextNode)(core/context_inspection.py) owningsearch_rootsandsearch_descriptiononce forReferenceNode,RecordedTurnNode,AnnotationNode, andAnnotationSourceNode.PendingSubmissionPhase/SettledSubmissionPhase(client/bus_submission.py,conversation_submission.py) owningsubmitting()once forNotYetSent/PromptUnstartedandDeliveryOutcome/PromptStarted.SuspendedTranscript.successors(client/history_state.py) to(DetachedTranscript,), removing identical overrides onClosingTranscriptandRetiredProjectionTranscript.Checks
tools/guarded_imports.py: 0pytest -q tests/guards/test_shared_hook_sequences.py tests/guards/test_deleted_interface_mechanisms.py tests/guards/test_terminal_attention.py tests/guards/test_transcript_history_has_no_lifecycle_flags.py: 49 passed.