feat(runtime-host): carry exact Connection identity in Session model targets - #3940
Closed
me2seeks wants to merge 3 commits into
Closed
feat(runtime-host): carry exact Connection identity in Session model targets#3940me2seeks wants to merge 3 commits into
me2seeks wants to merge 3 commits into
Conversation
Persist canonical Connection identity for newly created Sessions and propagate it into AgentRun and derived execution state. Bound execution resolves by ID plus slug and never follows a reused slug. Existing and legacy Sessions reject ambiguous configuration rebinding until an exact-identity wire slice lands. Generated-by: Codex
Generated-by: Codex
Contributor
Author
|
Superseded by #3864 at |
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.
Summary
Depends on #3864. Until that PR lands, Files changed temporarily includes its immutable Session identity foundation. Review the #3926 increment as range 16841bd..3b7807a.
This PR closes the exact account-selection wire and recovery path:
Fixes #3926
Breaking wire change
RUNTIME_HOST_COMPATIBILITY_EPOCH advances from 51 to 52. The projection field, explicit target shape, and configuration patch operation are intentionally closed and incompatible with epoch-51 peers.
Configuration updates no longer accept a default target. An omitted model target means preserve the persisted tuple; only an explicit exact target can change or recover the account and clear NO_REAL_CONNECTION. Session creation still supports the Host-owned canonical default.
Review focus
Verification
Known baseline/environment blockers:
Stacked PR lifecycle
AI use
Tool(s) and scope: Codex implemented the Runtime Host wire, surface adoption, tests, validation, and review integration. The commit includes a Generated-by trailer.
Checklist
The affected suites, formatting, and scoped typechecks pass. The unchecked item records the two baseline/environment blockers described above.
Does this PR entail a change in behavior?