Skip to content

fix(memory): memory index fails to open when same-file legacy tables diverge - #109865

Closed
serhiileniv wants to merge 3 commits into
openclaw:mainfrom
serhiileniv:fix/memory-same-db-legacy-conflict
Closed

serhiileniv wants to merge 3 commits into
openclaw:mainfrom
serhiileniv:fix/memory-same-db-legacy-conflict

Conversation

@serhiileniv

@serhiileniv serhiileniv commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Related: #108532
Related: #107220

What Problem This Solves

Fixes an issue where operators whose per-agent memory database still contains the legacy meta/files/chunks tables would have every Memory Core index open fail with legacy memory meta rows conflict with canonical memory index rows once those legacy rows diverge from the canonical memory_index_* rows — for example after an upgrade → downgrade → upgrade cycle, where the downgraded build re-creates and re-indexes the legacy tables. The failure repeats on every open (runtime and doctor), and openclaw doctor --fix cannot converge it.

#108652 applied the canonical-wins recovery rule to the legacy sidecar import in memory-core's doctor contract, but the same-file legacy migration in packages/memory-host-sdk/src/host/memory-schema.ts kept the old hard-fail, so this sibling path still wedges — including from inside the sidecar migration itself, where ensureMemoryIndexSchema runs outside the conflict-recovery catch.

Why This Change Was Made

The same-file migration now follows the same rule the sidecar import adopted in #108652: every copied table is derived search state, so a same-identity value mismatch keeps the canonical row and the migration completes (legacy tables are dropped, normal sync rebuilds any skipped rows). The merge is coherent per source: a (path, source) the canonical index already tracks keeps both its row and its whole chunk set — legacy chunk ids are never imported under a canonical-owned source, so stale legacy text cannot ride into a file that sync considers current (this addresses the review finding on mixed-source coherence). Legacy chunks migrate only together with their legacy-only sources. A legacy row that could not be placed at all by identity (e.g. STRICT rejected it) still aborts and leaves the legacy tables in place, so legacy rows are never silently dropped. Non-goal: the sidecar import path is untouched — it already recovers atomically.

User Impact

Operators with diverged same-file legacy memory tables get a working memory index and a clean one-time migration on the next start, instead of a permanently failing index open that requires manual SQLite surgery. Canonical index rows and their chunk sets are preserved intact; legacy-only files still migrate with their chunks. Repeated opens are idempotent.

Evidence

Real behavior proof (real on-disk database, before/after)

Method: a driver script (kept outside the repo per the proof-asset rule) exercises the real production ensureMemoryIndexSchema from packages/memory-host-sdk/src/host/memory-schema.ts against a real SQLite file on disk (node:sqlite DatabaseSync, Node 25.9, via tsx). Nothing is mocked. The database is shaped like the operator upgrade → downgrade → upgrade cycle: a new build creates the canonical index and indexes content (vectorDims: 1024, MEMORY.md at new-hash with canonical chunk chunk-1 "current canonical body"), then a downgraded build re-creates legacy meta/files/chunks in the same file with diverged values at the same identities (vectorDims: 512, old-hash, "stale legacy body") plus a distinct stale legacy chunk id under the canonical-owned file (chunk-old-7, "stale legacy tail body"), plus rows the canonical index does not have (legacy-only-key, old-note.md with its chunk chunk-old-2). The only variable between runs is the memory-schema.ts blob (git hash-object: a79b2e4a3835 = origin/main, df34397c1e41 = this PR).

BEFORE — origin/main blob a79b2e4a3835: wedged on every open, exactly the released failure from #108532:

=== BEFORE (origin/main memory-schema.ts) ===
open attempt 1: FAILED -> legacy memory meta rows conflict with canonical memory index rows
open attempt 2: FAILED -> legacy memory meta rows conflict with canonical memory index rows

AFTER — this PR, blob df34397c1e41 (head 880730ae8c): first open migrates and recovers; canonical values win; the stale legacy chunk id under the canonical-owned file is not imported; legacy-only rows import with their source; legacy tables drop once; second open is idempotent with identical state:

=== AFTER (with coherence repair) ===
open attempt 1: OK
  legacy tables present: (none)
  memory_index_meta: [{"key":"legacy-only-key","value":"legacy-only-value"},{"key":"memory_index_meta_v1","value":"{\"vectorDims\":1024}"}]
  memory_index_sources: [{"path":"MEMORY.md","hash":"new-hash","size":42},{"path":"old-note.md","hash":"old-note-hash","size":10}]
  memory_index_chunks: [{"id":"chunk-1","text":"current canonical body"},{"id":"chunk-old-2","text":"note body"}]
open attempt 2: OK
  legacy tables present: (none)
  memory_index_meta: [{"key":"legacy-only-key","value":"legacy-only-value"},{"key":"memory_index_meta_v1","value":"{\"vectorDims\":1024}"}]
  memory_index_sources: [{"path":"MEMORY.md","hash":"new-hash","size":42},{"path":"old-note.md","hash":"old-note-hash","size":10}]
  memory_index_chunks: [{"id":"chunk-1","text":"current canonical body"},{"id":"chunk-old-2","text":"note body"}]

Structural-failure retention (both versions): a legacy files row with a NULL hash (uncopyable into the STRICT canonical table) still aborts and keeps the legacy tables in place, so legacy rows are never silently dropped:

structural scenario: aborted -> legacy memory files rows could not be copied into canonical memory index rows
  legacy tables retained: chunks, files, meta
  legacy files row retained: [{"path":"broken.md","hash":null}]

Focused tests and lanes

  • Regression test "keeps one coherent canonical index when legacy rows diverge" covers the review's mixed-source scenario: conflicting file identity (doc.md diverged hash) with a distinct stale legacy chunk id (chunk-old-7) — asserts the canonical chunk set stays intact, the stale legacy chunk is not imported, the legacy-only source imports with its chunk, and the legacy tables drop. On unpatched main this scenario fails with the exact production error string from [Bug]: Memory Core legacy migration fails on v2026.7.1 upgrade — 'legacy memory meta rows conflict with canonical memory index rows' #108532.
  • Negative test "keeps legacy tables when legacy rows cannot be copied" locks the structural-failure abort (savepoint rollback retains legacy tables).
  • pnpm test packages/memory-host-sdk/src/host/memory-schema.test.ts → 24/24 passed (re-run after each rebase).
  • pnpm test src/state/openclaw-database-maintenance.test.ts → 12/12 passed.
  • pnpm tsgo:core and pnpm tsgo:core:test → clean.
  • node scripts/run-oxlint.mjs and pnpm format:check on the two touched files → clean.
  • extensions/memory-core/doctor-contract-api.test.ts fails identically on my machine on clean main (34× Windows EBUSY: resource busy during SQLite temp-dir cleanup), so that suite is environment-blocked locally, not affected by this change; pnpm check:changed delegates to Blacksmith Testbox, which is not available to an external contributor — CI on this PR is the authoritative run for those lanes.
  • CI note: build-artifacts → "Check CLI startup memory" fails on the status --json RSS ceiling across runs of this PR on different main merge-bases (427.6, 429.4, 427.8 MB vs the 425 MB limit), and unrelated open PRs currently fail the identical step with the same overage (e.g. fix(discord): cancel response body on webhook error path #109890 at 428.4 MB) while others pass at the same time — the metric is sitting at the ceiling on current main merge commits and runner variance decides the outcome. This diff removes production lines in an existing migration function and adds no imports, so it cannot move startup RSS. Per CONTRIBUTING I am not attempting to fix or tune this known main-side gate in this PR. (Earlier check-lint failures were transient unformatted files landed on main — test/scripts/test-install-sh-docker.test.ts, then src/infra/spawn-ps.ts — each fixed on main shortly after; cleared by rebasing onto the fixes. Current head 880730ae8c on latest main, source blob df34397c1e41.)

AI-assisted: yes — authored with an AI coding agent (Claude); I reviewed the migration ownership boundary, the #108652 sibling semantics, SQLite INSERT OR IGNORE/STRICT behavior, and all touched tests. The autoreview skill was not available in my environment.

@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. P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 17, 2026
@clawsweeper

clawsweeper Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed July 17, 2026, 6:04 AM ET / 10:04 UTC.

Summary
Changes same-file legacy memory-index migration to preserve canonical rows on identity collisions, import non-colliding legacy rows, drop legacy tables, and retain rollback for uncopyable rows.

PR surface: Source -7, Tests +67. Total +60 across 2 files.

Reproducibility: yes. The PR provides a real on-disk SQLite before/after reproduction of the released repeated-open failure, and its focused regression reportedly fails on unpatched main with the reported conflict error.

Review metrics: 1 noteworthy metric.

  • Migration conflict policy: 3 identity checks weakened. Metadata, file, and chunk validation now accepts value divergence, changing upgrade behavior for persisted derived-index rows.

Stored data model
Persistent data-model change detected: database schema: packages/memory-host-sdk/src/host/memory-schema.test.ts, migration/backfill/repair: packages/memory-host-sdk/src/host/memory-schema.test.ts, unknown-data-model-change: packages/memory-host-sdk/src/host/memory-schema.test.ts, unknown-data-model-change: packages/memory-host-sdk/src/host/memory-schema.ts, vector/embedding metadata: packages/memory-host-sdk/src/host/memory-schema.test.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #108532
Summary: This PR is a candidate fix for the remaining same-file migration failure; the merged sidecar PR addresses the same conflict policy in a sibling path without superseding this work.

Members:

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

Merge readiness
Overall: 🦐 gold shrimp
Proof: 🦞 diamond lobster
Patch quality: 🦐 gold shrimp
Result: needs maintainer review before merge.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Make conflict recovery atomic or prune all rows associated with conflicted sources.
  • [P2] Add a scenario with a conflicting file identity and distinct stale legacy chunk id.
  • Rebase onto current main and rerun focused migration and changed-surface checks.

Risk before merge

  • [P1] Merging as written can preserve a canonical source hash while importing legacy-only chunks for that source; if synchronization considers the source current, obsolete legacy text can remain in memory search.
  • [P1] The branch is behind current main, so the repaired head needs a review refresh after rebase; stale-base drift itself is not a patch defect.

Maintainer options:

  1. Keep the canonical index atomically (recommended)
    Detect any identity/value divergence, discard the attempted legacy merge as a unit, drop the superseded legacy tables, and prove distinct stale chunk ids cannot survive.
  2. Accept per-row merging
    Land the current behavior only if maintainers accept mixed canonical and legacy derived rows and proof shows normal synchronization always removes stale chunks under a conflicting source.
  3. Pause the recovery change
    Keep the PR open until the host migration can match the coherent-index guarantee used by the sidecar recovery path.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Make same-file conflict recovery atomic: when any legacy metadata, file, or chunk identity exists with divergent values, keep the pre-existing canonical index without importing other legacy rows, drop the legacy tables only after recovery succeeds, retain table preservation for structurally uncopyable rows, and add a regression with a conflicting canonical file plus a distinct stale legacy chunk id.

Next step before merge

  • [P2] A narrow repair is available: make same-file conflict handling preserve one coherent canonical index and add the missing mixed-source regression before normal review resumes.

Security
Cleared: The diff changes local SQLite migration logic and tests without adding dependency, secret, permission, workflow, download, or supply-chain surface.

Review findings

  • [P1] Keep conflicting legacy imports atomic — packages/memory-host-sdk/src/host/memory-schema.ts:409
Review details

Best possible solution:

When any same-file identity has divergent values, keep the canonical index as one coherent unit by rolling back or avoiding all legacy inserts, then drop the superseded legacy tables; retain structural-failure rollback and add a conflicting-file plus distinct-stale-chunk regression.

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

Yes. The PR provides a real on-disk SQLite before/after reproduction of the released repeated-open failure, and its focused regression reportedly fails on unpatched main with the reported conflict error.

Is this the best way to solve the issue?

No. Canonical-wins is the right policy, but applying it row by row can create an internally mixed index; the safer sibling-consistent fix preserves the canonical index atomically whenever a derived-row conflict occurs.

Full review comments:

  • [P1] Keep conflicting legacy imports atomic — packages/memory-host-sdk/src/host/memory-schema.ts:409
    When the canonical files row for a path diverges but a legacy chunk for that path has a different id, this identity-only validation accepts the file conflict while leaving the legacy-only chunk inserted. The canonical source hash can still make normal synchronization skip reindexing, leaving stale legacy text searchable. Roll back the attempted derived-index merge on any conflict, as the sibling sidecar recovery does, or explicitly remove every legacy row associated with conflicted sources.
    Confidence: 0.94

Overall correctness: patch is incorrect
Overall confidence: 0.94

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model internal, reasoning high; reviewed against 44f20956e330.

Label changes

Label changes:

  • add merge-risk: 🚨 session-state: A mixed import can leave obsolete legacy chunks searchable beside canonical source state, producing stale memory results.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (live_output): The PR body contains convincing after-fix live output from the production schema function against a real on-disk SQLite database, including idempotence and structural-failure retention.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: ⏳ waiting on author.

Label justifications:

  • P0: The PR targets a released upgrade crash-loop that can make the Gateway unusable, but the recovery must not introduce stale memory state.
  • merge-risk: 🚨 compatibility: The change alters how existing upgraded databases resolve divergent persisted legacy and canonical rows and when legacy tables are dropped.
  • merge-risk: 🚨 session-state: A mixed import can leave obsolete legacy chunks searchable beside canonical source state, producing stale memory results.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (live_output): The PR body contains convincing after-fix live output from the production schema function against a real on-disk SQLite database, including idempotence and structural-failure retention.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body contains convincing after-fix live output from the production schema function against a real on-disk SQLite database, including idempotence and structural-failure retention.
Evidence reviewed

PR surface:

Source -7, Tests +67. Total +60 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 1 10 17 -7
Tests 1 72 5 +67
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 82 22 +60

Acceptance criteria:

  • [P1] node scripts/run-vitest.mjs packages/memory-host-sdk/src/host/memory-schema.test.ts.
  • [P1] node scripts/run-vitest.mjs src/state/openclaw-database-maintenance.test.ts.
  • [P1] node scripts/check-changed.mjs -- packages/memory-host-sdk/src/host/memory-schema.ts packages/memory-host-sdk/src/host/memory-schema.test.ts.
  • [P1] git diff --check.

What I checked:

Likely related people:

  • steipete: Authored the merged canonical-wins recovery for derived legacy sidecar conflicts and its focused migration coverage, making them the strongest routing candidate for consistent same-file semantics. (role: introduced sibling recovery behavior; confidence: high; commits: 863443fac8c3; files: extensions/memory-core/doctor-contract-api.ts, extensions/memory-core/doctor-contract-api.test.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.
Review history (1 earlier review cycle)
  • reviewed 2026-07-17T09:23:50.269Z sha 30f00b17bfd7af0ddd6abfdf6d7b18a1821d730d :: needs real behavior proof before merge. :: none

@serhiileniv
serhiileniv force-pushed the fix/memory-same-db-legacy-conflict branch 2 times, most recently from 83ea76d to c6b7c5d Compare July 17, 2026 09:47
@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 Jul 17, 2026
@serhiileniv
serhiileniv force-pushed the fix/memory-same-db-legacy-conflict branch from c6b7c5d to ed4f90c Compare July 17, 2026 09:59
@clawsweeper clawsweeper Bot added 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. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. 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 Jul 17, 2026
@serhiileniv
serhiileniv force-pushed the fix/memory-same-db-legacy-conflict branch from 712dee4 to 880730a Compare July 17, 2026 10:19
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor 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 Jul 17, 2026
@serhiileniv
serhiileniv force-pushed the fix/memory-same-db-legacy-conflict branch 2 times, most recently from 06c3636 to 4abe5b2 Compare July 17, 2026 18:48
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Jul 17, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. and removed P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. labels Jul 17, 2026
The same-file legacy migration excluded a legacy chunk from import whenever the
canonical index already had a source row for its (path, source). That stranded a
file whose canonical source was registered but had no chunks yet (indexing
interrupted before chunks were written, or embedding pending/failed): the legacy
chunks were its only searchable content, and the matching source hash stops sync
from re-indexing, so the file went silently unsearchable.

Re-key the chunk-coherence exclusion on canonical chunk ownership instead:
snapshot the (path, source) pairs that already have canonical chunks before the
import and skip legacy chunks only for those. A source with a canonical row but
no chunks now imports its legacy chunks. The snapshot is taken pre-insert because
the exclusion predicate reads the chunks table the import writes to.

Add regressions: legacy chunks import for a chunk-less canonical source while a
chunk-owning source still drops its stale legacy chunk; and restore abort
coverage for the meta and chunks copy assertions (previously only files was
exercised).
@serhiileniv
serhiileniv force-pushed the fix/memory-same-db-legacy-conflict branch from 4abe5b2 to 8ccb0a1 Compare July 17, 2026 20:36
@serhiileniv

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Pushed a follow-up addressing the prior review's mixed-source-coherence finding at its root, plus rebased onto current main (now up to date).

  • The same-file legacy migration was excluding a legacy chunk whenever canonical merely had a source row for its (path, source). That stranded a file whose canonical source existed but had no chunks yet (indexing interrupted before chunks were written, or embedding pending/failed): its legacy chunks were the only searchable content, and the matching source hash stops sync from re-indexing, so the file went silently unsearchable.
  • The exclusion now keys on canonical chunk ownership: snapshot the (path, source) pairs that already have canonical chunks before the import, and skip legacy chunks only for those. A source with a canonical row but no chunks now imports its legacy chunks. Snapshot is pre-insert because the predicate reads the chunks table the import writes to.
  • Regressions added: legacy chunks import for a chunk-less canonical source while a chunk-owning source still drops its stale legacy chunk (fails on the previous logic); and restored abort coverage for the meta and chunks copy assertions (previously only the files assertion was exercised).

AI-assisted: yes.

@clawsweeper

clawsweeper Bot commented Jul 17, 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 repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@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. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed 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. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jul 17, 2026
@steipete

Copy link
Copy Markdown
Contributor

Thanks @Serhii-Leniv — this is now superseded by #110216, which merged as 4ab686220f91019bace9bffe5bfd3ea8ee81fe68.

#110216 preserves your original same-file canonical-wins work and authorship, then extends it across the remaining convergence boundaries: ambiguous partial sources, unchanged/deleted session cleanup, body FTS disable/enable recovery, vector-disabled writes and deletes, pre-marker vector stores, retry-safe shadow publication, and indexed ownership joins for large databases. The landed squash commit includes your Co-authored-by credit.

The supported path is therefore the implementation now on main from #110216 rather than maintaining two overlapping migration policies. If concrete evidence shows a same-file upgrade state that the merged implementation still cannot repair, please open a new issue or ask to reopen with the database shape and reproduction steps.

@steipete steipete closed this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants