security-fast went red on main right after the upstream sync: six fast-uri
advisories (four HIGH visible to pnpm audit) published after our sync point
b6306da1a9. Upstream fixed this in 4cedaa057a ("clear fast-uri and nodemailer
release gate advisories", #136700); this ports the part that applies to our
tree:
- pnpm-workspace.yaml override fast-uri 4.1.2 -> 4.1.4 (upstream's parent was
already on 4.1.3, ours was not)
- the same minimumReleaseAgeExclude cooldown entry, with upstream's removal
date (2026-09-09)
- lockfile regenerated with the pinned pnpm 12.0.0; the esbuild@0.28.1 entries
drop out because the resolution pass collapses the duplicated esbuild onto
0.28.2, already present
Not ported: the nodemailer scoped overrides (they target mailparser@3.9.15;
our tree has 3.9.16, and pnpm audit reports no nodemailer HIGH here) and the
vercel-cli release-gate lock refresh (release workflows only; not exercised by
this fork's CI). The next upstream sync brings both verbatim.
Verified: node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high
-> "No high or higher advisories found for production dependencies."
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
The fork was 2 commits ahead and 29,161 commits (3 months) behind upstream.
Both fork commits are obsoleted by upstream itself:
- #1 (engines node >=20): upstream now declares >=22.22.3 <23 || >=24.15.0 <25 || >=25.9.0 — stricter and correct.
- #2 (@types/node 26 + CI action majors): upstream is on @types/node 26.2.0 and maintains its own workflow pins.
So this merge resolves everything in upstream's favor: the resulting tree is
byte-identical to upstream b6306da1a9 — the most
recent upstream main commit with a fully green upstream CI run. This repairs the
fork's red baseline lanes (build-artifacts, check-shrinkwrap,
checks-fast-bun-launcher, security-fast, check-docs) the way upstream keeps them
green, instead of patching lanes one by one against a 3-month-old tree.
The openai 6→7 bump this fork wanted (closed PR #5) is already included:
upstream ships openai 7.5.0.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Fleet currency arc, Wave 1 (last repo). @types/node 25.9.1 -> ^26.4.0 and
the workflow actions below their current majors bumped (checkout/setup-node
v7-era, cache v6, github-script v9) across the workflow set.
Deliberately NOT bumped: openai stays 6.x — v7's only breaking change is a
Node >= 22 floor, and this gateway runs in production on the box's Node
20.20.2 until the fleet's runtime upgrade wave lands. Bumping now would
typecheck clean and crash live. typescript stays 6.0.3 (current blessed;
TS 7 is blocked fleet-wide by typescript-eslint).
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Was: >=22.19.0. openclaw-gateway.service is running on the box's Node 20.20.2 —
there is no other Node installed. It works because nothing enforces engines,
which is exactly why the declaration should describe the machine.
Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
* fix(web-fetch): honor cancellation in the provider fallback
Pass the optional AbortSignal execution context through fetch providers and the Firecrawl adapter. Reject late provider results before wrapping or caching, recheck after asynchronous payload construction, and preserve cancellation through HTML fallback recovery.
* fix(web-fetch): finalize cancellation before caching results
Reject pre-aborted cache hits and preserve cancellation when a provider or guard cleanup fails after abort. Centralize direct and provider cache publication after the complete fetch lifecycle so cancellation during release cannot leave a successful entry.
Extend all four fallback cancellation cases with late provider failures, cover direct/provider pre-aborted cache hits and guard-release races, and document the completed cancellation boundary.
* fix(web-fetch): scope the post-cancellation guard to provider failures
The cancellation guard sat in runWebFetch's catch, so a fetch that rejected
*because of* the abort had its original error replaced by signal.reason. That
discarded the transport's own failure detail and changed an existing contract:
web-tools.fetch.test.ts asserts the tool surfaces the aborted fetch's error.
fetchWebPayload already rethrows the original error when the signal aborted, so
the outer guard only ever needed to cover the provider-fallback path, where a
late failure should surface the caller's abort reason rather than an error from
work the caller had already abandoned. Move it there and drop the outer catch.
* docs(web-fetch): state cancellation forwarding and error preservation accurately
Two wording corrections from deep review. The inline comment claimed an
abort-caused fetch rejection "already carries the caller's reason", which the
regression test deliberately shows is not always true; the code preserves the
right object regardless. The docs implied cancellation stops provider work,
when core only forwards the signal and rejects late results.
* fix(ui): keep session desktops connected to their execution machine
* refactor(ui): remove obsolete desktop focus wrapper
* test(ui): cover session desktop authentication in side rails
* fix(ui): preserve the global desktop picker on chat routes
* fix(ui): follow session placement changes in desktop popouts
* test(ui): wait for desktop menu transitions to finish
* fix(native): keep TLS tests out of operator storage
* fix(macos): close live native test storage escapes
Keep dashboard probes on their owning dependency, make preview Talk projections non-live, and restrict menu and WebChat test work to owned resources. Preserve normal TLS and recovery behavior; remove obsolete test mirrors and shared-connection fallbacks.
`agentic-gateway-core` is striped by file, and two of its files --
`gateway-active-memory` and `gateway-concurrent-streams` -- are registered in
`runtimeConsumers`, so any stripe holding one inherits `pretestBuildMode` and
runs `pnpm build:ci-artifacts` before its tests. Striping spread them, so every
gateway-core job paid that build.
Measured on run 33215955822, `checks-node-compact-large-6` spent 275s building
to run 118.2s of tests, and the three gateway-core jobs were the three slowest
in CI at 512s, 436s and 368s against a 9:30 wall.
Pull those files into one `agentic-gateway-core-runtime` shard, derived from
`runtimeConsumers` rather than hardcoded so the two lists cannot drift. The
ordinary stripes lose their build entirely; exactly one job builds, on both the
blacksmith and hybrid profiles.
Weight that shard at 145s and mark it exclusive so the packer neither stacks
partners onto the one job paying the build nor stripes it in two above the 150s
`COMPACT_GITHUB_MAX_PREDICTED_SECONDS` threshold, which would restore the
duplicate build this change removes.
Guards move with the plan: the gateway expectation now asserts the invariant
directly -- no stripe carries a build mode, exactly one sibling shard does --
and the stripe-coverage check spans the stripes plus that shard, so a dropped
file still fails it (it caught 552 against 554 while this was being written).
Restore machine choices from the canonical mapped class catalog, including Machine0, while retaining unknown resources and unmapped-provider handling. Fixes#132291.
* fix(sessions): preserve fork lifecycle ownership and context
Preserve incognito storage, revalidate message-cut authority at commit, and keep late UI fork results scoped to their presentation. Carry prepared child identity and actual context through subagent cleanup and receipts. Verify native source cuts with canonical projection and preserve supervision connection and cleanup ownership. Document the separate canonical-descendant initialization limitation.
* refactor(agents): remove unused subagent prompt task input
* test(codex): validate native fork fixture request shapes
* fix(codex): avoid inherited labels in native session forks
* fix(test): align fork prompt fixtures and session type imports
* refactor(agents): reuse subagent attachment result type
Prevent timer-only Gateway stalls from restarting channel connections while replies or agent startup work remains active. Recovery now closes admission, defers reconnect until the canonical active-work inventory is idle, and retries only incomplete account handoffs.
Co-authored-by: PollyBot13 <pollybot13@gmail.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
* test(openshell): match resolved curl policy path
* test(openshell): allow managed host gateway ranges
* test(openshell): document upstream gateway fixture ranges
* test(openshell): await durable fixture cleanup
Observe durable sandbox absence before workspace deletion, preserve primary and
cleanup failures, and always restore the local environment. Retain main's FIFO
and Unix socket coverage and close the owned socket during local teardown.
* test(openshell): preserve explicit host policy override
Retain the shipped trimmed address and single /32 replacement policy while using upstream gateway ranges by default. Keep the broken automatic Docker probe removed, and exercise the actual policy builder for default, blank, IPv4, and existing IPv6 inputs.
* test(openshell): synchronize cleanup deadline at command boundary
* test: observe readiness before polling deadlines
Keep file and PID readiness observable after a delayed worker wake. Preserve timeout budgets and add bounded compiler-startup diagnostics. The deterministic helper regression is proven; the earlier spawn-timeout cause remains unknown.
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
Remove the accidental workspace manifest snapshot handoff from non-interactive custom provider setup. That path accepts no alias, so it should retain the static default policy.
Reverts #131909 (b0cb107c82) per operator product decision after live review — queued messages remain composer-attached; the send-dispatch fix (#131958) is unaffected.
* fix(codex): honor thinking off on Platform routes
Keep reasoning disablement owned by the selected physical model route while
preserving native enabled effort tiers. Supported Platform turns and side
questions now send explicit none; subscription defaults and supervised native
settings remain unchanged.
Closes#132253
* test(codex): load route fixture through public plugin surface
* test(codex): register reasoning regression and synchronize turn startup
* fix(daemon): explain service publication authority failures
Replace free-form definition mutation details with typed, redacted reasons
and shared recovery guidance for install and start/restart repair. Keep all
ownership checks and stable update-recovery denial prefixes unchanged.
Cover unsafe directory failure and permission-repair recovery without
config or service publication before denial or SecretRef bypass afterward.
Fixes#132278.
* test(daemon): assert typed system ownership diagnostics
* fix(presence): keep colliding profile and raw viewers separate
Use recorded identity namespaces for ephemeral presence grouping, viewer
exclusion, activity cards, and typing counts. Keep timing facts owned by
each connection so later profile qualification cannot leak activity across
identities, and preserve current self identity over stale hello snapshots.
Fixes#132247. This live-presence repair is separate from the merged
transcript-provenance repair in #132038; persistence and authorization
remain unchanged.
* test(presence): qualify header and activity profile fixtures
Keep custom alias validation on one prepared workspace-scoped manifest policy while comparing configured model identities in both directions.
Related: #129468
Co-authored-by: Vyctor H. Brzezowski <krzyszchweski@gmail.com>
Brave search cancellation and timeouts now include preliminary endpoint
DNS validation in both web and llm-context modes. One request deadline
covers validation, transport, body reading, and cache publication while
preserving endpoint trust policy.
Move interruptible DNS waiting into the shared resolver and remove the
duplicate guarded-fetch race. Keep late OS lookup settlements observed.
Fixes#132095
Replace Telegram Desktop and Mantis proof plumbing with a repository-owned Telegram Test Server skill and ten Convex-leased headless user sessions. Workers keep full harness freedom while the broker owns only exclusive lease lifecycle.
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
* fix(codex): stop native terminals on run cancellation
Codex turn interruption deliberately leaves native background terminals
running. Wait for the matching turn to stop, terminate that thread's
terminals through the app-server API, and join cleanup before releasing
the attempt. Surface cleanup failures without retiring shared peer threads.
Keep existing host process scopes and background gateway jobs unchanged.
Verified with 412 focused tests and an authenticated live Codex run with a
concurrent peer thread on the same app-server.
Co-authored-by: Ming Yoo <mingyouagi@qq.com>
* fix(codex): freeze cancellation before attempt teardown
Close cancellation admission synchronously when cleanup takes ownership,
including when finalization throws before freezing its terminal outcome.
This keeps late aborts from replacing the joined cleanup promise during
resource release or masking the original finalization error.
Move the existing terminal freeze instead of adding another lifecycle flag.
Verified the regression fails before the change; all 413 Codex tests pass.
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: Ming Yoo <mingyouagi@qq.com>