## Why
Guardian identified manual approvals by the opening text of a developer
message. Hook output could use the same opening text, and unrelated
content in the same message could be included with an approval.
## What changed
Check each developer text part before joining it into the transcript.
Require the manual approval prefix, the `guardian.approved_action` content
kind, and provenance from the harness outside of hooks.
## Testing
Transcript tests cover missing provenance and same-prefix text with hook
provenance or a different content kind. The context budget test checks
that the full manual approval stays ahead of a later user restriction
and that adjacent hook text is excluded.
GitOrigin-RevId: 64fafc3a429ce1e21eb5233c8223228947d1c20b
## Why
Extension tools borrow host capabilities for each call. Expressing that
borrow in the executor's type argument requires higher-ranked lifetime
bounds wherever extension executors are stored or returned.
## What changed
Define the per-call input as `ToolInput::Call<'a>` so `ToolExecutor`
can use the same lifetime for the input, the executor borrow, and the
returned future while remaining usable as a trait object. Default to
borrowed `ToolCall<'a>` inputs so extension contributors can return
`Arc<dyn ToolExecutor>`. Core handlers continue to take owned
`ToolInvocation` inputs.
GitOrigin-RevId: efbf56c1e758c59a18b192d210c2ab1b368793e2
## Why
`thread/guardianReview` used the transcript reviewer even when the app
server was configured to use Guardian V3 for live approvals. Recorded
calls can now be assessed with the same reviewer as live calls.
## What changed
When Guardian V3 is enabled at app-server startup, `thread/guardianReview`
waits for pending injected history to reach the Guardian board, then
returns a fresh assessment without executing the tool call or caching an
approval. When V3 is disabled at startup, the endpoint uses the
transcript reviewer.
V3 requires a fresh, idle, non-ephemeral root thread with paginated
history and rejects `rootEvidence`. Recorded browser calls receive the
same browser policy as live calls.
## Testing
Add coverage for sequential history batches without tool execution,
unsupported thread types, routing failures and timeouts, and preservation
of the initial denial when reconsideration stalls.
GitOrigin-RevId: a8ad15cd2bb2d6d5d105c672f64c6cc71dfc6ff8
After observing the expected Statsig request, drop the child session
before awaiting its exit. This uses the process handle's existing
cleanup to terminate the child and stop its I/O tasks.
GitOrigin-RevId: 17be552b74f7539ab46bbb4cb9dfa3bf9697ee08
Extend the hosted turn admission test to suspend the root turn both
before roster preparation and during the roster read. In the new case,
hold turn startup until suspension detaches the active task so the test
exercises the initial input handoff.
Both cases assert that the admitted prompt appears exactly once in
recoverable thread history and that no model request is sent.
GitOrigin-RevId: 51a3ca65a55fb3db4547e770c3bf49a3eee59521
## Why
Selecting an image through `@` completion could fail when the file
search root differed from the process working directory. The composer
used the relative completion path to open the image.
## What changed
Use the full path from the search result to read and attach images in
both mention pickers. Keep relative paths for text insertion and check
that an image candidate is a regular file before opening it, so a named
pipe such as `pipe.png` is inserted as text without blocking the composer.
## Testing
Regression tests cover submitting an image from the search root in both
pickers and inserting an image-named pipe as relative text on Unix.
GitOrigin-RevId: f1d38f58dd431c3fb12b11ed35838f0b7bfa5674
## Why
In tmux, Kitty passthrough deletes can reach the outer terminal before
the pane updates its image placeholders. The fullscreen text redraw
can also clear those placeholders between animation frames.
## What changed
Alternate between two Kitty image IDs for the ambient pet and keep
the displayed image alive while its replacement is drawn. Reserve
both IDs alongside the picker preview so transcript images cannot
reuse them.
Preserve the pet's placeholder cells during fullscreen text redraws
that have a pet image pass, and keep clear-to-end-of-line commands
from erasing skipped cells.
## Testing
Extend regression coverage for image ID rotation and cleanup,
placeholder preservation, and visibility of the fork progress message.
GitOrigin-RevId: 58830b81c0cb18b4d3113e6b7b2ba401ae6aba31
## Why
A fence marker inside a blockquote can prematurely end an unquoted code
block in the streaming scanner, exposing code to prose preview and table
detection. Fence state can also linger when a blockquote ends exactly
where the next streamed chunk begins.
## What changed
Share fence parsing between Markdown rendering and the streaming scanner
so both use the same indentation and blockquote rules. Reset the table
scanner when it reaches the renderer's completed-block boundary, including
when both offsets are equal.
## Testing
Regression tests cover table-like text inside fenced code, prose and table
handling after adjacent quoted and unquoted fences, and table detection
after indented fence-like text.
GitOrigin-RevId: 071c7745a2e925ed44ab6d6f47bf53c3d4be6143
## Why
Fuzzy matching lowercased candidates and queries differently, so Greek
sigma variants could fail to match. The slash-command popup could also
open for fuzzy matches that its exact and prefix filters never displayed,
taking over the arrow keys while the user was editing a draft.
## What changed
- Apply the same Unicode case folding to both sides of a fuzzy match and
use it to rank exact and prefix matches in the skill popup.
- Use the same command list and case-insensitive exact and prefix
matching rules to open and filter the slash-command popup.
## Testing
Cover Greek sigma and long s in the fuzzy matcher, snapshot skill
results with a folded exact match above a prefix match, and check that
the arrow keys move the cursor through a draft starting with `/ſtatus`.
GitOrigin-RevId: 04cf3a65b02204221569c4f7b2d4397f48554e2d
## Why
Hiding the sidebar through keyboard navigation leaves no visible control
for reopening it.
## What changed
Click `›` in the sidebar tab strip to hide the sidebar and return focus
to the parent conversation. Click `‹` above the main transcript to
restore the previous sidebar content. The restore control also appears
when the terminal is too narrow to show the sidebar alongside the main
conversation.
## Testing
Cover hiding and restoring side chats and document previews with the
mouse, including reopening a side chat at narrow terminal widths and
preserving the parent conversation's reading position.
GitOrigin-RevId: 1f0f893b736b61c109e0761abbe3bde3d388e1b6
## What changed
Move chooser handling from `side_focus.rs` into a dedicated sidebar input
module. Distinguish events the chooser consumes from events it leaves
unhandled and events that produce an action.
Check row visibility and guard against stale keyboard selections before
resolving an open action to an agent, retry row, document, existing
chat, or new chat.
GitOrigin-RevId: 681dadbb3b964fbb886795120fa28760cb11be9d
## What changed
Move sidebar hit testing and mouse press tracking into `sidebar_input`.
Resolve pointer events before executing tab actions or dispatching input
to the visible document, subagent panel, or chooser.
Keep requiring the press and release to resolve
to the same target in the current sidebar state.
GitOrigin-RevId: a818dbfd53cbf79c97ae5036d3608c7d4d67da52
## Why
A plugin can be installed in several executor environments. Disabling one
installation should leave the others available, while a thread-wide exclusion
needs to apply across environments.
## What changed
- In executor capability discovery V2, allow an executor to list its own
plugin installations subject to marketplace policy. A named entry such as
`"notes@market": {}` inherits the executor default when the thread has
no enablement preference. A default alone does not list any plugins.
- Apply thread enablement preferences across installations and scope executor
opt-outs to the affected installation. When MCP server names are shared,
use the first enabled installation.
- Preserve connector mappings for explicit `disabledPluginIds` exclusions
so Apps tool search can honor them even when the executor has already
disabled the installation.
## Testing
Add regression coverage for marketplace filtering, thread and executor
precedence, installation-scoped exclusions, and Apps connector suppression
after an executor opt-out.
GitOrigin-RevId: d3465a38f3ebf5042d5c45dabfdb32f8ada81727
## Why
The TUI showed “Waiting for agents” even when a wait had no agent
targets, and “Finished waiting” even when it failed or was interrupted.
## What changed
When a wait has no receiver thread IDs or agent states, show “Waiting,”
“Waited,” “Failed to wait,” or “Interrupted” according to its status.
## Testing
Extend the collaboration transcript snapshot to cover all four statuses
for waits without targets.
GitOrigin-RevId: 62097034b160852b5921d869e0a04737b69923f9
## Why
The Command Center can show action shortcuts while the conversation has
keyboard focus or while a search or rename field consumes those keys.
## What changed
Use the shared footer renderer to show a focus shortcut in the unfocused
Command Center and action hints when it has focus. Keep the editor cursor
in the active pane and hide header shortcuts when their actions are
unavailable. For example, the default `g` grouping hint disappears while
typing a search because `g` goes into the query.
## Testing
Extend the workspace navigation test to check the focus hint and cover
custom accept and grouping bindings during search and rename.
GitOrigin-RevId: a96a093b77b6ef04d717b542e30b041164d1210c
## Why
The sidebar can stay visible while the conversation has keyboard focus.
Showing sidebar shortcuts in that state makes keys such as `Esc` look
like they act on the sidebar even when the conversation receives them.
## What changed
Hide keyboard hints in unfocused panes and show the configured shortcut
for focusing the sidebar when it is available. Keep mouse controls
clickable, including the file path view's Back button when its keyboard
binding is disabled. An unmodified left click in the file path body
focuses the sidebar.
Use configured pager bindings for reading and search hints. Watch-only
agent transcripts use single-key pager bindings because they handle
pager keys directly.
## Testing
Add coverage for file path focus and mouse controls, hint placement and
click targets in narrow panes, and pager hints in watch-only transcripts.
GitOrigin-RevId: 3d9375d957789c9f71f6e45f919f815713536622
## Why
MCP forms with numeric fields fell back to a generic approval prompt,
where users had no way to enter the requested values. That prompt also
offered acceptance for forms whose required fields could not be filled in.
## What changed
- Render `integer` and `number` fields with schema defaults, validate
minimum and maximum bounds, and submit answers as JSON numbers.
- Show the requesting server on forms, allow users to skip blank optional
inputs with the submit key, and add `F6` to decline a form. `Esc` cancels
the request.
- Explain when a form cannot be displayed and offer acceptance without
answers only when the form has no required fields.
## Testing
Exercise invalid numeric input and defaults, exact large integer
submission, blank optional fields, and queue advancement after declining.
Snapshot the numeric validation error and the fallback prompts for
unsupported forms with and without required fields.
GitOrigin-RevId: 1dd65b78fb271a027d9ae479c6fc9754607189f2
## Why
Streaming output hides the working status row and its interrupt shortcut.
When a message without a phase finishes before the turn does, the status
row can also stay hidden while Codex is still working.
## What changed
Show the configured interrupt shortcut in the composer footer while output
streams and the status row is hidden. With the default binding, the footer
shows `esc twice to interrupt` in Vim insert mode.
Keep the status row visible through whitespace-only output. Restore it
after a message without a phase completes and the stream queues drain if
the turn is still running.
## Testing
Cover whitespace-only output, footer hints with a draft and in Vim modes,
hint layout at narrow widths, and status restoration before turn completion.
GitOrigin-RevId: 246180593baf2d6ead0e84634bf7bd8ee4ec3ea5
## Why
Codex needs a non-empty client key at compile time to use Statsig gates
when the feature is enabled.
## What changed
Set `CODEX_BUNDLED_STATSIG_CLIENT_KEY` from the `CODEX_STATSIG_CLIENT_KEY`
GitHub Actions variable in the Cargo and Bazel build steps of both release
workflows. The shared Bazel action forwards the key to Rust compilation
when the value is non-empty.
GitOrigin-RevId: 90ad3471417bc030acf90836d3fd0c24d35feffe
## Why
A background command can outlive the turn that launched it. Its result
could be dropped when no turn was active or appear as a separate
transcript entry if later output had already displaced its running row.
## What changed
- Show background commands as they start, including commands that don't
match a recognized tool action. Keep tracking their exits after a
turn ends or is interrupted.
- Update the original transcript row with the exit status and output,
including when the command finishes in a parked side conversation.
- In rich terminal scrollback, label an unfinished launch `Started`.
If the launch has already printed, append the result in order.
Otherwise, replace the queued launch with the completed entry.
## Testing
Cover late exits after turn completion and interruption, completion
during a side conversation handoff, and result ordering behind queued
scrollback.
GitOrigin-RevId: 65f069af28c112078d85613da2c95e5c1c4f29bf
## Why
Looking up a session by ID treated every `thread/read` failure as a
missing session, hiding errors such as unreadable session metadata.
## What changed
Startup resume and fork report lookup failures after cleaning up the
app-server session. In an active TUI, `/resume` displays lookup errors
in the current chat or invokes transport recovery when applicable. If
a Cloud chat must be opened first, `/resume` directs the user to run
the command without an ID and select the chat from the picker.
## Testing
Add regression coverage for missing and unreadable sessions, preserving
the active session after a failed lookup, and showing picker guidance
for an unopened Cloud chat.
GitOrigin-RevId: dddac289a2959133809c050b8701975ab474ef13
## Why
PowerShell's `-Command` can report a native command's exit code `2` as
`1`, so a `PreToolUse` hook can fail to block a tool call.
## What changed
Use `$?` to preserve successful hook results and forward
`$LASTEXITCODE` on failure when available. Pass scripts with named
blocks through as written because PowerShell forbids trailing
top-level statements after those blocks.
## Testing
Add Windows regression coverage for a native command and a PowerShell
`end` block that each exit with code `2`. Both cases check that
`PreToolUse` denies `apply_patch` before approval, reports the denial
reason, and leaves the target file uncreated.
GitOrigin-RevId: 9668b1382bb56f168794dd8d4d2fecac13d2f649
Move the existing selection, readiness, and configuration inheritance
tests into `environment_selection_tests.rs` and keep them wired up as
the `environment_selection::tests` module.
GitOrigin-RevId: 304944a8875c5d92e21bcc2ab39e760e41083d37
## Why
A Streamable HTTP server can assign a replacement session ID before the
initialization handshake finishes. If recovery fails or times out at
that point, the abandoned session can occupy server capacity needed by
the next attempt.
## What changed
- Track replacement sessions as soon as the server returns
`Mcp-Session-Id`. Coordinate a single `DELETE` between handshake cleanup
and SDK teardown, leaving successfully initialized sessions active.
- Let cleanup finish in the background when the caller's deadline
expires. Coordinate cleanup with OAuth refresh so the deletion can use
updated credentials.
- Keep the service, OAuth state, and expiry signal together for each
connection. Keep recovery scoped to the failed connection and
recheck client state before returning a replacement so shutdown can
take precedence.
## Testing
Cover interrupted JSON and SSE handshakes, cleanup before retry on a
server with limited session capacity, OAuth refresh during cleanup,
concurrent calls on expired sessions, and recovery racing with shutdown.
GitOrigin-RevId: 0caa1b1271f4e7ae667f90f15bfa86b1bdfe7d0b
Add a `badge` element to the statusline UI tree and TypeScript contract.
It renders one string as a padded, single-line label with normalized
whitespace. The optional `color` accepts `secondary` (the default),
`info`, `success`, `warning`, or `danger`. The renderer uses the
active theme for the label and blends the fill with the surrounding
background when its color is known.
Badges wrap as a unit. When a line limit requires an ellipsis after
earlier content, a trailing badge that cannot fit is dropped. At the
viewport edge, the right padding can clip while the full label remains
visible.
## Testing
Add rendering tests for wrapping, clipping, theme colors, and linked
badges, along with checks for UI tree limits and the TypeScript contract.
GitOrigin-RevId: be9e9799d6832976d325ba5fda48f5793dbbc722
## Why
Statusline authors can set fixed gaps or justify a whole row. An expandable gap lets them place a field at the far edge by putting a spacer between it and the other fields.
## What changed
Add the empty `spacer` element to the statusline renderer and its bundled TypeScript contract. Spacers share the remaining width on each wrapped row line before `justify` is applied. In columns stretched by a taller sibling, spacers share the added height.
## Testing
Add renderer tests for wrapped and nested layouts, background fill, and clipping. Cover empty spacer declarations and reject spacer children in the parser and TypeScript contract tests.
GitOrigin-RevId: d8bb58304b2a1f10ac0c60ec198aa3c25a169cae
## What changed
Custom status lines can choose between row and column layouts by setting
`direction` on a `box`. Omitting `direction` stacks children in a column.
Both layouts require `gap`, and only rows accept `wrap` and `justify`.
Horizontal boxes group adjacent strings into one layout item even when
`justify` is omitted. Use separate elements to insert a gap between
text items.
## Testing
Add renderer tests for default column layout, wrapping and alignment in
rows, and spacing around empty boxes. Extend the TypeScript contract
checks to cover dynamic direction, required gaps, and rejection of
row-only props on columns.
GitOrigin-RevId: 3ff9b4a8be6ae79b90512c1ad1ec1c16dafad0cf
## Why
Long statusline text can wrap across enough lines to push fields below it out of view.
## What changed
Set `maxLines` to a positive safe integer to cap a text block after wrapping. If content exceeds the cap, the last visible line ends with an ellipsis when space permits. Long words can break at grapheme boundaries so a clamped block can shrink alongside other fields.
## Testing
Cover invalid limits, visibility of neighboring fields, and truncation that preserves whole graphemes and leaves the ellipsis outside hyperlinks.
GitOrigin-RevId: 42f57b3f92e81860f888b733ce6121bb94dc78c3
## Why
Refilling terminal scrollback can take several history pages. Replaying
scrollback after each page rebuilds it while more history is still loading.
## What changed
Buffer older pages while the next page is loading, then replay them together
when the refill finishes. Flush buffered history if a page request fails,
the transcript overlay opens during the refill, or the five-second deadline
from the first buffered page expires. The overlay still updates page by page.
## Testing
Extend the scrollback refill test to cover batching across pages, replay
after a page failure, and replay at the deadline with a request still pending.
GitOrigin-RevId: 577b9f7394e2741267099e4595f69345a6a70a21
## Why
Callers need a way to keep encoded JSON payloads out of request
diagnostics while preserving what the server receives.
## What changed
Add `EncodedJsonBody::omit_from_logs()` to replace the trace body with
`<redacted>` and show only the byte length in debug output. Preserve the
setting through private JSON enrichment and request preparation. The
setting leaves the wire payload and redirect policy unchanged.
## Testing
Add a regression test that checks trace redaction and debug output for
both plain and enriched bodies before and after preparation, and
verifies that decompressing the wire body yields the expected bytes.
GitOrigin-RevId: 5b1ae2c810242f8c7f35bcdf653af9127360c29c
## Why
Suspension can detach the active task just as startup tries to save
unrecorded input before reading the host roster. If detachment wins,
cleanup can miss the initial submission when saving the turn for recovery.
## What changed
Store pending initial input in the shared `TurnContext` during host
admission and startup steps that can wait on the host roster. Save the
input before checking whether the task is still active, so suspension
and abort cleanup can retrieve it after the task exits. Reclaim it under
the active-turn lock when startup completes so only one path records
the submission.
GitOrigin-RevId: 2f180fc372daaa8f2d8e0ebcb4787a1b2cfd61fa
## Why
Enabling `statsig_gates` can only load evaluations if the process starts
the Statsig runtime. Several Codex entry points never started it.
## What changed
Start Statsig in standalone and embedded app servers, the TUI when it
connects to a separate app server, eligible `codex sandbox` launches, and
local and remote exec servers. This also covers `codex exec` through its
embedded app server. Use the serving or local account where applicable
and installation identity for remote execution. Share the runtime with
the embedded TUI and flush it on normal shutdown.
## Testing
Add a CLI integration test that checks which evaluation endpoint each
launch mode requests, including signed-in and signed-out sandbox launches.
Supply a bundled fixture key in Bazel and nextest CI builds so the test runs.
GitOrigin-RevId: 64df9933c1a9783a86be8712fa012b495f34b0f8
## Why
A hosted child thread can inherit the root session ID and use a custom
session source. The existing subagent source check can miss that child,
allowing its shutdown to fire `SessionEnd` while the root is still active.
## What changed
Before preparing `SessionEnd` hooks, skip threads whose ID does not match
the session ID.
## Testing
Extend the shutdown test to close a hosted child with an inherited
session ID before closing the root and verify that exactly one
`SessionEnd` hook invocation is logged for the session.
GitOrigin-RevId: 4c80a17724cab57003b33080482d00f3cc2afea4
## Why
A terminal can report a focus gain between mouse-down and mouse-up.
Clearing the pending sidebar press on that event causes the release to
be ignored, so clicking the tab chooser's close button can fail to open
the confirmation dialog.
## What changed
Keep the pending sidebar press on `TuiEvent::FocusGained` so the mouse
release can complete the click.
## Testing
Extend the tab chooser test to send a focus gain between the press and
release and check that the close confirmation dialog appears.
GitOrigin-RevId: 4173292c50383304e9ef62104251434be7580789
## Why
Switching back to a thread restores its current settings before replaying
older updates. Those updates can trigger reasoning effort animations and
leave the status line temporarily showing an older effort level.
## What changed
Set the composer's reasoning effort baseline before refreshing it for
each replayed settings update. The status line reflects the replayed
effort immediately, and live changes still animate.
## Testing
Add a regression test that replays earlier effort changes after restoring
a thread, checks the displayed effort, and verifies that a subsequent
live change starts the animation.
GitOrigin-RevId: 3daadc7b8b5917eba1055940c67399b8ab729eda
## Why
Rapid mouse motion can queue more drag reports than the TUI needs to
resize a pane. Rebuilding sidebar document layouts at each preview width
also adds work while the divider moves.
## What changed
- Share drag handling between the Command Center and sidebar dividers.
Let users grab either column of the Command Center gutter, keep the
grab offset, and highlight the divider on hover and during a drag.
- Use the release position for the final width. If focus loss interrupts
a valid drag, keep the last width. When the terminal holds image pixels,
show a guide and defer pane reflow until the drag ends.
- Batch consecutive mouse motion reports during divider drags while
preserving input order at batch boundaries. Rewrap cached sidebar
document content during live previews and rebuild its layout at the
final width.
## Testing
Cover gutter hit testing, grab offsets, release and focus-loss behavior,
drag batching at input boundaries, and document layout reuse during
preview followed by a rebuild.
GitOrigin-RevId: 949a805a42d269f4bac1a86ac7e4b7f8c2a4cacf
## Why
Copying a whole message can leave the overlay showing “Copying selection…”
because the copy has no active selection to receive the clipboard result.
## What changed
Track which clipboard request owns the notice so its completion can show
success or failure even without an active selection. Older results leave a
newer notice intact.
Track the last rendered transcript width for resize detection and render
prewrapped rows without hyperlinks using Ratatui’s `Paragraph`.
## Testing
Add a snapshot test that checks pending, failure, and success notices
without a selection, verifies that an older result leaves the notice
intact, and confirms the overlay stays open.
GitOrigin-RevId: c4076ccc425240ca39af9fd5c8cf6fca96303dda
## Why
A Guardian policy refresh can switch a running thread from Auto Review
to user approvals. Without a config change notification, Guardian's
shadow reviewers can stay active after that switch.
## What changed
Notify config contributors with the previous and updated effective
configs when a policy refresh changes the approvals reviewer. Send the
notification after releasing the session locks, even if the refreshed
policy blocks the current model.
## Testing
Extend the Guardian shadow test to refresh policy on a root thread and
its child. Verify that both receive the reviewer change, that switching
to user approvals cancels their shadow reviewers, and that allowing
Auto Review again restores the requested reviewer.
GitOrigin-RevId: fd61acf7fb161be341a63a2e867582e6c308d0dc
When the stored rollout path matches, compare the normalized working
directory and computed archive timestamp with the stored values. Return
early if both match. Otherwise, reuse the existing metadata to build
the updated row.
GitOrigin-RevId: 2c5d3e98851f2c8f72414bd688ccc99b2219adeb
## What changed
Remove the background ranking of skill candidates and the metrics that
compared those rankings with skills actually used. Drop the experiment's
per-thread state and metrics wiring.
Continue accepting `skill_search` in existing feature configurations as
an ignored compatibility key.
## Testing
Extend the feature configuration test to cover both `true` and `false`
values for `skill_search`.
GitOrigin-RevId: 9492533bdeea58d4976bc9fbcffb6b82036b7894
The first chunk of a Kitty pet image upload already requests quiet mode,
but continuation chunks omit that setting. Send `q=2` on every
continuation chunk, including the final one, to suppress terminal replies
throughout the upload.
## Testing
Extend the command snapshot test to check the headers of a three-chunk
upload, including the final `m=0,q=2` header.
GitOrigin-RevId: cd12c3e6f4c27320c4823f593657ab92824c83ff
## Why
Enriching loaded thread results builds a full configuration snapshot,
including an execution permission profile, just to read display settings.
## What changed
Read the configured model, reasoning effort, environment selections, and
session source directly from the loaded thread when enriching results.
The environment data still includes the working directory and runtime
workspace roots.
## Testing
Extend the core test to verify that reading display settings matches the
configured snapshot's display fields without triggering a model lookup.
Extend the app-server test to verify that thread reads and lists return
explicit runtime workspace roots.
GitOrigin-RevId: f7053554fdb0f02bebb51b4cafda2ef39e6e81a5
## Why
When a command or tool finishes in a different transcript group from where it
started, both groups can share an identity. The later group can inherit the
original group's expanded state or steal its keyboard focus.
## What changed
Assign distinct identities to repeated tool activity in chronological order.
Keep those identities stable as the live transcript updates and results move
into history, so each group retains its own expansion state and focus.
## Testing
Add regression tests for a command that finishes after assistant commentary
and an MCP tool that returns an error in a later turn.
GitOrigin-RevId: ca69a68bb32746bdbe22ec7bc9633e4323f38347
## Why
Switching an enrolled thread to user approvals stops Guardian v3 shadow
intake. Previously, switching the same thread back to Auto Review left
intake stopped for subsequent turns.
## What changed
Restart intake in the background with a fresh evidence board after
checking that the thread still routes approvals to Auto Review. Start
at the end of persisted history so the new board only receives new
evidence. Existing child threads can attach to the new board on their
next turn.
## Testing
Add app-server coverage for routing later turns after Auto Review
resumes without replaying earlier turns. Extend the host test to cover
stale settings notifications, cancellation of a queued restart, and
creation of a fresh board and reviewer.
GitOrigin-RevId: 5201d7f7a7e3f2c045c69b9584b036467a5767d7
## What changed
Wait for worker creation with its own timeout before waiting for MCP
delivery in the cached approval invalidation test. This gives a missing
worker a distinct failure from a delivery that never reaches the server.
Disable analytics in the Code Mode conversation history test so hosted
messaging only contacts the mock servers.
GitOrigin-RevId: 15887b9f37cc48b938fd67801a0dda9374027492
## Why
The protocol and feature configuration crates depend on the network proxy
crate for data types. Give them a smaller dependency that contains the
shared definitions.
## What changed
Move environment network policies, domain and Unix socket permissions,
policy decisions and their sources, and credential provider definitions
into `codex-network-policy-types`. Use the new crate directly from
`codex-protocol` and `codex-features`.
Re-export the moved types from `codex-network-proxy` and keep environment
policy conversion and application, along with credential provider
validation, in the proxy crate.
GitOrigin-RevId: 8af684da746830bce45ac00135aed8052dba3824
## What changed
Add the default-off `features.guardianv3_shadow` flag and ignore it in
project config. When Guardian V2 handles Auto Review and Guardian V3
is disabled, enroll eligible new threads in background evidence intake
while Guardian V2 keeps making approval decisions.
Share an in-memory evidence board between the root and its child agents.
Keep shadow reviewer sessions ephemeral and suppress their events in
the parent thread. Retry failed intake startup on a later turn, and
stop shadow work when the root leaves Auto Review or shuts down.
## Testing
Cover enrollment for opted-in new threads, startup retry, child
attachment and cancellation, and the absence of an on-disk board.
Verify that project config cannot set the flag.
GitOrigin-RevId: 7c31c1d831498ba012193579123ac87779b76b85
## Why
Attached reviewers need to detect root history resets that can invalidate an approval. Preparing an attached review previously fetched root conversation evidence even though the reviewer did not use it for preparation.
## What changed
- Check the root history version before starting an attached review and while it runs. Local MultiAgent V2 workers resolve the currently loaded root thread, and hosted workers use the host's root snapshot.
- Skip root evidence capture when preparing or prewarming attached reviewers. Skip per-attempt evidence collection for attached observers and sessions without an evidence store. Live reviewers with an evidence store still record their verdicts.
## Testing
Add coverage for root history version changes on reset, version stability on append, root resolution after reload, and verdict recording when the first approval reuses a prewarmed reviewer.
GitOrigin-RevId: b3ff7e58883d5f72bea3d774e05ba2f678df45fc