Skip to content

Codex PreToolUse native hook relay spawns CPU-bound openclaw-hooks processes and stalls gateway RPC #91009

Closed as not planned

Description

@aspalagin

Summary

On OpenClaw 2026.6.1 with the bundled @openclaw/codex integration, Codex app-server tool calls can spawn multiple short-lived openclaw-hooks / openclaw hooks relay --provider codex --event pre_tool_use processes. In the observed case these processes consumed ~100%+ CPU each, the gateway event loop became degraded, and local gateway RPC calls (health / status) timed out after 10s even though openclaw-gateway.service stayed alive and the agent session completed successfully.

This looks like a core Codex native hook relay issue rather than a Telegram/systemd/disk/RAM problem.

Environment

  • OpenClaw: 2026.6.1 (2e08f0f)
  • @openclaw/codex: 2026.6.1
  • Runtime: systemd-managed gateway, Node 22.22.2
  • Gateway command: node --max-old-space-size=12288 .../openclaw/dist/index.js gateway --port 18789
  • Provider/harness: Codex app-server (codex app-server --listen stdio://)
  • Agent config had tools.loopDetection.enabled=true
  • openclaw hooks list --json showed only bundled/internal hooks (boot-md, bootstrap-extra-files, command-logger, compaction-notifier, session-memory)
  • No custom before_tool_call hooks and no trusted tool policies were configured

Observed behavior

During an agent turn with multiple tool calls:

  1. openclaw gateway call health --json and openclaw gateway call status --json failed with:
GatewayTransportError: gateway timeout after 10000ms
Gateway target: ws://127.0.0.1:18789
Source: local loopback
  1. The gateway service did not crash. The active agent session later ended with status=success, timedOut=false.

  2. ps snapshots during the degraded window showed several concurrent hook relay processes:

openclaw-hooks  ~108-116% CPU, elapsed ~4-5s
openclaw-hooks  ~108-116% CPU, elapsed ~4-5s
openclaw-hooks  ~108-116% CPU, elapsed ~4-5s
openclaw-hooks  ~108-116% CPU, elapsed ~4-5s

One parent command was:

node .../openclaw.mjs hooks relay --provider codex --relay-id <redacted> --generation <redacted> --event pre_tool_use --timeout 5000
  1. Gateway liveness warning around the same window:
liveness warning: reasons=event_loop_delay,event_loop_utilization,cpu
eventLoopDelayP99Ms=3613.4
eventLoopUtilization=1
cpuCoreRatio=1.032
last=codex_app_server:notification:item/completed
  1. A later 30s health call succeeded but reported degraded event loop:
{
  "ok": true,
  "durationMs": 32,
  "eventLoop": {
    "degraded": true,
    "reasons": ["event_loop_delay", "event_loop_utilization", "cpu"],
    "delayP99Ms": 3347.1,
    "utilization": 1,
    "cpuCoreRatio": 1.133
  }
}

Code path that looks suspicious

In the installed bundle, @openclaw/codex/dist/harness.js hard-enables native hook relay for both attempts and side questions:

nativeHookRelay: { enabled: true }

The Codex native hook relay config maps pre_tool_use to Codex PreToolUse and registers a synchronous command hook. The installed bundle also appears to special-case pre_tool_use so it can still install a PreToolUse hook even when shouldRelayEvent(event) is false/no-op.

In the gateway bundle, nativeHookRelayEventHasLocalWork(registration, "pre_tool_use") returns true when either a before_tool_call policy exists or loop detection may run. With tools.loopDetection.enabled=true, this makes PreToolUse relay active even without custom hooks or trusted policies.

The resulting command path is a separate CLI process per hook invocation:

openclaw hooks relay --provider codex --event pre_tool_use --timeout 5000

That per-tool-call process fan-out appears to be enough to starve the gateway/event loop under normal Codex tool bursts.

Expected behavior

  • Gateway local RPCs (health, status) should stay responsive during Codex tool-call bursts.
  • A no-op or loop-detection-only PreToolUse path should not spawn a heavyweight CLI process per tool call.
  • PreToolUse should only be registered when it has real local work, or it should be handled in-process/resident rather than through repeated CLI relay processes.
  • If relay is required, it should have bounded per-session concurrency and diagnostics for relay duration/count.

Local workaround tested

As a temporary production hotfix, I changed the active project-scoped @openclaw/codex/dist/harness.js from:

nativeHookRelay: { enabled: true }

to:

nativeHookRelay: { enabled: false }

Then restarted openclaw-gateway.service.

After the workaround:

  • Gateway health: durationMs=31ms, eventLoop.degraded=false, delayP99Ms≈21ms
  • Telegram channels reconnected normally
  • A controlled agent test completed 8 bash tool calls with 0 failures
  • During and after that test, no openclaw-hooks processes appeared
  • Logs for the test window had 0 liveness warnings, 0 gateway timeouts, 0 nativeHook.invoke, and 0 hook relay entries

This workaround is intentionally blunt and likely disables useful Codex native hook functionality. It is not a proper upstream fix.

Suggested fix direction

  • Do not register Codex PreToolUse when shouldRelayEvent("pre_tool_use") is false and no real before-tool-call/trusted policy work exists.
  • Move loop detection for Codex native tool events in-process or into a resident bridge instead of spawning openclaw hooks relay for every tool call.
  • Add a config escape hatch such as codex.nativeHookRelay.enabled / codex.nativeHookRelay.events / codex.nativeHookRelay.preToolUse.
  • Add bounded concurrency/timeout enforcement for native hook relay processes.
  • Add regression coverage: 20-30 rapid Codex tool calls should not produce gateway RPC timeouts or event-loop degradation.

Related issues I found

These look related but not the exact same failure mode:

Activity

  1. clawsweeper commented on Jun 6, 2026

    @clawsweeper
    Contributor

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed September 5, 2026, 5:35 AM ET / 09:35 UTC.

    Summary
    Keep this canonical availability issue open. Main now omits idle hooks, applies tool matchers, and bypasses general CLI startup, correcting an important premise of the previous review. Those improvements do not establish that genuinely matched bursts remain responsive, and the discussion explicitly retains that scope.

    Reproducibility: no. high-confidence current-main overload reproduction is established. Historical reports provide concrete load scenarios, but current startup isolation and hook filtering materially change their resource costs.

    Root-cause cluster
    Relationship: canonical
    Canonical: #91009
    Summary: Maintainer discussion designates this issue for matched-burst resource pressure and separates it from completed-worker and orphan cleanup.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Add expected vs actual behavior.
    • Include redacted logs or terminal output.

    Next step
    Respect no-new-fix-pr and inspect the existing memory-reduction candidate before further repair routing; current matched-burst resource and allow/deny evidence is the remaining prerequisite.

    Review details

    Best possible solution:

    Preserve isolated startup and canonical matchers, then address any measured residual spawn pressure at the launch boundary while retaining synchronous policy decisions.

    Do we have a high-confidence way to reproduce the issue?

    No high-confidence current-main overload reproduction is established. Historical reports provide concrete load scenarios, but current startup isolation and hook filtering materially change their resource costs.

    Is this the best way to solve the issue?

    Unclear whether further admission control is needed after the shipped improvements. Current matched-load measurements should determine that; blanket hook disablement sacrifices established policy behavior.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • Current matched-hook concurrency, RSS, CPU cost, and Gateway latency remain unmeasured; historical 300–400 MiB helper measurements cannot be projected onto the shipped isolated startup path.
    • Disabling all native relays would remove before-tool enforcement that commenters explicitly rely on.

    Codex review notes: model internal, reasoning high; reviewed against ee16d5436f9b.

    Label changes

    Label changes:

    • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
    • remove clawsweeper:no-new-fix-pr: Current issue advisory state no longer selects this label.
    • remove clawsweeper:needs-maintainer-review: Current issue advisory state no longer selects this label.
    • remove clawsweeper:needs-product-decision: Current issue advisory state no longer selects this label.
    • remove clawsweeper:needs-live-repro: Current issue advisory state no longer selects this label.
    • remove issue-rating: 🐚 platinum hermit: Current issue advisory state no longer selects this label.

    Label justifications:

    • P0: Multiple production reports document host exhaustion, Gateway OOM kills, and repeated loss of core availability; recovery under current matched load remains unverified.
    • impact:crash-loop: Reported relay bursts cause Gateway freezes, OOM termination, and recurring restart cycles.
    Evidence reviewed

    What I checked:

    Likely related people:

    • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    • Josh Lehman: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    • nakamasato: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. added
    P1High-priority user-facing bug, regression, or broken workflow.
    impact:crash-loopCrash, hang, restart loop, or process-level availability failure.
    issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.
    on Jun 6, 2026
  3. raul-santamaria commented on Jun 8, 2026

    @raul-santamaria

    Reproduced on RPi 8GB, consistent CPU > 100% processes that lead to several force restart during a day

  4. raul-santamaria commented on Jun 8, 2026

    @raul-santamaria

    Next test showed many concurrent openclaw processes stalling system

    Image
  5. PashaGanson commented on Jun 9, 2026

    @PashaGanson
    Contributor

    Confirming this on the exact same build, with kernel-level evidence and a live process census. Our case adds the missing load proof requested above: on a small host the PreToolUse relay fan-out doesn't just stall gateway RPC — it drives the whole host into repeated kernel OOM.

    Environment

    OpenClaw 2026.6.1 (2e08f0f) — same build as OP
    Codex integration bundled @openclaw/codex (app-server harness)
    Node v22.22.1
    Host 8 GB RAM + 6 GB swap VPS, Ubuntu 22.04 (5.15 kernel)
    Agents 11 agents, all on openai/gpt-5.5 → all turns go through Codex app-server
    Hooks only bundled internal hooks (boot-md, bootstrap-extra-files, command-logger, compaction-notifier, session-memory)
    tools.loopDetection not set anywhere in config → default (enabled), same as OP
    Custom before_tool_call hooks none

    Impact: 5 kernel OOMs in one day

    Kernel OOM task-table histograms from a single day (2026-06-09, UTC). In every single crash, openclaw-hooks processes dominate memory:

    OOM (UTC) openclaw-hooks count their RSS their swap OOM-killer victim
    18:31 38 6.0 GB 4.0 GB gateway node
    19:22 38 6.3 GB 3.5 GB chrome (adj 300)
    19:28 38 6.4 GB 3.7 GB gateway node
    20:22 37 4.9 GB 4.1 GB chrome (adj 300)
    20:24 41 5.4 GB 4.3 GB gateway node

    That is ~9–10 GB (RSS+swap) of short-lived relay CLI processes on an 8 GB host — the gateway gets OOM-killed, restarts, agents resume, the next active window kills it again. Crash-loop in the literal sense.

    Live census: these are NOT stuck processes — it's spawn rate × cost

    To distinguish this from #90993 (processes never exit), I armed a 2-second-interval watcher (pgrep -x openclaw-hooks + /proc inspection) and caught two swarms live:

    • Processes are born in bursts (6–10 concurrently during a quiet evening with 2–3 agents active) and exit within seconds — the watcher sees individual PIDs appear and disappear between 2s ticks. No accumulation while idle.
    • Each instance: ~250–410 MB RSS, 35–45 % CPU during its short life (bundle load), R state, nice applied.
    • Parentage: env inherited from the gateway service (OPENCLAW_SERVICE_KIND=gateway), cgroup openclaw-gateway.service, cwd = the per-agent workspace (~/.openclaw/workspace, ~/.openclaw/workspace-<profile>, matching whichever agents had active turns), PPID already reparented to systemd --user by the time of inspection.

    So on this build the relay children do exit — the problem is that each Codex tool-call event pays a full CLI bundle load (~300 MB, seconds of CPU), and with pre_tool_use + post_tool_use both registered (loop detection active by default), that's 2 spawns per tool call per agent. A few concurrently active agents (group-chat traffic + hourly crons overlapping) is enough to stack ~38–41 in flight on this host. The count is bounded by turn concurrency, not by a leak.

    This matches the triage note above: the CPU-bound fan-out mode is real and reproducible under multi-agent load; the per-process lifetime is short, so #91550 (bound relay lifetime, merged 2026-06-09) helps the stuck-process variant (#90993) but should not materially change this fan-out: these processes already exit fast. (Also checked: v2026.6.1..v2026.6.5 diff over all native-hook-relay* files is doc-comments only, so 2026.6.5 behaves the same.)

    Repro sketch (load proof)

    1. 8 GB host, ~10 agents on openai/* (Codex app-server), default tools.loopDetection, bundled hooks only.
    2. Generate overlapping turns: an active group chat (media messages) + 2–3 hourly isolated cron sessions landing in the same minutes.
    3. Watch pgrep -cx openclaw-hooks and free: every overlap window produces a wave of 250–400 MB relay processes; once concurrent count × per-process RSS exceeds free RAM, kernel global OOM follows (task tables above).

    Fix direction (suggestion)

    The per-event cost is the multiplier, so candidates:

    • a slim relay entrypoint that doesn't load the full CLI bundle (the relay only reads stdin, hits the local bridge socket/port, writes a response), or
    • a persistent per-session relay helper that Codex invokes via a thin client, or
    • not registering pre_tool_use/post_tool_use relay commands when the only consumer is loop detection and it could run gateway-side cheaper.

    A regression test asserting an upper bound on concurrent relay processes (or on per-event RSS) under a multi-tool-call turn would lock whichever direction is taken.

    Happy to provide raw (sanitized) kernel OOM tables, the watcher log, or to test a patched build on this host — this setup reproduces the crash daily.

  6. zhuyankarl commented on Jun 16, 2026

    @zhuyankarl
    Contributor

    Still reproduces on 2026.6.6 (which includes #91550) — lifetime bounding doesn't cap concurrency

    Running openclaw 2026.6.6 (8c802aa), which ships the merged #91550 "bound native hook relay lifetime". The accumulation/stall is not resolved under busy Codex turns.

    Why #91550 is insufficient (from reading the 6.6 dist): the lifetime work it added is all per-invocation soft bounding — a 5s relay deadline via AbortController + timer.unref(), a deferred unregister (CODEX_NATIVE_HOOK_RELAY_UNREGISTER_GRACE_MS, timeout.unref()), and a relay-registration TTL. None of these is a cross-invocation concurrency limit: there is no pool, semaphore, or cap on how many openclaw hooks relay subprocesses may run at once. Codex's hook engine spawns one per pre_tool_use/post_tool_use, and under a tool-heavy turn they fan out in parallel faster than the soft timeouts retire them. Each relay is a full ~330–400 MB node + openclaw process (it loads the whole runtime + plugins), so N of them is the failure mode.

    Field evidence (PROCMEM snapshot of the cgroup at a real spike):

    • 15 openclaw-hooks processes, each 330–400 MB, ≈ 5.3 GB combined; the gateway process itself was only 0.42 GB — i.e. essentially all the spike is in relay subprocesses, not the gateway.
    • One window had 24 relays alive >150 s (well past every soft timeout) simultaneously.
    • anon RSS climbed to 6.0 GB, right up against our memory.max, tipping the cgroup into a memory.high reclaim storm → multi-minute gateway freeze (event-loop delayMax in the 20+ min range, cpuCoreRatio≈0.01 = blocked in reclaim, not compute).
    • After upgrading to 6.6 the pile-ups recur roughly hourly during active use. We only stay alive via an external watchdog that SIGKILLs relays older than ~120 s and reaps the pile when combined relay RSS crosses a threshold.

    Suggested fix direction (either would help, ideally both):

    1. A global concurrency cap / process pool / semaphore on concurrent openclaw hooks relay execs (configurable, small default e.g. 3–5), so excess invocations queue before spawning the heavy process instead of all becoming resident at once.
    2. Make the relay lightweight (don't load the full runtime + plugin stack per tool call) so that even an unbounded fan-out isn't N×400 MB.

    Happy to provide the raw PROCMEM / trend CSVs or test a patch. This is the same symptom as the closed #90993; from our data #91550 does not actually close it.

  7. zhuyankarl commented on Jun 16, 2026

    @zhuyankarl
    Contributor

    A working downstream mitigation + a suggested shape for an in-tree fix

    Following up on the report above — we deployed a stopgap that fully contains the pile-up, and it points at a small, idiomatic in-tree fix. Sharing both in case it's useful.

    The insight

    The relay command is assembled in resolveNativeHookRelayNicePrefix(value) / buildNativeHookRelayCommand(params) (in the native-hook-relay-* module). The heavy node openclaw hooks relay … process is spawned by the provider's (Codex's) hook engine, not by openclaw — so an in-process semaphore on the openclaw side can't cap residency: by the time the bridge handler runs, the ~400 MB process is already resident. The only place to cap peak memory is before exec, i.e. at the command-prefix level.

    What we deployed (downstream, env-gated, fully reversible)

    We prepend a tiny flock-based N-slot gate to the relay command. At most N relays exec node at once; excess wait as ~1–2 MB shell processes until a slot frees. The slot is held for the lifetime of the relay (the fd survives exec) and released on exit. Crucially, since pre_tool_use enforces the tool-approval policy, the gate proceeds uncapped after a bounded wait rather than ever hanging approval.

    Gate script (essence):

    #!/usr/bin/env bash
    N="${OPENCLAW_HOOK_GATE_SLOTS:-4}"; MAXWAIT="${OPENCLAW_HOOK_GATE_MAXWAIT:-30}"
    DIR="${XDG_RUNTIME_DIR:-/run/user/0}/openclaw-hook-gate"; mkdir -p "$DIR"
    [ "$#" -gt 0 ] || exit 0
    for i in $(seq 1 "$N"); do
      exec {fd}>>"$DIR/slot.$i"
      if flock -n "$fd"; then exec "$@"; fi   # slot held across exec, freed on relay exit
      exec {fd}>&-
    done
    exec {fd}>>"$DIR/slot.1"; flock -w "$MAXWAIT" "$fd" || true; exec "$@"  # never hang approval

    Injected by prefixing the command array in resolveNativeHookRelayNicePrefix with an env-controlled wrapper (OPENCLAW_HOOK_GATE_CMD); unset ⇒ identical to stock.

    Result: every relay now runs as hook-gate.sh nice -n 10 node … hooks relay --provider codex --event pre_tool_use|post_tool_use; peak resident relays is bounded to N (verified ≈ N×400 MB instead of 10–15×400 MB), the gateway no longer crosses memory.high, and end-to-end Codex turns / approval still work.

    Suggested in-tree fix (so this doesn't need a downstream patch)

    Two complementary options, either helps:

    1. Built-in concurrency prefix. Have resolveNativeHookRelayNicePrefix/buildNativeHookRelayCommand optionally prepend a bounded-concurrency launcher when a config like hooks.relay.maxConcurrent (default e.g. 4, 0/unset = off) is set. The semaphore must live at the OS/command level (a lock dir, or a tiny bundled launcher), not as an in-process counter, for the residency reason above. Must fail-open after a bounded wait so the approval path never hangs.
    2. Make the relay lightweight. Each relay loads the full runtime + plugin stack (~330–400 MB). If openclaw hooks relay booted a minimal path (just the bridge client + the one event handler), even an unbounded fan-out wouldn't be an OOM vector, and the gate would be unnecessary.

    Happy to turn the gate approach into a PR if a built-in hooks.relay.maxConcurrent is a direction you'd accept. The standalone script + the exact patch point are above; can share full repro/telemetry too.

  8. removed
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    on Jun 19, 2026
  9. 68 remaining items

  10. added 3 commits that reference this issue on Sep 13, 2026
    d3969e0
    29fe13b
    3a99779
  11. vincentkoc commented on Sep 13, 2026

    @vincentkoc
    Member

    Related repair landed in #147444 (merge). It isolates relay imports and cancels disconnected request waits through the existing approval owner. It uses official Codex 0.154.0 without a custom native hook contract; synchronous hooks still have no shared process cap (dispatcher).

    Fresh installed host/plugin checks with loop detection enabled and no custom policy passed all 26 native calls across 1/5/20-call workloads; maximum status response was 1.182s. These used a mock model and real native shell. They do not establish a cure for the original constrained-host incident or a broad latency improvement, so this issue stays open. Thanks @nvtoroy for the captures and #121668 proposal.

  12. vincentkoc commented on Sep 21, 2026

    @vincentkoc
    Member

    Current-main reproduction (2026-09-22): the reported 10-second health/status timeout was not reproduced on frozen main 9a472a998e1a97905850fabd89073ec6cc468276. Closing as cannot reproduce on this tested build; no production patch is warranted by this result. PR #121668 remains withdrawn, not credited as a timeout fix.

    The existing native-hook pressure fixture was adapted locally for one 20-command burst, explicit loop detection and loop relay enabled, no artificial policy delay, and idle/load/post gateway call health --json / gateway call status --json probes with the unchanged 10-second RPC default. It used a real Gateway and official native Codex 0.154.0 with a controlled provider and passive callback counter; it was not a live-provider test.

    • Node 24.19.0, Linux kernel 6.6.141; 4 visible CPUs, 16.56 GB RAM (12.78 GB available), 11.81 GB swap. The native workspace-write sandbox probe passed without host-policy changes.
    • All 20 distinct native commands exited successfully; all 20 matched callbacks, expected output markers and workspace files were verified. The turn completed in 8.25 seconds; 20 relay processes were observed concurrently.
    • All 55 probes succeeded: six full CLI calls and 49 direct RPC calls. Under load, full health/status CLI calls took 1.813 / 1.639 seconds; direct RPC maxima were 215 / 1,560 ms. Both loaded CLI lifetimes and 16 direct requests per method were fully bracketed by conservative live-relay observations.
    • Published event-loop samples included transient degradation before and during load (largest reported interval p99: 298.3 ms). This diagnostic flag is not a request timeout. Peak sampled relay RSS was 2.62 GB; sampled relay CPU was 9.78 CPU-seconds. Non-atomic samples can miss short children, and summed RSS can include shared pages.
    • The selected case passed all native, overlap and cleanup assertions: 1 passed, 2 unrelated cases filtered out. No observed relay children or zombies remained; the exact worker was stopped and confirmed completed. The required current-source private-QA build also passed.

    I personally checked pinned Codex synchronous hook dispatch and command spawn/wait. This is one bounded current-build non-reproduction, not proof of a universal or historical cure. The earlier skipped-only attempt and the failed overly broad event-loop assertion remain non-passing evidence; only the completed run above qualifies. A recurrence on a current build with the failing workload and resource details would justify reopening and a narrow owner-level repair.

    Historical source and preparation evidence — not current-main qualification

    Historical withdrawn-PR evidence: the optional relay capability was published at signed head e43105f4ea05d1f073b5426f8cc10270310a01f7, tree 4da08107aafb3544122f6951c188a4cf9e325ede, integrating frozen main 3309602422c0a646c28f4ccc50d471eef0ad000e. The nine conflicts were resolved with upstream’s canonical approval fixtures, preserved accepted-response/ID assertions and joined cleanup, plus a canonically regenerated config baseline.

    Historical unpublished follow-on (cancelled): integration with frozen main bf9611abc45ce668af7d7e8b6a322786aabf91b9 was left staged at tree 796aa9bb5431ab5bb824d76fbdf5e3cc81682e9f; it is not the published PR head. The config baseline was regenerated canonically. Earlier tree 6aecd403b00e87ca0966a2e2a0348e121b4df519 passed targeted formatting and 85 tests before its two native fidelity cases failed. The diagnostic-only successor preserves the read-only sandbox, required command item, successful-exit/provider-fidelity assertions and original limits. Fresh supplied-source P0 review on 796aa9bb completed two passes with zero findings and joined cleanup; it is source-only evidence (receipt SHA256 8c8c6e50f4b2134c971f2d02b103c932905e2cd7eaceb5842bcc0767e4cad2df).

    The last Ubuntu 24.04 preparation in the cancelled route verified distro bubblewrap 0.9.0-1ubuntu0.3, then the unchanged unprivileged namespace probe failed with bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted. Only setup ran: the two native cases, three scoped lint rows and normal build were UNRUN. The failed receipt remains failed (SHA256 0cbde6fb6613c410fe6ec4a96408f3ee55da73d07e673e127af5b3bca25b5dd7); independent custody verified child joins, source/install guards and exact worker release. The prepared per-bwrap AppArmor proposal and its execution route were cancelled; no profile was loaded by this task. No runtime, package, native-matrix or original-timeout cure is established.

    Direct Codex 0.154.0 source inspection confirms the upstream namespace probe and advisory-warning limits and compatible system-bubblewrap selection. These contracts and the documented Linux prerequisites explain the preparation boundary; they do not prove a profile cure or the historical issue’s cause.

    Linux source verification used a canonical pre-commit capsule carrying exact final tree 4da08107aafb3544122f6951c188a4cf9e325ede, Node 24.19.0/ABI 137/Linux x64 and a separately frozen physical dependency install. Nine Gateway files passed 161 tests; focused incoming Codex coverage passed 40 tests. The selected real Codex 0.154.0 saturation/cancellation case passed in 11.723 seconds; one unrelated case was filtered out. The capsule carrier is preparation provenance, not a published package source commit.

    The first verification run passed the first 23 of 35 canonical changed-check commands, including all 25 core test-type shards and plugin production/test typechecks, then reached its fixed 1,800-second aggregate deadline while root test types were unfinished. That run remains FAILED. A separate continuation on the identical tree passed exactly the remaining 12 commands and the ordinary pnpm build, without replaying the completed tests or check prefix. The build took 351.979 seconds and completed unified and plugin-SDK declarations. This establishes 35-command coverage across the two attributed runs, plus the normal build; it is not a successful original aggregate invocation. Independent custody checks verified command identities, joined children, clean source/install guards and exact worker release.

    Fresh supplied-source P0 review against frozen 3309602 completed two passes with empty raw and accepted finding lists; source bytes remained unchanged. This is scoped P0 evidence, not full-repository, lower-priority, package or runtime-matrix qualification. The final signed commit has parents 58e49a2a and 33096024 and the tested tree above.

    At 2026-09-22 00:24:31 UTC, GitHub reports the exact new head as conflicting with newer main bf9611abc45ce668af7d7e8b6a322786aabf91b9; no real CI or Workflow Sanity run has been admitted for this head, only five metadata workflows. The unpublished follow-on integration is described above; its landing and execution route has since been cancelled. The published-head source proof below remains bound to frozen 3309602 and is not transferred to the new tree.

    Historical 58e49a2a CI, attempt 1 passed at 2026-09-21 20:17:22 UTC: 105 jobs passed and 17 skipped. It tested merge deb496081768f56d482d8d6b92cd306d3a4ca47a, with parents f156cf6c64ed1e1cc92b8ab35eac3c69cad5f806 and 58e49a2a756d5a1ceb9f813a5cd7afc94dfe1b0e. Historical Workflow Sanity also passed. These runs do not qualify the new head. The 29852164 CI failure and the unpublished-to-CI intermediate ccdf2a73/565e26cd heads retain their original attribution; passing source fixtures do not establish those historical timing causes.

    Public host/plugin packages and Linux source/import/toolchain/bootstrap passed on historical 58e49a2a. Host archive SHA256: ca53491a5031953a3b1563c8845a216286669ee920e5aa3f644b00267fbc7355; Codex plugin archive: 29bd63d68dfb7e9e7ca83718fe5e735ffeec132e4b597c69ad44f135b416e157. Native admission then failed during canonical private-QA preparation at its unchanged 600-second limit, after 9 of 11 compiler invocations. No native workload or fixture started, and final installed/native postguards were not reached. The failure remains failed. The receiver was verified released with cleanup complete at 2026-09-21 21:47:11 UTC and no local join debt. That receipt recorded the prepared image checkpoint as owned cleanup debt under a six-hour expire-unused policy. Its present disposition was not reverified in this read-only source reassessment; no reuse is authorized by this update. Subsequent baseline and source-verification workers were also released. No final-source package producer or new native-matrix workload has started.

    Earlier native receipts retain their original source identities. The cancelled route did not complete final-source packages, the native admission/lifecycle matrix, default installed-host resolver, constrained pressure or paired original-timeout proof. The relay opt-out is an optional capability, not a demonstrated cure for #91009. A native matrix or pressure pass alone would not establish the original cure.

    The earlier acceptance request at #91009 (comment) remains historical context; the receipts above do not establish an original-timeout cure.

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

Metadata

Metadata

Assignees

Labels

P0Emergency: data loss, security bypass, crash loop, or unusable core runtime.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions