main (scripts/stage_probe.py)

Overview · 37 steps, 7 lanes

  1. steps 1–35 · scripts/stage_probe.py, clew/mcp_server/state.py, clew/query/_common.py +4
  2. step 37 · scripts/stage_probe.py
  3. step 37 · scripts/stage_probe.py
program launcherprogram launcherprogram launcherprogram launcherprogram launcherscripts/stage_probe.pyscripts/stage_probe.pyscripts/stage_probe.pyscripts/stage_probe.pyscripts/stage_probe.pyclew/mcp_server/state.pyclew/mcp_server/state.pyclew/mcp_server/state.pyclew/mcp_server/state.pyclew/mcp_server/state.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/query/_common.pyclew/tiers.pyclew/tiers.pyclew/tiers.pyclew/tiers.pyclew/tiers.pyclew/signature.pyclew/signature.pyclew/signature.pyclew/signature.pyclew/signature.pyclew/wiki/themes/clew/static/web.jsclew/wiki/themes/clew/static/web.jsclew/wiki/themes/clew/static/web.jsclew/wiki/themes/clew/static/web.jsclew/wiki/themes/clew/static/web.jsclew/mcp_server/freshness.pyclew/mcp_server/freshness.pyclew/mcp_server/freshness.pyclew/mcp_server/freshness.pyclew/mcp_server/freshness.pyloop ×2 (line 143)loop ×2main1. main → db_status1db_status2–3. db_status → _options_meta2_options_meta +1 more4. _meta_section → meta_section4meta_section5. db_status → stated_options5stated_options6. db_status → read_build_signature6read_build_signature7–15. db_status → _source_drift7_source_drift +8 more16. db_status → list16list17. list → link17link18–21. db_status → _diagnostics_meta18_diagnostics_meta +3 more22. db_status → code_identity22code_identity23–25. code_identity → source_fingerprint23source_fingerprint +2 more26. db_status → notices26notices27–35. notices → code_identity27code_identity +8 more36–37. main → _counts36_counts ×2
All 37 steps
#callercalleewhat it doesrequirementscall site
1maindb_statusFreshness/identity report for one target's database.
4 requirementsREQ-DDB-CONFIG-006 REQ-DDB-CONFIG-007 REQ-DDB-MCP-001 REQ-DDB-MCP-004
scripts/stage_probe.py:121
2db_status_options_metaWhich precedence tier chose each layered setting this index was built with.REQ-DDB-CONFIG-006clew/mcp_server/state.py:1181
3_options_meta_meta_sectionOne namespaced build_meta section, read without its key prefix.REQ-DDB-MCP-001clew/mcp_server/state.py:1062
4_meta_sectionmeta_sectionOne namespaced build_meta section, read without its key prefix.REQ-DDB-MCP-001clew/mcp_server/state.py:916
5db_statusstated_optionsWhich options the index carries an operator's own statement for.REQ-DDB-CONFIG-006clew/mcp_server/state.py:1182
6db_statusread_build_signatureRead the build version stamped into a DB, or None if absent/unreadable.REQ-DDB-PIPE-005clew/mcp_server/state.py:1183
7db_status_source_driftCount indexed source files modified since the database was built.—clew/mcp_server/state.py:1185
8db_status_meta_sectionOne namespaced build_meta section, read without its key prefix.REQ-DDB-MCP-001clew/mcp_server/state.py:1189
9db_status_bounded_scope_metaBound the stored scope strings a status reply carries.—clew/mcp_server/state.py:1207
10db_status_scope_metaThe scope decision recorded at build time, if any.REQ-DDB-MCP-001clew/mcp_server/state.py:1207
11_scope_meta_meta_sectionOne namespaced build_meta section, read without its key prefix.REQ-DDB-MCP-001clew/mcp_server/state.py:936
12db_status_coverage_metaThe index-coverage measurement recorded at build time, if any.REQ-DDB-INDEX-003clew/mcp_server/state.py:1209
13_coverage_meta_meta_sectionOne namespaced build_meta section, read without its key prefix.REQ-DDB-MCP-001clew/mcp_server/state.py:1009
14db_status_refresh_metaWhat the last refresh of this index actually cost, if it was measured.REQ-DDB-MCP-004clew/mcp_server/state.py:1213
15_refresh_meta_meta_sectionOne namespaced build_meta section, read without its key prefix.REQ-DDB-MCP-001clew/mcp_server/state.py:1037
16db_statuslist——clew/mcp_server/state.py:1222
17listlink——clew/wiki/themes/clew/static/web.js:85
18db_status_diagnostics_metaWhat the build searched for and did NOT find, counts included when they are zero.REQ-DDB-CONFIG-007clew/mcp_server/state.py:1226
19_diagnostics_meta_meta_sectionOne namespaced build_meta section, read without its key prefix.REQ-DDB-MCP-001clew/mcp_server/state.py:1091
20db_status_data_model_metaThe generated data model the repository declares, and what was declined.REQ-DDB-CONFIG-007clew/mcp_server/state.py:1234
21_data_model_meta_meta_sectionOne namespaced build_meta section, read without its key prefix.REQ-DDB-MCP-001clew/mcp_server/state.py:1129
22db_statuscode_identityThe code identity the process is actually running.REQ-DDB-MCP-004clew/mcp_server/state.py:1237
23code_identitysource_fingerprintFingerprint the package source's identity on disk.REQ-DDB-MCP-004clew/mcp_server/freshness.py:244
24source_fingerprintpackage_source_rootThe installed package's source directory.—clew/mcp_server/freshness.py:168
25code_identitypackage_versionThe package version this process is running.—clew/mcp_server/freshness.py:247
26db_statusnoticesEvery staleness axis currently in play, with the action that clears it.REQ-DDB-MCP-004clew/mcp_server/state.py:1239
27noticescode_identityThe code identity the process is actually running.REQ-DDB-MCP-004clew/mcp_server/freshness.py:669
28notices_data_noticeThe data-axis notice, when the sources have drifted.—clew/mcp_server/freshness.py:671
29_data_notice_cost_clauseHuman phrasing for what a refresh of this target last cost.—clew/mcp_server/freshness.py:405
30_cost_clause_humanise_msSpell a millisecond count the way a reader would say it.—clew/mcp_server/freshness.py:325
31_cost_clause_dominant_clauseName the stage that dominated a refresh, from that refresh's own timings.—clew/mcp_server/freshness.py:342
32notices_schema_noticeThe schema-axis notice, when the stamped and expected versions disagree.—clew/mcp_server/freshness.py:672
33notices_partial_noticeThe partial-index notice, when doxygen failed and the C/C++ layer is missing.—clew/mcp_server/freshness.py:673
34notices_derived_noticeThe derived-axis notice, while a fast in-place refresh awaits its full refresh.—clew/mcp_server/freshness.py:674
35notices_code_noticeThe code-axis notice, when the source moved under a running process.—clew/mcp_server/freshness.py:675
36main_countsCount the rows of interest for a stage, before and after.—scripts/stage_probe.py:143
37main_countsCount the rows of interest for a stage, before and after.—scripts/stage_probe.py:151

Functions

30 functions

This diagram as Mermaid · PlantUML · Graphviz DOT

Quick views

30 functions, each with its quick view