Repository navigation
Delete the unused Codex native runtime (T732, PR 1) - #467
Merged
Merged
Conversation
No shipped entry point (hook, skill, MCP server, board) reaches the Codex native runtime. Remove it: the native files of packages/sage-codex/runtime (8 shipped files stay), scripts/fixtures/codex-native, the six Codex probes, scripts/codex-server.test.mjs, the two probe notes, and the inactive turn-trigger observer with its guide section (T894). The live tests move to scripts/codex-autopilot-*.test.mjs and scripts/codex-managed-worktree.test.mjs; wait-native moves to scripts/wait-child.mjs for check:codex. Tests that imported deleted runtime files go; tests of shipped files stay. The chief text tests read renderChiefInstructions with chief-bindings.json. logbookEnv and logbookTool lost their last callers and go too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 9, 2026
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.
What this is
PR 1 of 2 of the native runtime delete. No shipped entry point (a hook, a skill script, the MCP server, the board) reaches the Codex native runtime, so this PR removes it: about 36,000 lines (284 files, built copies included). PR 2 (T914) removes the native-only core code later; this PR changes no core file and no shipped hook file.
What goes
packages/sage-codex/runtime/: every file except the 8 that the plugin runs (logbook-env, managed-worktree, mcp-sdk, patch-targets, sdk-shims; .mjs and .md).scripts/fixtures/codex-native/, the 6scripts/probe-codex-*.mjsprobes,scripts/codex-server.test.mjs, and the two probe notes indocs/verification/.packages/sage-codex/hooks/turn-trigger-observer.mjs, no manifest ran it), its sample, its test and its guide section (T894). A short note keeps the guide anchor, so the old change log links still resolve.logbookEnvandlogbookToollost their last callers and go too.What moves or changes
autopilot-{change,gate,merge,record}.test.mjsmove toscripts/codex-autopilot-*.test.mjs,managed-worktree-admission.test.mjstoscripts/codex-managed-worktree.test.mjs,owner-records.jsontoscripts/fixtures/codex-owner-records.json, andwait-native.mjstoscripts/wait-child.mjs(check:codex and the 6 deadline tests use it).renderChiefInstructionswithchief-bindings.jsoninstead of the deleted prepared file.Evidence
packages/sage-codex/before and after.npm run buildandnpm run checkpass.🤖 Generated with Claude Code