Skip to content

Route session agent operations through AgentControl - #47520

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ad3f213eb483ac524bde56d769f20a78f20989a0
Sep 23, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ad3f213eb483ac524bde56d769f20a78f20989a0

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Route session agent operations through AgentControl

What changed

  • Store Arc in session services and route agent tools, turn admission, usage accounting, completion notifications, and shared settings through the trait.
  • Add AgentControlInit so delegated and guardian sessions inherit the parent's controller and local runtime.
  • Move local registry and context helpers to LocalAgentRuntime, keep resume, close, inspection, and status subscriptions on the local controller, and simplify synchronous and infallible trait methods.

## What changed

- Store `Arc` in session services and route agent tools, turn admission, usage accounting, completion notifications, and shared settings through the trait.
- Add `AgentControlInit` so delegated and guardian sessions inherit the parent's controller and local runtime.
- Move local registry and context helpers to `LocalAgentRuntime`, keep resume, close, inspection, and status subscriptions on the local controller, and simplify synchronous and infallible trait methods.

GitOrigin-RevId: ad3f213eb483ac524bde56d769f20a78f20989a0
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ad3f213eb483ac524bde56d769f20a78f20989a0 branch from 2485640 to 27969c0 Compare September 23, 2026 09:39
@copyberry
copyberry Bot merged commit 27969c0 into main Sep 23, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ad3f213eb483ac524bde56d769f20a78f20989a0 branch September 23, 2026 09:39
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 23, 2026
@Vanson
Vanson deployed to issue-triage September 23, 2026 09:46 — with GitHub Actions Active
@Vanson
Vanson deployed to issue-triage September 23, 2026 09:46 — with GitHub Actions Active
@Vanson
Vanson deployed to issue-triage September 23, 2026 09:46 — with GitHub Actions Active
@Vanson
Vanson deployed to issue-triage September 23, 2026 09:47 — with GitHub Actions Active
@panumu90
panumu90 deployed to issue-triage September 23, 2026 10:05 — with GitHub Actions Active
@panumu90
panumu90 deployed to issue-triage September 23, 2026 10:05 — with GitHub Actions Active
@panumu90
panumu90 deployed to issue-triage September 23, 2026 10:05 — with GitHub Actions Active
@panumu90
panumu90 deployed to issue-triage September 23, 2026 10:06 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants