Skip to content

chore: verify catalog capture reuse across agents and scopes - #157300

Merged
RomneyDa merged 7 commits into
openclaw:mainfrom
htuyer121:fix/catalog-agent-scope-reuse
Sep 25, 2026
Merged

RomneyDa merged 7 commits into
openclaw:mainfrom
htuyer121:fix/catalog-agent-scope-reuse

Conversation

@htuyer121

@htuyer121 htuyer121 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Related: #157568, #157107, #156191, #156571

What Problem This Solves

The catalog capture regression coverage must distinguish first-time provider-scope expansion from repeated agent/scope requests, and detect physical byte growth even when registration counts stay unchanged.

User Impact

This is regression coverage for the shared-context catalog architecture merged in #157459. It does not change runtime retention policy, impose a 32-registry quota, or establish a disk/heap bound for arbitrary plugins. The affected-host soak in #157568 remains required; this PR must not be treated as release clearance.

Why This Change Was Made

The original per-agent/exact-scope cache was overtaken by the merged owner-level repair. This refactor preserves the contributor's four commits and authorship, merges current main without rewriting that ancestry, removes the superseded cache and its obsolete unit tests/docs, and adapts the useful synthetic bundled-provider scope fixture to the current owner.

The byte-footprint regression checks developed in #157660 are consolidated here so the contributor PR can carry the combined evidence rather than maintaining two competing proof PRs. The current-main production catalog owner remains unchanged.

Original investigation, implementation, and scope-regression fixture: @htuyer121. Refactor requested by @RomneyDa. The expiry capture-identity checks also follow independent validation reported by @goslingmanagment.

Work sessions

Evidence

Exact-head CI passed at 2026-09-25 01:29:59 UTC: 34 successful jobs, 22 skipped, none failed. The Actions openclaw/ci-gate check passed. This is CI proof, not an affected-host soak or permission to merge.

  • PR head: 24bfdb01065fbffaa63445b537451e786e97e625; tree: 293d3dd306c993e645c5597938704e3c1fd9fde9.
  • CI tested merge checkout 46b97bd5bfca737c63b4859944fc4f66a61ee089, combining base 281967681fd031ef58de7288d4cfd71e87d70585 with that exact PR head.
  • Changed-test job: all six selected files executed and passed, 23 tests. This includes all three capture/catalog regressions, 12 pool cases, three retirement cases, and five task-boundary cases. Job wall: 281 s; test-step wall: 151.89 s.
  • The separate changed-boundary job passed 142 tests across 12 files, Vitest 63.13 s and wrapper 66.84 s.
Changed integration test Case time Vitest duration Test-wrapper wall
Capture refresh 3.347 s 48.54 s 51.43 s
Native renewal 2.892 s 12.03 s 16.22 s
Two-agent / three-scope reuse 2.401 s 11.38 s 14.20 s

The complete reuse scenario passed: cold scope expansion, second-agent reuse, only requested provider hooks, request-local model/auth credentials, external-auth snapshot isolation, reversed warm scope order, stable physical footprint, one idle worker, and shutdown capture-root removal. The cold case uses the real individual lifecycle publisher with a shared loader workspace; existing startup/expiry cases retain normal fleet publication.

Capture refresh retained identical paths/inodes and 2,112,650 logical / 2,129,920 allocated bytes across refresh, then removed the captures on retirement. Native renewal retained one identical capture at 1,051,303 / 1,060,864 bytes across all three expiry revisions, with 8 completed tasks and zero failures. These are within-run synthetic measurements; temporary path lengths affect absolute fixture byte totals. They do not establish a general disk quota, cumulative-write bound, or external-plugin heap bound.

Local agent-test types, targeted typed lint, formatting, whitespace and line-cap checks passed. Independent source reviews found no actionable P0–P2 defect. Real workers are necessary to observe physical capture identity, retention and disposal; the changed case bodies remain below five seconds each.

Refactor provenance and earlier validation corrections

Merge 3195c1cdbcf5da249a46580afcfc949a813958f8 retains the original contributor head 2644d04775c1e1a99b5660c631e2cd881df84181 and main checkpoint 15d59cc7d5148d38baa94cc516ac6ddfe32fae42 as parents. All four original commits remain ancestors; every refactor commit explicitly coauthors @htuyer121 and @RomneyDa. The final delta contains five test/support files and no production or documentation changes.

Earlier CI exposed two lint issues and two fixture-contract mistakes: fleet publication eagerly renews credentialed providers, and model rows do not synthesize provider readiness outcomes. The corrections use individual publication for the cold case and an explicit matching ready outcome. No timeout was increased and no reuse/auth/footprint assertion was removed. Earlier failing runs and the retired 32-entry LRU/weighted-fleet measurements are not presented as proof of this revision.

Still missing: a build containing the shared-context repair measured on the affected configuration through startup and a settled post-ready interval, with capture birth/byte and generation-owner attribution, successful Gateway and local-agent turns, and safe retirement. No affected host has been exercised by this refactor.


View the OpenClaw team session

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

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: L labels Sep 24, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 24, 2026
@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 24, 2026, 9:42 PM ET / September 25, 2026, 01:42 UTC (Revision 8).

ClawSweeper review

What this changes

Adds real-worker tests that check catalog capture bytes, provider-scope reuse across agents, request-local credentials, and cleanup.

Merge readiness

✅ Ready for maintainer review

Keep this PR open. Current main contains the catalog repair, but it lacks this distinct regression coverage. The latest-head proof addresses the prior review request. The affected-host soak remains separately tracked and does not determine whether these tests are useful.

Priority: P2
Reviewed head: 24bfdb01065fbffaa63445b537451e786e97e625

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Focused real-worker coverage and a successful exact-head run support a normal good rating; the reported case output was available through the PR body rather than the job log.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The changed tests exercise the production prepared-catalog worker with synthetic providers and report observed latest-head scope reuse, credential isolation, stable physical captures, and cleanup. GitHub confirms the exact-head test job succeeded, although its downloadable log was unavailable to this reviewer. The separate affected-host soak remains unproven. 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 (live_output): The changed tests exercise the production prepared-catalog worker with synthetic providers and report observed latest-head scope reuse, credential isolation, stable physical captures, and cleanup. GitHub confirms the exact-head test job succeeded, although its downloadable log was unavailable to this reviewer. The separate affected-host soak remains unproven. No stored-data contract changes.
Evidence reviewed 6 items Introduced coverage: The new scenario requests three provider scopes across two agents, checks registrations and request-local credentials, compares physical capture footprints, and verifies cleanup.
Existing production owner: Current main uses a shared Gateway catalog pool and gives its worker an owned source-capture root; the PR does not change this production file.
Current-main coverage gap: The new scope-reuse scenario and shared physical-footprint helper are absent from current main; its existing capture test has a narrower byte counter.
Findings None None.
Security None None.

How this fits together

The prepared model catalog worker discovers provider models for agent runtimes. Agent and provider requests enter a shared worker, which returns catalog results while retaining and eventually releasing plugin source captures.

flowchart LR
  A[Agent requests] --> B[Provider scopes]
  B --> C[Shared catalog worker]
  C --> D[Plugin source captures]
  C --> E[Model catalog results]
  D --> F[Footprint checks]
  E --> G[Credential isolation checks]
  F --> H[Retirement cleanup]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +337. Total +337 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 5 377 40 +337
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 377 40 +337

Review metrics

Metric Value Why it matters
New regression cost 2.401 s case; 14.20 s test wrapper The measured case stays within the repository's per-file test-time target while exercising a real worker.

Technical review

Best possible solution:

Keep the focused worker regressions alongside the shared catalog owner, and assess the affected installation through its separate soak issue before claiming release clearance.

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

Not applicable to a test-only PR. The latest-head real-worker scenario has a reported passing run; it does not reproduce the affected host's full disk-growth incident.

Is this the best way to solve the issue?

Yes. The tests observe worker registration, capture identity and bytes, credential isolation, and retirement at the existing owner boundary without adding another runtime cache.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 691d2e5cd48c.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The changed tests exercise the production prepared-catalog worker with synthetic providers and report observed latest-head scope reuse, credential isolation, stable physical captures, and cleanup. GitHub confirms the exact-head test job succeeded, although its downloadable log was unavailable to this reviewer. The separate affected-host soak remains unproven. No stored-data contract changes.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The changed tests exercise the production prepared-catalog worker with synthetic providers and report observed latest-head scope reuse, credential isolation, stable physical captures, and cleanup. GitHub confirms the exact-head test job succeeded, although its downloadable log was unavailable to this reviewer. The separate affected-host soak remains unproven. No stored-data contract changes.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This is useful, bounded regression coverage for a consequential catalog reliability path, with no production behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The changed tests exercise the production prepared-catalog worker with synthetic providers and report observed latest-head scope reuse, credential isolation, stable physical captures, and cleanup. GitHub confirms the exact-head test job succeeded, although its downloadable log was unavailable to this reviewer. The separate affected-host soak remains unproven. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed tests exercise the production prepared-catalog worker with synthetic providers and report observed latest-head scope reuse, credential isolation, stable physical captures, and cleanup. GitHub confirms the exact-head test job succeeded, although its downloadable log was unavailable to this reviewer. The separate affected-host soak remains unproven. No stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (7 earlier review cycles)
  • reviewed 2026-09-24T13:37:46.925Z sha 772e24a :: blocked before merge. :: [P3] Update the documented catalog-worker retention contract
  • reviewed 2026-09-24T18:27:34.836Z sha 5f7e952 :: blocked before merge. :: none
  • reviewed 2026-09-24T19:01:09.947Z sha 2644d04 :: blocked before merge. :: none
  • reviewed 2026-09-24T19:10:46.856Z sha 2644d04 :: blocked before merge. :: none
  • reviewed 2026-09-24T23:54:30.280Z sha 3195c1c :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-25T00:36:25.898Z sha 104d37f :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-25T00:56:20.401Z sha 24bfdb0 :: needs real behavior proof before merge. :: none

@msobrosa

Copy link
Copy Markdown

Adding a production data point for the retention bound, since the PR notes that fleets above five agents are not validated.

Our shape

  • Mac mini M4 (Mac16,10), 16 GiB RAM, macOS 27.0, Node v26.8.1, Gateway as a LaunchAgent with --max-old-space-size=8192, npm global install.
  • 14 configured agents, all on openai/gpt-5.6-* through the codex runtime (primary plus two OpenAI fallbacks each). Enabled provider plugins beyond that: openrouter and ollama (Ollama is used for memory embeddings), plus whatsapp, discord, imessage, firecrawl, memory-core, browser and two local plugins.
  • Currently held on 2026.9.4. We tried 2026.9.5 three times and rolled back each time.

What happened on 2026.9.5 (2026-09-21)

Why the bound matters for a fleet like ours
Assuming a capture of about 290 MB, as we measured, one base generation plus up to four scoped registries per agent works out to 14 × 5 × ~0.29 GB ≈ 20 GB of logical capture files in the worst case. Your five-agent run reported about 8 GB. With 50–55 GB free on a 228 GB disk, plus swap already near 10 GB on 16 GB of RAM, both the disk footprint and the worker heap (the monotonic growth reported in #157107) matter to us as much as the churn fix itself.

Would the maintainers consider either:

  1. a byte-based or total-capture cap (or a config knob) in addition to the per-agent LRU, or
  2. sharing identical captures across agents when their discovery sets match (most of our agents resolve the same [codex, openai] set)?

Once this lands in a published build, we can run it and report capture births per 10 minutes, retained bytes and worker heap over a full afternoon.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XL and removed size: L labels Sep 24, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 24, 2026
@htuyer121

Copy link
Copy Markdown
Contributor Author

The retention follow-up is now in 2644d047: one worker-wide budget of 32 entries counts both base generations and exact discovery registries, with successful-use LRU eviction after admitted work drains. The architecture documentation and PR evidence are updated.

Local evidence: 28 focused tests plus the opt-in 28-agent × six-scope native stress case passed. Physical retained captures fell from 113 to 17; two synthetic weighted passes completed under the 512 MiB old-generation setting, with a maximum sampled worker heap of 380.5 MiB. Correct auth, one worker, eviction cleanup, and native shutdown cleanup were checked. This is a count bound and synthetic workload result, not a universal byte bound or a representative full Codex-fleet benchmark.

Final commit 2644d047 has 57 successful checks, including the build, production/test types, dependencies, core lint, and architecture checks. The changed-code test job is still running; full CI is pending, not a pass.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@benlaube

Copy link
Copy Markdown

Adding a data point from a 27-agent Linux install on the unpatched 2026.9.6 release, since the PR notes larger fleets are not validated. We have not run this PR; everything below is observational, from the journal, /proc and cgroup counters on one host. (Collected with Claude Code assistance from read-only reads.)

Our shape

  • OpenClaw 2026.9.6 (eb377ac), npm global install, Gateway as a systemd user service, Ubuntu 24.04 x64, 8 vCPU / 31 GiB RAM, Gateway on Node 24.19.0.
  • 27 agents, 17 Discord accounts, codex plugin plus deepseek, llama-cpp, meta provider plugins; 5 authored models.providers (deepseek, llama-cpp, nvidia, openai, xai) and 17 entries in agents.defaults.models; 48 of 73 plugins enabled.

Onset is the 9.4 -> 9.6 upgrade

  • 2026.9.4 (Sep 23, 12:00-18:00 UTC): 5 [plugins] loaded 5 plugin(s) lines in 6 h; none in the overnight sample before the upgrade.
  • 2026.9.6 (Sep 24, 04:20-10:00 UTC): 2,637 such lines, about 465/h, and it has not stopped since. Each build takes 8-11 s. Steady cadence is one every 14-16 s; in the first minutes after every start it is 10-11 per minute. The same plugin set is loaded each time (codex, deepseek, llama-cpp, meta, sometimes anthropic).

Cost while looping

  • A 5-second per-thread sample: one WorkerThread at about 100% of a core, four V8Worker helper threads at about 0.6 core each, main thread about 0.5 core. About 4.9 of 8 cores in total.
  • RSS sawtooths upward to about 16 GiB (15.9 GiB in the last memory diagnostic before a crash; VmHWM 14.6 GiB when sampled earlier) while the main V8 heap stays at 2.1-3.0 GiB. A memory diagnostic at 12:23 UTC showed prepared-model-catalog.worker.js at about 1.06 GiB heap with 24 workers. Between drops it grew about 2 GiB per 30 min. On a fresh start: 3.1 GiB when ready, 3.6 GiB five minutes later.
  • The plugin-captures folder under the state tmp directory (a different layout from the openclaw-model-catalog-* path in [Bug]: 2026.9.5 model-catalog worker leaks openclaw-plugin-build-* source captures in tmp (1-3 GB/min, fills the disk) — disk side of #155753 #156571) was 6.3 GiB at process start and 10.6 GiB ten minutes later; one 30-second sample on the earlier process read +372 MiB.

Effects we saw (correlation only, cause not established)

  • A 39.7 s event-loop stall (eventLoopDelayMaxMs=39728) closed at least 8 of the Discord websockets (1006) and dropped the Control UI (terminal liveness timeout); another 55 s stall during startup.
  • After two of our starts, Discord accounts stayed in gateway READY wait timed out after 15000ms; reconnecting with backoff: 6 accounts (459 timeouts over 29 minutes) at one start and all 17 (about 42/min for 14 minutes) at another. A restart cleared both. We did not establish that the catalog loop causes this.
  • Separate and already tracked (fix(gateway): preserve worker inventory after refused database opens #155875, fix: preserve worker environments during Doctor checks #156160): a process exit on Worker environment inventory has closed after 5 hours of uptime.

If maintainers want a specific measurement from a 27-agent install (worker counters, capture counts over a fixed window), tell us which and we can collect it read-only.

Preserve the contributor history while adapting scope and byte-footprint
regressions to the merged shared-context catalog owner. Remove the
superseded per-agent cache without claiming affected-host soak completion.

Co-authored-by: htuyer121 <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
@roboclaw-bot roboclaw-bot changed the title fix: stop rebuilding warm catalogs when requests switch agents or providers chore: verify catalog capture reuse across agents and scopes Sep 24, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 24, 2026
@clawsweeper clawsweeper Bot added status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 24, 2026
Use individual lifecycle publication for the cold-scope fixture instead of the fleet publisher that eagerly renews all credentialed providers. Keep the cold registration assertion and existing fleet coverage intact, and fix the two fixture lint findings.

Co-authored-by: htuyer121 <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 25, 2026
The publication observer consumes explicit provider outcomes; model rows alone do not create one. Report the generated provider as ready without changing timeouts or weakening reuse, auth, or footprint assertions.

Co-authored-by: htuyer121 <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added size: M and removed docs Improvements or additions to documentation size: XL labels Sep 25, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

The corrected scope-reuse proof now passes on head 24bfdb0. The PR body now records the completed exact-head CI result and requested timings: https://github.com/openclaw/openclaw/actions/runs/36079186069

All six selected files executed and passed (23 tests), plus 142 changed-boundary tests. The two-agent/three-scope reuse case passed in 2.401 s; Vitest took 11.38 s and its test wrapper 14.20 s. No source changed after that successful run. The prior request for an observed corrected-fixture result and measured wall time is now covered. This remains synthetic regression proof, not the affected-host soak or release clearance.

@clawsweeper

clawsweeper Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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 rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 25, 2026
@RomneyDa

Copy link
Copy Markdown
Member

@htuyer121 a competing fix was up and I chose to land that one and change this to extra regression coverage. Thanks for the contribution!

@RomneyDa
RomneyDa merged commit e029003 into openclaw:main Sep 25, 2026
135 of 137 checks passed
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 26, 2026
…w#157300)

* fix: reuse warm model catalogs across agents and provider scopes

* fix: bound shared catalog retention across agents

* test: satisfy catalog fixture lint rules

* fix: align catalog cache publication with lint contracts

* chore: keep scoped catalog proof cold

Use individual lifecycle publication for the cold-scope fixture instead of the fleet publisher that eagerly renews all credentialed providers. Keep the cold registration assertion and existing fleet coverage intact, and fix the two fixture lint findings.

Co-authored-by: htuyer121 <[email protected]>
Co-authored-by: RomneyDa <[email protected]>

* chore: report scoped fixture catalog readiness

The publication observer consumes explicit provider outcomes; model rows alone do not create one. Report the generated provider as ready without changing timeouts or weakening reuse, auth, or footprint assertions.

Co-authored-by: htuyer121 <[email protected]>
Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: htuyer121 <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[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 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: M 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.

5 participants