passed Passed in the packaged run.
What this test is for Why it exists
The MCP `search` tool, not only the export, says it was cut.
Given
tools = QueryTools(lambda: rich_db, lambda: repo_root)full = tools.search("return", corpus="code", limit=1000)["count"]cut = tools.search("return", corpus="code", limit=3)→ → Then
✓ cut["_limited"]["total_available"] equals fullWhat it exercises The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
… 209 earlier steps
command-line usercommand-line user command-line usercommand-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py other filesother files other filesother files opt (line 118) opt main 210–211. _payload → export_search 210 export_search +1 more 212. corpus_payload → _symbol_corpus 212 _symbol_corpus ▶ test enters 213. _symbol_corpus → search_counted 213 search_counted 214. search_counted → connect 214 connect … 51 steps between
command-line usercommand-line user command-line usercommand-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py other filesother files other filesother files opt (line 150) opt main 266–267. _prune_rows → _prune_rows 266 _prune_rows +1 more 268. _pruned_row → _absent 268 _absent ▶ test enters 269. _pruned_row → _prune_rows 269 _prune_rows 270. search_emptiness → unsearched_corpora 270 unsearched_corpora 271. unsearched_corpora → connect 271 connect … 20 steps between
command-line usercommand-line user command-line usercommand-line user clew/query/corpus.pyclew/query/corpus.py clew/query/corpus.pyclew/query/corpus.py other filesother files other filesother files main 292. search_emptiness → _scope_sentence 292 _scope_sentence 293. _symbol_corpus → with_limit_disclosure 293 with_limit_disclosure 294. corpus_payload → _prose_corpus 294 _prose_corpus ▶ test enters 295. _prose_corpus → search_prose_graded 295 search_prose_graded 296. search_prose_graded → _query_tokens 296 _query_tokens … 14 steps between
command-line usercommand-line user command-line usercommand-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/corpus.pyclew/query/corpus.py clew/query/corpus.pyclew/query/corpus.py other filesother files other filesother files opt (line 474) opt main 311. prose_emptiness → token_hit_counts 311 token_hit_counts 312. prose_emptiness → _render_counts 312 _render_counts 313. corpus_payload → _code_corpus 313 _code_corpus ▶ test enters 314–327. _code_corpus → search_code 314 search_code +13 more 328. corpus_payload → _files_corpus 328 _files_corpus 329. _files_corpus → files_context 329 files_context 330. files_context → directory_rollup 330 directory_rollup … 14 steps between
command-line usercommand-line user command-line usercommand-line user clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py clew/query/corpus.pyclew/query/corpus.py clew/query/corpus.pyclew/query/corpus.py other filesother files other filesother files main 345. list_files → _matches 345 _matches 346. _files_corpus → files_miss 346 files_miss 347. corpus_payload → lock_roster 347 lock_roster ▶ test enters 348. lock_roster → connect 348 connect 349. lock_roster → table_exists 349 table_exists … 9 steps between
command-line usercommand-line user command-line usercommand-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py clew/query/_common.pyclew/query/_common.py clew/query/_common.pyclew/query/_common.py other filesother files other filesother files main 359–360. lock_roster → _object_route 359 _object_route +1 more 361. corpus_payload → one 361 one ▶ test enters 362. corpus_payload → one 362 one 363. corpus_payload → thread_roster 363 thread_roster 364. thread_roster → connect 364 connect 365. thread_roster → table_exists 365 table_exists … 10 steps between
command-line usercommand-line user command-line usercommand-line user clew/query/symbols.pyclew/query/symbols.py clew/query/symbols.pyclew/query/symbols.py other filesother files other filesother files main 376–377. thread_roster → _thread_origins 376 _thread_origins +1 more 378. corpus_payload → _config_found_on_the_wire 378 _config_found_on_the_wire ▶ test enters 379. _config_found_on_the_wire → _compact_gate_panel 379 _compact_gate_panel 380. corpus_payload → kconfig_space 380 kconfig_space … 20 later steps
2 more tests/test_search_total.py:38 · its file's page
What it checks (1) assert cut["_limited"]["total_available"] == full not attributed What it reaches Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 3 requirements Its run touches their code; that is reach, not proof.