main (scripts/export_parity.py)

Overview · 203 steps, 7 lanes

  1. step 1 · other files
  2. steps 2–5 · other files, clew/query/export.py
  3. step 7 · other files
  4. step 7 · other files
  5. steps 8–203 · other files, clew/query/export.py, clew/query/symbols.py +4
program launcherprogram launcherprogram launcherprogram launcherprogram launcherprogram launcherprogram launcherprogram launcherprogram launcherprogram launcherprogram launcherprogram launcherprogram launcherprogram launcherclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/export.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/symbols.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/corpus.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/emptiness.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyclew/query/kconfig.pyother filesother filesother filesother filesother filesother filesother filesother filesother filesother filesother filesother filesother filesother filesloop (line 100)looploop (line 101)looploop (line 1576)looploop (line 1494)loopopt (line 1497)optloop (line 1507)loopopt (line 1966)optopt (line 1968)optopt (line 333)optloop (line 1856)loopopt (line 1902)optopt (line 1012)optopt (line 474)optopt (line 504)optloop (line 660)looploop ×2 (line 102)loop ×2loop ×2 (line 1488)loop ×2loop ×2 (line 555)loop ×2loop ×3 (line 942)loop ×3loop ×2 (line 288)loop ×2main1–4. main → _sample1_sample +3 more5. _dossier_agrees → export_dossier5export_dossier6–7. main → _answer6_answer ×28. main → export_search8export_search9–10. export_search → corpus_payload9corpus_payload +1 more11. _symbol_corpus → search_counted11search_counted12. search_counted → connect12connect13–14. search_counted → _memberdef_corpora13_memberdef_corpora +1 more15. _expansion_sql → has_columns15has_columns16. has_columns → table_exists16table_exists17. _memberdef_corpora → _memberdef_candidates17_memberdef_candidates18. _memberdef_candidates → table_exists18table_exists19. _memberdef_candidates → documented_first19documented_first20–21. documented_first → records_provenance20records_provenance +1 more22. _memberdef_candidates → symbol_provenance22symbol_provenance23. symbol_provenance → records_provenance23records_provenance24. _memberdef_candidates → self_declared_paths24self_declared_paths25–26. _memberdef_candidates → _one_line25_one_line +1 more27. _memberdef_candidates → strip_xml27strip_xml28. _memberdef_candidates → _search_rank28_search_rank29. _memberdef_candidates → symbol_provenance29symbol_provenance30–31. search_counted → _class_candidates30_class_candidates +1 more32. _class_candidates → class_rows32class_rows33. class_rows → table_exists33table_exists34. class_rows → strip_xml34strip_xml35–36. search_counted → _config_candidates35_config_candidates +1 more37. _config_candidates → gate_symbol_rows37gate_symbol_rows38. gate_symbol_rows → table_exists38table_exists39. gate_symbol_rows → has_columns39has_columns40. search_counted → _file_candidates40_file_candidates41. _file_candidates → self_declared_paths41self_declared_paths42–43. _file_candidates → _search_rank42_search_rank +1 more44. _file_candidates → file_doc_rows44file_doc_rows45. file_doc_rows → table_exists45table_exists46. _file_candidates → undocumented_path_rows46undocumented_path_rows47. undocumented_path_rows → table_exists47table_exists48. undocumented_path_rows → has_columns48has_columns49. undocumented_path_rows → table_exists49table_exists50. _symbol_corpus → search_emptiness50search_emptiness51. search_emptiness → index_scope51index_scope52. index_scope → connect52connect53. index_scope → _scope_provenance53_scope_provenance54. _scope_provenance → table_exists54table_exists55. index_scope → _indexed_paths55_indexed_paths56. _indexed_paths → table_exists56table_exists57–58. index_scope → _extensions57_extensions +1 more59. search_emptiness → _scope_payload59_scope_payload60. _scope_payload → one60one61–67. one → _listed61_listed +6 more68. search_emptiness → unsearched_corpora68unsearched_corpora69. unsearched_corpora → connect69connect70. unsearched_corpora → table_exists70table_exists71. unsearched_corpora → _unread_kind_counts71_unread_kind_counts72. unsearched_corpora → table_exists72table_exists73. unsearched_corpora → _unread_kind_counts73_unread_kind_counts74. search_emptiness → token_hit_counts74token_hit_counts75. token_hit_counts → connect75connect76. token_hit_counts → _one_token_count76_one_token_count77. _one_token_count → table_exists77table_exists78. _one_token_count → _expansion_sql78_expansion_sql79. _one_token_count → class_rows79class_rows80. _one_token_count → file_doc_rows80file_doc_rows81–86. search_emptiness → _conjunction_note81_conjunction_note +5 more87. _verdict → has_file_docs87has_file_docs88. has_file_docs → connect88connect89. has_file_docs → table_exists89table_exists90. search_emptiness → _scope_sentence90_scope_sentence91. _symbol_corpus → with_limit_disclosure91with_limit_disclosure92. corpus_payload → _prose_corpus92_prose_corpus93. _prose_corpus → search_prose_graded93search_prose_graded94. search_prose_graded → _query_tokens94_query_tokens95. search_prose_graded → connect95connect96. search_prose_graded → table_exists96table_exists97–98. search_prose_graded → _fts_match97_fts_match +1 more99. search_prose_graded → strip_xml99strip_xml100. search_prose_graded → list100list101. list → link101link102. search_prose_graded → member_doc_rows102member_doc_rows103. member_doc_rows → table_exists103table_exists104. member_doc_rows → has_columns104has_columns105. search_prose_graded → _collapse105_collapse106. _prose_corpus → prose_emptiness106prose_emptiness107. prose_emptiness → has_prose_corpus107has_prose_corpus108. has_prose_corpus → connect108connect109. has_prose_corpus → table_exists109table_exists110. prose_emptiness → token_hit_counts110token_hit_counts111. prose_emptiness → _render_counts111_render_counts112. corpus_payload → _code_corpus112_code_corpus113. _code_corpus → search_code113search_code114–121. search_code → _has_table114_has_table +7 more122. _code_corpus → count_code122count_code123–125. count_code → _has_table123_has_table +2 more126. _code_corpus → with_limit_disclosure126with_limit_disclosure127–128. corpus_payload → _files_corpus127_files_corpus +1 more129. files_context → directory_rollup129directory_rollup130. directory_rollup → connect130connect131–132. directory_rollup → has_columns131has_columns ×2133. directory_rollup → rollup_meaning133rollup_meaning134. files_context → one134one135. files_context → doc_scope135doc_scope136. doc_scope → connect136connect137. doc_scope → _scope_provenance137_scope_provenance138. _files_corpus → directory_rollup138directory_rollup139. _files_corpus → one139one140. _files_corpus → list_files140list_files141. list_files → connect141connect142. list_files → has_columns142has_columns143. list_files → table_exists143table_exists144. list_files → _matches144_matches145. _files_corpus → files_miss145files_miss146. corpus_payload → lock_roster146lock_roster147. lock_roster → connect147connect148. lock_roster → table_exists148table_exists149–150. lock_roster → _entries149_entries +1 more151. _roster_sql → has_columns151has_columns152–153. lock_roster → nestings_on152nestings_on +1 more154. _layer_present → table_exists154table_exists155. nestings_on → table_exists155table_exists156–159. lock_roster → _nesting_pairs156_nesting_pairs +3 more160–161. corpus_payload → one160one ×2162. corpus_payload → thread_roster162thread_roster163. thread_roster → connect163connect164. thread_roster → table_exists164table_exists165. thread_roster → has_columns165has_columns166. thread_roster → _thread_columns166_thread_columns167–169. _thread_columns → has_columns167has_columns ×3170. thread_roster → _build_thread170_build_thread171. _build_thread → name_of171name_of172. _build_thread → table_exists172table_exists173. _build_thread → _spawn_attribution173_spawn_attribution174. _spawn_attribution → has_columns174has_columns175–176. thread_roster → _thread_origins175_thread_origins +1 more177. corpus_payload → _config_found_on_the_wire177_config_found_on_the_wire178. _config_found_on_the_wire → _compact_gate_panel178_compact_gate_panel179. corpus_payload → kconfig_space179kconfig_space180. kconfig_space → connect180connect181. kconfig_space → _meta181_meta182. _meta → table_exists182table_exists183. kconfig_space → _symbols183_symbols184. _symbols → table_exists184table_exists185. kconfig_space → table_exists185table_exists186. kconfig_space → _gate_layer_state186_gate_layer_state187. _gate_layer_state → table_exists187table_exists188. kconfig_space → _gate_symbol_names188_gate_symbol_names189. _gate_symbol_names → table_exists189table_exists190. kconfig_space → _gates190_gates191. _gates → table_exists191table_exists192. _gates → _gate_columns192_gate_columns193–194. _gate_columns → has_columns193has_columns ×2195. _gates → _with_defaults195_with_defaults196. _with_defaults → table_exists196table_exists197. _with_defaults → _defaults_for_macros197_defaults_for_macros198. _with_defaults → decided_default198decided_default199. decided_default → is_shipped_config199is_shipped_config200. _with_defaults → _in_default_build200_in_default_build201–202. kconfig_space → macros_meaning201macros_meaning +1 more203. corpus_payload → one203one
All 203 steps
#callercalleewhat it doesrequirementsframescall site
1main_sampleEvery k-th distinct indexed name, to N.——scripts/export_parity.py:98
2main_dossier_agreesCompare one subject's dossier, modulo a miss's routing sentence.——scripts/export_parity.py:99
3_dossier_agrees_answerDrop boundary stamps and the export's version stamp.——scripts/export_parity.py:76
4_dossier_agrees_answerDrop boundary stamps and the export's version stamp.——scripts/export_parity.py:77
5_dossier_agreesexport_dossierExport the dossier for one subject or a batch, as the MCP tool answers it.REQ-DDB-QUERY-014—scripts/export_parity.py:77
6main_answerDrop boundary stamps and the export's version stamp.—loop (line 100), loop (line 101)scripts/export_parity.py:102
7main_answerDrop boundary stamps and the export's version stamp.—loop (line 100), loop (line 101)scripts/export_parity.py:103
8mainexport_searchExport one corpus's search or inventory, as the MCP tool answers it.REQ-DDB-QUERY-014loop (line 100), loop (line 101)scripts/export_parity.py:103
9export_searchcorpus_payloadBuild one corpus's reply through the given list envelope.REQ-DDB-QUERY-014—clew/query/export.py:592
10corpus_payload_symbol_corpusThe symbols corpus, ranked, with its limit disclosed.——clew/query/export.py:551
11_symbol_corpussearch_countedsearch , plus how many rows matched before the limit cut them.REQ-DDB-QUERY-001—clew/query/export.py:429
12search_countedconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/symbols.py:1809
13search_counted_memberdef_corporaRanked candidates from EVERY searched memberdef corpus, in one list.——clew/query/symbols.py:1811
14_memberdef_corpora_expansion_sqlSQL for a macro's expansion, degrading to '' on a schema without the column.—loop (line 1576)clew/query/symbols.py:1577
15_expansion_sqlhas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/symbols.py:1544
16has_columnstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/_common.py:131
17_memberdef_corpora_memberdef_candidatesRanked memberdef candidates of one kind whose name, brief, prose or FILE PATH carries every token.—loop (line 1576)clew/query/symbols.py:1578
18_memberdef_candidatestable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/symbols.py:1453
19_memberdef_candidatesdocumented_firstThe ORDER BY fragment that makes doxygen's own row win a name collapse.REQ-DDB-INDEX-004—clew/query/symbols.py:1474
20documented_firstrecords_provenanceWhether this index records where its memberdef rows came from.REQ-DDB-INDEX-004—clew/query/_common.py:608
21records_provenancehas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/_common.py:540
22_memberdef_candidatessymbol_provenanceThe provenance a symbol row should REPORT, or None when it says nothing.REQ-DDB-INDEX-004loop (line 1494), if (line 1497)clew/query/symbols.py:1497
23symbol_provenancerecords_provenanceWhether this index records where its memberdef rows came from.REQ-DDB-INDEX-004—clew/query/_common.py:572
24_memberdef_candidatesself_declared_pathsThe exact paths of every self-declared generated file in an index.——clew/query/symbols.py:1505
25_memberdef_candidates_one_lineCollapse whitespace and line continuations, then trim to brief length.—loop (line 1507)clew/query/symbols.py:1508
26_one_line_doc_briefShorten a file's documentation to a brief, at a word boundary.——clew/query/symbols.py:1402
27_memberdef_candidatesstrip_xmlStrip doxygen's XML-ish markup from a description column.REQ-DDB-QUERY-003loop (line 1507)clew/query/symbols.py:1508
28_memberdef_candidates_search_rankRank one candidate against the query tokens (higher is better).—loop (line 1507)clew/query/symbols.py:1512
29_memberdef_candidatessymbol_provenanceThe provenance a symbol row should REPORT, or None when it says nothing.REQ-DDB-INDEX-004loop (line 1507)clew/query/symbols.py:1520
30search_counted_class_candidatesRanked compound candidates whose name or brief carries every token.——clew/query/symbols.py:1812
31_class_candidates_search_rankRank one candidate against the query tokens (higher is better).——clew/query/symbols.py:1658
32_class_candidatesclass_rowsCompound rows matching EVERY token, or [] when compounds are unindexed.REQ-DDB-QUERY-007—clew/query/symbols.py:1663
33class_rowstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:1099
34class_rowsstrip_xmlStrip doxygen's XML-ish markup from a description column.REQ-DDB-QUERY-003—clew/query/corpus.py:1115
35search_counted_config_candidatesRanked configuration-symbol candidates whose name carries every token.——clew/query/symbols.py:1813
36_config_candidates_search_rankRank one candidate against the query tokens (higher is better).——clew/query/symbols.py:1691
37_config_candidatesgate_symbol_rowsGating-symbol rows matching EVERY token, with their gate-site counts.REQ-DDB-QUERY-007—clew/query/symbols.py:1701
38gate_symbol_rowstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:1155
39gate_symbol_rowshas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/corpus.py:1157
40search_counted_file_candidatesRanked file candidates whose path or file-level documentation carries every token.——clew/query/symbols.py:1814
41_file_candidatesself_declared_pathsThe exact paths of every self-declared generated file in an index.——clew/query/symbols.py:1616
42_file_candidates_search_rankRank one candidate against the query tokens (higher is better).——clew/query/symbols.py:1620
43_file_candidates_doc_briefShorten a file's documentation to a brief, at a word boundary.——clew/query/symbols.py:1629
44_file_candidatesfile_doc_rowsFile-level documentation rows matching EVERY token, or [] when unindexed.REQ-DDB-QUERY-007—clew/query/symbols.py:1633
45file_doc_rowstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:618
46_file_candidatesundocumented_path_rowsRegistered paths matching EVERY token that carry no file-level documentation.REQ-DDB-QUERY-007—clew/query/symbols.py:1633
47undocumented_path_rowstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:659
48undocumented_path_rowshas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/corpus.py:662
49undocumented_path_rowstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:670
50_symbol_corpussearch_emptinessNote and payload for an empty search .REQ-DDB-QUERY-007—clew/query/export.py:431
51search_emptinessindex_scopeA has_gate_layer helper lived here for gh#393 and is deliberately gone with the verdict change it existed to serve.REQ-DDB-QUERY-007—clew/query/emptiness.py:327
52index_scopeconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/corpus.py:812
53index_scope_scope_provenanceThe scope.——clew/query/corpus.py:813
54_scope_provenancetable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:899
55index_scope_indexed_pathsEvery indexed, non-synthetic file path.——clew/query/corpus.py:814
56_indexed_pathstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:915
57index_scope_extensionsDistinct dot-prefixed extensions of a path list.——clew/query/corpus.py:821
58index_scope_not_indexedThe build's record of file types it had in scope and holds no rows for.REQ-DDB-QUERY-007—clew/query/corpus.py:822
59search_emptiness_scope_payloadThe scope block for a per-query reply: the covered shape, minus the derivation.——clew/query/emptiness.py:328
60_scope_payloadoneSerialize one R2 dataclass (an ENVELOPE) to its JSON wire form.REQ-DDB-QUERY-001—clew/query/emptiness.py:232
61one_listedasdict dict_factory that turns tuple-valued fields into lists.——clew/wire.py:167
62one_prune_rowsPrune absent fields from ROWS (dicts inside a list), leaving the envelope whole.——clew/wire.py:167
63_prune_rows_prune_rowsPrune absent fields from ROWS (dicts inside a list), leaving the envelope whole.—if (line 148)clew/wire.py:148
64_prune_rows_prune_rowsPrune absent fields from ROWS (dicts inside a list), leaving the envelope whole.—if (line 150)clew/wire.py:150
65_prune_rows_pruned_rowOne row with its absent fields removed, recursing into nested rows.—if (line 150)clew/wire.py:150
66_pruned_row_absentTrue when a value carries nothing a consumer could read.——clew/wire.py:110
67_pruned_row_prune_rowsPrune absent fields from ROWS (dicts inside a list), leaving the envelope whole.——clew/wire.py:110
68search_emptinessunsearched_corporaRows a zero-result query WOULD have matched in a corpus search does not read.REQ-DDB-QUERY-007—clew/query/emptiness.py:329
69unsearched_corporaconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/symbols.py:1963
70unsearched_corporatable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/symbols.py:1965
71unsearched_corpora_unread_kind_countsPer-kind match counts for the kinds of one table that search does not read.—if (line 1966)clew/query/symbols.py:1966
72unsearched_corporatable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/symbols.py:1967
73unsearched_corpora_unread_kind_countsPer-kind match counts for the kinds of one table that search does not read.—if (line 1968)clew/query/symbols.py:1969
74search_emptinesstoken_hit_countsHow many symbols and files each token matches ON ITS OWN.REQ-DDB-QUERY-007if (line 333)clew/query/emptiness.py:333
75token_hit_countsconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/symbols.py:1855
76token_hit_counts_one_token_countIndependent match count for one token across both search corpora.—loop (line 1856)clew/query/symbols.py:1857
77_one_token_counttable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/symbols.py:1901
78_one_token_count_expansion_sqlSQL for a macro's expansion, degrading to '' on a schema without the column.—if (line 1902)clew/query/symbols.py:1908
79_one_token_countclass_rowsCompound rows matching EVERY token, or [] when compounds are unindexed.REQ-DDB-QUERY-007—clew/query/symbols.py:1911
80_one_token_countfile_doc_rowsFile-level documentation rows matching EVERY token, or [] when unindexed.REQ-DDB-QUERY-007—clew/query/symbols.py:1911
81search_emptiness_conjunction_noteNote for a zero-result multi-token search, naming what emptied it.—if (line 333)clew/query/emptiness.py:335
82_conjunction_note_render_countsRender per-token hit counts as token=count prose.——clew/query/emptiness.py:293
83search_emptiness_scope_sentenceOne short sentence naming the indexed scope, without its derivation.—if (line 333)clew/query/emptiness.py:335
84search_emptiness_unread_noteThe sentence naming rows an unread corpus holds, or '' when there are none.—if (line 333)clew/query/emptiness.py:336
85search_emptiness_verdictGrade a single-token empty search: definitive only when nothing unread matched.——clew/query/emptiness.py:337
86_verdict_unread_noteThe sentence naming rows an unread corpus holds, or '' when there are none.—if (line 399)clew/query/emptiness.py:399
87_verdicthas_file_docsWhether this index carries a file-level documentation corpus at all.REQ-DDB-QUERY-007—clew/query/emptiness.py:400
88has_file_docsconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/corpus.py:778
89has_file_docstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:779
90search_emptiness_scope_sentenceOne short sentence naming the indexed scope, without its derivation.——clew/query/emptiness.py:339
91_symbol_corpuswith_limit_disclosureSay that a search was cut by its limit, and how many rows matched.REQ-DDB-QUERY-014—clew/query/export.py:433
92corpus_payload_prose_corpusThe prose corpus: the repo's markdown and reStructuredText, full-text.——clew/query/export.py:552
93_prose_corpussearch_prose_gradedFull-text search over the ingested prose, widening to OR when the AND is empty.REQ-DDB-QUERY-001—clew/query/export.py:368
94search_prose_graded_query_tokensThe query's tokens, stripped of FTS5 operator syntax.——clew/query/corpus.py:1007
95search_prose_gradedconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/corpus.py:1008
96search_prose_gradedtable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:1011
97search_prose_graded_fts_matchRun one FTS5 MATCH, retrying the raw text as a quoted phrase.—if (line 1012)clew/query/corpus.py:1012
98search_prose_graded_fts_matchRun one FTS5 MATCH, retrying the raw text as a quoted phrase.—if (line 1012), if (line 1014)clew/query/corpus.py:1015
99search_prose_gradedstrip_xmlStrip doxygen's XML-ish markup from a description column.REQ-DDB-QUERY-003—clew/query/corpus.py:1025
100search_prose_gradedlist———clew/query/corpus.py:1026
101listlink———clew/wiki/themes/clew/static/web.js:85
102search_prose_gradedmember_doc_rowsMember documentation rows matching EVERY token, or [] when unavailable.REQ-DDB-QUERY-007—clew/query/corpus.py:1026
103member_doc_rowstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:717
104member_doc_rowshas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/corpus.py:720
105search_prose_graded_collapseCollapse whitespace runs in a prose snippet (markup is NOT stripped).——clew/query/corpus.py:1032
106_prose_corpusprose_emptinessNote and payload for an empty search(corpus='prose )`.REQ-DDB-QUERY-007—clew/query/export.py:370
107prose_emptinesshas_prose_corpusWhether this index carries an ingested markdown corpus at all.REQ-DDB-QUERY-007—clew/query/emptiness.py:469
108has_prose_corpusconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/corpus.py:759
109has_prose_corpustable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:760
110prose_emptinesstoken_hit_countsHow many symbols and files each token matches ON ITS OWN.REQ-DDB-QUERY-007—clew/query/emptiness.py:471
111prose_emptiness_render_countsRender per-token hit counts as token=count prose.—if (line 474)clew/query/emptiness.py:477
112corpus_payload_code_corpusThe code corpus: functions whose body contains every word.——clew/query/export.py:553
113_code_corpussearch_codeVersion 5: a query word also matches as a prefix ( MBEDTLS_ERR_ finds its family).——clew/query/export.py:328
114search_code_has_tableWhether a table exists.——clew/code_text.py:415
115search_code_match_queryThe FTS expression for a word list: each word whole (stemmed) or as a prefix.——clew/code_text.py:425
116search_code_has_tableWhether a table exists.——clew/code_text.py:428
117search_code_has_tableWhether a table exists.——clew/code_text.py:433
118search_code_first_matchVersion 2: finds the snippet line by stem, as the match was made.—loop (line 448)clew/code_text.py:449
119search_code_has_tableWhether a table exists.——clew/code_text.py:463
120search_code_file_hitsFiles whose file-scope text holds every word, as kind: "file" hits.—if (line 464)clew/code_text.py:464
121_file_hits_first_matchVersion 2: finds the snippet line by stem, as the match was made.—loop (line 538)clew/code_text.py:539
122_code_corpuscount_codeHow many units search_code would return with no limit.REQ-DDB-QUERY-014—clew/query/export.py:329
123count_code_has_tableWhether a table exists.——clew/code_text.py:496
124count_code_match_queryThe FTS expression for a word list: each word whole (stemmed) or as a prefix.——clew/code_text.py:498
125count_code_has_tableWhether a table exists.——clew/code_text.py:505
126_code_corpuswith_limit_disclosureSay that a search was cut by its limit, and how many rows matched.REQ-DDB-QUERY-014—clew/query/export.py:340
127corpus_payload_files_corpusThe file corpus: a directory rollup, or a glob's matching files with that context.——clew/query/export.py:554
128_files_corpusfiles_contextThe context every files reply carries, whatever was asked.REQ-DDB-QUERY-014—clew/query/export.py:502
129files_contextdirectory_rollupThe indexed file set rolled up by top-level directory.REQ-DDB-QUERY-002—clew/query/export.py:473
130directory_rollupconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/corpus.py:1486
131directory_rolluphas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/corpus.py:1488
132directory_rolluphas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/corpus.py:1492
133directory_rolluprollup_meaningSay what the per-directory counts are, and what they are NOT.REQ-DDB-QUERY-002—clew/query/corpus.py:1518
134files_contextoneSerialize one R2 dataclass (an ENVELOPE) to its JSON wire form.REQ-DDB-QUERY-001—clew/query/export.py:473
135files_contextdoc_scopeWhat the repository DECLARES about its own doc build and its vendored trees.REQ-DDB-QUERY-007—clew/query/export.py:480
136doc_scopeconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/corpus.py:1559
137doc_scope_scope_provenanceThe scope.——clew/query/corpus.py:1560
138_files_corpusdirectory_rollupThe indexed file set rolled up by top-level directory.REQ-DDB-QUERY-002if (line 504)clew/query/export.py:505
139_files_corpusoneSerialize one R2 dataclass (an ENVELOPE) to its JSON wire form.REQ-DDB-QUERY-001if (line 504)clew/query/export.py:505
140_files_corpuslist_filesThe indexed source files, with documented-symbol counts.REQ-DDB-QUERY-001—clew/query/export.py:509
141list_filesconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/corpus.py:158
142list_fileshas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/corpus.py:163
143list_filestable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/corpus.py:173
144list_files_matchesWhether a repo-relative path matches a * -glob pattern.——clew/query/corpus.py:186
145_files_corpusfiles_missThe note for a glob that matched no indexed file.REQ-DDB-QUERY-014—clew/query/export.py:512
146corpus_payloadlock_rosterEvery lock in the index, with the mutex count, the origin split and the nestings.REQ-DDB-QUERY-001 REQ-DDB-QUERY-011—clew/query/export.py:555
147lock_rosterconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/locks.py:603
148lock_rostertable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/locks.py:604
149lock_roster_entriesBuild the inventory rows from the roster SQL result.——clew/query/locks.py:614
150lock_roster_roster_sqlThe roster SQL, with the external column selected only when the index carries it.——clew/query/locks.py:614
151_roster_sqlhas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/locks.py:411
152lock_rosternestings_onEvery outer→inner lock pair observed across a call, on an open connection.REQ-DDB-SCHEMA-011—clew/query/locks.py:615
153nestings_on_layer_presentTrue when both lock-layer tables the accessors need are present.——clew/query/locks.py:304
154_layer_presenttable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/locks.py:85
155nestings_ontable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/locks.py:304
156lock_roster_nesting_pairsCollapse nesting SITES onto nesting IDENTITIES, keeping the strongest exemplar.——clew/query/locks.py:616
157lock_roster_origin_per_mutexOne origin per DISTINCT mutex, so the split matches the headline count.——clew/query/locks.py:622
158lock_roster_object_routeRoute a caller to the lock OBJECTS this layer cannot enumerate.——clew/query/locks.py:639
159lock_roster_nesting_meaningState the nesting count, the pair semantics and the evidence weakness in one sentence.——clew/query/locks.py:643
160corpus_payloadoneSerialize one R2 dataclass (an ENVELOPE) to its JSON wire form.REQ-DDB-QUERY-001—clew/query/export.py:555
161corpus_payloadoneSerialize one R2 dataclass (an ENVELOPE) to its JSON wire form.REQ-DDB-QUERY-001—clew/query/export.py:556
162corpus_payloadthread_rosterEvery thread in the DB, with member counts and the origin split.REQ-DDB-QUERY-001 REQ-DDB-QUERY-011—clew/query/export.py:556
163thread_rosterconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/symbols.py:1144
164thread_rostertable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/symbols.py:1145
165thread_rosterhas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/symbols.py:1149
166thread_roster_thread_columnsThe threads column list this index can actually supply.——clew/query/symbols.py:1151
167_thread_columnshas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/symbols.py:942
168_thread_columnshas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/symbols.py:944
169_thread_columnshas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/symbols.py:946
170thread_roster_build_threadAssemble a Thread dataclass from a threads row (+ member count).——clew/query/symbols.py:1153
171_build_threadname_ofrowid→function name (DISTINCT-by-name is implicit: rowid is unique).REQ-DDB-QUERY-003—clew/query/symbols.py:970
172_build_threadtable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/symbols.py:976
173_build_thread_spawn_attributionThe spawning file's repo-relative path and its external root.——clew/query/symbols.py:979
174_spawn_attributionhas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/symbols.py:1017
175thread_roster_thread_originsOne origin per thread, keyed on its SPAWN SITE.——clew/query/symbols.py:1154
176thread_roster_roster_meaningThe sentence stating both the count and whose threads it counts.——clew/query/symbols.py:1158
177corpus_payload_config_found_on_the_wireRe-key a config payload so found means what it means everywhere else.——clew/query/export.py:557
178_config_found_on_the_wire_compact_gate_panelState a gate panel's invariant fields once instead of once per row.——clew/query/payload.py:795
179corpus_payloadkconfig_spaceA repo's configuration space: its symbols, their groups, and what they gate.REQ-DDB-QUERY-006—clew/query/export.py:558
180kconfig_spaceconnectYield an open sqlite connection; close it only if we opened it.REQ-DDB-QUERY-001—clew/query/kconfig.py:477
181kconfig_space_metaEvery kconfig.——clew/query/kconfig.py:478
182_metatable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/kconfig.py:213
183kconfig_space_symbolsThe symbol rows, each with the group it belongs to and its gate count.——clew/query/kconfig.py:479
184_symbolstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/kconfig.py:256
185kconfig_spacetable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/kconfig.py:479
186kconfig_space_gate_layer_stateWhat the GATE HARVEST measured, independently of whether a Kconfig exists.REQ-DDB-QUERY-006—clew/query/kconfig.py:480
187_gate_layer_statetable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/kconfig.py:446
188kconfig_space_gate_symbol_namesThe distinct symbols that gate code, optionally filtered by name.REQ-DDB-QUERY-006—clew/query/kconfig.py:484
189_gate_symbol_namestable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/kconfig.py:370
190kconfig_space_gatesThe gating sites recorded for the whole repo, or for one symbol.——clew/query/kconfig.py:490
191_gatestable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/kconfig.py:315
192_gates_gate_columnsThe SELECT list that builds a KconfigGate positionally.——clew/query/kconfig.py:317
193_gate_columnshas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/kconfig.py:288
194_gate_columnshas_columnsTrue when a table exists AND carries every named column.REQ-DDB-QUERY-003—clew/query/kconfig.py:289
195_gates_with_defaultsAttach each gating macro's shipped default to its gate.——clew/query/kconfig.py:330
196_with_defaultstable_existsTrue when a table exists (partial/mini DBs lack later layers).REQ-DDB-QUERY-003—clew/query/kconfig.py:656
197_with_defaults_defaults_for_macrosRead config_defaults rows for a macro list, in bounded chunks.—loop (line 660)clew/query/kconfig.py:660
198_with_defaultsdecided_defaultThe default state one macro's config rows decide, with the site that decides it.REQ-DDB-QUERY-013—clew/query/kconfig.py:667
199decided_defaultis_shipped_configWhether a config-header path is the repository's own shipped default.REQ-DDB-QUERY-013—clew/query/_common.py:1026
200_with_defaults_in_default_buildWhether a gate's guarded code is in the default build.REQ-DDB-QUERY-004—clew/query/kconfig.py:673
201kconfig_spacemacros_meaningSay what configured_macros is evidence OF, and route to the repo's own default.REQ-DDB-QUERY-006—clew/query/kconfig.py:495
202kconfig_spacegates_meaningSay what the gate list holds and where the omitted detail is.REQ-DDB-QUERY-006—clew/query/kconfig.py:504
203corpus_payloadoneSerialize one R2 dataclass (an ENVELOPE) to its JSON wire form.REQ-DDB-QUERY-001—clew/query/export.py:558

Functions

110 functions

This diagram as Mermaid · PlantUML · Graphviz DOT

Quick views

110 functions, each with its quick view