Skip to content

Apply 9 mechanical NRA #658/#660 wave 4a recipes (P58/P59) and declare antigravity hook boundary - #5292

Merged
trissim merged 1 commit into
mainfrom
nra/p58-wave4
Nov 28, 2026
Merged

trissim merged 1 commit into
mainfrom
nra/p58-wave4

Conversation

@trissim

@trissim trissim commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Applies 9 verified mechanical NRA codemod recipes via NominalRefactorAdvisor@4dd3033d (#658 + #660, zero hand-edits in src/), bringing total landed mechanical NRA recipes on agent-comms from 89 -> 98:

  • P58 sibling_override (8 recipes):
    • 3d5b66fcdf: NamedConversation.resolved(self, snapshot: RegistryProvenance) -> Self (messaging/read_basis.py, live verification of #658 partial Self return rewrite + ChildBaseRebase!)
    • 7c6b903db6 + 3feed438b1: CatchUpReadingPhase + LiveReadingPhase (cli_bridges/runtime_updates.py, antigravity_protocol.py, claude_protocol.py, live verification of #660 deferred same-module forward-ref fix!)
    • dec7c0c1c0: EventRecordingRuntimeUpdate (cli_bridges/runtime_updates.py)
    • 16173f19cb: WaitCompletingGoalAction (planning/goal_actions.py)
    • f9d96d3f54: DirectoryFilesystemRole (storage/private_path.py)
    • afeb88e1dc: UnwrittenRuntimeLocation.is_resumable (execution/unstarted_runtime.py, cli_inbox_backend.py)
    • 18dc7ee100: HiddenThreadStatus (registry/thread_status.py)
  • P59 sibling_override_step (1 recipe):
    • 83c445983a: ReplyRoute.sql / _sql_step (messaging/channel_targets.py)
  • pyproject.toml: declared forbidden-imports = [{ from = "agent_comms_hooks.antigravity", to = ["agent_comms"] }] matching tests/test_hook_import_path.py so NRA HiddenImportPlan automatically preserves the stdlib-only 15ms hook fast path.
  • Excluded 97e1ad1b0c (CodingTool._parse_resource), which caught NRA bench bug Test the public fields that pinned Toad builds read from agent-comms #7 (ReplaceHomeStub removing the last @abstractmethod on an AutoRegisterMeta intermediate class, registering "coding" — fixing in NRA next).

Verification

  • REL_IMPORTS=0, IMPORTED=950/950 ERRORS=0
  • typing.get_type_hints(NamedConversation.resolved)['return'] is typing.Self
  • Focused pytest across all 16 touched test files: 285 passed, 0 failed, 1 skipped (40/40 in test_native_tool_declarations.py + test_channel_coding_tools.py after dropping 97e1ad1b0c).

@trissim
trissim merged commit 40f8223 into main Nov 28, 2026
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