Skip to content

fix(codex): honor configured tool PATH in native commands - #157290

Merged
vincentkoc merged 5 commits into
mainfrom
fix/codex-native-exec-path-20260924
Sep 25, 2026
Merged

vincentkoc merged 5 commits into
mainfrom
fix/codex-native-exec-path-20260924

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Native Codex commands could select an older system binary even when tools.exec.pathPrepend selected the preferred directory for ordinary exec commands.

User Impact

Owned local Codex commands receive the effective global or per-agent prefix in new and resumed threads, ahead of the operator's native or request-level PATH. Existing native login policy remains unchanged, including explicit login: true requests and an operator-configured allow_login_shell = false. No new configuration or migration is required.

Sandbox, remote-workspace, and socket-backed execution retain their own environment. Codex reapplies explicit environment values after loading a shell snapshot; startup files can still change PATH when snapshots are unavailable or bypassed, or when the command shell starts. Disabling login skips login profiles, not every startup file.

Why This Change Was Made

The agent harness captures tool PATH and prefix intent through the existing execution-policy resolver. The Codex plugin applies it at its owned local process and thread boundaries. Native policy is retained beneath request overrides, including an explicit empty PATH; Windows PATH aliases receive the same result. This replaces the earlier full-PATH overwrite.

The corrections preserve native login policy and canonicalize managed filter aliases case-insensitively. Codex validates each policy layer before merging it, so emitting both path and PATH rejects an otherwise valid thread. Existing remote, identity, and credential restrictions, unrelated filter patterns, and legacy policy handling remain intact.

Production: +188/-19, net +169 lines for the environment ownership boundary and native config contract. Tests/routing: +954/-229, net +725, including moved coverage. Docs: net +1. No additional launcher, public SDK export, config key, or stored-data change.

Evidence

  • Current reviewed source: ab6e33560ef92b7397fa54a5301eafb3f694cc91, tree 9e2a2f1b0cb8ad2a971f2fc4220af2218b968a47. Independent contract review and scoped P0/P1 autoreview found no actionable finding.
  • Current exact-source proof: 269/269 tests across six files passed on Linux Node 24.19.0 / pnpm 12.4.2 in Blacksmith Testbox. Five cases use real pinned Codex 0.155.1, isolated state, and a credential-free loopback provider. Each starts a thread, closes the process, and cold-resumes it: configured prefix plus explicit login; no-prefix login; native login disabled; snapshots disabled with login preserved; and restrictive native filters with lowercase path = "exclude". Prefix cases verify both selected commands and preserved native PATH commands; the configured directory changes between processes.
  • The same bounded command substituted the previous shell-policy producer from 66610d5: both start/resume alias-regression cases failed as expected (2 failed, 13 skipped). It restored the candidate and verified clean source before the 269 passing tests. The earlier login-control case independently failed against the 74ed5ff connection producer. Controls are separate from the positive test count.
  • Earlier full proof, separately bound to 74ed5ff3c7deced35035b835576374a35b8e4813): 266 tests across six files, SDK surface validation, and the full build passed in Testbox. The later corrections change only the login predicate, shell-policy normalization, their tests, and docs; it does not change module or packaging boundaries.
  • Formatting, diff checks, and the line-cap ratchet passed on the current source. Required hosted PR CI remains separate and pending.
  • Testbox terminal command results are authoritative for these external commands; stopping a successful lease can mark the enclosing Actions workflow cancelled. The current command returned exitCode=0, runStatus=succeeded.
{"sourceSha":"ab6e33560ef92b7397fa54a5301eafb3f694cc91","provider":"blacksmith-testbox","exitCode":0,"runStatus":"succeeded","focusedTestsPassed":269,"nativeScenariosPassed":5}
Measured test cost and dependency contracts
File Tests File wall time Wrapper wall time
src/infra/path-prepend.test.ts 20 0.003 s 1.911 s
src/agents/harness/host-capability.environment.test.ts 9 37.614 s 42.076 s
extensions/codex/src/app-server/thread-shell-environment.test.ts 15 0.027 s 17.927 s
extensions/codex/src/app-server/thread-lifecycle.test.ts 211 0.814 s 23.433 s
extensions/codex/src/app-server/run-attempt-connection.environment.test.ts 9 2.967 s 32.972 s
extensions/codex/src/app-server/thread-shell-environment.native.test.ts 5 3.223 s 21.501 s

All rows are measured at ab6e335, using Vitest JSON start/end timestamps for file wall time and monotonic timing for each repository wrapper. Sequential focused wrappers total 139.820 s. The pre-fix two-case control took 45.193 s. The enclosing Testbox command took 319.173 s including source/dependency preparation; frozen install took 9.8 s. Earlier full build at 74ed5ff took 1426.9 s and was not repeated for these policy-only corrections.

Hosted CI cost snapshot: the previous 66610d5 run had 132 completed jobs totaling 37,057 runner-seconds, computed from job start/completion timestamps. This is aggregate overlapping runner time, not PR-attributable cost or wall duration. Its stale integration checkout preceded the independently landed baseline fix in #157394; this source push refreshes integration CI. Current required CI remains the landing gate.

Direct inspection of pinned Codex be2951e covered native login acceptance, snapshot environment replay, snapshot availability, nullable shell-policy fields, per-layer filter validation, validation before merge, and JSON-to-TOML null conversion.

All current review requests are addressed: native PATH precedence, fresh/resumed native execution, preserved login behavior with and without existing exec prefixes, canonical case-insensitive native filters, and measured per-file/hosted test cost. Authenticated provider testing and production deployment remain separate work; this PR does not claim live host recovery. Earlier build advisory warnings for startup CSS and isolated Mermaid size remain UI-budget follow-ups.

@vincentkoc vincentkoc self-assigned this Sep 24, 2026
@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vincentkoc
vincentkoc marked this pull request as ready for review September 24, 2026 12:34
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 24, 2026
@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 24, 2026, 1:21 PM ET / 17:21 UTC (Revision 5).

ClawSweeper review

What this changes

The branch extends the configured exec PATH prefix to locally owned Codex commands in new and resumed threads, while preserving native PATH and login settings.

Merge readiness

⛔ Blocked before merge - 2 items remain

The previous case-insensitive filter finding is addressed, and current main still lacks this native Codex PATH behavior. Linux native execution is well supported by the supplied proof; the Windows-specific path remains unverified.

Priority: P2
Reviewed head: ab6e33560ef92b7397fa54a5301eafb3f694cc91

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong Linux native proof and a coherent patch support a good rating, with Windows alias behavior still awaiting platform confirmation.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR records an exact-source Linux Testbox run using the real pinned Codex app-server, an isolated loopback provider, and fresh/cold-resumed native commands that select the configured tool while preserving native PATH. The real native test skips Windows, leaving that separate platform gate open; no stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR records an exact-source Linux Testbox run using the real pinned Codex app-server, an isolated loopback provider, and fresh/cold-resumed native commands that select the configured tool while preserving native PATH. The real native test skips Windows, leaving that separate platform gate open; no stored-data contract changes.
Evidence reviewed 11 items Current main: Current main applies managed shell values but has no prefix-aware native PATH merge, so the central change remains useful.
Local placement: The introduced connection path passes the prepared PATH only to an owned local stdio process, excluding sandbox, remote execution, proxy launches, and remote workspaces.
Prior finding resolved: The current shell-policy owner removes case-equivalent managed filter keys before adding one include entry per managed name, addressing the prior P1.
Findings None None.
Security None None.

How this fits together

The agent harness resolves exec configuration and passes a local tool environment to the Codex plugin. The plugin applies that environment when starting Codex and its native command threads.

flowchart LR
  A[Exec configuration] --> B[Agent harness]
  B --> C{Codex placement}
  C -->|Owned local process| D[Native shell policy]
  C -->|Remote or sandbox| E[Placement environment]
  D --> F[Codex commands]
  E --> F
Loading

Before merge

  • Resolve merge risk (P1) - Windows-native command selection remains unverified: the introduced PATH-alias handling changes behavior there, while the real Codex fresh/resume test skips Windows.
  • Complete next step (P2) - Record Windows native Codex fresh and cold-resume command selection with Path/PATH aliases before merge.
Agent review details

Security

None.

PR surface

Source +169, Tests +725, Docs +1. Total +895 across 25 files.

View PR surface stats
Area Files Added Removed Net
Source 16 190 21 +169
Tests 8 954 229 +725
Docs 1 2 1 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 25 1146 251 +895

Review metrics

Metric Value Why it matters
Production versus test growth production net +169 lines; tests and routing net +725 lines The PR explains the production growth as native environment ownership and reports measured costs for the added tests.

Merge-risk options

Maintainer options:

  1. Verify Windows native PATH (recommended)
    Run the changed fresh and cold-resume scenario on Windows with Path/PATH aliases and record which native command is selected.
  2. Accept the Windows coverage gap
    A maintainer may explicitly accept Windows command-selection uncertainty while retaining the Linux proof and documented startup-file limitation.

Technical review

Best possible solution:

Keep one exec-policy source for the prefix and one Codex shell-policy owner for native precedence, then confirm Path/PATH aliases through a Windows native fresh and resume run.

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

Yes. Current main lacks the native prefix bridge, and the PR supplies a pinned Codex fresh/resume scenario with a reported before-fix failure and after-fix command lookup.

Is this the best way to solve the issue?

Yes for the demonstrated local Linux path. Reusing the exec-policy resolver and Codex's native shell-policy owner is a coherent approach; Windows-native alias behavior still needs platform proof.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR records an exact-source Linux Testbox run using the real pinned Codex app-server, an isolated loopback provider, and fresh/cold-resumed native commands that select the configured tool while preserving native PATH. The real native test skips Windows, leaving that separate platform gate open; no stored-data contract changes.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This is a bounded improvement to configured native command lookup, with limited affected setups.
  • merge-risk: 🚨 compatibility: Merging changes binary selection for existing native Codex setups with an exec prefix, and the Windows alias path lacks native-platform proof.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR records an exact-source Linux Testbox run using the real pinned Codex app-server, an isolated loopback provider, and fresh/cold-resumed native commands that select the configured tool while preserving native PATH. The real native test skips Windows, leaving that separate platform gate open; no stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR records an exact-source Linux Testbox run using the real pinned Codex app-server, an isolated loopback provider, and fresh/cold-resumed native commands that select the configured tool while preserving native PATH. The real native test skips Windows, leaving that separate platform gate open; no stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • shakkernerd: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Record a Windows native fresh and cold-resume run that exercises Path/PATH aliases and shows final command selection.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • 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.

History

Review history (4 earlier review cycles)
  • reviewed 2026-09-24T12:40:23.669Z sha a331423 :: blocked before merge. :: [P1] Preserve native login shells when no prefix is configured | [P3] Update the PATH option table for native Codex
  • reviewed 2026-09-24T13:06:01.855Z sha 986c4f8 :: blocked before merge. :: [P1] Preserve the existing native PATH when applying a prefix
  • reviewed 2026-09-24T16:31:32.178Z sha 74ed5ff :: blocked before merge. :: [P1] Preserve native login for existing exec prefix configurations
  • reviewed 2026-09-24T16:57:16.714Z sha 66610d5 :: blocked before merge. :: [P1] Coalesce native PATH filters before adding the managed include

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling extensions: codex size: L labels Sep 24, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review head 986c4f8. The resolver now distinguishes the configured prefix from the automatic CLI shim, preserving native login-shell defaults for absent, empty, and whitespace-only effective prefixes. The PATH option table is aligned. A pinned real-binary fresh/cold-resume command regression is included; isolated Testbox proof is running and the PR body marks its result pending. Independent scoped review found no P0/P1 issues.

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc
vincentkoc force-pushed the fix/codex-native-exec-path-20260924 branch from 986c4f8 to 74ed5ff Compare September 24, 2026 16:23
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Review current head 74ed5ff3c7deced35035b835576374a35b8e4813. The prefix now preserves native/request PATH, including an explicitly empty PATH, and no-prefix login defaults remain unchanged. Both prior rank-up moves are addressed.

266 focused tests passed, including real Codex 0.155.1 fresh and cold-resumed commands with and without a prefix. SDK surface and full build passed. The PR body records the exact source/tree and terminal Testbox command result (exitCode=0, runStatus=succeeded); lease cleanup can mark the enclosing Actions workflow cancelled, which is distinct from its command result.

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 66610d585c95c7410e3743b1868865013baf9198. The prefix-only login restriction is removed; existing native login policy and identity/credential restrictions are preserved. The current Linux Testbox command passed 13 tests, including configured prefix + explicit login: true on fresh and cold-resumed native threads, with both prefix and native PATH lookup assertions. Existing native login-disabled and snapshot-disabled behavior are also covered. A single-producer baseline control reproduced the old login regression and restored the candidate. The PR body now distinguishes current proof from prior full-suite/build proof and records per-file and command timings. Independent contract and scoped P0/P1 reviews are clean; hosted CI is separate.

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 24, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Exact head: ab6e33560ef92b7397fa54a5301eafb3f694cc91.

Resolved revision 4's P1 at the shell-policy owner: exact managed filter aliases are coalesced case-insensitively before emitting one include per name. Unrelated/wildcard filters, legacy include-only handling, native set values, and existing login policy remain unchanged. Direct pinned Codex inspection confirms duplicate casefold patterns are rejected before layer merge, under the filter validation contract.

Exact-source Testbox proof: 269/269 tests across all six affected files, including five real pinned-Codex fresh/cold-resume scenarios. The new native restrictive-filter case checks both selected prefix commands and retained native PATH. A bounded pre-fix control failed both alias-regression cases, then restored clean source before the positive suite. Independent patch review and scoped P0/P1 autoreview are clean. Command exit 0 / succeeded; owned lease stopped.

The PR body now reports actual per-file wall times for all six files, wrapper time, command time, and explicitly labeled aggregate hosted CI runner-seconds. No extra configuration or module/build boundary change. Production delta for this correction: +7 lines, required by the dependency's case-insensitive pattern identity. Fresh integration CI will include the independently landed prerequisite #157394.

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot removed the rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. label Sep 24, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 24, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Maintainer disposition for exact head ab6e33560ef92b7397fa54a5301eafb3f694cc91:

I accept the remaining Windows-native qualification gap for this Linux native-execution repair, as offered in revision 5's maintainer options. The current review reports no actionable code findings; all required checks are green. The 269-test exact-source Linux proof includes real pinned-Codex fresh and cold-resumed command selection. Existing unit coverage checks alias normalization, and the platform-aware PATH/Path casing assertions remain in the suite. This is not a claim of live Windows-native verification.

The optional rank-up move is deferred as follow-up: Windows native Codex fresh/cold-resume PATH/Path qualification. That platform run is outside the reported Linux incident and adds no prerequisite configuration or migration to this fix. The documented shell-startup limitations remain explicit. No source changed after the reviewed SHA, so another rating-only re-review is unnecessary.

@vincentkoc
vincentkoc merged commit d9a6946 into main Sep 25, 2026
221 checks passed
@vincentkoc
vincentkoc deleted the fix/codex-native-exec-path-20260924 branch September 25, 2026 00:26
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* commit 'ef2dd3235123371860c9154da7b47b2c1e940788': (41 commits)
  fix(ci): prevent Security Review checkout retry collisions (#157652)
  fix(ci): recover interrupted Security Review response bodies (#157651)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (#139131)
  refactor(msteams): share stored service URL validation (#157706)
  fix(codex): honor configured tool PATH in native commands (#157290)
  refactor(msteams): share approval kind labels (#157705)
  fix(sessions): keep session results current during cold reads (#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (#157535)
  refactor(i18n): reuse native branch candidate extraction (#157636)
  fix(update): preserve recovery files after ownership refusal (#148890)
  fix(test): prevent late announcements from contaminating registry tests (#157681)
  fix(e2e): scan full onboarding logs for prompts (#157624)
  refactor(session-tools): derive contracts from schemas (#156365)
  refactor(channels): derive config contracts from schemas (#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (#157689)
  refactor: reuse prepared fixtures in slow core tests (#157685)
  refactor(codex): reuse marketplace reference selection (#157621)
  chore(ui): refresh control ui locales (#157710)
  ...
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* commit '229ab8a1fe957d3d4822309a39ddf9c7ec616395': (25 commits)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (#139131)
  refactor(msteams): share stored service URL validation (#157706)
  fix(codex): honor configured tool PATH in native commands (#157290)
  refactor(msteams): share approval kind labels (#157705)
  fix(sessions): keep session results current during cold reads (#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (#157535)
  refactor(i18n): reuse native branch candidate extraction (#157636)
  fix(update): preserve recovery files after ownership refusal (#148890)
  fix(test): prevent late announcements from contaminating registry tests (#157681)
  fix(e2e): scan full onboarding logs for prompts (#157624)
  refactor(session-tools): derive contracts from schemas (#156365)
  refactor(channels): derive config contracts from schemas (#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (#157689)
  refactor: reuse prepared fixtures in slow core tests (#157685)
  refactor(codex): reuse marketplace reference selection (#157621)
  chore(ui): refresh control ui locales (#157710)
  docs(gateway): show how we build OpenClaw on Team (#157675)
  refactor: verify IRC surrogate chunking over loopback (#157580)
  ...
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* fix(ui): keep Stop available while drafts cannot send

* chore: integrate main fixes for Stop UI validation

* commit 'ef2dd3235123371860c9154da7b47b2c1e940788': (41 commits)
  fix(ci): prevent Security Review checkout retry collisions (#157652)
  fix(ci): recover interrupted Security Review response bodies (#157651)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (#139131)
  refactor(msteams): share stored service URL validation (#157706)
  fix(codex): honor configured tool PATH in native commands (#157290)
  refactor(msteams): share approval kind labels (#157705)
  fix(sessions): keep session results current during cold reads (#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (#157535)
  refactor(i18n): reuse native branch candidate extraction (#157636)
  fix(update): preserve recovery files after ownership refusal (#148890)
  fix(test): prevent late announcements from contaminating registry tests (#157681)
  fix(e2e): scan full onboarding logs for prompts (#157624)
  refactor(session-tools): derive contracts from schemas (#156365)
  refactor(channels): derive config contracts from schemas (#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (#157689)
  refactor: reuse prepared fixtures in slow core tests (#157685)
  refactor(codex): reuse marketplace reference selection (#157621)
  chore(ui): refresh control ui locales (#157710)
  ...

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
…57290)

* fix(codex): preserve configured tool PATH in native execution

* fix(codex): preserve native shell defaults without a configured PATH

* fix(codex): preserve native PATH beneath configured prefixes

* fix(codex): preserve native login policy with tool prefixes

* fix(codex): canonicalize managed shell filter aliases
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
* fix(ui): keep Stop available while drafts cannot send

* chore: integrate main fixes for Stop UI validation

* commit '5dae23c843013fce2e0bb80037d232bbabfc70e5': (41 commits)
  fix(ci): prevent Security Review checkout retry collisions (openclaw#157652)
  fix(ci): recover interrupted Security Review response bodies (openclaw#157651)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (openclaw#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (openclaw#139131)
  refactor(msteams): share stored service URL validation (openclaw#157706)
  fix(codex): honor configured tool PATH in native commands (openclaw#157290)
  refactor(msteams): share approval kind labels (openclaw#157705)
  fix(sessions): keep session results current during cold reads (openclaw#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (openclaw#157535)
  refactor(i18n): reuse native branch candidate extraction (openclaw#157636)
  fix(update): preserve recovery files after ownership refusal (openclaw#148890)
  fix(test): prevent late announcements from contaminating registry tests (openclaw#157681)
  fix(e2e): scan full onboarding logs for prompts (openclaw#157624)
  refactor(session-tools): derive contracts from schemas (openclaw#156365)
  refactor(channels): derive config contracts from schemas (openclaw#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (openclaw#157689)
  refactor: reuse prepared fixtures in slow core tests (openclaw#157685)
  refactor(codex): reuse marketplace reference selection (openclaw#157621)
  chore(ui): refresh control ui locales (openclaw#157710)
  ...

Co-authored-by: Vincent Koc <[email protected]>
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* refactor(ui): share slash-command failure results

* Merge main to incorporate the upstream update type fix

* commit '0484d7a3ecf52589b0d3d98741e58e5f6b5bf661': (68 commits)
  fix(subagents): stop completion transcript retry loops (#157571)
  perf(sessions): remove duplicate foreground history reference scans (#157572)
  improve(typesafe): defer startup work until the first decision (#157380)
  fix(update): restore npm-pack helper typechecking (#157659)
  fix(packaging): avoid heap exhaustion on large bundles (#157471)
  refactor(infra): share process error handler registries (#157632)
  chore(ui): refresh control ui locales (#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (#157592)
  perf(plugins): reuse declared tool membership during resolution (#156205)
  fix(ui): pasted text previews fail before sending (#157390)
  fix(agents): wait for database resources during deletion (#157631)
  improve: move operator profile database reads off the Gateway thread (#155800)
  fix: explain rejected settings without losing edits (#157549)
  fix: keep Gateway responsive while recording trajectory events (#157598)
  fix(auth): show SIWC email and selected model account identity (#157629)
  docs: explain Codex app approval precedence (#155089)
  refactor(wizard): share select prompt requests (#157607)
  fix(ui): omit empty sections from conversation Markdown exports (#157590)
  fix(doctor): explain update lint supervisor refusals (#156547)
  fix(ui): GitHub folder links lose repository context (#157619)
  ...

* Merge frozen main to include the question fixture authority fix

* commit '229ab8a1fe957d3d4822309a39ddf9c7ec616395': (25 commits)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (#139131)
  refactor(msteams): share stored service URL validation (#157706)
  fix(codex): honor configured tool PATH in native commands (#157290)
  refactor(msteams): share approval kind labels (#157705)
  fix(sessions): keep session results current during cold reads (#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (#157535)
  refactor(i18n): reuse native branch candidate extraction (#157636)
  fix(update): preserve recovery files after ownership refusal (#148890)
  fix(test): prevent late announcements from contaminating registry tests (#157681)
  fix(e2e): scan full onboarding logs for prompts (#157624)
  refactor(session-tools): derive contracts from schemas (#156365)
  refactor(channels): derive config contracts from schemas (#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (#157689)
  refactor: reuse prepared fixtures in slow core tests (#157685)
  refactor(codex): reuse marketplace reference selection (#157621)
  chore(ui): refresh control ui locales (#157710)
  docs(gateway): show how we build OpenClaw on Team (#157675)
  refactor: verify IRC surrogate chunking over loopback (#157580)
  ...

* chore: merge frozen main prerequisite repairs

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 26, 2026
* refactor(ui): share slash-command failure results

* Merge main to incorporate the upstream update type fix

* commit 'dda1f68bfa102cb804392c0e7cc22c0566a0944a': (68 commits)
  fix(subagents): stop completion transcript retry loops (openclaw#157571)
  perf(sessions): remove duplicate foreground history reference scans (openclaw#157572)
  improve(typesafe): defer startup work until the first decision (openclaw#157380)
  fix(update): restore npm-pack helper typechecking (openclaw#157659)
  fix(packaging): avoid heap exhaustion on large bundles (openclaw#157471)
  refactor(infra): share process error handler registries (openclaw#157632)
  chore(ui): refresh control ui locales (openclaw#157573)
  fix(gateway): release remote Skills subscriptions when shutdown drains (openclaw#157592)
  perf(plugins): reuse declared tool membership during resolution (openclaw#156205)
  fix(ui): pasted text previews fail before sending (openclaw#157390)
  fix(agents): wait for database resources during deletion (openclaw#157631)
  improve: move operator profile database reads off the Gateway thread (openclaw#155800)
  fix: explain rejected settings without losing edits (openclaw#157549)
  fix: keep Gateway responsive while recording trajectory events (openclaw#157598)
  fix(auth): show SIWC email and selected model account identity (openclaw#157629)
  docs: explain Codex app approval precedence (openclaw#155089)
  refactor(wizard): share select prompt requests (openclaw#157607)
  fix(ui): omit empty sections from conversation Markdown exports (openclaw#157590)
  fix(doctor): explain update lint supervisor refusals (openclaw#156547)
  fix(ui): GitHub folder links lose repository context (openclaw#157619)
  ...

* Merge frozen main to include the question fixture authority fix

* commit 'dc64cc3a3a3cf38fff1e44c1d7af42a32929d7e4': (25 commits)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (openclaw#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (openclaw#139131)
  refactor(msteams): share stored service URL validation (openclaw#157706)
  fix(codex): honor configured tool PATH in native commands (openclaw#157290)
  refactor(msteams): share approval kind labels (openclaw#157705)
  fix(sessions): keep session results current during cold reads (openclaw#156121)
  fix(testing): capture bounded upgrade integrity diagnostics (openclaw#157535)
  refactor(i18n): reuse native branch candidate extraction (openclaw#157636)
  fix(update): preserve recovery files after ownership refusal (openclaw#148890)
  fix(test): prevent late announcements from contaminating registry tests (openclaw#157681)
  fix(e2e): scan full onboarding logs for prompts (openclaw#157624)
  refactor(session-tools): derive contracts from schemas (openclaw#156365)
  refactor(channels): derive config contracts from schemas (openclaw#156367)
  perf(test): reuse MCP archives and batch worker fixture copies (openclaw#157689)
  refactor: reuse prepared fixtures in slow core tests (openclaw#157685)
  refactor(codex): reuse marketplace reference selection (openclaw#157621)
  chore(ui): refresh control ui locales (openclaw#157710)
  docs(gateway): show how we build OpenClaw on Team (openclaw#157675)
  refactor: verify IRC surrogate chunking over loopback (openclaw#157580)
  ...

* chore: merge frozen main prerequisite repairs

Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation extensions: codex merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant