`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).
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(build): reject native declaration compiler failures
Pin tsdown declaration generation to published rolldown-plugin-dts 0.28.2 so native compiler errors and signals fail the build instead of accepting partial declarations. Cover failure propagation and preservation of existing declarations with a real-process regression.
* fix(build): preserve scoped npm override policies
Continue scanning readable descendants when an individual procfs read is unavailable, retain proven positive observations, and join unexpected observer errors with command exit. Keep the complete consent scenario and positive fresh-child assertions unchanged.
Package preparation through a symlinked source directory must generate the
postinstall inventory and pending-install guard instead of silently doing
nothing. Match the writer entrypoint through the existing real-path helper
while retaining argv-only activation so imports remain inert despite PM2 hints.
Add real-subprocess regression coverage for canonical and aliased entrypoints
and for imports with absent or same-basename argv and absent or seeded files.
AI-assisted with Codex.
* fix(doctor): load Codex health from the selected trusted plugin
Resolve the managed Codex doctor API from the registry-selected bundled or
trusted official install root instead of assuming core bundles the plugin.
Preserve owner policy, hardlink boundaries, and both host registry callbacks;
report missing or broken health surfaces instead of silently dropping checks.
Extend selected-artifact regression coverage and the managed npm onboarding
package scenario to exercise ordinary and targeted doctor lint.
Fixes#128826
Adapted from #129276.
Co-authored-by: Finn763 <165816600+Finn763@users.noreply.github.com>
* test(e2e): accept Codex capabilities before onboarding
Use the shared fixture consent flow before non-interactive onboarding in
Codex's complete package lane. Keep real doctor CLI checks in the Docker
scenario so metadata-only package fixtures remain independently runnable.
Co-authored-by: Finn763 <165816600+Finn763@users.noreply.github.com>
* test(e2e): register the Codex doctor executable with Knip
The Docker scenario launches this check by path, so declare it in the existing executable-root inventory instead of suppressing unused-file findings.
Co-authored-by: Finn763 <165816600+Finn763@users.noreply.github.com>
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: Finn763 <165816600+Finn763@users.noreply.github.com>
* fix(plugins): keep development runs on checkout plugins
* test(node-host): contain the bundled Linux plugin fixture
* fix(dev): preserve checkout selector through tmux watch
* fix(browser): unblock compiled native-host bootstrap
Load canonical config and pairing only after native-host validation. Keep
pure Browser URL and port helpers out of transport and mixed runtime
barrels, register the existing private CDP SDK export, and remove obsolete
bridge exports.
Run the extracted compiled-host integration case in the existing artifact
CI job with exact report validation. Preserve the custom installation
context, native framing, private Node trampoline, and 10-second deadline.
* fix(build): map private Browser SDK declarations
Complete browser-cdp registration in the shared plugin package-boundary
paths and XAI's matching override. Keep the SDK JavaScript-only in the
published package while using package-built declarations inside the repo.
The unchanged package-boundary contract reproduced the missing mapping
before this fix. No native-host runtime, fixture, assertion, or deadline
changes are included.
* build: migrate tooling and source installs to pnpm 12
Pin the verified native toolchain without changing application dependency
versions. Preserve the existing release-age policy explicitly and separate
package-manager lock metadata from the application dependency graph.
Use exact checkout pins for bootstrap and rollback, approve only the native
pnpm installer where npm requires it, and retain global install ownership
without equating the CLI major to the storage layout. Verify the Docker
runtime toolchain offline as its non-root user.
Remove duplicate bootstrap paths and obsolete prune input, update native
CLI flags and regression fixtures, and preserve UTF-8 in macOS Bash
installer NDJSON output.
* fix(build): isolate production dependency installs for pnpm 12
Build production dependencies from the same frozen manifest inputs instead
of pruning the inherited development tree. pnpm 12's native hoisted
importer cannot rename lower-layer OverlayFS directories during pruning.
Preserve native addon outputs, workspace builds, and offline non-root
Corepack use while deleting the obsolete production-store seeder.
Exercise runtime assembly and explicitly consent to the local agent-plugin
E2E fixture under the current plugin capability contract.
Validated full Matrix image and offline non-root runtime, focused Docker
regressions, full checks with test types and architecture, docs, real
agent-plugin gateway E2E, and isolated Codex autoreview.
* test: align package smoke with pnpm 12 global installs
* test: follow native pnpm artifact approval in distribution guard
* test: modernize pnpm fixtures for v12
* test: align rebased update fixtures with pnpm 12
* test: retain sanitized upgrade restart diagnostics
* test: expose CI navigation failures and register diagnostics
* test: retain post-core outcomes and plugin artifact identity
* chore(tooling): group upgrade diagnostic entrypoints
* fix(update): support native pnpm global installs and source links
Qualify local source and archive specs, carry verified global ownership through pnpm configuration, and verify intentional checkout links with shared runtime-readiness checks. Preserve strict packaged-install verification and manager ownership safeguards.
Verified the production updater with pnpm 11.22 and 12 using default and custom roots, source links, and tarball updates.
* test: preserve survivor diagnostics after service sealing
Promote incomplete exit-zero runs before failure capture and exercise the sealed-service manager fixture without inventing successful child exits.
* fix(update): preserve legacy pnpm global ownership
Carry the verified root and bin through both pnpm and npm configuration dialects after original-environment probes. Real pnpm 10 custom-root updates and pnpm 11/12 source and tarball matrices pass without redirecting the caller or weakening ownership checks.
* test(update): verify wizard consent through checkout handoff
Use the prepared checkout and fresh-process finalization boundary introduced by the updater repair. Preserve explicit consent forwarding before and after the wizard subcommand without assuming plugin callbacks run in the old process.
* refactor(update): validate checkout build metadata records
Use the canonical record coercer instead of carrying an unchecked assertion into the shared runtime verifier. Remove the now-unused grandfathered assertion entry; no allowance is added.
* docs(sandbox): document standalone common-image inputs
* test(packaging): account for required native prebuilds
Align installer and release size budgets at 235 MiB for the required native payload added on main. Keep both loader layouts, upstream binaries, explicit overrides, and missing-data rejection intact. Exercise actual defaults and the one-byte boundary. Retain bounded stderr diagnostics for the intermittent Bun signal test without claiming a production signal fix.
* test: align refreshed installer fixtures with pnpm 12
* fix(test): share Bun smoke force-kill ownership
Record the successful force-kill once across the timer and post-close drain. Native Darwin traces reproduced both duplicate-signal orders; genuine permission failures and uncleared groups still fail without extending deadlines.
* fix(maintainers): prevent duplicate merges after ambiguous responses
Retain exact native merge intent across process-lock recovery and record completion before comments or cleanup. Reconcile uncertain outcomes without replaying a mutation. Fixes#132138.
* fix(maintainers): validate rebase merge receipts
Bind rebase and queue results to the retained source fork base, verify merge content as well as ancestry, and align routing regressions with the split test owners. Addresses the review and CI failures for #132173.
* test(maintainers): distinguish cherry-picked fixture commits
* fix(ci): finish watcher waits after successful reruns
* fix(ci): bound queued-alias evidence requests
* fix(ci): fence reconciled checks with current PR state
Refresh the PR rollup and attached run after bounded alias verification. Keep changed aliases and unknown outcomes blocking without regressing older-attempt supersession.
* fix(qa): keep leases when Gateway startup teardown fails
Retain a synchronous QA child owner through startup, replacement, and explicit finalization. Release Gateway-backed transport leases only after authoritative process settlement, independently of cleanup diagnostics. Preserve failure artifacts and primary fixture errors.
Fixes#131643
* test(qa): keep fixture cleanup inside plugin boundaries
* test(qa): retain integrated fixture owners and stop observations
* ci: follow renamed local JSONL socket owner in CodeQL
* test(qa): record reviewed cleanup error suppressions
* test(ci): exercise PR-native network semantic review
Route sensitive changes into the existing semantic gate and restore configured net-policy coverage. Add actual query fixtures, including an intentional red checkpoint for JavaScript-family raw clients before the follow-up predicate repair. PR remains draft until semantic proof and final CI pass.
* fix(ci): classify supported JavaScript network sources
Preserve the existing directory and owner boundaries across TS, MTS, JS, and MJS. Hosted semantic regression 33190472078 failed on exactly the three missing executable rows; expected findings and test exclusions remain unchanged.
* test(ci): isolate network fixtures and retain guard coverage
Use independent fixture stems and explicit MTS extractor inputs while preserving every expected finding. Scan the semantic fixture root for duplicates and keep the exact socket-owner assertion insensitive to formatting.
* test(qa): return confirmed stop in WhatsApp cleanup fixture
* test(qa): own Discord attachment gateway before startup
* ci: fail closed on unavailable CodeQL diff metadata
* test(oc-path): measure synchronous worker CPU budgets
Keep alias display names separate from dispatch identifiers and preserve selected catalog-only providers. Bind native catalog readiness to its producing client, account, configuration, and harness lifetime, with one consistent prepared Gateway projection.
Separate cold registration metadata from execution imports without changing participant persistence or host/profile authority. Include the acceptance-probe request-contract correction and document the isolated deployment boundary.
Required exact-head CI passed. Additional local cold-discovery and Doctor timing failures remain documented on the PR; the maintainer explicitly directed landing with those limitations. No configuration, credentials, deployment, or activation changes.
Closes#131454.
Fixes#132053. Verify POSIX process completion at each declaration owner before accepting success. Preserve Windows behavior without changing timeouts or shared defaults.
* fix(browser): flag native hosts with unavailable runtime targets
Validate the registered interpreter and native entry before reporting readiness. Keep valid OpenClaw registrations owned when targets are missing or unsafe so install, doctor repair, and uninstall remain available.
Share target validation with installation, keep unused browser warnings nonblocking, and document the read-only filesystem readiness snapshot.
Refs #131837: Chrome native-host status stays ready after its runtime is removed.
* test(browser): separate installer layout coverage
* test(crabbox): use canonical PID liveness
* fix(ci): classify plugin fixtures in temp guard
Source installs must select the requested release commit and leave existing checkouts recoverable when updates fail.
This change qualifies Git refs, carries ref mutability into lockfile selection, restores conflicting rebases, and verifies unchanged state when a pre-rebase hook refuses before rebase metadata exists.
Co-authored-by: Jason O'Neal <jason.allen.oneal@gmail.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>