Repository navigation
fix(memory): share canonical SQLite FTS schemas on release branch - #187467
Conversation
Reuse the existing schema owner for lazy FTS creation and recovery, preserving tokenizer and custom-table behavior while eliminating duplicated design constructs. Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Co-authored-by: RomneyDa <[email protected]>
|
Codex review: needs maintainer review before merge. What this changesThis PR makes memory index creation and recovery share canonical SQLite FTS builders and includes their module in extracted PR wrappers. Example: Create custom body index chunks_fts with the trigram tokenizer.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored release adaptation consolidates equivalent FTS definitions, and no actionable source defect was found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherMemory initialization supplies table names and tokenizer clauses to the database schema owner, which produces FTS DDL also consumed by recovery classification. flowchart TD
A[Memory initialization] --> B[Canonical FTS builders]
C[Recovery schema definitions] --> B
B --> D[SQLite FTS schemas]
A --> E[Existing reconciliation and triggers]
E --> D
F[PR wrapper inventory] --> B
Technical reviewBest possible solution: Retain the shared leaf builders and qualify this focused adaptation with the combined release candidate. Do we have a high-confidence way to reproduce the issue? No runtime defect is claimed; source inspection confirms duplicate DDL ownership, and the reviewed head's baseline-ratchet check passes. Is this the best way to solve the issue? Sharing the existing dependency-free schema owner is a focused solution that preserves branch-specific contracts and avoids scanner exemptions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against cdff9b02c81b. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +11, Other +1. Total +12 across 3 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 29, 2026, 4:01 AM ET / 08:01 UTC. |
Summary
Validation
Scope and limits
Two production files and the PR wrapper source inventory change. The inventory now includes the canonical FTS module required by extracted wrapper runtime imports. This PR does not include the separately owned #181927 or Windows helper repair. Full combined-source CI and exact Q=C release qualification remain required; this is not publication approval or a substitute for native-platform validation.