Skip to content

refactor(code-mode): isolate tool catalogs per run - #115458

Merged
steipete merged 1 commit into
mainfrom
codex/cm-catalog-ownership-20260728-f02
Jul 29, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/cm-catalog-ownership-20260728-f02

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Code Mode tool search stored live catalogs in process-global state, allowing fallback resolution outside the owning run and requiring redundant registry cleanup.

Why This Change Was Made

Make the existing run-owned catalog reference the single authority. Remove global run, session and agent registries while preserving bounded fingerprinted directory snapshots.

User Impact

Concurrent Code Mode runs have stronger tool isolation and production code is 116 lines smaller.

Evidence

  • Clean fresh independent autoreview.
  • Blacksmith Testbox: all six focused catalog, ranking, runtime, embedded allowlist, abort, and client suites pass.
  • Explicit missing-reference and cross-run isolation regressions.
  • Personally verified upstream Codex session and cancellation ownership.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: M maintainer Maintainer-authored PR labels Jul 29, 2026
@steipete
steipete merged commit 76cc412 into main Jul 29, 2026
126 of 129 checks passed
@steipete
steipete deleted the codex/cm-catalog-ownership-20260728-f02 branch July 29, 2026 01:02
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Jul 29, 2026
* origin/main: (57 commits)
  docs: document gateway and memory chat wizards (#115487)
  fix(agents): restore subagent completion delivery on CLI runtimes (#115422)
  fix(sandbox): stop provisioning failures from exhausting fallbacks (#115481)
  refactor: remove duplicate runtime and plugin paths (#115483)
  fix(ui): canonicalize agent model identity (#115480)
  fix(ui): preview model picker interactions live (#115477)
  fix(ui): match disabled microphone picker background (#115472)
  refactor(code-mode): split focused runtime stress suites (#115462)
  fix(gateway): preserve restart intent across coalesced config writes (#110397)
  fix: scope subagent handoff to direct tools (#115466)
  docs: explain native subagent handoff
  fix: clarify native subagent completion handoff
  fix(config): respect agent directory filesystem case (#105402)
  refactor(code-mode): unify safe OpenAI tool filtering (#115460)
  refactor(code-mode): prepare MCP namespaces once per run (#115459)
  fix(ollama): preserve selected model capabilities during onboarding (#115467)
  refactor(chat): remove duplicate session projection paths (#115461)
  refactor(code-mode): make tool catalogs run-owned (#115458)
  fix(cli): preserve mid-turn text in durable replies (#115455)
  fix(memory): fall back to keyword search when embeddings cannot start (#115397)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling maintainer Maintainer-authored PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant