Skip to content

fix(memory-core): keep memory search usable during dirty sync - #112214

Merged
roboclaw-bot merged 1 commit into
openclaw:mainfrom
AdrianIp0204:codex/memory-search-timeout-fallback
Aug 30, 2026
Merged

roboclaw-bot merged 1 commit into
openclaw:mainfrom
AdrianIp0204:codex/memory-search-timeout-fallback

Conversation

@AdrianIp0204

@AdrianIp0204 AdrianIp0204 commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #112196.

What Problem This Solves

memory_search could block behind dirty-index synchronization even when a valid published generation was available. Independent review found connected lifecycle and coordination gaps: serving-manager writes, lost dirty fallback state, mixed cross-process generations, teardown waits after results were ready, uncancellable lease acquisition, and publisher starvation under sustained readers.

Why This Change Was Made

Memory search should read one stable published generation while maintenance builds and atomically publishes the next one. Dirty work now belongs to a separate transient maintenance manager for persistent and CLI search paths. Incomplete maintenance returns its dirty generation to the serving owner.

A shared/exclusive SQLite coordination lease extends generation isolation across processes. Publisher admission uses SQLite's native PENDING-lock transition: an exclusive-locking-mode, schema-free transaction retains writer intent after its first reader collision, blocks later readers, then retains exclusive admission until publication releases it. AbortSignal removes local read waiters and interrupts cross-process polling immediately.

Transient CLI teardown waits for active serving operations but not for detached refresh owned by its separate maintenance manager. Persistent managers still drain detached maintenance before closing shared resources.

The generation-writer and generation-lock SQLite files are live coordination state, not durable memory. Backup creation and verification now classify those exact databases and their -wal, -shm, and -journal sidecars as transient, alongside the existing reindex coordinator.

User Impact

Search returns the last valid memory results while refresh is blocked or running, then moves to the new index only after atomic publication. CLI, Gateway, and concurrent-process searches no longer observe partial or mixed generations; publishers make progress even when their first admission collides with a reader; timed-out searches stop waiting immediately; failed fallback setup remains visibly dirty and retryable; and transient commands do not remain blocked after results are ready.

Backups no longer snapshot or restore volatile generation-lease state, while unrelated durable SQLite files remain included and verified.

Evidence

  • Exact head: ce77bae087c53433c2c2e2dd00394080856a4c46.
  • The controlled initial-collision regression failed on the prior head: a remote admission reader remained active, the publisher lost its first exclusive attempt, and a later reader acquired ahead of it. The repaired native PENDING lock blocks that later reader and publishes first.
  • Cancellation regressions prove both active SQLite polling and the real one-shot manager deadline release their queued operations without spending a second cleanup deadline.
  • Exact-head focused and sibling proof passed 189/189 tests across generation leasing, search orchestration, real one-shot manager/tool behavior, direct CLI/tool behavior, database publication, and reindex recovery.
  • Backup lifecycle proof passed: volatile classifier 66/66; backup verification 47/47 with one platform skip; targeted archive creation 2/2. The full archive suite passed 81/82 before one unrelated manifest-exclusion test hit its 120-second timeout; that test then passed independently in 22.282 seconds.
  • node scripts/check-changed.mjs passed all core, extension, test, and tooling lanes, including formatting, ratchets, doctor contracts, boundaries, dead exports, all typecheck graphs, lint, storage, sidecar, and import-cycle guards.
  • pnpm build passed through runtime postbuild, plugin control-plane loads, Plugin SDK exports, and Control UI gates.
  • A real built CLI, using the bundled trusted plugin, real agent SQLite state, filesystem memory, and the real reindex lock, returned OLD-CANARY with a stale warning and exited while the lock was still held. After release, the next maintenance pass atomically published NEW-CANARY.
  • The admission database remains schema-free: the unchanged zero user_version header field is rewritten only inside the lock transaction to obtain SQLite's native PENDING transition.
  • Cross-process regressions use real child Node processes and SQLite locks. No test-only production seam was added.
  • Fresh isolated xhigh autoreview found no P0/P1 issue (0.94 confidence).
  • The branch is conflict-free with current main; the only changed-path overlap is assertion-baseline bookkeeping.
  • git diff --check passed. The final commit retains the required attribution block.

Worked on by:

@AdrianIp0204
AdrianIp0204 force-pushed the codex/memory-search-timeout-fallback branch from 8712260 to 02c7f72 Compare July 21, 2026 08:09
@AdrianIp0204
AdrianIp0204 marked this pull request as ready for review July 21, 2026 08:09

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 02c7f72ac8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -732,7 +732,7 @@ export class MemoryIndexManager extends MemoryManagerEmbeddingOps implements Mem
}
const cleaned = preflight.normalizedQuery;
void this.warmSession(opts?.sessionKey);
await startAsyncSearchSync({
startAsyncSearchSync({

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid blocking one-shot search cleanup on detached sync

When memory_search runs with oneShotCliRun (local CLI/embedded one-shot paths), this detached search sync is still stored as this.syncing; the tool tracks CLI managers and closes them in finally, and MemoryIndexManager.close() waits for this.syncing. With a dirty existing index and a slow sync, the query can compute results immediately but the tool still waits in cleanup until sync finishes or the 15s cleanup deadline expires, so the one-shot user path still spends the request deadline on dirty sync instead of returning the stale-index results promptly.

Useful? React with 👍 / 👎.

@@ -732,7 +732,7 @@ export class MemoryIndexManager extends MemoryManagerEmbeddingOps implements Mem
}
const cleaned = preflight.normalizedQuery;
void this.warmSession(opts?.sessionKey);
await startAsyncSearchSync({
startAsyncSearchSync({

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep searches off sync's mutable database state

When a dirty search detaches sync and then continues on the same manager, the query can now overlap sync/reindex work that mutates manager state instead of reading the stable old index. In particular, runInPlaceReindex() temporarily assigns this.db to the shadow database while it awaits indexing, so a search that proceeds from here during that window can inspect an empty/partial temp index or other in-flight sync state, returning empty or inconsistent recall even though the existing published index was still usable.

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added 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. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Jul 31, 2026
@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 10:26 PM ET / August 30, 2026, 02:26 UTC.

ClawSweeper review

What this changes

The PR lets Memory Core search the last published index while dirty-index maintenance runs separately, adds cross-process SQLite generation leases, and excludes those transient lease files from backups.

Regression provenance

Possible regression — probable (reproduction; reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

This PR remains necessary: current main still awaits dirty synchronization before searching. The exact head moves that work to a separate maintenance manager, protects published reads during atomic publication, and addresses the prior backup exclusion finding; no blocking introduced defect was established.

Priority: P1
Reviewed head: ce77bae087c53433c2c2e2dd00394080856a4c46

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Direct real-path evidence and focused concurrency coverage support the repair; the large coordination surface still needs its in-progress exact-head CI.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The changed owner is Memory Core search orchestration and detached maintenance; the PR body records an exact-head built-CLI run using real agent SQLite state and a held reindex lock, observing OLD-CANARY before NEW-CANARY is atomically published after release.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The changed owner is Memory Core search orchestration and detached maintenance; the PR body records an exact-head built-CLI run using real agent SQLite state and a held reindex lock, observing OLD-CANARY before NEW-CANARY is atomically published after release.
Evidence reviewed 5 items Current main behavior: Current main awaits search-time synchronization before proceeding, so the reported dirty-sync blocking behavior remains unfixed there.
Serving and maintenance boundary: The PR starts detached maintenance, tracks it for lifecycle handling, and takes a read-generation lease before querying the published index.
Cross-process and backup coverage: The introduced lease serializes publication against read generations, and the backup filter recognizes both lease databases and SQLite sidecars as transient.
Findings None None.
Security None None.

How this fits together

Memory Core indexes agent memory and session files into SQLite for tools and CLI search. The change separates serving reads from index refreshes so a valid published index remains searchable while maintenance creates the next generation.

flowchart LR
  Sources[Memory and session sources] --> Maintenance[Detached index maintenance]
  Maintenance --> Publisher[Atomic index publication]
  Publisher --> Index[Published SQLite index]
  Query[Memory search request] --> Reader[Generation read lease]
  Reader --> Index
  Index --> Results[Search results]
  Publisher --> BackupFilter[Transient lease backup filter]
Loading

Before merge

  • Resolve merge risk (P1) - The repair adds substantial production concurrency and lifecycle code; exact-head CI is still in progress and should complete green before merge.
  • Complete next step (P2) - This active PR already owns the linked repair; the remaining action is exact-head CI completion, not an automated replacement.
Agent review details

Security

None.

PR surface

Source +583, Tests +806, Other -1. Total +1388 across 29 files.

View PR surface stats
Area Files Added Removed Net
Source 16 731 148 +583
Tests 12 838 32 +806
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 1 -1
Total 29 1569 181 +1388

Review metrics

Metric Value Why it matters
Production versus test delta production +730/-148; tests +838/-32; test support +1 The bug fix adds a substantial cross-process coordination and lifecycle surface, making exact-head validation material before merge.

Stored data model

Persistent data-model change detected: migration/backfill/repair: config/assertion-safety-baseline.txt, migration/backfill/repair: extensions/memory-core/src/memory/manager-reindex-lock.ts, migration/backfill/repair: extensions/memory-core/src/memory/manager-sync-ops.ts, migration/backfill/repair: src/infra/backup-volatile-filter.ts, unknown-data-model-change: extensions/memory-core/src/memory/manager-index-generation-lease.ts, unknown-data-model-change: extensions/memory-core/src/memory/manager-provider-lifecycle.ts, and 16 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Confirm exact-head concurrency validation (recommended)
    Merge after the current exact-head CI completes green for generation leasing, search orchestration, and backup behavior.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Require exact-head CI completion and green required checks.

Technical review

Best possible solution:

Merge the serving/maintenance separation only after exact-head CI confirms the lease, lifecycle, and backup boundaries; retain the transient lease-file backup exclusion.

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

Yes: current main visibly awaits dirty synchronization at search entry, and the supplied exact-head built-CLI trace covers a held reindex lock, stale results, and later atomic publication.

Is this the best way to solve the issue?

Yes: separating maintenance from the serving manager, leasing published generations, and excluding lease state from backups is a coherent owner-boundary repair rather than a timeout workaround.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add merge-risk: 🚨 availability: The new SQLite lease and detached-maintenance lifecycle coordinate searches and publication across processes, so a defect could stall memory search.
  • 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 changed owner is Memory Core search orchestration and detached maintenance; the PR body records an exact-head built-CLI run using real agent SQLite state and a held reindex lock, observing OLD-CANARY before NEW-CANARY is atomically published after release.
  • 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.
  • remove merge-risk: 🚨 other: Current PR review merge-risk labels are merge-risk: 🚨 availability.

Label justifications:

  • P1: The PR addresses a user-facing memory-search timeout and stale-index availability failure.
  • merge-risk: 🚨 availability: The new SQLite lease and detached-maintenance lifecycle coordinate searches and publication across processes, so a defect could stall memory search.
  • 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 changed owner is Memory Core search orchestration and detached maintenance; the PR body records an exact-head built-CLI run using real agent SQLite state and a held reindex lock, observing OLD-CANARY before NEW-CANARY is atomically published after release.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed owner is Memory Core search orchestration and detached maintenance; the PR body records an exact-head built-CLI run using real agent SQLite state and a held reindex lock, observing OLD-CANARY before NEW-CANARY is atomically published after release.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: 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.

  • Let the current exact-head required checks complete green before merge.

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 (23 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-28T20:25:21.496Z sha 6d8c5860d6a5ad1e9383cc778611c3f3365367b0 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-28T23:53:41.088Z sha 0b6979c658b977f9c563135ea8bc4816623e4f0e :: needs changes before merge. :: [P1] Keep fallback ownership with the serving manager
  • reviewed 2026-08-29T00:16:42.639Z sha 091c7987d2cde8c89ce8f1184e8e9ea8c808b49a :: needs maintainer review before merge. :: none
  • reviewed 2026-08-29T00:47:35.730Z sha f6f1bd4 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-29T22:07:13.392Z sha f56bdfe :: needs changes before merge. :: [P1] Keep transient search teardown off detached maintenance
  • reviewed 2026-08-29T23:31:18.512Z sha 5363a6fdcdf506a17a099a080822b3511742c5ce :: needs changes before merge. :: [P1] Preserve writer intent across process contention | [P1] Thread cancellation through reader-lease acquisition
  • reviewed 2026-08-30T00:32:23.780Z sha 49260f1ac8d21b9de94f67240ecae09ef3f7973f :: needs changes before merge. :: [P1] Preserve writer intent after an admission collision
  • reviewed 2026-08-30T01:28:21.648Z sha 9131db9f7f45a4bf8037d8b984aafcc9adda982d :: found issues before merge. :: [P2] Exclude generation lease databases from backups

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. P1 High-priority user-facing bug, regression, or broken workflow. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. P2 Normal backlog priority with limited blast radius. labels Aug 5, 2026
@AdrianIp0204
AdrianIp0204 force-pushed the codex/memory-search-timeout-fallback branch from b5c900b to df111d3 Compare August 10, 2026 09:06
@AdrianIp0204
AdrianIp0204 force-pushed the codex/memory-search-timeout-fallback branch from df111d3 to 62c7297 Compare August 10, 2026 09:07
@AdrianIp0204

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review\n\nAddressed the exact-head findings by isolating dirty maintenance on a durable manager and adding a database-generation read/publication lease. Please review head 62c729704d37220b028e38c12d1268693abd8bb7.

@AdrianIp0204

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review\n\nCI exposed one missing production import in the exact-head repair; fixed at 967855877420afe79577cfe77602d091ab32d7ff. Please review this head.

@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. label Aug 10, 2026
@AdrianIp0204
AdrianIp0204 force-pushed the codex/memory-search-timeout-fallback branch from 9678558 to 0e230d6 Compare August 10, 2026 15:32
@AdrianIp0204

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Addressed the P1 at exact head 0e230d6ae41cea50e41cb3c24526496d07192186: watcher-owned dirty generations now force cached maintenance work and are acknowledged only when no newer source/session event arrived during publication. Added consecutive-generation and in-flight-race regressions; rebased onto current main.

@clawsweeper

clawsweeper Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@AdrianIp0204
AdrianIp0204 force-pushed the codex/memory-search-timeout-fallback branch from 0e230d6 to 0b12b10 Compare August 10, 2026 15:38
@AdrianIp0204

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

CI exposed that the first generation hook widened the exported base-class API. Reworked it into an internal WeakMap coordinator at exact head 0b12b10e430b55a25cf6c3a507c27d06174219d8, preserving the generation-safe handoff without changing the Plugin SDK surface.

@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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 29, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 29, 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:

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 29, 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:

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 29, 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:

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 30, 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:

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 30, 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:

Serve the last published generation while detached maintenance refreshes dirty sources, preserving lifecycle, shutdown, and freshness invariants.

Co-authored-by: VACInc <[email protected]>
Worked on by:
- @VACInc
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 30, 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.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Land-ready verification for exact head ce77bae087c53433c2c2e2dd00394080856a4c46:

Commands:

node scripts/check-changed.mjs
pnpm build
scripts/pr review-validate-artifacts 112214
OPENCLAW_TESTBOX=1 scripts/pr prepare-run 112214

Behavior proof: with the real reindex lock held, the built CLI returned the published OLD-CANARY result and exited; after release, detached maintenance atomically published NEW-CANARY, which the next search returned. Focused/sibling proof passed 189/189 tests; backup classifier passed 66/66, backup verification passed 47/47 with one platform skip, and targeted archive creation passed 2/2.

Known proof gap: no separate native Windows/macOS smoke was run. Cross-process SQLite ordering, writer fairness, cancellation, teardown, fallback, publication, and backup lifecycle are covered by deterministic child-process/owner tests, the real Linux CLI proof, the full changed-surface gate, build, and exact-head CI.

Squash attribution is guarded: the source commit retains Adrian as author and Co-authored-by: VACInc <[email protected]>; the merge wrapper preserves source co-author trailers.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Merged via squash.

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

Labels

commands Command implementations extensions: memory-core Extension: memory-core merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. P1 High-priority user-facing bug, regression, or broken workflow. 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.

memory_search: transient sync timeout masks as persistent provider failure / "database is not open"

3 participants