## Why
OAuth discovery for newly installed skill dependencies needs an HTTP
client for each added server. Building the full runtime MCP configuration
does extra work because the installer already has those server configs.
## What changed
Use `current_mcp_runtime_context` to resolve the HTTP clients for the
added servers.
GitOrigin-RevId: 4970954dd5f1ed21a02dfe7f6c3a9f1df4fe7026
## Why
A nested drive prefix in a tar entry can redirect extraction outside
the plugin bundle staging directory on Windows.
## What changed
Reject tar entries with a colon in any path component on Windows.
## Testing
Add a Windows-only regression test for nested drive prefixes with
both forward slashes and backslashes.
GitOrigin-RevId: b19b3d0de16ffe73726981f823a8f4db6629ad22
## Why
The plugin detail popup passes the entire description as a single line,
so it loses the author's line breaks.
## What changed
Render each nonblank description line separately and keep dim styling and
terminal-width wrapping. Skip blank and whitespace-only lines so extra
spacing in the description cannot inflate the popup header.
## Testing
Add snapshots at 40 and 100 columns and regression tests for LF and CRLF
line endings, whitespace-only lines, literal Markdown, Unicode, and
description fallbacks. Cover navigation to the install action with a long
description in a short viewport and verify that the plugin picker stays
closed when plugins are disabled.
GitOrigin-RevId: e2f988d6e9b743a4fe318bed8e56563f495da605
## Why
On tall terminals, painting the transcript and measuring the preceding
screenful for pagination can exceed the fixed 64-entry cache. Hidden
reasoning entries in compact mode also take up cache slots, which can
force visible text to be laid out again on the next frame.
## What changed
Set the entry limit to twice the viewport height plus two, clamped to
64–512 entries, and trim the cache when the viewport shrinks. Keep the
existing byte budget and skip caching hidden reasoning in compact mode.
## Testing
Cover eviction after shrinking the viewport and verify that repeated
frames reuse visible layouts in an 88-row viewport with partial history
and 100 hidden reasoning entries.
GitOrigin-RevId: 194f39e3ad1eb72a223481c600e95463a5674fc4
## Why
Thread stores can do work before Core starts, but the ordinary creation
API has no way to pass that state back to the store when it creates the
thread.
## What changed
Pass optional, single-use `ThreadStoreCreatePreparation` from
`StartThreadOptions` to `ThreadStore::create_thread_with_preparation`
when creating a persisted thread, including a fork. Reject creation
preparation for ephemeral or resumed threads. Stores that do not implement
the prepared creation method return an unsupported-operation error.
## Testing
Add a regression test that supplies creation preparation to a prepared
fork and checks that it reaches the prepared creation method by asserting
the default unsupported-operation error.
GitOrigin-RevId: bc4d3e9e5d89dd7503aed75423bc9c9d42c7f7fc
## Why
The environment context already lists writable paths. An empty catalog
template previously fell back to the bundled writable-root sentence,
so a model catalog had no way to omit that repeated list.
## What changed
Treat an empty `writable_root` or `writable_roots` template as a request
to omit the corresponding sentence. Missing, null, invalid nonempty,
and oversized templates still use the bundled wording.
Suppressed roots leave the full path budget available for denied-read
paths and globs and never trigger an omitted-path warning on their own.
## Testing
Cover empty singular and plural templates and verify that suppressed
roots leave room for denied-read entries. A model-switch scenario checks
that Codex appends the updated permissions message once and preserves
the earlier conversation, filesystem permissions, and approval settings.
GitOrigin-RevId: 105819fb07ff829be8f111b3676656373aeb7892
## What changed
Add the `v3_ready` tag to the `codex.guardian_v3.shadow.pair` counter so
paired verdicts can be grouped by whether the v3 shadow verdict was
validated at or before the live v2 verdict.
## Testing
Extend the shadow comparison test to check the tag when v3 validates
before, at the same time as, and after v2.
GitOrigin-RevId: dffc58458d8eb6e7f6062ebc5eb8ccea36edb9f7
## Why
A guest needs a stable JWT alias even when the upstream bearer expires
or is invalidated. A disconnect during refresh can leave a rotating
credential already spent, so concurrent and subsequent requests need
to share the in-flight exchange.
## What changed
Add `JwtBearerGrant` behind `#[cfg(test)]`. It exposes a decodable alias
with explicitly selected scalar claims, reuses current bearers, and
refreshes on demand. A refreshed token must preserve the grant's
identity and disclosed claims.
Invalidation makes previously resolved bearers unusable. Revocation
also blocks future refreshes, and a failed or ambiguous refresh
permanently revokes the grant.
## Testing
Cover shared refreshes, request cancellation, invalidation and
revocation during refresh, timeouts, and claim consistency across
token rotation.
GitOrigin-RevId: 67cdf18e5aafa9dbc7290a2ef8ba62da84f826c5
## Why
Canceling a remote command during the early-exit grace period could
drop the process before handoff and run ordinary termination. That
bypasses the exec server's startup cleanup, which also disables
recovery for the abandoned session.
## What changed
Track whether each process has been handed off or abandoned. Dropping
a live process before handoff abandons startup once. Processes handed
off to the process store or to a one-shot caller retain normal
termination on drop.
## Testing
Add regression tests for cancellation during the early-exit grace
period, dropping an explicitly abandoned process, and normal cleanup
after registration or one-shot handoff.
GitOrigin-RevId: 2276ba15e50a2345da21e7841ab9015b572786ac
## Why
A cold resume can save a read-only profile with concrete read paths
derived from the current configuration. On the next cold resume, those
paths make the saved profile ineligible for direct reuse, so the thread
can fall back to a writable default.
## What changed
When restoring a saved read-only profile with restricted network access
that cannot be reused directly, rebuild its read grants from the current
configuration while keeping writes disabled and network access
restricted. Preserve read denials from both the saved profile and the
current configuration. For deny globs, use the larger scan depth when
both contributing policies are bounded and keep the scan unbounded if
either contributing policy is unbounded.
## Testing
Cover two consecutive cold resumes under a scoped writable default, and
test that restoration respects the current read allowlist, preserves
saved path and glob denials, merges glob scan depths, and drops the
configured network proxy.
GitOrigin-RevId: 04c91804e83d396402e1c8a985e4c3ff006f7e91
## Why
A launcher that already hosts an MCP server needs a way for Codex to
use it without starting a separate subprocess for the plugin.
## What changed
The stdio app server accepts socket bindings from its immediate parent
on Unix. A binding applies to a local plugin's stdio MCP server only
when the plugin ID, server name, and binding ID match a single entry.
Codex uses the stdio wire protocol over the socket and retains the
original declaration for policy checks.
Before sending MCP traffic, Codex requires a user-owned socket
directory with mode `0700` and verifies the listener's PID and UID.
## Testing
Add tests for binding scope and ambiguous matches, and for rejecting
unexpected listener PIDs, insecure directory permissions, symlinked
socket directories, and relative socket paths.
GitOrigin-RevId: 3d669dd59a0812b04727e4a1e458774007f054ba
## Why
An empty extension registry falls back to legacy host skill discovery
even when `SkipHostSkillDiscovery` is enabled. The remote command
approval test only needs to check plugin attribution when script reads
are denied.
## What changed
Enable `SkipHostSkillDiscovery` and register the skills extension with
no providers in both variants of
`remote_command_approval_skips_attribution_for_a_read_denied_script`.
GitOrigin-RevId: 1abcf6a762ac359825fe1c4db97160b9bfde0f87
## Why
A guest alias needs to expose only the claims selected by policy. Refresh
also needs a way to detect changes to claims the guest never sees.
## What changed
Add a test-only helper that reads expiry from a trusted source JWT and
builds fresh JWT-shaped aliases containing only selected scalar claims.
Each alias uses a random placeholder in the signature segment.
Hash all stable claims, including undisclosed ones, in deterministic JSON
order. Exclude `exp`, `nbf`, `iat`, and `jti` so changes to those fields
during refresh preserve the digest.
## Testing
Cover selective disclosure, alias freshness, and refresh comparisons.
Exercise rejection of malformed tokens, duplicate keys, invalid validity
fields, ambiguous numbers, and disallowed disclosures.
GitOrigin-RevId: 48bc19ac57601e28d5c2cb8881f0ac0f5563aca9
## Why
When a filename is already taken, saving a conversation with `/export` ends
with an error. Users have to restart the export to choose a different name.
## What changed
Show a conflict picker with options to choose another name, replace the
existing file, or cancel. Choosing another name pre-fills an editable
numbered filename, such as `notes-3.md` when `notes.md` and `notes-2.md`
already exist.
Offer replacement only for regular files. After confirmation, check the
directory and file identities and use an atomic rename to install the new
transcript.
## Testing
Cover the picker actions and numbered filename suggestion, verify that
replacement requires confirmation, and check that replacement rejects a
changed file or redirected directory.
GitOrigin-RevId: edcb2fad858bab15a7228c69bd27a8ffd18e8d05
## Why
A fresh session could send client-side execution settings as thread
overrides, even when the destination app server had its own defaults.
The TUI also needs the destination settings when preparing the first turn.
## What changed
Use the destination defaults to prepare the first turn for session
replacement, starts from the agents overview, and backend switches.
Keep explicit launch choices and managed new-thread defaults in the
start request, and let the server resolve its own model and reasoning
effort. When `config/read` is unavailable, omit implicit execution
overrides and avoid replacing server instructions with terminal
visualization text alone.
## Testing
Extend session replacement tests to check the start request and first
turn, including shadowed launch settings, server instructions with
terminal visualization enabled, and compatibility with older servers.
GitOrigin-RevId: d66d6d51495ee067282514a138f7e39abfd91f2f
## Why
A TUI resume request could override a thread's saved service tier with a
configured tier, a model default, or the local Fast default opt-out.
CLI forks could also send a tier before the destination's settings were
resolved.
## What changed
- Send a tier on resume or CLI fork only when the invocation supplies a
tier override. In-app forks carry the current session's tier.
- On fresh startup, use the invocation's tier choice first, then the
managed default, then the startup configuration. Keep an explicit
reset (`serviceTier: null`) distinct from omitting the field.
- Use the current local Fast default opt-out when resolving tiers for
new sessions and honor feature gating for launch overrides.
## Testing
Extend request assertions to cover tier omission on resume and CLI fork,
`flex` on in-app fork, and both explicit reset and disabled Fast mode on
fresh startup.
GitOrigin-RevId: d74f0f5e98506a0d5a6ead7106e1042691d41d41
## Why
Resuming with only a model or reasoning-effort override could also
send the other value from the TUI's resolved config, overriding saved
thread settings. Startup forks could similarly carry an unrelated
default into the destination.
## What changed
Build thread requests from explicit launch overrides. Resolve model
and reasoning effort independently from invocation options and the
selected profile, honoring config precedence. On resume, omit unset
fields so the app server can restore saved values. On startup fork,
let the destination config supply unset fields.
Carry accepted model migrations into resume requests and apply managed
new-thread model defaults on fresh starts without a launch model or
effort choice.
## Testing
Extend resume coverage for model-only and effort-only requests and for
a launch effort shadowed by higher-priority managed config.
GitOrigin-RevId: 5190d9b820a36c4da6a179fbdbca27591b1e8541
## Why
An unsupported UI tag or property invalidates the entire statusline
response, so providers need a fallback for clients whose rendering
capabilities are unknown.
## What changed
- Document the available UI elements with examples for wrapping rows,
spacing fields, preserving whitespace, and displaying status badges.
- Explain how to use `app.cli_version` to check support for features such
as `spacer` and `maxLines`, and return a plain string for the entire
footer when support is unknown or absent. Carry the `spacer` guidance
into the generated TypeScript reference.
- Clarify how to diagnose provider discovery failures with F2 and check
`tools/list` metadata when a provider is missing from the picker.
## Testing
Update the scenario snapshot that verifies an explicit statusline skill
mention loads the bundled guide.
GitOrigin-RevId: 9c6ea1d356146c2d666359732d6a065ed41d9fee
## Why
A Guardian V3 shadow review could keep running after its live review or
owning turn was interrupted, leaving the reviewer slot occupied.
## What changed
- Cancel the shadow when a pending live review is cancelled or dropped,
and let the live review finish its cleanup on cancellation.
- Cancel in-flight shadows when their owning turn is aborted, even if
the live verdict is already available, and prevent new shadows for
that turn. On normal turn completion, shadows can finish independently.
## Testing
Cover tool cancellation during live-review cleanup and turn interruption
both during review and after approval. The app-server test also checks
that a later turn can start a shadow and complete while it is still
running.
GitOrigin-RevId: 45df0575853d5f8ca7ef7282fcd0fa1f22fed6c5
## What changed
Move review preparation, retries, and cached approval handling into
`ReviewRequest::evaluate`. Return the outcome, report, analytics, and
evidence to the synchronous reviewer so it can finish reporting and
produce the approval decision.
GitOrigin-RevId: 3db2b9dadd6c6f15f0e66995f26705ca5c29e6a3
## Why
Synchronous Guardian reviews could receive screenshots from Code Mode calls,
but missed screenshots returned by direct calls to the same REPL connectors.
## What changed
Capture screenshots from accepted direct `node_repl` and `cua_repl` MCP
results when multimodal review evidence is enabled. Include them alongside
Code Mode evidence in call order, with separate retention budgets.
When the synchronous review prompt exceeds its fixed image budget, retry with
only the last image in prompt order and keep it if the prompt fits.
## Testing
Add coverage for screenshot delivery to synchronous permission reviews,
including text-only mode and image budget overflow. Verify that direct
screenshots preserve call order and do not consume the Code Mode retention
budget.
GitOrigin-RevId: e74ee6c5578225efb284c1ca38494377a1d0762e
## Why
A `PreToolUse` hook can change a tool's arguments while keeping its call
ID. An asynchronous risk score for that ID still describes the original
action, even if the score arrives after the rewrite.
## What changed
Require synchronous Guardian review when a hook changes the tool payload
and discard the original assessment. Preserve normal review behavior
when the hook returns an identical payload. Also require synchronous
review for MCP elicitations without an associated tool approval context.
## Testing
Add regression coverage for unchanged hook output, rewritten patches
whose original scores arrive before the rewrite or during review, and
MCP elicitations with missing approval context or rewritten inputs.
GitOrigin-RevId: 994519d61d52c69edcdec9517766a8e3051587d5
## Why
The mouse wheel scrolls the help view, but browsing a long task list
requires keyboard navigation. Once the list can scroll independently of
the selection, task shortcuts need to account for an offscreen target.
## What changed
Scroll the task list without moving the selection, and keep task titles
reachable in short viewports. When the selection is offscreen, show a
reveal hint and make the first task shortcut bring the selection back
into view. Keyboard navigation resumes following the selection.
Suppress repeats from the key that revealed the task so holding a
shortcut such as Stop cannot immediately act on it. On Windows, peek at
queued console input to account for press/release pairs emitted by
legacy ConPTY input.
## Testing
Cover wheel paging and short viewports with a rendering snapshot, test
that Stop requires a fresh press after revealing a hidden selection,
and verify that the Windows release probe leaves queued input intact.
GitOrigin-RevId: ebd7c0993978de3fc07245adf930f9fc63b306c1
## Why
Short terminals can cut off agent center shortcuts and require a resize to
read them. Status filter tabs and their overflow arrows are visible but
require keyboard navigation.
## What changed
- Scroll help with the configured list navigation keys or mouse wheel.
Show a scroll hint when help extends beyond the viewport.
- Click a status tab to filter tasks, or click an overflow arrow to
select the adjacent hidden tab. Overflow arrows also work in Analytics.
- Display `/` as the primary search shortcut and retain `F3` as a binding.
## Testing
Extend regression tests for help scrolling, task paging after resizing
in help, and mouse clicks on filter tabs and overflow arrows.
GitOrigin-RevId: b01b465626a681ca48a6e20547a24cf715a9a406
## Why
When a catalog entry groups multiple installations of a skill, a link to
a specific installation can load instructions from the primary
installation, such as the Cloud copy.
## What changed
Carry the matched installation through to the instruction read and
resource metadata. A path that uniquely identifies an enabled
installation takes precedence over name-only and ambiguous mentions of
the same skill, regardless of mention order. Default mentions still
use the primary installation, and distinct executor environments can
each be selected in the same turn.
## Testing
Extend the merged catalog test to cover a path shared by Cloud and
executor copies and a package link that selects the executor copy.
Update the installation recovery scenario to show that an explicit link
loads the selected environment's instructions into the initial request.
GitOrigin-RevId: f4495c5442b9f4c14d5cdcc4c717717e2119b088
## Why
A model can change between steps of the same turn. Persisted token usage
records need the model for each response to distinguish usage before and
after the switch.
## What changed
Add an optional `model` field to `TokenUsageRecord`. Record the model
selected for the sampling step on both completed and incomplete responses.
Attribute compaction usage to the model selected at the start of the turn.
Existing records without the field still deserialize.
## Testing
Extend coverage to check persisted model attribution and cumulative token
totals after a mid-turn switch, including when the response hits the output
token limit. Verify that compaction keeps the turn-start model attribution
and continues restored usage totals.
GitOrigin-RevId: 3615724c1cbe6ed46c9367d6c3c1a29ebaba73d8
## Why
MCP refresh traces show how long an operation waits for the refresh gate, but they lack the timing and operation labels needed to identify which refresh held it.
## What changed
- Tag refresh wait and hold spans with a shared gate ID and the operation name so overlapping spans show which operation held the gate while another waited.
- Carry the scheduling trace context into background MCP prewarm and add a span for the Apps catalog refresh.
## Testing
- Add a test that checks the exported wait and hold spans share a gate ID and overlap while a second operation waits for the permit.
- Make the worktree TUI test wait for the `Ready` run state before submitting input, since a directory change can appear while the composer is still busy.
GitOrigin-RevId: be2b6d2a82e4a5b553fb3f335850865f04a181ee
## What changed
Record `codex.turn.pre_sampling.duration_ms` when a sampling phase starts. Use the `is_first_sampling_request` label to distinguish overhead before the first request from overhead accumulated since the preceding request. The timing excludes tool blocking and compaction.
## Testing
Extend turn timing tests to verify the first-request duration, per-request overhead across subsequent requests, and the exclusion of tool blocking and compaction.
GitOrigin-RevId: 068be5cb4d1345dc064fa8f1df2469dfa0f3071f
## Why
Serde's derived decoders could accept positional arrays for values the UI
tree schema defines as objects. For example, row props could be written
as `[1, "red"]`, tying their meaning to the order of Rust fields.
## What changed
Require JSON objects for typed elements and their props while retaining
literal string nodes and child arrays. Pass object fields directly to
the derived decoders so duplicate and unknown fields are still rejected.
## Testing
Add regression cases for positional props, positional elements at the
root and inside children, and duplicate keys. Verify that named row
layout props round-trip through JSON.
GitOrigin-RevId: 81fbd048e8b7b1df6b453d97c9e16e8194a451a6
## Why
TUI copy tests can verify the text sent to the clipboard and `PRIMARY`
without depending on the host clipboard or waiting for a background worker.
## What changed
Give each test TUI its own in-memory clipboard and `PRIMARY` selection.
Handle requests inline and expose completions through the normal worker
polling path.
## Testing
Assert copied text in transcript, sidebar preview, and turn tip tests.
Verify that a second TUI's copy leaves the first TUI's Markdown clipboard
text and plain-text `PRIMARY` selection available for paste.
GitOrigin-RevId: 159845b17f0dac26b4b12c3851c101afe8d21d2d
## Why
Hosted children using a shared service tier already reject overrides
when a turn starts, but turn settings updates could still request a
different tier during an active turn.
## What changed
Apply the same rejection and error message to turn starts and active
turn settings updates for hosted children using a shared service tier.
## Testing
Extend the WebSocket regression test to verify that a mid-turn tier
override is rejected and the child still uses the root's updated tier
on its next step.
GitOrigin-RevId: 4fad6d02b56d81aba162f3e87b6dcaae2386d171
## What changed
Offer “Use Google Cloud Vertex AI” during eligible terminal onboarding
without requiring users to set `gcp_setup_wizard = true`.
## Testing
Use the feature default in the Google Cloud setup flow test and explicitly
disable the Google Cloud wizard in the gateway-only onboarding case.
GitOrigin-RevId: 098c3842623de13aa9c4852e188f225923c5c5d9
## What changed
Offer “Use a custom provider or gateway” in eligible terminal sign-in flows
without requiring users to set `features.gateway_setup_wizard = true`.
## Testing
Exercise the default in the gateway onboarding test, which verifies that the
selected gateway authenticates before receiving the first chat request.
GitOrigin-RevId: e140b13dc12ebe9b35f37711d5b088fd02a0707c
## Why
When the TUI omitted the provider ID, the app server defaulted to
`amazon-bedrock`. Bedrock onboarding needs to select `amazon-bedrock-runtime`
for the first thread.
## What changed
Pass `AmazonBedrockRuntime` explicitly when onboarding with an API key, an
AWS profile, environment credentials, or manually entered AWS credentials.
## Testing
Extend the daemon startup integration test to accept credentials detected in
the running daemon and verify that the first thread shows
`amazon-bedrock-runtime` in the status line. The test leaves the model unset
so the thread uses the selected provider's catalog.
GitOrigin-RevId: 57753a29c77b0bd1bcbb0494057770329cd0b67d
## What changed
Remove the `web.run` instructions to check local code first and limit
browsing to official OpenAI sites for OpenAI product questions, to rely
only on primary sources for technical questions, and to explicitly flag
inferences from sources.
Update the thread sampling and web search scenario snapshots to reflect
the revised tool description.
GitOrigin-RevId: d35dcaaeb69940af5d7f9df19aba337fd0ab6426
## Why
An injected `send_message` correction could reach a hosted worker before
the `followup_task` it refers to because turn-local input drains before
the mailbox. An interrupt during a history checkpoint could also drop
corrections from a batch that had already left the queue.
## What changed
Queue plain-text agent messages behind pending follow-up tasks and
deliver them in mailbox order, even across turn boundaries. Record
accepted follow-ups and corrections before waiting on their checkpoint,
and save deferred injections to session history on shutdown.
## Testing
Add regression coverage for native and hosted delivery order, hosted
corrections sent between turns, interruption during a checkpoint, and
correction persistence across shutdown and resume.
GitOrigin-RevId: 3acffd175d3bb2d7e1a9f704fe6c6d6ce38e798d
## Why
An intake failure blocked new shadow reviews but let in-flight reviews
continue after the board stopped receiving thread history. Loaded child
threads could also retain references to the stopped board.
## What changed
Cancel in-flight shadow reviews and release board resources in the
background when intake stops. Keep completed verdicts in the comparison
with Guardian V2 and count eligible reviews skipped because intake
stopped across the root and its child threads. Allow a fresh board when
shadow enrollment is turned off and back on.
## Testing
Cover cancellation while a shadow response is still pending, board
cleanup while child threads remain loaded, and retirement waiting for
a finishing review to release its slot.
GitOrigin-RevId: a95bf5527ef3251d37207d07d76430f6557cd420
## Why
Comparing the live v2 reviewer with the v3 shadow reviewer requires
measuring both on the same action. A live retry can pick up new context,
which can affect how a verdict disagreement is interpreted.
## What changed
Record outcomes for each reviewer and emit paired outcomes and timings
when both return validated verdicts. Measure from a shared start to each
verdict's validation and tag the pair when the live review's context
changed.
Track shadow skips when the reviewer is busy or intake has stopped, and
exclude shadow denial retries from live reconsideration metrics.
## Testing
Add a metrics test that checks exactly-once reporting for completed,
failed, and cancelled samples and verifies pair emission for two
validated verdicts.
GitOrigin-RevId: 1a0f8e4e38099ea172e6511d4fa2fe8735b82ea4
## Why
Collect Guardian V3 verdicts for actions that require a fresh Guardian V2
review while keeping Guardian V2 in control of approval and tool execution.
## What changed
When Guardian V3 shadowing is enabled and an enrolled reviewer is available,
run a single background review for eligible fresh approvals and log the
outcome with the live review ID. Skip shadowing when the reviewer is busy,
shadow intake has stopped, or a rollout budget is configured.
## Testing
Add app-server coverage for immediate approvals, ordinary synchronous
reviews, and fresh reviews with and without a rollout budget. Hold a shadow
denial in flight to verify that the tool and turn can finish, a second
request skips the busy reviewer, and stopped intake prevents new shadow
reviews while the in-flight verdict can still finish.
GitOrigin-RevId: 5e31f3d7e3b0433455b8f2a5fb52e483588b1b29
## Why
Recording a declined command can delay tool-result delivery. When
one-shot commands shared that pause for runtime limits, a sibling
command could keep running past its configured `timeout_ms`.
## What changed
Track command timeouts separately from tool-result delivery. A proposed
command holds result delivery through setup and resolution, while its
approval prompt pauses command timeouts only while a decision is
pending. A running one-shot command can then time out while its result
is still held, with its terminal ID remaining addressable until result
collection finishes.
## Testing
Cover the pause states before, during, and after the approval prompt.
Exercise both a sibling command that times out and one that exits
normally while a decline is being recorded, checking terminal access
and the exit status in the eventual tool result.
GitOrigin-RevId: d359bfc99fb9c23e6c61e94d75040cd6c1b09c49
## Why
On Windows, a case-folded trust key can make a Git root appear as a
separate path in the folder trust prompt even when it is the current
directory.
## What changed
Display the Git root with its original casing when it matches the
current directory. Keep the selected trust key for saving the decision
and continue to show distinct trust targets.
## Testing
Cover mixed-case Git roots in trust resolution and verify that the
prompt displays a single path for a matching root while keeping
distinct targets visible.
GitOrigin-RevId: 95b459dbcb8acf0611da8b04a1a413e56663f1e4
## Why
Blank gaps in nested rows can shift end-aligned text when a row is
clipped. Blank lines can also lose their inline code or flex background.
## What changed
Suppress unpainted gaps on blank lines in aligned rows while preserving
spacer padding that clipping can reclaim for the ellipsis. Paint inline
code gaps and fill explicit flex backgrounds through the visible height
of stretched bands.
## Testing
Add rendering regressions for clipped end alignment, ellipsis placement
next to a wide glyph, and background coverage on blank lines.
GitOrigin-RevId: 2fc9d4b651dbf8a3cd8f63867bc6730a3bebd3ac
## What changed
Render named `icon` elements inline with terminal text. Badges can
display an icon on its own or place it before or after a label. For
example, a success badge can show a `check` icon next to “passing”.
Keep icons intact when wrapping or truncating text, including icons
that span multiple cells such as `code` (`</>`). Expose the new
element and badge combinations in the bundled TypeScript contract.
## Testing
Add coverage for icon and badge rendering, whole-icon truncation,
invalid icon payloads, and badge children counting toward the UI tree
node limit. Update the TypeScript contract fixture to exercise a badge
with a leading icon.
GitOrigin-RevId: 8a5afb0662a71cf1b5d16400b9866cb414c11646
## Why
Custom status lines need a way to display grouped entries with automatic
numbering and keep wrapped lines aligned with the item text.
## What changed
Add `list` and `list-item` to the UI tree and the bundled TypeScript
contract. Each direct child of a `list` is an item. Use `list-item` to
combine multiple elements under one marker.
Lists use bullets by default and accept `number` or `none` as alternatives.
Wrapped lines align with the item text, and nested numbered lists start
their own count.
## Testing
Add renderer tests for wrapping, nested numbering, marker placement in
rows, clipping, and background preservation. Extend the decoding and
TypeScript contract tests to cover invalid markers.
GitOrigin-RevId: 991d230357f035ccbe7e52956ef1cbfe5b1e2174
## Why
Rate limits and thread usage can arrive after `/status` is displayed.
Updating a status card already in terminal scrollback required rewriting
history and depended on where the card was rendered.
## What changed
- Show the report in a scrollable modal with Overview, Configuration, and
Session tabs. Apply rate limit and thread usage results to the open report
without writing status output to the transcript or terminal scrollback.
- Copy a selected field or the full report directly from the modal, and open
usage settings from the same view. Remove status fields from the `/copy`
picker.
## Testing
Add coverage for overlapping refreshes, dismissal during account or thread
changes, keyboard navigation and copying during an active turn, and scrolling
in a narrow terminal.
GitOrigin-RevId: 64961c4d013607e373d50a79182b74e3048c632f
## Why
Reattaching a cloud reply stream after a disconnect can leave gaps in
the transcript. Queued follow-ups also need to wait until the TUI has
caught up and knows whether a turn is already running.
## What changed
- Automatically resume eligible idle cloud conversations with history
recovery. Replay missed items and repair partial replies in place while
preserving the draft and native terminal scrollback.
- Hold queued follow-ups until the reattached stream has delivered its
pending events and any active turn has settled.
- Reconcile queued async question answers against recovered history.
Drop answers already recorded and return unresolved unsent answers
to the composer for review.
## Testing
Add regression coverage for transcript repair, scrollback preservation,
queued input during catch-up, and async question answer recovery.
GitOrigin-RevId: 3378479ff886204cdc473a701ef51b3fc8b6b5c0
## Why
Side chats disabled `/archive`, so users couldn't archive the current
side chat from the composer while the sidebar was hidden.
## What changed
Show a confirmation in the composer even when the sidebar is hidden.
Warn about stopping a running turn, discarding unsent input, or losing
temporary chat history when applicable.
On confirmation, return focus to the parent chat's composer. Archive
saved side chats and remove them from Side chats. Close temporary side
chats and discard their history after cleanup succeeds.
## Testing
Cover saved side-chat archiving, including retry after a failed archive,
and verify that a temporary side chat stays accessible with its queued
input when cleanup fails.
GitOrigin-RevId: 1bbe25a241719cdc2722bc8db915dea9111b6fc9
## What changed
Let the transcript reader paint into a caller-provided frame and area,
returning the delay for the next search or history-loading frame. Split
event preparation, including clipboard completions and selection ticks,
from input dispatch so the app can refresh visible rows before handling
selection input.
Extract transcript reader construction and centralize the app's overlay
input checks. Route draft snapshot flushing through `ChatWidget`.
GitOrigin-RevId: c5e093f585e264c4ffea51ebfcff0b08a1c3ff93