Repository navigation
LM-5: signed policy delivery and truthful reroute termination - #424
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
#380) Before a local child opens or resumes a thread, CodexBackend reads the child's own config/read (effective configuration, the layer that set each key, every layer's contents and hash) and configRequirements/read, and admitLocalConfiguration (engine/local-models/run-policy.ts) admits it only when every governed key comes from Modex's session flags, no project layer is loaded, the private home is empty, no managed layer touches a governed key, no managed requirements apply, and the effective destination, wire, credential reference, context and tools are exactly what Modex passed. Otherwise the turn fails naming the layer and key; nothing is rewritten or sent. The admitted provenance is kept with the child. A model/rerouted notification on a local turn interrupts it and reports it failed. Real-CLI evidence (codex-cli 0.164.0): config/read reports origins and layers as the policy expects; a requirements.toml in the private home is not read; a 307 from the configured loopback server is followed with the full body and never with the token, a 302 as a bodyless GET. The opt-in native test records both. This is the refusal boundary #417's review asked for; wiring local execution into the product stays a separate decision. Co-Authored-By: Claude Fable 5.1 <[email protected]>
BunsDev
force-pushed
the
lm3-signed-delivery
branch
from
October 28, 2026 11:13
82d3358 to
4745b72
Compare
BunsDev
force-pushed
the
lm5-reroute-repair
branch
from
October 28, 2026 11:18
03506d7 to
6ca43ed
Compare
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage-agent
View coverage of the 6 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
BunsDev
marked this pull request as ready for review
October 28, 2026 16:15
This was referenced Oct 28, 2026
This branch was successfully deployed
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.
This carries #419’s effective-configuration policy onto the signed LM-3 foundation in #423 and fixes a reroute race: when a local Codex child announces
model/rerouted, a quiet final reply could previously settle the turn before native termination. The repair keeps the turn pending until a native terminal event or disconnect and reports that a stop was requested without claiming the child has stopped.The final-before-reroute and final-after-reroute regressions failed before the repair and passed afterward. Independent source review found no blocking findings. Both delivery commits are signed. After #421 and #422 merged, the branch was rebased onto #423 at
4745b729acb5cbd1d59a4f9fd5dcdb83f5ff329f; the status-document conflict retained the latest companion evidence and LM-5 entry. Range comparison confirms the reroute repair is unchanged. The original #419 branch remains untouched.Validation at
6ca43ed3c5fa206e03e2f561d5e8f7fe9e8014bd: root build and full unit tests passed (2,219 passed, 26 skipped, zero failures). Root typecheck and full E2E also passed on that commit: 470 desktop cases, seven desktop skips (20.7 minutes), and all seven site cases (8.9 seconds). Independent review of the rebased integration found no blocking findings. The subsequent documentation-only commit records these results; application, package and script contents are unchanged. Current-head hosted checks and protected delivery remain required. The base is #423; refresh integration evidence after that prerequisite merges.Refs #380, #379, #419. Production local execution remains unwired. Actual local-runtime acceptance, network-denied qualification, managed-policy coverage and the remaining LM-5 criteria are separate open gates; this PR does not close those issues.