Repository navigation
Add restricted Codex controller transport (T29) - #292
Merged
Merged
Conversation
erickb336
marked this pull request as ready for review
October 21, 2026 21:36
This was referenced Oct 21, 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.
Closes #291
Sage task T29
Adds the first transport component for the approved opt-in terminal controller under #88. It binds exact response IDs to one connection, reapplies environment restrictions on every turn, and preserves uncertainty after disconnect. It exposes no generic RPC or effect handler. Codex desktop and installed defaults stay unchanged.
The adapter preserves the selected model, approval policy and sandbox. Required process settings are explicit declarations; this component does not authenticate their application. Native notifications keep their optional timestamp. Initialization remains locked until its notification write succeeds, and disconnect settles that wait even if the writer does not finish.
Validation on
7337432697c7ea02ba8ad863d850785787446e29:node --test packages/sage-codex/runtime/controller-transport.test.mjs— 23 pass, 0 fail, 0 cancelled, 0 skipped.npm run build— built 326 files. Generated plugin copies are committed.npm run check— all checks pass.97a02e25: identical final test file reports 0 pass / 23 fail because the API is absent. This proves missing functionality, not 23 behavioral defects on main.fd6e603: 22 pass / 1 fail. After repair: 23 pass / 0 fail.Review found and repaired a disconnect wait that could hang initialization. Two clean independent code/security/QA cycles completed on this exact head.
npm test -- --test-concurrency=1— 1,940 tests, 1,940 pass, 0 fail, 0 cancelled, 0 skipped.Not verified: real-model behavior, authenticated owner entry, controller-owned hierarchy, complete effect authorization, shared ownership, authoritative abrupt-loss recovery, publication isolation, installed operation or full autopilot. This PR does not waive those requirements. Claude-active board work is untouched.