Repository navigation
fix(memory): remove catalog canonicalization lint suppression - #174689
Conversation
Project the declared table catalog fields explicitly when canonicalizing custom memory-search table names. Preserve immutable input and all existing fingerprint inputs without the map-spread suppression added by #174438. The existing suppression inventory reproduces 95 vs 94 before this change. All 12 memory-schema cases and three suppression-inventory tests pass.
|
🦞👀 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. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesThis PR replaces a table-object spread with explicit catalog fields so memory schema canonicalization needs no lint suppression. Example: The production suppression inventory scans sqlite-memory-search-fragments.ts.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Regression provenanceRegression provenance — verified: source commit Merge readiness✅ Ready for maintainer review Keep this PR open: it fixes a concrete suppression-inventory failure while preserving catalog fingerprint behavior, with no actionable code findings. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherSQLite memory-search admission supplies native catalog facts to this projection, which canonicalizes custom table names before comparing their fingerprint with generated schema expectations. flowchart LR
A[Memory search admission] --> B[Native SQLite catalog]
B --> C[Custom name projection]
C --> D[Catalog fingerprint]
E[Generated schema fingerprint] --> F[Match decision]
D --> F
Technical reviewBest possible solution: Land the explicit catalog projection while retaining the existing suppression allowlist and fingerprint contract. Do we have a high-confidence way to reproduce the issue? The base suppression and exact-allowlist assertion establish the failure mechanism, consistent with the author's reported reproduction; no target code was executed during this read-only review. Is this the best way to solve the issue? Explicitly projecting all declared fields removes the offending operation without weakening validation, mutating the input, or changing fingerprint serialization. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 76c227422b61. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +2. Total +2 across 1 file. 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 16, 2026, 5:33 PM ET / 21:33 UTC. |
|
Merged via squash auto-merge.
|
…aw#174689) Project the declared table catalog fields explicitly when canonicalizing custom memory-search table names. Preserve immutable input and all existing fingerprint inputs without the map-spread suppression added by openclaw#174438. The existing suppression inventory reproduces 95 vs 94 before this change. All 12 memory-schema cases and three suppression-inventory tests pass.
Memory search schema admission added an
oxc/no-map-spreadsuppression in e3457a5 (#174438), which makes the production suppression inventory fail on main (95 entries against 94).Replace the table spread in custom-name canonicalization with the complete declared table fields. Names, SQL, columns and index names keep their existing transformations; strictness, rowid mode, foreign keys and triggers keep their original values. The supplied catalog remains unchanged. No schema, fingerprint, migration or runtime behavior change is intended, and the allowlist stays unchanged.
Validation:
pnpm test test/scripts/lint-suppressions.test.ts src/infra/database-engine/sqlite-memory-search-fragments.test.ts --maxWorkers=1: all 15 tests passed with Node.The missing-application-context transcript fixture repair is published separately on main; this PR changes only the memory catalog projection.