Repository navigation
fix(search)+test: FTS bare-asterisk bug, #1737 docs cleanup, stale pins - #1767
Conversation
… prefixes
escape_fts5_query treated any *-at-word-boundary as a valid prefix, so bare
asterisks like '* * *' passed through unquoted and SQLite rejected them
('unknown special query: *'). Only strip * when it suffixes a word token; bare
asterisks are now quoted (safe literal). Updated the 'test*' security case to the
preserved-prefix form (still MATCH-compiles).
#1737 deleted docs/verification-catalog.md and docs/verification-lab.md but left their DocsEntry/title entries in devtools/docs_surface.py, so the rendered docs README silently dropped them (renderer skips missing files) and the pin test failed. Remove the dead entries, the test assertion, and regenerate.
…k_app commands, envelope paste_boundary_state) Features that landed while CI was off, not reflected in the pins: - perf_rescue_1314: v22 moved per-role counts to conversation_stats, eliminating the messages scan — drop the stale 'still queries messages' assertion. - click_app: register 6 new top-level commands (blackboard/commands/context/ correlate/paths/recent). - message_render_envelope: add paste_boundary_state (#1655) to _ENVELOPE_FIELDS.
|
Warning Review limit reached
More reviews will be available in 23 minutes and 9 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
## Summary Three more inherited-failure fixes (continuing #1765/#1767/#1768). ## Changes - **`blackboard list --limit`**: used `-n`, violating the repo-wide `-l/--limit` convention enforced by `test_flag_aliases_consistent`. Aligned to `-l` (small CLI fix). - **`exercise_catalog`**: dropped the `insights analytics` nested path from the pin — that command path no longer exists. - **`config source_roots`**: the TOML serializer now renders arrays multi-line (`roots = [\n "/a",\n "/b",\n]`); the test pinned the old single-line spelling. Assert the array shape + members robustly. (Confirmed the cli-override is correctly applied — it was purely a formatting-style drift.) ## Verification ``` pytest <theme_aliases, exercise_catalog, config source_roots, help/terminal snapshots> # all pass ``` ## Deferred (intentionally not touched) The remaining inherited failures cluster on the **in-flux `provider`/`source_name` vocabulary** (#1743 is actively redesigning this) and a product decision — editing them blind risks encoding the wrong interpretation: - `resilience` (4), `ingestion_chaos`, `parsing_service`, `pipeline_probe` (2), `parsers_local_agent` — all turn on parsed `source_name` being the source-config name (`'test'`) vs the detected origin (`'claude-code'`/`'codex'`). Likely a real regression in the origin-vs-source conflation, but it belongs to the #1743 redesign or an explicit operator call. - `ASSURANCE_REGISTRY` — the 6 new commands need declared output contracts (#1272), a per-command product decision.
Summary
Continues clearing the inherited test failures (after #1765). Fixes one real search bug, one real #1737 docs-cleanup gap, and three stale surface pins.
Problem & Solution
Failures that accumulated while CI was off (#1766):
escape_fts5_querybug (fts_escape_in_insights): bare-asterisk queries like* * *passed through unquoted and SQLite rejected them (unknown special query: *). The prefix logic treated any*-at-word-boundary as validword*syntax. Now only word-suffixed*is preserved; bare asterisks are quoted (safe literal). Updated thetest*security case to the preserved-prefix form (still MATCH-compiles).render_docs_surface): refactor(verifiability): delete ceremonial verification infrastructure #1737 deleteddocs/verification-catalog.mdanddocs/verification-lab.mdbut left their entries indevtools/docs_surface.py; the renderer skipped the missing files so the README dropped them and the pin failed. Removed the dead entries + test assertion; regenerated the docs README.perf_rescue_1314(v22 moved per-role counts toconversation_stats, eliminating the messages scan — dropped the stale assertion);click_app(registered 6 new commands);message_render_envelope(addedpaste_boundary_state, feat(insights): durable boundary-state schema for paste evidence (exact/projected/whole_message_fallback/hash_only) #1655).Verification
Remaining (tracked for follow-up)
Still-open inherited failures, triaged in #1765's body — needing per-case judgment: the
ASSURANCE_REGISTRYreal gap (6 new commands need output contracts),exercise_catalog/config source_roots(ambiguous), and the slower real candidatestest_source_laws(zip "not seekable" — likely a real regression),test_resilience(source_name),test_acquisition_encoding(BOM).