main (scripts/sync_metadata.py)¶
Overview · 10 steps, 4 lanes
All 10 steps
| # | caller | callee | what it does | requirements | frames | call site |
|---|---|---|---|---|---|---|
| 1 | main | clause | The generated clause: what is harvested, and what is only named. | — | — | scripts/sync_metadata.py:180 |
| 2 | clause | harvested_phrase | The harvested languages as one human-readable clause. | — | — | scripts/sync_metadata.py:68 |
| 3 | clause | registered_phrase | The registered-but-unharvested types as one human-readable clause. | — | — | scripts/sync_metadata.py:69 |
| 4 | main | support_table | The language support table, as markdown. | — | — | scripts/sync_metadata.py:181 |
| 5 | main | tools_clause | Build the tool clause. | — | — | scripts/sync_metadata.py:189 |
| 6 | tools_clause | load_descriptions | Every description declared for one tier, in registration order. | REQ-DDB-MCP-001 | — | scripts/sync_metadata.py:158 |
| 7 | tools_clause | list | — | — | — | scripts/sync_metadata.py:159 |
| 8 | tools_clause | load_descriptions | Every description declared for one tier, in registration order. | REQ-DDB-MCP-001 | — | scripts/sync_metadata.py:159 |
| 9 | main | replace_span | Replace a marker-delimited span in one file. | — | loop (line 197) | scripts/sync_metadata.py:198 |
| 10 | main | replace_json_description | Rewrite the description of a JSON manifest's own plugin entry. | — | loop (line 206) | scripts/sync_metadata.py:207 |
Functions¶
10 functions
harvested_phraseclew/languages.pyregistered_phraseclew/languages.pysupport_tableclew/languages.pyload_descriptionsclew/mcp_server/descriptions.pylistclew/wiki/themes/clew/static/web.jsclausescripts/sync_metadata.pymainscripts/sync_metadata.pyreplace_json_descriptionscripts/sync_metadata.pyreplace_spanscripts/sync_metadata.pytools_clausescripts/sync_metadata.py
This diagram as Mermaid · PlantUML · Graphviz DOT
Quick views¶
10 functions, each with its quick view
- harvested_phrase
The harvested languages as one human-readable clause.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/languages.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.
- registered_phrase
The registered-but-unharvested types as one human-readable clause.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/languages.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.
- support_table
The language support table, as markdown.
Map
Show it on the map, in its block's wedge.
Block
Build: orchestration is the block holding
clew/languages.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.
- load_descriptions
Every description declared for one tier, in registration order.
Map
Show it on the map, in its block's wedge.
Block
Answer: query engine + MCP server is the block holding
clew/mcp_server/descriptions.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
Reqs
- 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.
- clause
The generated clause: what is harvested, and what is only named.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/sync_metadata.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.
- main
Regenerate every derived metadata span.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/sync_metadata.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.
- replace_json_description
Rewrite the description of a JSON manifest's own plugin entry.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/sync_metadata.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.
- replace_span
Replace a marker-delimited span in one file.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/sync_metadata.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.
- tools_clause
Build the tool clause.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/sync_metadata.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.