Skip to content

fix: avoid full agent database copies during startup version checks - #145541

Merged
steipete merged 6 commits into
mainfrom
steipete/jolly-sinoussi-a8f5b5
Sep 12, 2026
Merged

steipete merged 6 commits into
mainfrom
steipete/jolly-sinoussi-a8f5b5

Conversation

@steipete

@steipete steipete commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Closes #145412

What Problem This Solves

Fixes an issue where Gateway startup and restart could spend time and temporary disk copying large agent databases even when only checking their schema versions. The header-only preflight path used full-snapshot machinery before reading a few metadata values.

Why This Change Was Made

Header-only agent preflight now uses the existing read-only worker to read a coherent SQLite schema/version header without copying ordinary database payloads. The worker retains source-reader admission through native database closure; the parent retains cancellation and cleanup ownership through child closure. WAL-visible version and writer metadata come from the same read transaction.

The header reader remains separate from lightweight version utilities, preserving the native hook relay's startup import contract. Metadata SELECT uses Kysely, read transactions use the existing deferred transaction owner, and read-only PRAGMAs belong to the existing SQLite configuration owner. Source-reader lock tolerance stays at the previous 30 seconds; the global/runtime and private-snapshot timeout and child deadlines are unchanged.

Full integrity, foreign-key, schema readiness, agent-ownership admission, physical writable-open validation, and shared-state inspection remain unchanged. The rebased integration preserves the private snapshot whenever agentAdmissionConfig requests ownership inspection, even without full schema validation. Rollback recovery, incomplete WAL families (including cleanly closed WAL stores without sidecars), and existing exclusive source/mutation scopes retain their necessary private snapshots. Complete WAL families keep the previous reader's native SHM coordination; sidecar presence does not prove live native clients. There is no catch-all retry/copy fallback, new persistent cache, schema migration, configuration option, or SDK surface expansion.

The accepted storage-inspection scope is recorded in #145412. Existing installed update/deployment drivers remain unchanged, and rollback requires no data conversion. Worker bootstrap, worktree cleanup, and broader cross-lease validation reuse are out of scope.

User Impact

Ordinary agent version checks no longer allocate temporary snapshots proportional to retained history. Required full validation still runs at its existing ownership boundaries. This removes measured startup I/O amplification; it does not claim to eliminate every cold-start copy or establish the cause of a historical production integrity timeout.

Evidence

  • Published updater × candidate: PASS. The published [email protected] updater installed candidate 10053a93e70f38c790eac8b4bf6345272bf8a7d4 through the canonical Docker legacy-operator-state / auto-auth survivor cell. Update state finished/succeeded; the supervisor changed from 2580 to 6261. Authenticated Gateway RPC reported build 2026.9.4-10053a93e70f-2026-09-12T07-03-21.725Z, matching the candidate tarball rather than the published baseline build. Authored approvals, agent/model config, workspace skill bytes, cron ownership/IDs and plugin config were preserved; health/readiness, mock-provider turns, already-current repeat update, and Doctor lint passed. Update/restart took 159 seconds with 69,680 ms reported downtime. Proof run. Tarball SHA-256: ff7626e5c92b33d540feab0de436d024b285c75a56358e317d4072c78e3096d5. This is real Gateway-process proof under the Docker systemd fixture with synthetic state, not native-host systemd or production-data proof. A local evidence-extraction failure occurred after remote success and was recovered without repeating the update.
  • CI integration: main independently landed the same model-context worker registration consolidation in #145708. This branch now consumes that upstream fix; its worker registry, runtime consumer and build configuration are byte-identical to main. The remaining 18-file repair has stable patch ID aa600dbf3a059ac52ab58e00d9191ca01388107a, identical to the reviewed and published-updater-proven 10053a93e70f38c790eac8b4bf6345272bf8a7d4 delta. No additional worker changes, test deadline increases, or weaker assertions remain in this PR.
  • CI failure attribution: both the CI parent and exact merge passed the original 104-file/2,713-test Gateway shard in isolated Linux; both showed similar cold-worker overhead. A controlled real-worker compilation experiment reduced first reply from 4,596 to 845 ms. The separate workspace-finalization timeout did not reproduce and is not claimed fixed by this consolidation. Comparison run. Exact-head CI remains mandatory.
  • Before/after regression: the original real preflight API copied all 67,182,592 bytes of a synthetic database to report its version. The original owner fails a copy-forbidden regression; the repaired owner succeeds and reports the newer version and matching writer metadata from WAL.
  • Pre-rebase large-store Linux proof: a 9,414,447,104-byte allocated database took 409 ms and 364 ms for two header inspections, with zero full snapshots and 16,664 main-file bytes read in total. The second version existed only in WAL; main and WAL SHA-256 values were unchanged. The fixture and Testbox were removed. Proof run.
  • Pre-rebase candidate binding: the wrapper's verified tree ce4de90b2ec6d48c5ae7143503c12ab2b84ceac5 equals the tree of 9d15739a059889b53bf1c0ab32127ccb587cb0d2.
  • Pre-rebase full package and runtime proof: pnpm build passed in the neutral Linux checkout, including the CLI/bootstrap import guard and Plugin SDK export check. 147 tests across eight focused suites passed on Linux, including parent POSIX locks, native child/lease lifetime, failed close, cancellation/deadline settlement, private rollback recovery, inactive complete/incomplete WAL families, and exclusion/mutation scopes. Kysely and import-cycle architecture guards passed.
  • Contention regression: a real exclusive rollback writer held for eight seconds reproduces SQLITE_BUSY/indeterminate and an update refusal on the initial PR head. The repaired preflight succeeds after release, retaining the original source-reader tolerance without changing global limits.
  • Rebase integration: 158 tests across nine focused suites passed on macOS, with one existing skip, including all six agent-ownership roles and config-only preflight. Scoped type-aware lint passed. Lightweight version utilities remain unchanged from the new main base.
  • Review and CI follow-through: independent P0–P2 review is complete with no verified actionable findings. Its hot-journal busy-lock concern was rejected against SQLite 3.53.4 pager.c: read-only handles return SQLITE_READONLY_ROLLBACK before attempting exclusive recovery locks; the previous snapshot path also retains the same read-only-error fallback. Earlier CI findings were repaired at their owners: no raw-SQL allowlist expansion, no bundle-budget increase, and no dependency or formatter override. The complete selected changed-file gates also passed in the earlier neutral Linux validation; final exact-head CI remains the landing gate.

This evidence does not claim production deployment or a production full-scan result. No additional live full-database scan is part of the validation request.

@clawsweeper

clawsweeper Bot commented Sep 12, 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 docs Improvements or additions to documentation size: L maintainer Maintainer-authored PR labels Sep 12, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. labels Sep 12, 2026
@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 12, 2026, 3:54 AM ET / 07:54 UTC (Revision 11).

ClawSweeper review

What this changes

Reads agent database version metadata in a read-only child without copying ordinary database contents, while retaining private snapshots for validation, recovery, and exclusive ownership scopes.

Merge readiness

✅ Ready for maintainer review

This remains a useful, bounded repair absent from current main and the latest release. The previous timeout finding is resolved, ownership checks remain intact, and no blocking defect was found.

Priority: P2
Reviewed head: da3b1cbbad8c361e420c5933dae9281a92c71296

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, supported repair with strong recorded runtime evidence and no remaining actionable finding.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): Recorded Linux runs exercise the production header reader on a large SQLite database with WAL-only metadata and no full snapshots; the published-updater Docker run demonstrates candidate Gateway restart and state preservation. Changed production blobs match that tested candidate. Raw linked logs could not be independently reopened through this reviewer's network policy.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): Recorded Linux runs exercise the production header reader on a large SQLite database with WAL-only metadata and no full snapshots; the published-updater Docker run demonstrates candidate Gateway restart and state preservation. Changed production blobs match that tested candidate. Raw linked logs could not be independently reopened through this reviewer's network policy.
Evidence reviewed 8 items Current main still copies agent databases: At fetched main, agent preflight unconditionally prepares a private snapshot before reading user_version. The central optimization remains unique to this PR.
Latest release retains the copy path: The supplied v2026.9.4 release commit also prepares an agent snapshot before version inspection; this repair is not already shipped there.
Validation and admission remain separate: The optimized branch requires all three validation/admission options to be absent. Config-only ownership inspection still obtains a snapshot, and the expanded six-role regression checks copied-owner refusal and preservation of source bytes.
Findings None None.
Security None None.

How this fits together

Gateway startup and update checks inspect database versions before proceeding. This change optimizes the per-agent metadata check; full database readiness and ownership validation retain their existing paths.

flowchart TD
  A[Startup or update check] --> B[Agent database preflight]
  B --> C{Full validation or ownership check?}
  C -->|Yes| D[Private snapshot and validation]
  C -->|No| E[Read-only child]
  E --> F{Recovery or exclusive scope?}
  F -->|Yes| D
  F -->|No| G[Read coherent version metadata]
  D --> H[Compatibility result]
  G --> H
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +262, Tests +435, Docs +2, Other 0. Total +699 across 18 files.

View PR surface stats
Area Files Added Removed Net
Source 8 313 51 +262
Tests 8 533 98 +435
Docs 1 3 1 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 1 0
Total 18 850 151 +699

Review metrics

Metric Value Why it matters
Production versus regression coverage Production net +262 lines; tests and test support net +435 lines Production growth implements the accepted child-read and lifetime contract; regression coverage exercises copying, consistency, locks, cancellation, and admission.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #145412
Summary: This PR implements the accepted agent-header repair; the related Doctor optimization and worker consolidation address distinct causes.

Members:

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

Technical review

Best possible solution:

Keep metadata inspection with the existing child reader and preserve full validation, ownership admission, and recovery at their current owners.

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

Yes: current main unconditionally snapshots agent databases for header-only calls, and the supplied real-preflight regression records a full 67,182,592-byte copy. This review verified the source path without executing it.

Is this the best way to solve the issue?

Yes: the patch extends the existing reader and preserves the snapshot branches required by validation, ownership, and journal recovery; it adds no persistent cache or competing admission policy.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 8c2996e01303.

Labels

Label justifications:

  • P2: Removes database-size-proportional startup and update inspection I/O without evidence of an urgent outage caused by the existing path.
  • 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 (linked_artifact): Recorded Linux runs exercise the production header reader on a large SQLite database with WAL-only metadata and no full snapshots; the published-updater Docker run demonstrates candidate Gateway restart and state preservation. Changed production blobs match that tested candidate. Raw linked logs could not be independently reopened through this reviewer's network policy.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded Linux runs exercise the production header reader on a large SQLite database with WAL-only metadata and no full snapshots; the published-updater Docker run demonstrates candidate Gateway restart and state preservation. Changed production blobs match that tested candidate. Raw linked logs could not be independently reopened through this reviewer's network policy.

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)
  • Josh Lehman: 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 (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-12T03:09:54.318Z sha 9b7bc10 :: blocked before merge. :: [P2] [P2] Preserve the existing live-source busy timeout
  • reviewed 2026-09-12T04:26:50.112Z sha 9924a30 :: blocked before merge. :: none
  • reviewed 2026-09-12T05:08:13.715Z sha 9924a30 :: blocked before merge. :: none
  • reviewed 2026-09-12T05:23:18.746Z sha 9d15739 :: blocked before merge. :: none
  • reviewed 2026-09-12T05:29:46.265Z sha 9d15739 :: blocked before merge. :: none
  • reviewed 2026-09-12T06:10:51.059Z sha 10053a9 :: blocked before merge. :: none
  • reviewed 2026-09-12T06:18:35.509Z sha 10053a9 :: blocked before merge. :: none
  • reviewed 2026-09-12T07:40:48.509Z sha 847454bed4bf53dce763c784fb3c999fc1e2ace4 :: needs maintainer review before merge. :: none

@steipete
steipete marked this pull request as ready for review September 12, 2026 02:56
@clawsweeper clawsweeper Bot added 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. proof: sufficient ClawSweeper judged the real behavior proof convincing. and removed 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. labels Sep 12, 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 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 12, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Fixed in 9924a30. The live header reader now retains the existing 30-second source-reader tolerance; the global runtime/private-snapshot timeout and child deadline are unchanged. A real preflight regression with an exclusive rollback writer held for eight seconds fails on the previous head with SQLITE_BUSY/indeterminate, and succeeds on the repair without refusing the update.

The CI architecture finding is also addressed by using Kysely and the existing schema-version, deferred-transaction, and busy-timeout owners. The redundant header module is removed; no allowlist or ignore expansion was needed. Sixty-four affected tests and the Kysely/import-cycle guards pass, and a fresh independent review of the complete candidate is scoped-clean at P0–P2. The PR body contains the updated evidence and remaining live-proof status.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete

Copy link
Copy Markdown
Contributor Author

The shared build failure is fixed in 9d15739. The lightweight version module is byte-identical to its pre-PR version; the coherent header reader remains isolated and uses Kysely, the deferred transaction owner, and the existing SQLite PRAGMA owner. No budget or allowlist was expanded.

The exact final tree passed a full neutral-Linux pnpm build, the CLI/bootstrap import guard, 147 focused native tests, Kysely/import-cycle checks, and the 9.4 GB bounded-read proof. It still retains the original 30-second source-reader lock tolerance and passes the eight-second exclusive-writer regression. The complete candidate passed fresh independent P0–P2 review. The PR body now links the final proof and exact tree binding.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete
steipete force-pushed the steipete/jolly-sinoussi-a8f5b5 branch from 9d15739 to 10053a9 Compare September 12, 2026 05:57
@steipete

Copy link
Copy Markdown
Contributor Author

Rebased onto main's new per-agent ownership admission in 10053a9. Ownership inspection retains its private snapshot even without full schema validation; ordinary header-only startup checks still use the bounded reader. All six agent roles now have config-only admission coverage.

The rebased candidate passes 158 focused tests with one existing skip, plus scoped type-aware lint. Fresh independent review is complete with no verified actionable findings. The PR body distinguishes the prior Linux build/large-store proof from current-head integration validation.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

Read agent schema metadata through the existing bounded read-only child while retaining source admission and native close ownership. Keep full validation and required private snapshot paths unchanged. Accepted storage scope: #145412.
Keep the existing 30-second source-reader wait, prove an exclusive rollback writer can release after eight seconds without refusing an update, and reuse Kysely and the existing schema-version/transaction owners. No timeout or SQL guard exceptions are added.
Keep the version reader byte-identical to its prior lightweight contract. Header inspection retains Kysely and the deferred transaction owner, with read-only PRAGMAs owned by the existing SQLite configuration boundary. Full neutral Linux package build, native lock tests, and large-store proof pass without changing budgets or allowlists.
Cover config-only ownership admission for all six agent roles after integrating the current startup isolation owner. Header-only inspection must not skip copied-owner refusal or alter source bytes.
Let runtime launch, packaged output, and precompiled test workers consume one declaration. This removes measured cold TypeScript loading from functional worker proof without increasing deadlines or changing the worker's source or installed path.
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 12, 2026
Main independently landed the same worker registry consolidation in #145708. Keep its canonical registration and remove the duplicate introduced by Git integration; all three worker registration/build files now match main exactly.
@steipete
steipete force-pushed the steipete/jolly-sinoussi-a8f5b5 branch from 847454b to da3b1cb Compare September 12, 2026 07:46
@steipete

Copy link
Copy Markdown
Contributor Author

The published-updater compatibility gap is now covered. [email protected] drove the canonical Docker survivor cell against candidate 10053a93e70f38c790eac8b4bf6345272bf8a7d4: update finalized successfully, the real Gateway restarted, authenticated RPC proved the candidate build identity, and synthetic operator-state preservation passed. The PR body records the exact tarball hash, serving build, outcomes and limitations. Proof: https://github.com/openclaw/openclaw/actions/runs/34679446787.

Main independently landed the same worker-entrypoint consolidation in #145708. I integrated that upstream fix and removed the duplicate registration from Git's automatic merge; the registry, runtime and build files now match main exactly. The remaining 18-file PR delta has stable patch ID aa600dbf3a059ac52ab58e00d9191ca01388107a, identical to the reviewed and published-updater-proven candidate above. Relevant preflight, ownership, header and worker tests passed again without deadline or assertion changes. Final exact-head CI remains required.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete
steipete merged commit a785506 into main Sep 12, 2026
318 of 324 checks passed
@steipete
steipete deleted the steipete/jolly-sinoussi-a8f5b5 branch September 12, 2026 08:38
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

@VACInc

VACInc commented Sep 13, 2026

Copy link
Copy Markdown
Member

Related follow-up: #145577 has merged and reduces redundant copying inside Doctor's disposable shared-state lint database. It complements this PR's agent-database startup header optimization rather than replacing it. The two changes address different inspection paths: agent schema-version headers here, and repeated reads of Doctor's private shared-state database in #145577.

#145577

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 13, 2026
…penclaw#145541)

* fix: avoid full agent copies during schema version preflight

Read agent schema metadata through the existing bounded read-only child while retaining source admission and native close ownership. Keep full validation and required private snapshot paths unchanged. Accepted storage scope: openclaw#145412.

* fix: preserve source inspection lock tolerance

Keep the existing 30-second source-reader wait, prove an exclusive rollback writer can release after eight seconds without refusing an update, and reuse Kysely and the existing schema-version/transaction owners. No timeout or SQL guard exceptions are added.

* fix: keep schema inspection out of lightweight version imports

Keep the version reader byte-identical to its prior lightweight contract. Header inspection retains Kysely and the deferred transaction owner, with read-only PRAGMAs owned by the existing SQLite configuration boundary. Full neutral Linux package build, native lock tests, and large-store proof pass without changing budgets or allowlists.

* test: preserve ownership admission during header preflight

Cover config-only ownership admission for all six agent roles after integrating the current startup isolation owner. Header-only inspection must not skip copied-owner refusal or alter source bytes.

* fix: share the model context worker entrypoint

Let runtime launch, packaged output, and precompiled test workers consume one declaration. This removes measured cold TypeScript loading from functional worker proof without increasing deadlines or changing the worker's source or installed path.

* fix: retain only the upstream context worker registration

Main independently landed the same worker registry consolidation in openclaw#145708. Keep its canonical registration and remove the duplicate introduced by Git integration; all three worker registration/build files now match main exactly.
@VACInc

VACInc commented Sep 13, 2026

Copy link
Copy Markdown
Member

#143802 merged to main and adds eligible configured Doctor and Gateway-restart schema-shape optimization. This PR's earlier header-only agent startup/version optimization remains distinct; #143802 was not the first fix for issue #145412, which this PR already closed.

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

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR 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: L 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.

Gateway header-only agent preflight copies entire databases

2 participants