You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex controller: bind native requests before effect admission (T31) #296
Parent: #88. Supports #295 and #243 without closing either.
Implement a strict, provider-local binding boundary between a trusted native host connection and a later Sage action evaluator. Preserve the complete chief/lead/specialist workflow. Do not activate automatic operation or grant effect authority.
Requirements:
Bind one immutable trusted assignment, native generation, thread and active turn. Treat these constructor inputs as caller authority, not independently authenticated proof.
Parse the actual native dynamic-call event format, reject extra envelope fields and malformed/non-JSON values, and preserve namespace/name/call correlation.
Refuse foreign/stale generation or turn, unexpected tool, duplicate/reentrant call, closed binding, and model-supplied role/task identity.
Require strict action-argument validation before staging a request. A staged envelope is not permission to execute an effect or publish state.
Snapshot returned request/assignment data. Do not retain mutable caller objects.
Keep native policy production, common ownership, task/gate/approval checks, durable effect intent/replay and real action adapters as explicit later dependencies.
Add behavior tests, including failures before a fake effect boundary. Prove every new test fails on detached main. Run build, check and the full suite; complete two clean independent code/security/QA cycles on the final head.
Source scope: only packages/sage-codex/runtime plus regenerated build output. Do not edit Claude-active board, hook, state-tool or review-profile work. No model turn operation or generic execution API is added. No default change.
Activity