Look up one name: everything the index holds about it¶
An agent names a function, file or other symbol and gets, in one reply, its source and every relation the index recorded for it.
Worked example
dossier(subject="derive_flow")
subject_kind: function file: clew/wiki/flow.py lines 142-179 brief: Derive the flow from an entry function. liveness: live callers: 19 (flow_page, expected_steps, and the flow tests) callees: _entry_rowids, connect, qualified_name_of requirements: REQ-DDB-WIKI-001, REQ-DDB-WIKI-041 body: the function's own lines, verbatim
Overview · 226 steps, 7 lanes
- Given an index of the repository
All 226 steps
| # | caller | callee | what it does | requirements | frames | call site |
|---|---|---|---|---|---|---|
| 1 | dossier | _accepted_batch | Validate and normalise a batch request: de-duplicate, split off what is over the cap. | — | if (line 1715) | clew/mcp_server/tools_query.py:1715 |
| 2 | dossier | _batched_dossiers | Dossiers for several subjects in ONE reply, sharing one response budget. | — | if (line 1715) | clew/mcp_server/tools_query.py:1716 |
| 3 | _batched_dossiers | batch_payload | The batch envelope for several subjects, before any boundary trimming. | REQ-DDB-QUERY-014 | — | clew/mcp_server/tools_query.py:1525 |
| 4 | batch_payload | dossiers | — | — | — | clew/query/export.py:182 |
| 5 | dossiers | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/subject.py:1266 |
| 6 | batch_payload | _batch_miss | The reply for a batched name that resolves to nothing. | — | — | clew/query/export.py:189 |
| 7 | _batch_miss | _kind_limitation_clause | The clause that turns a bare miss into a KIND limitation when it is one. | — | — | clew/query/payload.py:638 |
| 8 | batch_payload | recovery_hint | What to try instead, for a subject this index could not answer. | REQ-DDB-QUERY-013 | — | clew/query/export.py:189 |
| 9 | recovery_hint | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | try (line 266) | clew/query/recovery.py:266 |
| 10 | recovery_hint | _hint_from | Build the hint from an open connection. | — | try (line 266) | clew/query/recovery.py:267 |
| 11 | _hint_from | looks_like_path | Whether a subject string looks like a file rather than a symbol. | REQ-DDB-QUERY-013 | — | clew/query/recovery.py:295 |
| 12 | _hint_from | _indexed_path | Find a file in the index whose path matches a path-shaped subject. | — | if (line 296) | clew/query/recovery.py:296 |
| 13 | _indexed_path | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/recovery.py:114 |
| 14 | _hint_from | bare_tail | The bare tail of a qualified name. | REQ-DDB-QUERY-013 | — | clew/query/recovery.py:309 |
| 15 | _hint_from | _name_exists | Whether a bare name resolves to any row. | — | — | clew/query/recovery.py:310 |
| 16 | _name_exists | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/recovery.py:175 |
| 17 | _hint_from | _documentation_mentions | Whether any documentation text in this index mentions a name. | — | — | clew/query/recovery.py:327 |
| 18 | _documentation_mentions | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/recovery.py:215 |
| 19 | _documentation_mentions | has_columns | True when a table exists AND carries every named column. | REQ-DDB-QUERY-003 | — | clew/query/recovery.py:218 |
| 20 | has_columns | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/_common.py:131 |
| 21 | _hint_from | _name_exists | Whether a bare name resolves to any row. | — | — | clew/query/recovery.py:327 |
| 22 | _hint_from | _qualified_forms | Qualified names in the index whose bare tail equals a name. | — | — | clew/query/recovery.py:335 |
| 23 | _qualified_forms | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/recovery.py:148 |
| 24 | _qualified_forms | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | loop (line 154) | clew/query/recovery.py:155 |
| 25 | batch_payload | unresolved_kinds | — | — | — | clew/query/export.py:189 |
| 26 | unresolved_kinds | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/subject.py:406 |
| 27 | unresolved_kinds | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/subject.py:407 |
| 28 | batch_payload | _flatten_subject | Flatten a SubjectDossier to the wire shape: envelope keys plus the one section. | — | — | clew/query/export.py:192 |
| 29 | _flatten_subject | one | Serialize one R2 dataclass (an ENVELOPE) to its JSON wire form. | REQ-DDB-QUERY-001 | — | clew/query/payload.py:322 |
| 30 | one | _listed | asdict dict_factory that turns tuple-valued fields into lists. | — | — | clew/wire.py:167 |
| 31 | one | _prune_rows | Prune absent fields from ROWS (dicts inside a list), leaving the envelope whole. | — | — | clew/wire.py:167 |
| 32 | _prune_rows | _prune_rows | Prune absent fields from ROWS (dicts inside a list), leaving the envelope whole. | — | if (line 148) | clew/wire.py:148 |
| 33 | _prune_rows | _prune_rows | Prune absent fields from ROWS (dicts inside a list), leaving the envelope whole. | — | if (line 150) | clew/wire.py:150 |
| 34 | _prune_rows | _pruned_row | One row with its absent fields removed, recursing into nested rows. | — | if (line 150) | clew/wire.py:150 |
| 35 | _pruned_row | _absent | True when a value carries nothing a consumer could read. | — | — | clew/wire.py:110 |
| 36 | _pruned_row | _prune_rows | Prune absent fields from ROWS (dicts inside a list), leaving the envelope whole. | — | — | clew/wire.py:110 |
| 37 | _flatten_subject | _config_found_on_the_wire | Re-key a config payload so found means what it means everywhere else. | — | if (line 333) | clew/query/payload.py:333 |
| 38 | _config_found_on_the_wire | _compact_gate_panel | State a gate panel's invariant fields once instead of once per row. | — | — | clew/query/payload.py:795 |
| 39 | _flatten_subject | list | — | — | if (line 343) | clew/query/payload.py:343 |
| 40 | list | link | — | — | — | clew/wiki/themes/clew/static/web.js:85 |
| 41 | _flatten_subject | one | Serialize one R2 dataclass (an ENVELOPE) to its JSON wire form. | REQ-DDB-QUERY-001 | if (line 345) | clew/query/payload.py:345 |
| 42 | _flatten_subject | _ambiguity_block | The same-name ambiguity behind a function subject's neighbour lists, or None. | — | — | clew/query/payload.py:348 |
| 43 | _ambiguity_block | name_ambiguity | The name-ambiguity behind one function's neighbour list, or None when clean. | REQ-DDB-QUERY-001 | loop (line 66) | clew/query/payload.py:67 |
| 44 | name_ambiguity | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/symbols.py:2217 |
| 45 | name_ambiguity | _ambiguity_counts | Distinct same-named signatures, and how many neighbours arrive through the name. | — | — | clew/query/symbols.py:2218 |
| 46 | _ambiguity_counts | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/symbols.py:2242 |
| 47 | _ambiguity_counts | function_candidates | Version 9: a bodiless row in its own file reports its declaration line, not bodystart = -1 . | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | — | clew/query/symbols.py:2244 |
| 48 | function_candidates | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/_common.py:289 |
| 49 | function_candidates | _test_scope_term | The ORDER BY fragment that ranks library definitions above test-code ones. | — | — | clew/query/_common.py:311 |
| 50 | _test_scope_term | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/_common.py:208 |
| 51 | function_candidates | matching_identity | Keep only the candidate rows whose IDENTITY is the named qualified one. | REQ-DDB-QUERY-010 | — | clew/query/_common.py:316 |
| 52 | matching_identity | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | — | clew/query/_common.py:432 |
| 53 | matching_identity | resolve_selector | The full qualified name a selector names among a bare name's identities. | REQ-DDB-QUERY-010 | — | clew/query/_common.py:432 |
| 54 | resolve_selector | _ends_at_boundary | Whether a qualified name ends with a suffix at a separator boundary (or equals it). | — | — | clew/query/_common.py:379 |
| 55 | matching_identity | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | — | clew/query/_common.py:433 |
| 56 | _flatten_subject | _gate_definitions | Resolve the symbols a payload's gated_by rows NAME to where they are defined. | — | — | clew/query/payload.py:351 |
| 57 | _gate_definitions | macro_definitions | Every #define of one name, opening the database itself. | REQ-DDB-QUERY-012 | loop (line 515) | clew/query/payload.py:523 |
| 58 | macro_definitions | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/macros.py:221 |
| 59 | macro_definitions | macro_definitions_conn | Every #define of one name, with expansion, parameters, location and gating branch. | REQ-DDB-QUERY-012 | — | clew/query/macros.py:222 |
| 60 | macro_definitions_conn | has_columns | True when a table exists AND carries every named column. | REQ-DDB-QUERY-003 | — | clew/query/macros.py:162 |
| 61 | macro_definitions_conn | _macro_def | Build one MacroDef from a selected row, adding its parameters and gates. | — | — | clew/query/macros.py:171 |
| 62 | _macro_def | gates_covering | The configuration gates whose branch covers one source line. | REQ-DDB-QUERY-006 | — | clew/query/macros.py:194 |
| 63 | gates_covering | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/kconfig.py:543 |
| 64 | gates_covering | has_columns | True when a table exists AND carries every named column. | REQ-DDB-QUERY-003 | — | clew/query/kconfig.py:546 |
| 65 | gates_covering | _gate_columns | The SELECT list that builds a KconfigGate positionally. | — | — | clew/query/kconfig.py:564 |
| 66 | _gate_columns | has_columns | True when a table exists AND carries every named column. | REQ-DDB-QUERY-003 | — | clew/query/kconfig.py:288 |
| 67 | _gate_columns | has_columns | True when a table exists AND carries every named column. | REQ-DDB-QUERY-003 | — | clew/query/kconfig.py:289 |
| 68 | gates_covering | _with_defaults | Attach each gating macro's shipped default to its gate. | — | — | clew/query/kconfig.py:570 |
| 69 | _with_defaults | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/kconfig.py:656 |
| 70 | _with_defaults | _defaults_for_macros | Read config_defaults rows for a macro list, in bounded chunks. | — | loop (line 660) | clew/query/kconfig.py:660 |
| 71 | _with_defaults | decided_default | The default state one macro's config rows decide, with the site that decides it. | REQ-DDB-QUERY-013 | — | clew/query/kconfig.py:667 |
| 72 | decided_default | is_shipped_config | Whether a config-header path is the repository's own shipped default. | REQ-DDB-QUERY-013 | — | clew/query/_common.py:1026 |
| 73 | _with_defaults | _in_default_build | Whether a gate's guarded code is in the default build. | REQ-DDB-QUERY-004 | — | clew/query/kconfig.py:673 |
| 74 | _macro_def | _macro_params | The parameter list of one function-like macro, as it is written. | — | — | clew/query/macros.py:200 |
| 75 | _macro_params | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/macros.py:111 |
| 76 | _macro_def | strip_xml | Strip doxygen's XML-ish markup from a description column. | REQ-DDB-QUERY-003 | — | clew/query/macros.py:202 |
| 77 | _macro_def | _referenced_by | Names doxygen recorded as referencing one macro-definition row. | — | — | clew/query/macros.py:203 |
| 78 | _referenced_by | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/macros.py:75 |
| 79 | _macro_def | symbol_provenance | The provenance a symbol row should REPORT, or None when it says nothing. | REQ-DDB-INDEX-004 | — | clew/query/macros.py:204 |
| 80 | symbol_provenance | records_provenance | Whether this index records where its memberdef rows came from. | REQ-DDB-INDEX-004 | — | clew/query/_common.py:572 |
| 81 | records_provenance | has_columns | True when a table exists AND carries every named column. | REQ-DDB-QUERY-003 | — | clew/query/_common.py:540 |
| 82 | _gate_definitions | _gate_definition_gaps | Disclose which gate symbols were not resolved, and why each was not. | — | — | clew/query/payload.py:529 |
| 83 | _flatten_subject | _empty_callers_note | Warn when an empty callers is a modelling gap rather than a real absence. | — | — | clew/query/payload.py:358 |
| 84 | _empty_callers_note | _constructor_note | Note for an empty caller list on a name that is also a class. | — | — | clew/query/payload.py:140 |
| 85 | _empty_callers_note | _refusal_note | Note for an empty caller list the build recorded refusals against. | — | — | clew/query/payload.py:140 |
| 86 | _flatten_subject | _candidates_capped | Disclose that the candidate list hit its cap, and how many identities really exist. | — | — | clew/query/payload.py:361 |
| 87 | _candidates_capped | _distinct_identities | How many distinct function identities a bare name really has. | — | — | clew/query/payload.py:271 |
| 88 | _distinct_identities | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | try (line 224) | clew/query/payload.py:224 |
| 89 | _distinct_identities | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | try (line 224) | clew/query/payload.py:225 |
| 90 | batch_payload | _hoist_build_wide | Move build-wide fields out of every batch entry and onto the envelope, once. | — | — | clew/query/export.py:202 |
| 91 | _batched_dossiers | db | The database path this call reads. | REQ-DDB-MCP-003 | — | clew/mcp_server/tools_query.py:1526 |
| 92 | db | _route | Resolve an explicit per-call target, refusing when this set cannot route. | — | if (line 1145) | clew/mcp_server/tools_query.py:1145 |
| 93 | db | … 1 not run | — | — | — | — |
| 94 | _batched_dossiers | _repo_or_none | The working tree for this call, or None when there isn't one. | — | — | clew/mcp_server/tools_query.py:1529 |
| 95 | _repo_or_none | repo | The working-tree root this call reads source from. | REQ-DDB-MCP-003 | try (line 1219) | clew/mcp_server/tools_query.py:1219 |
| 96 | repo | _route | Resolve an explicit per-call target, refusing when this set cannot route. | — | if (line 1181) | clew/mcp_server/tools_query.py:1181 |
| 97 | _batched_dossiers | _budget_batch | Trim a batch of serialized dossiers to ONE shared response budget. | — | — | clew/mcp_server/tools_query.py:1538 |
| 98 | _budget_batch | _fair_shares | Divide a byte budget between payloads so no one of them starves. | — | loop (line 973) | clew/mcp_server/tools_query.py:973 |
| 99 | _budget_batch | _shrink_to_budget | Spend chain DEPTH, then halve the largest list, until the payload fits. | — | loop (line 973) | clew/mcp_server/tools_query.py:974 |
| 100 | _shrink_to_budget | _step_chain_depth | Drop the outermost ring of a payload's causal chain, if it has one. | — | loop (line 578) | clew/mcp_server/tools_query.py:579 |
| 101 | _batched_dossiers | prune_absent_keys | Drop named ENVELOPE keys that carry nothing, in place. | REQ-DDB-QUERY-001 | loop (line 1539) | clew/mcp_server/tools_query.py:1540 |
| 102 | prune_absent_keys | _absent | True when a value carries nothing a consumer could read. | — | loop (line 198) | clew/wire.py:199 |
| 103 | _batched_dossiers | _wire_shape | Apply the compact neighbour shape when the server was asked for it. | REQ-DDB-QUERY-014 | loop (line 1539) | clew/mcp_server/tools_query.py:1541 |
| 104 | _wire_shape | compact_docs | v2 (1.4.0 grid): never when the served body is truncated, and only the sentences that occur in order in the served body are dropped — a word-overlap test dropped text the agent never saw. | REQ-DDB-QUERY-014 | — | clew/mcp_server/tools_query.py:825 |
| 105 | compact_docs | _uncarried_sentences | The sentences of a text that a body does not carry, or None when it carries none. | — | — | clew/query/payload.py:910 |
| 106 | _wire_shape | compact_neighbours | Group neighbour rows by file and state each reply's common field values once. | REQ-DDB-QUERY-014 | — | clew/mcp_server/tools_query.py:825 |
| 107 | compact_neighbours | _edge_defaults | The value of each defaultable field that every row carries and at least two share. | — | — | clew/query/payload.py:826 |
| 108 | _edge_defaults | all | Every comment, oldest first, with its status. | REQ-DDB-WIKI-054 | loop (line 845) | clew/query/payload.py:846 |
| 109 | all | _events | — | — | loop (line 135) | clew/mcp_server/comments.py:135 |
| 110 | all | _public | A stored event's public fields. | — | loop (line 135), if (line 137) | clew/mcp_server/comments.py:137 |
| 111 | all | list | — | — | — | clew/mcp_server/comments.py:140 |
| 112 | compact_neighbours | _grouped | One neighbour list grouped by file, defaults removed from its rows. | — | loop (line 827), if (line 829) | clew/query/payload.py:829 |
| 113 | _batched_dossiers | _answered | Stamp a reply with the target it came from, making a miss self-describing. | — | — | clew/mcp_server/tools_query.py:1544 |
| 114 | _answered | _default | The default target's routing record, or None when it cannot be resolved. | — | — | clew/mcp_server/tools_query.py:1366 |
| 115 | _answered | _route | Resolve an explicit per-call target, refusing when this set cannot route. | — | — | clew/mcp_server/tools_query.py:1366 |
| 116 | _answered | _kind_limitation_clause | The clause that turns a bare miss into a KIND limitation when it is one. | — | — | clew/mcp_server/tools_query.py:1383 |
| 117 | _answered | _unresolved_for | Unsupported kinds this index holds for a name that failed to resolve. | — | — | clew/mcp_server/tools_query.py:1383 |
| 118 | _unresolved_for | db | The database path this call reads. | REQ-DDB-MCP-003 | try (line 1301) | clew/mcp_server/tools_query.py:1301 |
| 119 | _unresolved_for | unresolved_kinds | — | — | try (line 1301) | clew/mcp_server/tools_query.py:1301 |
| 120 | _answered | _recovery_for | What to try instead, for a subject this index could not answer. | — | — | clew/mcp_server/tools_query.py:1394 |
| 121 | _recovery_for | db | The database path this call reads. | REQ-DDB-MCP-003 | try (line 1274) | clew/mcp_server/tools_query.py:1274 |
| 122 | _recovery_for | recovery_hint | What to try instead, for a subject this index could not answer. | REQ-DDB-QUERY-013 | try (line 1274) | clew/mcp_server/tools_query.py:1274 |
| 123 | _answered | _target_name | The repository this reply answered from, for attribution. | — | — | clew/mcp_server/tools_query.py:1401 |
| 124 | _answered | _bounded_names | A name list capped for a reply, with the overflow counted in a final entry. | — | if (line 1407), if (line 1409) | clew/mcp_server/tools_query.py:1409 |
| 125 | _bounded_names | list | — | — | — | clew/mcp_server/tools_query.py:365 |
| 126 | _answered | _staleness | The staleness axes to attach to this reply, sized to fit. | — | — | clew/mcp_server/tools_query.py:1412 |
| 127 | _staleness | _staleness_within_budget | Fit a staleness block into whatever budget the payload left. | — | — | clew/mcp_server/tools_query.py:1477 |
| 128 | _answered | _withdraw_definitive | Withdraw an unearned definitive-negative claim when the index is schema-stale. | REQ-DDB-MCP-004 | if (line 1414) | clew/mcp_server/tools_query.py:1415 |
| 129 | _answered | _scope_definitive | Withdraw a definitive negative that was answered from one part of a split repository. | REQ-DDB-MCP-004 | if (line 1419), if (line 1421) | clew/mcp_server/tools_query.py:1421 |
| 130 | _answered | _scope_hit | Say that a hit's unresolved call sites may resolve in a part this answer did not read. | REQ-DDB-MCP-001 | if (line 1419), if (line 1421) | clew/mcp_server/tools_query.py:1422 |
| 131 | _answered | … 2 not run | — | — | — | — |
| 132 | dossier | disclose_overflow | Name the subjects an over-cap batch did not answer. | — | if (line 1715) | clew/mcp_server/tools_query.py:1717 |
| 133 | dossier | subject_payload | The flat payload for one subject, before any boundary trimming. | REQ-DDB-QUERY-014 | — | clew/mcp_server/tools_query.py:1719 |
| 134 | subject_payload | dossier | — | — | — | clew/query/export.py:142 |
| 135 | dossier | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | if (line 1012) | clew/query/subject.py:1012 |
| 136 | dossier | identity_rowids | Every memberdef rowid belonging to the SAME function a name resolves to. | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | if (line 1012) | clew/query/subject.py:1013 |
| 137 | identity_rowids | function_candidates | Version 9: a bodiless row in its own file reports its declaration line, not bodystart = -1 . | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | — | clew/query/_common.py:771 |
| 138 | identity_rowids | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | if (line 777) | clew/query/_common.py:777 |
| 139 | identity_rowids | resolve_selector | The full qualified name a selector names among a bare name's identities. | REQ-DDB-QUERY-010 | if (line 777) | clew/query/_common.py:777 |
| 140 | identity_rowids | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | else (line 780) | clew/query/_common.py:781 |
| 141 | identity_rowids | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | — | clew/query/_common.py:782 |
| 142 | dossier | _selector_from_signature | — | — | if (line 1012), if (line 1014) | clew/query/subject.py:1014 |
| 143 | _selector_from_signature | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | — | clew/query/subject.py:1123 |
| 144 | dossier | _rank_enum_over_mirror | — | — | — | clew/query/subject.py:1016 |
| 145 | _rank_enum_over_mirror | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/subject.py:893 |
| 146 | _rank_enum_over_mirror | _class_side_is_only_enum_mirrors | — | — | — | clew/query/subject.py:894 |
| 147 | _class_side_is_only_enum_mirrors | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/subject.py:839 |
| 148 | _class_side_is_only_enum_mirrors | _derives_from_py_enum | — | — | — | clew/query/subject.py:847 |
| 149 | _derives_from_py_enum | all | Every comment, oldest first, with its status. | REQ-DDB-WIKI-054 | — | clew/query/subject.py:818 |
| 150 | _class_side_is_only_enum_mirrors | all | Every comment, oldest first, with its status. | REQ-DDB-WIKI-054 | — | clew/query/subject.py:847 |
| 151 | dossier | resolve_subject | — | — | — | clew/query/subject.py:1016 |
| 152 | resolve_subject | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/subject.py:367 |
| 153 | dossier | _qualified_reread | — | — | if (line 1021) | clew/query/subject.py:1021 |
| 154 | _qualified_reread | _split_qualified | — | — | — | clew/query/subject.py:1075 |
| 155 | _split_qualified | bare_tail | The bare tail of a qualified name. | REQ-DDB-QUERY-013 | — | clew/query/subject.py:1164 |
| 156 | _split_qualified | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/subject.py:1167 |
| 157 | _split_qualified | identity_rowids | Every memberdef rowid belonging to the SAME function a name resolves to. | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | — | clew/query/subject.py:1170 |
| 158 | _split_qualified | _qualified_suffix_matches | — | — | — | clew/query/subject.py:1172 |
| 159 | _qualified_suffix_matches | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/subject.py:1212 |
| 160 | _qualified_suffix_matches | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | loop (line 1218) | clew/query/subject.py:1219 |
| 161 | _qualified_reread | _rank_enum_over_mirror | — | — | if (line 1078) | clew/query/subject.py:1078 |
| 162 | _qualified_reread | resolve_subject | — | — | if (line 1078) | clew/query/subject.py:1078 |
| 163 | dossier | _chosen_kind | — | — | — | clew/query/subject.py:1022 |
| 164 | dossier | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/subject.py:1025 |
| 165 | dossier | _chain_for | — | — | — | clew/query/subject.py:1040 |
| 166 | _chain_for | chain_trace | D6 unified causal traversal from a seed function. | REQ-DDB-QUERY-002 | — | clew/query/subject.py:941 |
| 167 | chain_trace | _normalize_direction | Normalize a caller-supplied traversal direction to its canonical form. | — | — | clew/query/traversal.py:544 |
| 168 | chain_trace | _identity_chain | Run the identity walk and package it as a Chain. | — | if (line 547) | clew/query/traversal.py:547 |
| 169 | _identity_chain | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/traversal.py:493 |
| 170 | _identity_chain | _identity_walk | The identity-scoped breadth-first walk chain_trace runs when given qualified . | — | — | clew/query/traversal.py:494 |
| 171 | _identity_walk | identity_rowids | Every memberdef rowid belonging to the SAME function a name resolves to. | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | — | clew/query/traversal.py:420 |
| 172 | _identity_walk | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | — | clew/query/traversal.py:423 |
| 173 | _identity_walk | _make_node | Build a ChainNode (reqs + terminus status) for one reached function. | REQ-DDB-QUERY-005 | — | clew/query/traversal.py:426 |
| 174 | _make_node | termini_for | External-boundary termini registered against one memberdef rowid. | REQ-DDB-QUERY-002 | — | clew/query/traversal.py:110 |
| 175 | termini_for | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/traversal.py:74 |
| 176 | _make_node | _reqs_for | Requirement ids linked to one function name. | REQ-DDB-QUERY-005 | — | clew/query/traversal.py:115 |
| 177 | _reqs_for | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/traversal.py:91 |
| 178 | _identity_walk | _identity_call_hops | Non-fuzzy call hops out of / into ONE identity, each neighbour as an identity too. | — | loop (line 429) | clew/query/traversal.py:433 |
| 179 | _identity_call_hops | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/traversal.py:350 |
| 180 | _identity_call_hops | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | — | clew/query/traversal.py:360 |
| 181 | _identity_call_hops | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | loop (line 362) | clew/query/traversal.py:363 |
| 182 | _identity_call_hops | _collapse_variants | Collapse one endpoint's per-layer rows into its strongest evidence. | — | loop (line 368) | clew/query/traversal.py:369 |
| 183 | _collapse_variants | _variant_rank | Sort key ranking one layer's evidence for the same endpoint. | — | — | clew/query/symbols.py:317 |
| 184 | _identity_walk | identity_rowids | Every memberdef rowid belonging to the SAME function a name resolves to. | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | loop (line 429) | clew/query/traversal.py:433 |
| 185 | _identity_walk | _cap_at_depth | Per-depth neighbor cap: halve each level outward, min 1. | REQ-DDB-QUERY-002 | loop (line 429) | clew/query/traversal.py:434 |
| 186 | _identity_walk | _record_identity | Record one identity-walk neighbour: hop, node, and (maybe) enqueue. | — | loop (line 429), loop (line 437) | clew/query/traversal.py:438 |
| 187 | _record_identity | _make_node | Build a ChainNode (reqs + terminus status) for one reached function. | REQ-DDB-QUERY-005 | if (line 471) | clew/query/traversal.py:471 |
| 188 | chain_trace | connect | Yield an open sqlite connection; close it only if we opened it. | REQ-DDB-QUERY-001 | — | clew/query/traversal.py:548 |
| 189 | chain_trace | function_candidates | Version 9: a bodiless row in its own file reports its declaration line, not bodystart = -1 . | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | — | clew/query/traversal.py:549 |
| 190 | chain_trace | candidate_rows | The capped, provenance-carrying Candidate list for one ambiguous name. | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | — | clew/query/traversal.py:553 |
| 191 | candidate_rows | symbol_provenance | The provenance a symbol row should REPORT, or None when it says nothing. | REQ-DDB-INDEX-004 | — | clew/query/_common.py:519 |
| 192 | candidate_rows | qualified_name_of | The QUALIFIED name a bare name + doxygen definition denotes. | REQ-DDB-QUERY-003 | — | clew/query/_common.py:520 |
| 193 | candidate_rows | _one_row_per_declaration | Collapse rows that describe ONE physical declaration into one. | REQ-DDB-QUERY-010 | — | clew/query/_common.py:522 |
| 194 | chain_trace | is_overloaded | True when a name maps to more than one DISTINCT function signature. | REQ-DDB-QUERY-003 | — | clew/query/traversal.py:553 |
| 195 | chain_trace | _make_node | Build a ChainNode (reqs + terminus status) for one reached function. | REQ-DDB-QUERY-005 | — | clew/query/traversal.py:555 |
| 196 | chain_trace | _cap_at_depth | Per-depth neighbor cap: halve each level outward, min 1. | REQ-DDB-QUERY-002 | loop (line 558) | clew/query/traversal.py:562 |
| 197 | chain_trace | _neighbors | All UNION neighbors of one function, deterministically ordered. | REQ-DDB-QUERY-002 | loop (line 558) | clew/query/traversal.py:563 |
| 198 | _neighbors | _call_hops | Non-fuzzy call-graph hops out of / into one function name. | REQ-DDB-QUERY-002 | — | clew/query/traversal.py:223 |
| 199 | _call_hops | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/traversal.py:143 |
| 200 | _call_hops | _collapse_variants | Collapse one endpoint's per-layer rows into its strongest evidence. | — | loop (line 156) | clew/query/traversal.py:157 |
| 201 | _neighbors | _key_hops | Shared-key dataflow hops out of / into one function name. | REQ-DDB-QUERY-002 | — | clew/query/traversal.py:223 |
| 202 | _key_hops | _key_edge_rows | Raw shared-key rows for one focal function in one role. | — | loop (line 191) | clew/query/traversal.py:191 |
| 203 | _key_edge_rows | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/symbols.py:207 |
| 204 | _key_edge_rows | _key_r1_projection | The R1 projection + threads JOIN a database can actually support. | — | — | clew/query/symbols.py:209 |
| 205 | _key_r1_projection | has_columns | True when a table exists AND carries every named column. | REQ-DDB-QUERY-003 | — | clew/query/symbols.py:176 |
| 206 | _key_r1_projection | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/symbols.py:178 |
| 207 | _key_hops | to_bool | Coerce a 0/1/None integer column into a bool|None. | REQ-DDB-QUERY-003 | loop (line 191) | clew/query/traversal.py:208 |
| 208 | _key_hops | to_bool | Coerce a 0/1/None integer column into a bool|None. | REQ-DDB-QUERY-003 | loop (line 191) | clew/query/traversal.py:209 |
| 209 | chain_trace | _expand_neighbor | Record one discovered neighbor: hop, node, and (maybe) enqueue. | — | loop (line 558), loop (line 570) | clew/query/traversal.py:571 |
| 210 | _expand_neighbor | resolve_rowid | Definition-preferring function name→rowid (decl/def duality). | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | — | clew/query/traversal.py:281 |
| 211 | resolve_rowid | table_exists | True when a table exists (partial/mini DBs lack later layers). | REQ-DDB-QUERY-003 | — | clew/query/_common.py:236 |
| 212 | resolve_rowid | function_candidates | Version 9: a bodiless row in its own file reports its declaration line, not bodystart = -1 . | REQ-DDB-QUERY-003 REQ-DDB-QUERY-010 | if (line 239) | clew/query/_common.py:239 |
| 213 | resolve_rowid | _test_scope_term | The ORDER BY fragment that ranks library definitions above test-code ones. | — | — | clew/query/_common.py:243 |
| 214 | _expand_neighbor | _make_node | Build a ChainNode (reqs + terminus status) for one reached function. | REQ-DDB-QUERY-005 | if (line 285) | clew/query/traversal.py:285 |
| 215 | subject_payload | _flatten_subject | Flatten a SubjectDossier to the wire shape: envelope keys plus the one section. | — | — | clew/query/export.py:153 |
| 216 | dossier | db | The database path this call reads. | REQ-DDB-MCP-003 | — | clew/mcp_server/tools_query.py:1720 |
| 217 | dossier | _repo_or_none | The working tree for this call, or None when there isn't one. | — | — | clew/mcp_server/tools_query.py:1724 |
| 218 | dossier | _answered | Stamp a reply with the target it came from, making a miss self-describing. | — | — | clew/mcp_server/tools_query.py:1733 |
| 219 | dossier | _budgeted_dossier | Trim a serialized dossier's nested lists to the response budget. | — | — | clew/mcp_server/tools_query.py:1734 |
| 220 | _budgeted_dossier | _shrink_to_budget | Spend chain DEPTH, then halve the largest list, until the payload fits. | — | — | clew/mcp_server/tools_query.py:858 |
| 221 | _budgeted_dossier | prune_absent_keys | Drop named ENVELOPE keys that carry nothing, in place. | REQ-DDB-QUERY-001 | — | clew/mcp_server/tools_query.py:891 |
| 222 | _budgeted_dossier | … 1 not run | — | — | — | — |
| 223 | dossier | _capped_neighbors | A dossier with its depth-1 callers and callees capped at cap , each cut disclosed. | — | — | clew/mcp_server/tools_query.py:1734 |
| 224 | _capped_neighbors | _limited_block | Build the _limited disclosure for one trimmed field. | — | loop (line 620) | clew/mcp_server/tools_query.py:625 |
| 225 | dossier | _wire_shape | Apply the compact neighbour shape when the server was asked for it. | REQ-DDB-QUERY-014 | — | clew/mcp_server/tools_query.py:1734 |
| 226 | dossier | _with_wiki_url | Add the hub URL of a found function's symbol section, while the hub runs. | — | — | clew/mcp_server/tools_query.py:1740 |
Imported trace build/traces/dossier.json: 69 of 226 predicted steps confirmed; the rest are dimmed.
137 discovered calls not in the flow
_is_function→function_candidatesresolve_subject→_is_function_is_macro→macro_definitions_connresolve_subject→_is_macro_is_lock→table_existsresolve_subject→_is_lock_is_thread→table_existsresolve_subject→_is_thread_is_compound→table_existsresolve_subject→_is_compound_variable_rows→table_exists_variable_rows→has_columnsresolve_subject→_variable_rows_enum_row→has_columnsresolve_subject→_enum_row_declaring_enum→has_columnsresolve_subject→_declaring_enum_is_requirement→table_existsresolve_subject→_is_requirement_is_config→table_existsresolve_subject→_is_configis_indexed_file→table_exists_one_file_clause→has_columnsis_indexed_file→_one_file_clauseresolve_subject→is_indexed_filedossier→function_args_dossier_conn→macro_definitions_conn_dossier_conn→function_candidatesline_column→has_columns_body_extent→line_column_body_extent→start_linebody_excerpt→_body_extent_read_body→_slicebody_excerpt→_read_bodybody_excerpt→_anchored_anchored_pick→body_excerpt_dossier_conn→_anchored_pick_identity→line_column_identity→strip_xml_identity→extract_version_identity→capped_detail_identity→start_line_dossier_conn→_identity_reqs_and_tests→table_existstest_name_sql→has_columns_reqs_and_tests→test_name_sql_dossier_conn→_reqs_and_tests_dossier_conn→termini_for_dossier_conn→identity_rowids_body_and_external→body_excerpt_ts_language_for→_grammar_available_try_import_ts_module→__init___ts_language_for→_try_import_ts_module_ast_parse_one_file→_ts_language_for_cached_parser→_try_import_ts_module_cached_parser→__init___ast_parse_one_file→_cached_parser_parseable_file→binary_file_ast_parse_one_file→_parseable_file_ast_parse_one_file→parse_harvest_file→_ast_parse_one_file_ast_harvest_calls→is_python_tree_ast_harvest_calls→is_js_tree_ast_harvest_calls→_callee_name_node_ast_harvest_calls→_qualifier_text_ast_harvest_calls→_receiver_tail_ast_harvest_calls→_local_receiver_class_ast_harvest_calls→_construction_type_ast_harvest_calls→_call_argc_harvest_file→_ast_harvest_callsexternal_callees→_harvest_fileexternal_callees→_ts_language_forexternal_callees→_reportableexternal_callees→_by_nameexternal_callees→_unindexed_body_and_external→external_callees_dossier_conn→_body_and_external_dossier_conn→is_overloaded_dossier_conn→gates_covering_liveness→table_exists_dossier_conn→_liveness_dossier_conn→symbol_provenance_declaration_sites→has_columns_dossier_conn→_declaration_sitesgeneration_rule→table_existsgeneration_rule→has_columns_dossier_conn→generation_rulefile_owners→table_exists_dossier_conn→file_ownersfile_license→table_exists_dossier_conn→file_licensesame_key_sites→table_exists_dossier_conn→same_key_sitesthreads_for→table_exists_thread_columns→has_columnsthreads_for→_thread_columnsthreads_for_rowids→threads_for_dossier_conn→threads_for_rowids_direct_call_edges→table_exists_direct_call_edges→identity_rowids_direct_call_edges→has_columns_direct_call_edges→qualified_name_of_direct_call_edges→_macros_by_identity_implementors_by_identity→table_exists_implementors_by_identity→qualified_name_of_direct_call_edges→_implementors_by_identity_endpoint_identities→qualified_name_of_direct_call_edges→_endpoint_identities_direct_call_edges→_collapse_variants_call_edges→_direct_call_edges_dossier_conn→_call_edgeskey_edges→_key_edge_rowskey_edges→resolve_rowidkey_edges→to_bool_dossier_conn→key_edgesoverrides_of→connect_override_refs→table_exists_override_refs→identity_rowidsoverrides_of→_override_refs_dossier_conn→overrides_ofoverridden_by→connectoverridden_by→_override_refs_dossier_conn→overridden_by_layer_present→table_existssections_for_rowids→_layer_present_dossier_conn→sections_for_rowidslocks_held_for_rowids→_layer_present_dossier_conn→locks_held_for_rowidscontext_conflicts_for_rowids→_context_layer_present_dossier_conn→context_conflicts_for_rowidscontext_undecidable_for_rowids→_context_layer_present_dossier_conn→context_undecidable_for_rowids_dossier_conn→_macro_collisionunresolved_inbound_for_rowids→table_exists_dossier_conn→unresolved_inbound_for_rowidsdossier→_dossier_conn_flatten_subject→section
Functions¶
131 functions
_eventsclew/mcp_server/comments.py_publicclew/mcp_server/comments.pyallclew/mcp_server/comments.py_answeredclew/mcp_server/tools_query.py_batched_dossiersclew/mcp_server/tools_query.py_bounded_namesclew/mcp_server/tools_query.py_budget_batchclew/mcp_server/tools_query.py_budgeted_dossierclew/mcp_server/tools_query.py_capped_neighborsclew/mcp_server/tools_query.py_defaultclew/mcp_server/tools_query.py_fair_sharesclew/mcp_server/tools_query.py_limited_blockclew/mcp_server/tools_query.py_recovery_forclew/mcp_server/tools_query.py_repo_or_noneclew/mcp_server/tools_query.py_routeclew/mcp_server/tools_query.py_scope_definitiveclew/mcp_server/tools_query.py_scope_hitclew/mcp_server/tools_query.py_shrink_to_budgetclew/mcp_server/tools_query.py_stalenessclew/mcp_server/tools_query.py_staleness_within_budgetclew/mcp_server/tools_query.py_step_chain_depthclew/mcp_server/tools_query.py_target_nameclew/mcp_server/tools_query.py_unresolved_forclew/mcp_server/tools_query.py_wire_shapeclew/mcp_server/tools_query.py_with_wiki_urlclew/mcp_server/tools_query.py_withdraw_definitiveclew/mcp_server/tools_query.pydbclew/mcp_server/tools_query.pydossierclew/mcp_server/tools_query.pyrepoclew/mcp_server/tools_query.py_ends_at_boundaryclew/query/_common.py_one_row_per_declarationclew/query/_common.py_test_scope_termclew/query/_common.pycandidate_rowsclew/query/_common.pyconnectclew/query/_common.pydecided_defaultclew/query/_common.pyfunction_candidatesclew/query/_common.pyhas_columnsclew/query/_common.pyidentity_rowidsclew/query/_common.pyis_overloadedclew/query/_common.pyis_shipped_configclew/query/_common.pymatching_identityclew/query/_common.pyqualified_name_ofclew/query/_common.pyrecords_provenanceclew/query/_common.pyresolve_rowidclew/query/_common.pyresolve_selectorclew/query/_common.pystrip_xmlclew/query/_common.pysymbol_provenanceclew/query/_common.pytable_existsclew/query/_common.pyto_boolclew/query/_common.pybatch_payloadclew/query/export.pysubject_payloadclew/query/export.py_defaults_for_macrosclew/query/kconfig.py_gate_columnsclew/query/kconfig.py_in_default_buildclew/query/kconfig.py_with_defaultsclew/query/kconfig.pygates_coveringclew/query/kconfig.py_macro_defclew/query/macros.py_macro_paramsclew/query/macros.py_referenced_byclew/query/macros.pymacro_definitionsclew/query/macros.pymacro_definitions_connclew/query/macros.py_accepted_batchclew/query/payload.py_ambiguity_blockclew/query/payload.py_batch_missclew/query/payload.py_candidates_cappedclew/query/payload.py_compact_gate_panelclew/query/payload.py_config_found_on_the_wireclew/query/payload.py_constructor_noteclew/query/payload.py_distinct_identitiesclew/query/payload.py_edge_defaultsclew/query/payload.py_empty_callers_noteclew/query/payload.py_flatten_subjectclew/query/payload.py_gate_definition_gapsclew/query/payload.py_gate_definitionsclew/query/payload.py_groupedclew/query/payload.py_hoist_build_wideclew/query/payload.py_kind_limitation_clauseclew/query/payload.py_refusal_noteclew/query/payload.py_uncarried_sentencesclew/query/payload.pycompact_docsclew/query/payload.pycompact_neighboursclew/query/payload.pydisclose_overflowclew/query/payload.py_documentation_mentionsclew/query/recovery.py_hint_fromclew/query/recovery.py_indexed_pathclew/query/recovery.py_name_existsclew/query/recovery.py_qualified_formsclew/query/recovery.pybare_tailclew/query/recovery.pylooks_like_pathclew/query/recovery.pyrecovery_hintclew/query/recovery.py_chain_forclew/query/subject.py_chosen_kindclew/query/subject.py_class_side_is_only_enum_mirrorsclew/query/subject.py_derives_from_py_enumclew/query/subject.py_qualified_rereadclew/query/subject.py_qualified_suffix_matchesclew/query/subject.py_rank_enum_over_mirrorclew/query/subject.py_selector_from_signatureclew/query/subject.py_split_qualifiedclew/query/subject.pydossierclew/query/subject.pydossiersclew/query/subject.pyresolve_subjectclew/query/subject.pyunresolved_kindsclew/query/subject.py_ambiguity_countsclew/query/symbols.py_collapse_variantsclew/query/symbols.py_key_edge_rowsclew/query/symbols.py_key_r1_projectionclew/query/symbols.py_variant_rankclew/query/symbols.pyname_ambiguityclew/query/symbols.py_call_hopsclew/query/traversal.py_cap_at_depthclew/query/traversal.py_expand_neighborclew/query/traversal.py_identity_call_hopsclew/query/traversal.py_identity_chainclew/query/traversal.py_identity_walkclew/query/traversal.py_key_hopsclew/query/traversal.py_make_nodeclew/query/traversal.py_neighborsclew/query/traversal.py_normalize_directionclew/query/traversal.py_record_identityclew/query/traversal.py_reqs_forclew/query/traversal.pychain_traceclew/query/traversal.pytermini_forclew/query/traversal.pylinkclew/wiki/themes/clew/static/web.jslistclew/wiki/themes/clew/static/web.js_absentclew/wire.py_listedclew/wire.py_prune_rowsclew/wire.py_pruned_rowclew/wire.pyoneclew/wire.pyprune_absent_keysclew/wire.py
This diagram as Mermaid · PlantUML · Graphviz DOT
Quick views¶
131 functions, each with its quick view
- _events
The log's events, in order; an unreadable line is skipped.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/comments.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _public
A stored event's public fields.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/comments.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- all
Every comment, oldest first, with its status.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/comments.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _answered
Stamp a reply with the target it came from, making a miss self-describing.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _batched_dossiers
Dossiers for several subjects in ONE reply, sharing one response budget.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _bounded_names
A name list capped for a reply, with the overflow counted in a final entry.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _budget_batch
Trim a batch of serialized dossiers to ONE shared response budget.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- _budgeted_dossier
Trim a serialized dossier's nested lists to the response budget.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _capped_neighbors
A dossier with its depth-1 callers and callees capped at cap , each cut disclosed.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _default
The default target's routing record, or None when it cannot be resolved.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _fair_shares
Divide a byte budget between payloads so no one of them starves.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _limited_block
Build the _limited disclosure for one trimmed field.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- _recovery_for
What to try instead, for a subject this index could not answer.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _repo_or_none
The working tree for this call, or None when there isn't one.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _route
Resolve an explicit per-call target, refusing when this set cannot route.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _scope_definitive
Withdraw a definitive negative that was answered from one part of a split repository.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _scope_hit
Say that a hit's unresolved call sites may resolve in a part this answer did not read.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _shrink_to_budget
Spend chain DEPTH, then halve the largest list, until the payload fits.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- _staleness
The staleness axes to attach to this reply, sized to fit.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _staleness_within_budget
Fit a staleness block into whatever budget the payload left.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _step_chain_depth
Drop the outermost ring of a payload's causal chain, if it has one.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _target_name
The repository this reply answered from, for attribution.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _unresolved_for
Unsupported kinds this index holds for a name that failed to resolve.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _wire_shape
Apply the compact neighbour shape when the server was asked for it.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _with_wiki_url
Add the hub URL of a found function's symbol section, while the hub runs.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _withdraw_definitive
Withdraw an unearned definitive-negative claim when the index is schema-stale.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
test_a_data_stale_subject_miss_withdraws_the_definitive_claimtest_a_definitive_empty_is_withdrawn_on_a_partial_indextest_a_definitive_negative_is_withdrawn_while_layers_are_derived_staletest_data_staleness_does_not_hedge_an_empty_row_listtest_schema_staleness_still_withdraws_with_the_missing_layer_wording
Reqs
- db
The database path this call reads.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- dossier
Full multi-layer dossier for one subject of ANY kind, or for several at once.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- repo
The working-tree root this call reads source from.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/tools_query.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _ends_at_boundary
Whether a qualified name ends with a suffix at a separator boundary (or equals it).
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _one_row_per_declaration
Collapse rows that describe ONE physical declaration into one.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _test_scope_term
The ORDER BY fragment that ranks library definitions above test-code ones.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- candidate_rows
The capped, provenance-carrying Candidate list for one ambiguous name.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- connect
Yield an open sqlite connection; close it only if we opened it.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- decided_default
The default state one macro's config rows decide, with the site that decides it.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- function_candidates
Version 9: a bodiless row in its own file reports its declaration line, not bodystart = -1 .
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- has_columns
True when a table exists AND carries every named column.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- identity_rowids
Every memberdef rowid belonging to the SAME function a name resolves to.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- is_overloaded
True when a name maps to more than one DISTINCT function signature.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- is_shipped_config
Whether a config-header path is the repository's own shipped default.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- matching_identity
Keep only the candidate rows whose IDENTITY is the named qualified one.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- qualified_name_of
The QUALIFIED name a bare name + doxygen definition denotes.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- records_provenance
Whether this index records where its memberdef rows came from.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- resolve_rowid
Definition-preferring function name→rowid (decl/def duality).
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- resolve_selector
The full qualified name a selector names among a bare name's identities.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- strip_xml
Strip doxygen's XML-ish markup from a description column.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- symbol_provenance
The provenance a symbol row should REPORT, or None when it says nothing.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- table_exists
True when a table exists (partial/mini DBs lack later layers).
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- to_bool
Coerce a 0/1/None integer column into a bool|None.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/_common.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- batch_payload
The batch envelope for several subjects, before any boundary trimming.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/export.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- subject_payload
The flat payload for one subject, before any boundary trimming.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/export.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _defaults_for_macros
Read config_defaults rows for a macro list, in bounded chunks.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/kconfig.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _gate_columns
The SELECT list that builds a KconfigGate positionally.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/kconfig.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _in_default_build
Whether a gate's guarded code is in the default build.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/kconfig.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _with_defaults
Attach each gating macro's shipped default to its gate.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/kconfig.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- gates_covering
The configuration gates whose branch covers one source line.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/kconfig.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _macro_def
Build one MacroDef from a selected row, adding its parameters and gates.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/macros.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _macro_params
The parameter list of one function-like macro, as it is written.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/macros.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _referenced_by
Names doxygen recorded as referencing one macro-definition row.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/macros.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- macro_definitions
Every #define of one name, opening the database itself.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/macros.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- macro_definitions_conn
Every #define of one name, with expansion, parameters, location and gating branch.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/macros.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _accepted_batch
Validate and normalise a batch request: de-duplicate, split off what is over the cap.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _ambiguity_block
The same-name ambiguity behind a function subject's neighbour lists, or None.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _batch_miss
The reply for a batched name that resolves to nothing.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _candidates_capped
Disclose that the candidate list hit its cap, and how many identities really exist.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- _compact_gate_panel
State a gate panel's invariant fields once instead of once per row.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _config_found_on_the_wire
Re-key a config payload so found means what it means everywhere else.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _constructor_note
Note for an empty caller list on a name that is also a class.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _distinct_identities
How many distinct function identities a bare name really has.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- _edge_defaults
The value of each defaultable field that every row carries and at least two share.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _empty_callers_note
Warn when an empty callers is a modelling gap rather than a real absence.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _flatten_subject
Flatten a SubjectDossier to the wire shape: envelope keys plus the one section.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _gate_definition_gaps
Disclose which gate symbols were not resolved, and why each was not.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _gate_definitions
Resolve the symbols a payload's gated_by rows NAME to where they are defined.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- _grouped
One neighbour list grouped by file, defaults removed from its rows.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _hoist_build_wide
Move build-wide fields out of every batch entry and onto the envelope, once.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _kind_limitation_clause
The clause that turns a bare miss into a KIND limitation when it is one.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _refusal_note
Note for an empty caller list the build recorded refusals against.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _uncarried_sentences
The sentences of a text that a body does not carry, or None when it carries none.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- compact_docs
v2 (1.4.0 grid): never when the served body is truncated, and only the sentences that occur in order in the served body are dropped — a word-overlap test dropped text the agent never saw.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- compact_neighbours
Group neighbour rows by file and state each reply's common field values once.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- disclose_overflow
Name the subjects an over-cap batch did not answer.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/payload.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _documentation_mentions
Whether any documentation text in this index mentions a name.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/recovery.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _hint_from
Build the hint from an open connection.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/recovery.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _indexed_path
Find a file in the index whose path matches a path-shaped subject.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/recovery.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _name_exists
Whether a bare name resolves to any row.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/recovery.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _qualified_forms
Qualified names in the index whose bare tail equals a name.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/recovery.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- bare_tail
The bare tail of a qualified name.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/recovery.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- looks_like_path
Whether a subject string looks like a file rather than a symbol.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/recovery.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- recovery_hint
What to try instead, for a subject this index could not answer.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/recovery.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _chain_for
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _chosen_kind
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _class_side_is_only_enum_mirrors
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _derives_from_py_enum
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _qualified_reread
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _qualified_suffix_matches
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _rank_enum_over_mirror
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _selector_from_signature
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _split_qualified
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- dossier
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- dossiers
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- resolve_subject
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- unresolved_kinds
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/subject.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- _ambiguity_counts
Distinct same-named signatures, and how many neighbours arrive through the name.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/symbols.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _collapse_variants
Collapse one endpoint's per-layer rows into its strongest evidence.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/symbols.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _key_edge_rows
Raw shared-key rows for one focal function in one role.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/symbols.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _key_r1_projection
The R1 projection + threads JOIN a database can actually support.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/symbols.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _variant_rank
Sort key ranking one layer's evidence for the same endpoint.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/symbols.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- name_ambiguity
The name-ambiguity behind one function's neighbour list, or None when clean.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/symbols.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _call_hops
Non-fuzzy call-graph hops out of / into one function name.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _cap_at_depth
Per-depth neighbor cap: halve each level outward, min 1.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _expand_neighbor
Record one discovered neighbor: hop, node, and (maybe) enqueue.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _identity_call_hops
Non-fuzzy call hops out of / into ONE identity, each neighbour as an identity too.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _identity_chain
Run the identity walk and package it as a Chain.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _identity_walk
The identity-scoped breadth-first walk chain_trace runs when given qualified .
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _key_hops
Shared-key dataflow hops out of / into one function name.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _make_node
Build a ChainNode (reqs + terminus status) for one reached function.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- _neighbors
All UNION neighbors of one function, deterministically ordered.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- _normalize_direction
Normalize a caller-supplied traversal direction to its canonical form.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _record_identity
Record one identity-walk neighbour: hop, node, and (maybe) enqueue.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _reqs_for
Requirement ids linked to one function name.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- chain_trace
D6 unified causal traversal from a seed function.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- termini_for
External-boundary termini registered against one memberdef rowid.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/query/traversal.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
- link
Map
Show it on the map, in its block's wedge.
Block
Wiki: this site is the block holding
clew/wiki/themes/clew/static/web.js.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- list
Map
Show it on the map, in its block's wedge.
Block
Wiki: this site is the block holding
clew/wiki/themes/clew/static/web.js.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
No requirement names this function as an implementer.
- _absent
True when a value carries nothing a consumer could read.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/wire.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _listed
asdict dict_factory that turns tuple-valued fields into lists.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/wire.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _prune_rows
Prune absent fields from ROWS (dicts inside a list), leaving the envelope whole.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/wire.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- _pruned_row
One row with its absent fields removed, recursing into nested rows.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/wire.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- one
Serialize one R2 dataclass (an ENVELOPE) to its JSON wire form.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/wire.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- prune_absent_keys
Drop named ENVELOPE keys that carry nothing, in place.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/wire.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs