Repository navigation
Keep authorization evidence local to agent forks - #62314
Merged
copyberry[bot] merged 1 commit intoNov 18, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why A prepared agent fork needs its ancestor's conversation for context. Treating that conversation as the child's own authorization evidence can attribute the ancestor's messages and approvals to the child. ## What changed Allow host-started prepared forks that reference stored history to inherit the root session ID. Keep ancestor messages as conversation context and exclude ancestor authorization evidence when starting or resuming the fork and when reconstructing sender evidence from storage. Preserve the inherited disabled-plugin settings and the child's own authorization evidence. ## Testing Cover prepared forks across startup and resume, including inherited context, plugin settings, and child-local authorization. Verify that live and stored sender evidence both contain only the child's messages. GitOrigin-RevId: 5c5a6547d31fe78dfad3742efb8a41df539173c6
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/5c5a6547d31fe78dfad3742efb8a41df539173c6
branch
from
November 18, 2026 16:37
81261e6 to
daa59eb
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/5c5a6547d31fe78dfad3742efb8a41df539173c6
branch
November 18, 2026 16:37
menghang1
temporarily deployed
to
issue-triage
November 18, 2026 16:44 — with
GitHub Actions
Inactive
menghang1
temporarily deployed
to
issue-triage
November 18, 2026 16:44 — with
GitHub Actions
Inactive
menghang1
temporarily deployed
to
issue-triage
November 18, 2026 16:44 — with
GitHub Actions
Inactive
This branch was previously 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Keep authorization evidence local to agent forks
Why
A prepared agent fork needs its ancestor's conversation for context.
Treating that conversation as the child's own authorization evidence
can attribute the ancestor's messages and approvals to the child.
What changed
Allow host-started prepared forks that reference stored history to
inherit the root session ID. Keep ancestor messages as conversation
context and exclude ancestor authorization evidence when starting or
resuming the fork and when reconstructing sender evidence from storage.
Preserve the inherited disabled-plugin settings and the child's own
authorization evidence.
Testing
Cover prepared forks across startup and resume, including inherited
context, plugin settings, and child-local authorization. Verify that
live and stored sender evidence both contain only the child's messages.