Skip to content

Merge OpenCodex v2.100.14 update - #22

Merged
bcdonadio merged 51 commits into
customfrom
update/upstream-2.100.14
Dec 4, 2026
Merged

bcdonadio merged 51 commits into
customfrom
update/upstream-2.100.14

Conversation

@bcdonadio

@bcdonadio bcdonadio commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Merge upstream stable v2.100.14 into custom. Preserve upstream ancestry for release selection and align package and desktop versions.
  • Carry upstream startup ownership, retry, and routing fixes. Keep the fork's Hub entitlement version, Responses request preparation and replay metadata, and split test layout.
  • Combine upstream's conversation-aware helper target with the fork's per-frame WebSocket provenance. Preserve the fork's fast-uri pin and pin cross-spawn and the GUI's ws to their verified lockfile resolutions.

Start review in src/server/responses/request-prepare.ts, then check the test-layout fixture, dependency overrides, and startup ownership tests. The fork release workflows are unchanged from custom. Independent security review covered changed credential handling, dependency overrides, process ownership, and release boundaries. Host-global ownership across reboot relies on unique hostnames where state is shared, consistent with the documented Hub deployment constraint.

Verification

  • Bun 1.4.4 matched the release tooling's pinned SHA-256. Root and GUI frozen installs passed. Reviewed Socket scores, alerts, and transitive findings for [email protected] and [email protected].
  • Runtime regressions: 396 passed, 3 skipped across startup identity/refusals, service and tunnel ownership, Hub entitlements, Responses replay and compaction, and shadow routing.
  • Layout, client support matrix, release version sources, and structure: 104 passed. The follow-up passed 38 layout and file-size checks and 10 Responses owner-graph checks. GUI gateway setup, shadow routing, and compaction: 48 passed. The docs build generated 820 pages and checked their internal links. git diff --check passed.
  • The DCO app flags 49 inherited upstream commits. Both fork commits are signed and signed off.
  • Live client preflight verified readiness, a fresh Codex app-server with 33 picker entries, and authenticated Responses WebSocket inference on the existing relay. Full local suite, typecheck, lint, and privacy checks are outside the focused update workflow. The fork's Cross-platform CI workflow is disabled.

Upstream captures from helper routing and gateway clients show the imported GUI features.

Follow the chat provider row

Gateway clients section

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

lidge-jun and others added 30 commits December 1, 2026 13:48
… dates (lidge-jun#9265)

* test(usage): pin Mistral budget observations before the reset deadline

* test(providers): keep the Kimi monthly budget fixture current

---------

Co-authored-by: luvs01 <[email protected]>
* docs: show how to use a failover combo for shadow calls

* docs(es): mirror the failover combo shadow target example

* docs: enable quota-only shadow failover in the example

Enable the setting when creating the subscription combo, and use a lighter Anthropic target for helper calls. Keep the English and Spanish examples aligned.

* docs: clarify temporary cooldown in quota-only failover

---------

Co-authored-by: JUN <[email protected]>
…dge-jun#9279)

* test(routing): isolate lifecycle locks in child route scenarios

* test(routing): report child spawn errors in Claude fixture

---------

Co-authored-by: luvs01 <[email protected]>
…ge-jun#9257)

* fix(responses): keep hosted shell history in translated requests

parseRequest already paired local_shell_call with function_call_output, but a hosted shell_call uses action.commands and shell_call_output. Those items were dropped, so the next translated turn lost both the command and its result.

* fix(responses): keep stdout and exit status from hosted shell output

A hosted shell_call_output carries stdout, stderr, and an exit or timeout outcome. The shared text-part helper skipped those objects, so a translated follow-up saw an empty result.

* fix(responses): replay undeclared hosted shell history as text

A hosted shell_call became a tool call named shell even when the request declared no callable shell tool. Translated Anthropic requests then sent tool_use without a tools entry. The command and its output stay in the history as text unless a function or custom tool named shell is declared.

* fix(responses): keep hosted shell replay aligned with the tool catalog

Shell replay now sees declarations carried in additional_tools and tool_search_output. A custom shell tool stores the command as freeform input. Text replay of a hosted shell result stays on the open assistant turn, so it does not separate a function call from its result.
…talls (lidge-jun#9278)

* fix(windows): recognize Korean scheduler access denial on fresh installs

* docs(es): describe the Korean scheduler diagnostic

* test: stabilize quota dates and isolate Home route subprocess locks

Carry the verified fixture corrections from lidge-jun#9265 and lidge-jun#9279 into lidge-jun#9278. Keep production behavior and all existing assertions, pin Mistral observations within the fixture period, keep the Kimi reset in the future, and use a separate real lifecycle lock for each child fixture.

(cherry picked from commit d97f06f)
(cherry picked from commit 4499f63)
(cherry picked from commit 30d9b1e)
(cherry picked from commit a812fae)

* ci: run the broad scheduler test selection across Ubuntu shards

The corrected changed-test lane exited 124 at its 25-minute wrapper limit (run 46821050194) without a new assertion failure. Use the repository's existing ci:full label to split the full suite across its five Ubuntu test jobs. The label selector requires a new pull-request synchronization event.

This commit retains the previously validated source tree and existing CI policy.

---------

Co-authored-by: luvs01 <[email protected]>
lidge-jun#9303)

* fix(responses): keep a replayed web_search_call id when store is false

With store: false the passthrough strips every input item id. A Claude search
that a Responses gateway (CLIProxyAPI) returned as a web_search_call lost its
ws_srvtoolu_ id that way, and the gateway rebuilds Claude's server_tool_use and
web_search_tool_result pair only from that id, so it dropped the replayed cell
and the next turn answered that it had never searched. The cell carries its
whole search, so its id names no stored item and now stays on the wire.

Fixes lidge-jun#9300

* test(responses): pin the id of a search cell replayed without results

Codex CLI stores a web_search_call without its results array, so the
cell it replays carries only the id, status and action. The id still
lets the gateway rebuild the search call, which tells the model it
searched and for what. Without this case a fix that kept the id only
when results were present passed the suite.

* docs(responses): state that a web_search_call keeps its id under store false

The structure transport docs and the preserveResponsesInputItemIds row
said every input id is stripped when store is false.

* docs(responses): say what keeping a search cell's id does not restore

CodeRabbit on lidge-jun#9303: the comment and structure/transports/responses.md
said the cell carries its whole search, while a cell replayed without
results keeps its id and still lacks them. Describe the id as the
search's identity that a gateway rebuilds the call from, with whatever
results the cell still carries.

* docs(responses): state when store false keeps input ids

CodeRabbit on lidge-jun#9303: the structure doc said store false strips every
input id except a web_search_call's, while preserveResponsesInputItemIds
keeps them all and the shape check that runs first still removes a
web_search_call id without the ws_ prefix. State both conditions.

* docs(responses): name the xAI and bridged-search cases of the id rule

CodeRabbit on lidge-jun#9303: the store false paragraph left out that an xAI
Responses destination keeps or repairs custom_tool_call ids, and that a
cell the webSearchBridge recorded is replaced by the call and output
the bridge produced before ids are sanitized, so it does not reach the
destination without results.

* docs(responses): state when the bridge restores a replayed search cell

CodeRabbit on lidge-jun#9303: a recorded search alone does not restore the cell;
the replay scope must match and the recorded call_id must not already be
in the input, as restoreBridgedWebSearchCalls checks.
)

* fix(doctor): explain unverified Codex journal baselines

* fix(doctor): name unreadable Codex journal inputs

---------

Co-authored-by: luvs01 <[email protected]>
…idge-jun#9276)

* fix(build): embed standalone workers without writing into the source checkout

* test(quota): keep budget fixtures valid across reset dates

Carry the verified fixture corrections from lidge-jun#9265 into lidge-jun#9276. Pin Mistral observations within the fixture period and keep the Kimi reset in the future without changing production behavior or expected results.

(cherry picked from commit d97f06f)
(cherry picked from commit 4499f63)

* test(routing): isolate Home route subprocess lifecycle locks

Fix the client_lifecycle_busy and Home route 500 failures exposed by the build PR's changed-test lane. Carry the two reviewed fixture corrections from lidge-jun#9279 and use the same real SQLite lifecycle-lock isolation in the four adjacent Home/Child scenario harnesses.

Assert that lock acquisitions stay inside each fixture and that representative writes acquire the expected lifecycle database. Existing route assertions and production locking behavior are preserved. A private SQLite contention probe reproduces failure before isolation and success after it.

Use the existing ci:full label for full Ubuntu shard validation, including the native Codex cases blocked by this local container's /tmp ownership guard.

(cherry picked from commit 30d9b1e)
(cherry picked from commit a812fae)

---------

Co-authored-by: luvs01 <[email protected]>
…ete (lidge-jun#9292)

* fix(history): refuse legacy relabels when rollout evidence is incomplete

* test(quota): keep history PR budget fixtures valid across reset dates

Carry the verified quota-clock corrections from lidge-jun#9265 into lidge-jun#9292. The changed-test lane reported four Mistral reset-classification failures and three Kimi monthly-window failures after the fixture reset date passed. Keep all existing assertions and restore the clock after each test.

(cherry picked from commit d97f06f)
(cherry picked from commit 4499f63)

* docs(history): state the terminating newline requirement for legacy relabels

---------

Co-authored-by: luvs01 <[email protected]>
…idge-jun#9281)

* fix(update): report verified Windows stop failures in dashboard jobs

* test(update): preserve worker file limits and stop fixture inputs

* fix(update): name the stop deadline option for a budget refusal

* test(advisor): wait for observed heartbeats before completing consultation

Carry the verified fixture correction from lidge-jun#9283 into lidge-jun#9281. Preserve heartbeat, continuation-order, and terminal-event assertions with bounded cleanup.

(cherry picked from commit 6d07fbc)

---------

Co-authored-by: luvs01 <[email protected]>
Send the source combo revision when building a save from a prior read. Preserve the competing edit and report how to review the current combos on conflict.
…er (lidge-jun#9255)

* fix(codex-cli-update): recognize the Windows standalone Codex installer

On Windows, a Codex CLI installed by OpenAI's standalone installer was never
observed: inspection only accepted an npm codex.cmd named by CODEX_CLI_PATH, so
the dashboard reported the install as uninspectable and the plan refused with
windows_inspection_deferred.

Recognize the installer's junction layout (Programs\OpenAI\Codex\bin ->
packages\standalone\current\bin -> releases\<version>-<target>) from the
known-folder LocalAppData, read the release codex-package.json through the
native handle-bound reader, and report it as an unmanaged standalone install
with its version. The plan refuses it as not_managed.

* fix(codex-cli-update): normalize a configured standalone launcher before matching

A CODEX_CLI_PATH spelled with a dot component (bin\.\codex.exe) names the installer launcher but skipped standalone recognition and fell back to the app-bundle classification. Addresses the CodeRabbit review on lidge-jun#9255.
…itor PUT (lidge-jun#9263)

* fix(gui,cli): strip every /api/config decoration before a provider editor PUT

GET /api/config decorates OAuth rows with knownSubscriptionOAuth and the canonical
ChatGPT forward row with canonicalOpenAiForward. The dashboard JSON editor and
ocx provider snapshot each kept their own list of display-only fields and both
missed these two, so PUT /api/providers rejected every save ("contains
non-editable field") on any config holding an OAuth or canonical openai row.

Both clients now strip through one dependency-free list in
src/lib/provider-editor-dto-fields.ts, and a server test fails when
safeConfigDTO adds a decoration the list lacks.

* test(providers): exercise every safeConfigDTO decoration branch in the drift check

The drift check only looked at the decorations its roster produced. It had
no Vertex row, no xai row and no stored first-selection record, so a new
decoration in one of those branches, or a list entry that lost its
producer, went unnoticed. A second test now builds one row per producing
branch and asserts that the emitted decorations are exactly
PROVIDER_CONFIG_DTO_DERIVED_FIELDS; the round-trip test is unchanged.
…un#9229)

* fix(anthropic): record upstream served model observations

* fix: guard parseStream wrap when adapter lacks it
…ModelForce (carry lidge-jun#9150) (lidge-jun#9315)

Carry of lidge-jun#9150 with combo-alias agent naming fix (name from roster entry as written; dedupe on name+route).

Co-authored-by: Albi Fahrizqi <[email protected]>
…idge-jun#9259) (lidge-jun#9316)

Carry of lidge-jun#9259 (synthesizes result for dangling shell_call and lowers orphaned shell_call_output to a labeled user message).

Co-authored-by: lcxhh <[email protected]>
…un#9210)

* feat(gui,docs): surface Antigravity gateway clients in Route and support matrix

Add a read-only Gateway clients section for Antigravity (desktop) and agy (CLI)
in Route -> Clients using Route card state styling, propagate AbortSignal
cancellation in loadGatewayClientOverview, and generate gateway client entries
across localized READMEs and client support matrix docs (with unified
Enrutamiento/Routage navigation labels).

Refs lidge-jun#9204

* fix(gui): keep a connected agy connected when its URL is exported

* fix(gui): keep gateway client links inside their cards

* docs: list the Gemini endpoints on the client support pages

* fix(gui): show unknown when Antigravity settings can't be parsed

* fix(gui): use hash buttons, reject malformed gateway rows, and invalidate caches

* fix(gui): keep gateway badges in card header and avoid redundant refresh

---------

Co-authored-by: JUN <[email protected]>
…ys (lidge-jun#9314)

* fix(openai-chat): read Responses-style usage aliases from Chat gateways (lidge-jun#9306)

Some Chat Completions gateways (CoreMind) report usage as input_tokens /
output_tokens with input/output_tokens_details, which recorded zero tokens
and no tok/s. usageFromOpenAIChat now falls back to those aliases only when
the Chat field carries no number, so a reported Chat zero still wins.

* docs(structure): record the Chat usage alias fallback (lidge-jun#9306)
…fig exports (lidge-jun#9318)

* fix(opencode): write the loopback placeholder apiKey whenever admission is not required (lidge-jun#9293)

A default loopback bind (listener unset) still exported
{env:OPENCODEX_OPENCODE_API_KEY}. OpenCode resolves an unset reference to an
empty string and refuses the Responses provider with "Missing auth credential:
apiKey" before sending. opencodeProviderConnection now writes the non-secret
opencodex-loopback placeholder whenever shouldInjectApiAuthHeader is false and
the base URL is loopback, matching Pi, Kilo and ZCode. Authenticated binds keep
the x-opencodex-api-key header with the env reference.

* fix(opencode): assert the keyless destination only from the serving config (lidge-jun#9293)

Review found that inferring the placeholder inside opencodeProviderConnection
also changed `ocx export --client opencode` and the `ocx opencode` launcher.
Those pair a probed endpoint with saved local config, which can describe a
different (authenticated or SSH-forwarded) listener. That is the lidge-jun#9069 caveat.

opencodeProviderConnection is back to placeholder only on keylessInference.
The two callers that build the export from the serving process's own config,
exportContextOf (managed integration and refresh) and /api/client-config, now
set keylessInference whenever shouldInjectApiAuthHeader is false: a plain
loopback bind as well as the enabled keyless listener. The CLI export and the
launcher keep the env reference.
…dge-jun#9319)

* fix(link): prove macOS tunnel ownership from the kernel TCP table (lidge-jun#9272)

The Darwin branch of inspectIpv4LoopbackListener ran lsof, which blocks on
filesystem metadata while a removable volume is busy. During USB writes it
missed the 2 s tunnel-owner deadline, so the Child answered
503 home_unreachable. It now reads /usr/sbin/netstat -anv -p tcp, finds the
owner column by header (process:pid, or pid on older releases), counts fixed
trailing columns so process names with spaces parse, and accepts only an
exact 127.0.0.1 (or IPv4-mapped) LISTEN row. The 2 s deadline is unchanged.
Conflicting owners and an empty valid table are a mismatch; an unrecognized
table or a matching row without a PID is a lookup_error.

* fix(link): reject reshaped netstat rows before reading the owner PID (lidge-jun#9272)

Review hardening: every column after the owner must be numeric or hex and a row may not be shorter than the header, so a malformed row cannot let a spaced process-name fragment such as x:42 stand in for the PID. Such a row is a lookup_error.
…unt (lidge-jun#9307) (lidge-jun#9321)

* fix(kiro): count bonus credits and retry a burst 429 on the same account (lidge-jun#9307)

parseKiroUsage counts active, unexpired bonus pools toward the routed percentage and exhaustion, and a pooled request retries its own account once on a short burst throttle before handing off; monthly or overage refusals, long delays and a repeat 429 still fail over at once.

* fix(kiro): keep a spent bonus window out of routing and the pooled retry off the shared throttle gate

* fix(kiro): pool an active free trial into the routed percentage and drop spent trial windows
lidge-jun and others added 20 commits December 4, 2026 00:39
…he attempt (carry lidge-jun#9308) (lidge-jun#9317)

Carry of lidge-jun#9308: keep retrying authoritative pre-output refusals regardless of slow attempt duration.

Co-authored-by: Bezrabotnyi <[email protected]>
…) (lidge-jun#9313)

* fix(oauth): keep spent siblings out of account rotation (lidge-jun#9304)

Reactive rotation now drops a sibling whose measured quota is spent until a future reset (or spent on a reading under 30 minutes old) before any strategy picks, so a refused request returns the limit instead of retrying on an account already at 100%. Windows whose reset has passed no longer count as spent, and first-attempt round-robin and fill-first prefer unspent accounts.

* fix(oauth): commit round-robin against the same spent-filtered list it proposes from
…s usage (lidge-jun#9258)

* feat(desktop): keep Codex Desktop Send open while another provider has usage

Codex Desktop disables Send from the ChatGPT /wham/usage snapshot alone, so
an exhausted ChatGPT account blocks turns routed to other OpenCodex
providers.

- Clear a plain rate_limit_reached rate_limit_reached_type when correcting:
  Desktop 26.1120 keeps Send disabled while that reason is non-null.
- Add the routed-provider-capacity activation scope: a standing policy with
  account-wide consent that corrects each eligible usage record only while a
  configured provider other than the native ChatGPT one reports remaining
  quota, and refreshes usage streams when that capacity changes.
- desktopCompatibility.routedProviderUnlock starts it with observation; the
  runtime route accepts the scope.

* fix(desktop): ignore failed capacity reads and report policy start failures apart

- A failed routed capacity read is no longer a capacity change, so it does
  not close bound usage streams; each routed period starts from a fresh
  baseline (createRoutedCapacityWatch).
- A rejected routed-provider activation at startup warns that observation is
  running and only the policy did not start, with a generic code.

* fix(desktop): bind the routed capacity watch to the activation generation

The runtime tick samples the mode once, so observe followed by a new routed
activation between two ticks reused the previous activation's baseline. The
watch now keys its baseline on the routed generation and discards a read
that finishes under another generation.

---------

Co-authored-by: JUN <[email protected]>
…he app-server shim (carry lidge-jun#9053) (lidge-jun#9320)

Carry of lidge-jun#9053: spendCredits lifts credit-variant limit gates in the app-server shim.

Co-authored-by: lcxhh <[email protected]>
…(carry lidge-jun#9288) (lidge-jun#9311)

Carry of lidge-jun#9288: let shadow helper calls follow the conversation provider, with concurrent refresh race fixed.

Closes lidge-jun#9096
Co-authored-by: Pengusto <[email protected]>
…jun#9205)

* Allow additional instructions for routed compaction summaries

* Tighten compaction instruction limits and panel save gating

- Cap the additional instructions field by code points so it matches the
  server's 8,192-character limit instead of stopping at 4,096 emoji.
- Keep panel controls disabled until the combo catalog settles, so the first
  click after load cannot be dropped.
- Clarify whitespace-only values in the English and Spanish server docs.

* Skip compaction rollback after a published config write

A ConfigWritePublishedError means the file already holds the new values; restoring
the captured compaction keys then lets the next save overwrite what disk published.
Follow the shadow-call and auto-review handlers and roll back only when nothing was
published.

* fix(compaction,gui): guard post-publish settings rollback and normalize instruction newlines

* fix(compaction,gui): normalize instruction newlines before length check and index hub search

---------

Co-authored-by: JUN <[email protected]>
…ipt (lidge-jun#9275)

* fix(windows): start the scheduler proxy as a standard user without VBScript

* test(windows): verify both launcher paths on simulated hosts and sync Spanish help

* fix(windows): recheck listener after enumeration and isolate unreadable launcher evidence

* docs(windows): include the JScript launcher in the stop binding rule

Addresses the documentation note in PR review 6126016581.

* fix(windows): preserve the snapshot failure before the first usable frame

Retain a completed baseline after optional owner enrichment fails. If the helper times out while writing the first frame, report the timeout. Keep an explicit output-cap failure distinguishable from a timeout.

* test(providers): bound nested Mihomo fixture startup and cleanup

Carry the verified fixture correction from lidge-jun#9286 into lidge-jun#9275. Keep the inner assertions unchanged and terminate and reap the child before the outer deadline.

(cherry picked from commit f6f2e1a)

* test(quota): keep scheduler PR budget fixtures valid across reset dates

Carry the verified quota-clock corrections from lidge-jun#9265 into lidge-jun#9275 after its new changed-test run exposed the expired Kimi and Mistral fixtures. The existing Mihomo child-process correction stays included. All three affected files pass together without changing assertions.

(cherry picked from commit d97f06f)
(cherry picked from commit 4499f63)

---------

Co-authored-by: luvs01 <[email protected]>
Co-authored-by: JUN <[email protected]>
…ed by another user (lidge-jun#9230) (lidge-jun#9326)

* docs(devlog): plan for startup refusal after recorded PID reuse

* fix(start): release a reused owner PID on positive identity evidence

A stale runtime record naming a PID that another user's process now holds
made kill(pid, 0) return EPERM, and the startup recheck stopped before any
identity check, so start refused until someone deleted the records (lidge-jun#9230).

EPERM now reaches identity evidence. The PID is released only on positive
proof that it names a different process: a creation identity that differs
from the record's startTime (only when ownerScope shows the PID was issued
in this PID space, keeping lidge-jun#8552), a Linux thread of another process or a
kernel thread, or a readable non-OpenCodex command line. Unreadable evidence
keeps the refusal.

The refusal message names the reason and the files to remove, service
start/restart/repair quote a refusal logged during their health wait, and
ocx resolve uses the same tri-state observation as ocx start.

Refs lidge-jun#9230

* fix(start): gate reused-PID evidence on a proven PID namespace

Round-1 review: a shared network namespace or container layer does not
prove a shared PID namespace (host-network containers), and the Linux
structure and post-EPERM command-line evidence were not scope-gated.

ownerScope now records the PID namespace. All new evidence, and EPERM
reaching it, applies only to the recorded PID when the record proves this
PID space: same host and same PID namespace, across boots only for the
initial namespace. Every other candidate keeps the previous rules
exactly, so the earlier test edits are reverted.

ocx service marks the log before the manager acts, and the report matches
the log by inode and size. The command-line read inherits the caller's
remaining deadline.

Refs lidge-jun#9230

* fix(service): read the startup refusal through one descriptor; state the legacy-record contract

Round-2 review: records from versions without ownerScope.pidNamespace keep the
refusal by design (documented with the versions that introduced each field), and
the refusal log scan now takes identity and bytes from one descriptor.

Refs lidge-jun#9230

* test(service): reset the exit code the refusal report test leaves behind

* fix(service): keep quoted refusal paths whole; keep unfixed findings out of devlog

Codex review (P1): the devlog table described paths this PR does not change;
per the AGENTS.md security-notes rule they move to scratch, and the plan keeps
this fix and non-security follow-ups. CodeRabbit: the quoted refusal keeps both
record paths, and a liveness-level test checks that a record's creation identity
never releases a different ocx.pid PID.

Refs lidge-jun#9230
…lder is gone (lidge-jun#9329)

* fix: release lock and pidfile owners only on positive evidence the holder is gone

Recorded owners of local locks and pidfiles were judged by kill(pid, 0) alone,
and several probes read a refused signal (EPERM) or any other probe failure as
"dead". Add src/lib/process-holder.mjs (plain ESM, also usable under Node): a
holder is gone only when its PID is unused (ESRCH) or, for a record whose
ownerScope proves this PID space, names a process with another creation
identity. EPERM and unreadable evidence keep the hold.

- isProcessAlive, the Lab ledger lock, startup journal reconciliation and the
  Remote Link child binary fill lock treat only ESRCH as gone.
- The Codex shim restore lock and the desktop restart lock record their
  owner's creation identity and scope and are reclaimed only on that
  evidence; the desktop lock is no longer evicted by age while an identified
  owner lives, and reentry requires the same process, not just the same PID.
- The Home's one-route link pidfile records the ssh start time and is
  signalled only when pid, argv and start time still match.

Records written by older versions keep their previous rule.

* fix: record holder identity for link pidfiles, fill, ledger and journal owners

Link pidfiles (one-route and multi-route) record a boot-qualified creation
identity and owner scope and are judged only in that PID space. The child
binary fill lock, the Lab ledger lock and the startup journal's process owner
record the owner's identity and are released only on positive evidence; an
identified fill lock is no longer evicted by age. Owners stamp a scope only
when a reader can recognise it, and the desktop lock writes the older record
form when an identity cannot be read. Older records keep their previous rule.

* fix: keep new holder records scoped when identity is unreadable

A new record written where the owner's creation identity cannot be read now
keeps its owner scope, and such a record is released only when its PID is
gone in its own PID space; it is never matched by PID, argv or start tick.
A Linux process that cannot read its own PID namespace stamps no scope.
The desktop restart lock refuses to hand itself to a helper it cannot
identify, and the multi-route orphan watch compares owner scope and creation
identity when a pidfile is replaced.

* docs(structure): describe scoped holder records without a creation identity

* fix: hold records whose owner cannot prove its PID space

An owner that cannot prove its own PID space now stamps an unprovable
marker scope that no reader matches, instead of a record on the older
ESRCH and age rules; a scope must also match itself to be stamped. The
desktop restart lock refuses a process it cannot identify
(restart_identity_unavailable) and no longer treats an older record's PID
as reentrant, the fill lock writes a marker line its reader never releases,
and new link pidfiles always carry a scope.

* fix: a recorded PID beyond the 32-bit range names no process

* fix: register native identity readers for packaged builds; clear records after a refused stop

The CLI root registers the macOS and Windows creation-identity readers with
process-holder, so a packaged executable records identities (a bundle cannot
resolve the module's relative source paths). A tracked stop whose signal is
refused with EPERM still clears the stale PID and runtime records.

* docs(structure): native identity reader registration

* revert: keep tracked records when a stop signal is refused
…very few seconds (lidge-jun#9332)

A service start refused because ownership cannot be verified, or because client state needs a person, now waits before it exits: 5 s doubling to 15 minutes, so service managers retry at that pace.
…re lock owners by identity (lidge-jun#9335)

The service state lock, the ownership mutation lease (and its delegate), update-orchestrated.json, the Codex prompt/config lock and client-tunnel.pid record their holder s creation identity and PID space and release only on positive evidence the holder is a different process. Service lock directories are published whole as v2 owner files.
…ommand (lidge-jun#9336)

ocx update and the dashboard update check name the package update for a standalone executable owned by an installed Debian package; a Home reports a Child CLI at /usr/bin/ocx with an unknown installer as the owner action deb-managed with the apt command. The plan wire is unchanged.
…00.13 or earlier; Windows identity check is CI-tested only (lidge-jun#9339)

* docs: name the one-time cleanup for a startup record from 2.100.13 or earlier and the Windows coverage of its identity check

* docs: give the default home and the container case for the one-time record cleanup
…idge-jun#9341)

* docs(es): translate the one-time record cleanup for a refused start

* ci: run the full shards for the localization test
…ntial ticket writers by identity (lidge-jun#9337)

* fix: keep holders whose probe fails for an unknown reason; name credential ticket writers by identity

* fix: keep the telemetry opt-out active past the owner limit; hold credential tickets with impossible PIDs

* revert: leave telemetry opt-out owners unchanged in this change

* fix: tickets from writers without a provable PID space keep the older rule; document ticket identities

* docs(structure): a ticket records its writer creation identity only where the platform can read it
…ctor (lidge-jun#9334)

* fix(status): name a standing startup refusal in ocx status and ocx doctor

* fix(status): observe refusals beside stale records, skip connected clients, keep restart advice out of a refusal

* docs: ocx status and ocx doctor report a standing startup refusal

* fix(doctor): no pinned-model hint recommends a start that is refused; name the two check gates
…e update lint; let a quota prime finish before teardown (lidge-jun#9345)
Carry upstream process-ownership, routing and dependency fixes into custom.
Preserve fork Hub entitlements, Responses provenance and split test layout.
Align package and desktop versions and pin the new dependency resolutions.

Signed-off-by: Bernardo Donadio <[email protected]>
@bcdonadio bcdonadio added the ci:full Run the full Ubuntu pull request test shards label Dec 4, 2026
@bcdonadio bcdonadio self-assigned this Dec 4, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T20:04:23.471328Z 0dfc2a4 PR opened
🔒 Security Review ✅ Completed 2026-12-04T20:06:59.799970Z 0dfc2a4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

The combined tree exceeds the existing guide and fixture limits. Keep the
recovery guidance concise and put client mappings in their own fixture.
Drop an already superseded combo budget helper from the source oracle.

Signed-off-by: Bernardo Donadio <[email protected]>
@bcdonadio
bcdonadio merged commit ca4b890 into custom Dec 4, 2026
7 of 8 checks passed
@bcdonadio
bcdonadio deleted the update/upstream-2.100.14 branch December 4, 2026 20:03

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0dfc2a49a7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +100 to +103
if (target.routeKind === "default-provider" && model.includes("/")) {
return `followConversation.${providerName} must resolve to a configured provider`;
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject ACP providers in conversation-follow targets

When a follow mapping selects an agy-acp provider, this validator accepts it even though agyAcpUnattendedTargetIssues explicitly prohibits that provider as a shadow-call target. That existing check examines only shadowCallIntercept.model, so the new map bypasses it. A local title/helper request without parent-thread or memory/compaction metadata also passes the runtime ACP policy, which receives no shadow-interception signal, and launches an automated helper through the interactive-only provider. Apply the existing ACP target restriction to follow-map values in both write-time validation and configuration loading.

Useful? React with 👍 / 👎.

Comment on lines +1456 to +1459
if (body.followConversation !== undefined) {
const followConversation = (body.followConversation ?? {}) as Record<string, string>;
if (Object.keys(followConversation).length === 0) delete config.shadowCallIntercept.followConversation;
else config.shadowCallIntercept.followConversation = { ...followConversation };

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Migrate follow-map selectors when routing aliases change

When a follow-map value names a combo or routing-profile alias, renaming that alias leaves this newly persisted reference unchanged. The migration code in combo-routes.ts and routing-profile-routes.ts updates shadowCallIntercept.model but never visits followConversation. Consequently, the next helper request cannot resolve its mapped target and silently switches to the fixed helper destination; submitting the unchanged map again also fails validation. Extend those existing reference migrations to rewrite follow-map values alongside the fixed shadow target.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:full Run the full Ubuntu pull request test shards

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants