ambitgraph 0.9.7__tar.gz → 0.9.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. {ambitgraph-0.9.7/ambitgraph.egg-info → ambitgraph-0.9.8}/PKG-INFO +1 -1
  2. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_contracts/edge.py +2 -2
  3. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/orchestrate.py +2 -2
  4. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/registry.py +17 -17
  5. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/cli.py +1 -1
  6. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/docs_discovery.py +1 -1
  7. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/families.py +1 -1
  8. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/feeds.py +1 -1
  9. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/__init__.py +8 -8
  10. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/classdiagram.js +2 -2
  11. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/insideview.js +1 -1
  12. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/library.js +29 -29
  13. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/next_embed.css +2 -2
  14. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/wholemap.js +3 -3
  15. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/portal.py +87 -87
  16. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/report.py +3 -3
  17. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/shell.py +722 -718
  18. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/symbols.py +26 -24
  19. {ambitgraph-0.9.7 → ambitgraph-0.9.8/ambitgraph.egg-info}/PKG-INFO +1 -1
  20. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/pyproject.toml +1 -1
  21. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/LICENSE +0 -0
  22. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/MANIFEST.in +0 -0
  23. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/README.md +0 -0
  24. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_contracts/__init__.py +0 -0
  25. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_contracts/envelope.py +0 -0
  26. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_contracts/fields.py +0 -0
  27. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_contracts/grant.py +0 -0
  28. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_contracts/household.py +0 -0
  29. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/__init__.py +0 -0
  30. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/__main__.py +0 -0
  31. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/ambit-map-enrich.md +0 -0
  32. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/ambit-mapllm-contract.md +0 -0
  33. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/assistant.py +0 -0
  34. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/cli.py +0 -0
  35. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/daemon.py +0 -0
  36. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/dialects/__init__.py +0 -0
  37. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/dialects/contract.py +0 -0
  38. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/dialects/express_pack.py +0 -0
  39. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/dialects/fastapi_pack.py +0 -0
  40. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/dialects/flask_pack.py +0 -0
  41. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/dialects/nextjs_pack.py +0 -0
  42. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/dialects/supabase_pack.py +0 -0
  43. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/langmirror.py +0 -0
  44. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/load.py +0 -0
  45. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/mapllm.py +0 -0
  46. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/model.py +0 -0
  47. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_map/serve.py +0 -0
  48. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_telegraph/__init__.py +0 -0
  49. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_telegraph/cli.py +0 -0
  50. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_telegraph/export.py +0 -0
  51. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_telegraph/ledger.py +0 -0
  52. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_telegraph/responsibility.py +0 -0
  53. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambit_telegraph/store.py +0 -0
  54. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/WALKTHROUGH.md +0 -0
  55. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/__init__.py +0 -0
  56. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/__main__.py +0 -0
  57. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/_delimited.py +0 -0
  58. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/architecture.py +0 -0
  59. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/cockpit.py +0 -0
  60. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/codelib.py +0 -0
  61. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/config.py +0 -0
  62. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/console.py +0 -0
  63. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/demo.py +0 -0
  64. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/design_tokens.py +0 -0
  65. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/doctor.py +0 -0
  66. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/duplication.py +0 -0
  67. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/edges.py +0 -0
  68. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/emit.py +0 -0
  69. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/engine_identity.py +0 -0
  70. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/estimate.py +0 -0
  71. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/eval.py +0 -0
  72. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/explain.py +0 -0
  73. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/explain_stage.py +0 -0
  74. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/gate.py +0 -0
  75. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/gate_check.py +0 -0
  76. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/gate_server.py +0 -0
  77. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/harvest.py +0 -0
  78. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/html_safe.py +0 -0
  79. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/inventory.py +0 -0
  80. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/jscalls.py +0 -0
  81. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/jsobjects.py +0 -0
  82. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/jsonlines.py +0 -0
  83. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/langs.py +0 -0
  84. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/mds.py +0 -0
  85. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/merge.py +0 -0
  86. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/merge_jsp.py +0 -0
  87. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/objects.py +0 -0
  88. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/_init_js.py +0 -0
  89. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/charts.js +0 -0
  90. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/escape.js +0 -0
  91. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/filterpanel.js +0 -0
  92. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/graph.js +0 -0
  93. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/objectcard.js +0 -0
  94. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/paths.js +0 -0
  95. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/search.js +0 -0
  96. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/siderail.js +0 -0
  97. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/omniscient_next/standalone.py +0 -0
  98. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/parameterize.py +0 -0
  99. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/pipeline.py +0 -0
  100. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/prompts.py +0 -0
  101. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/pycalls.py +0 -0
  102. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/pyshapes.py +0 -0
  103. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/ratify.py +0 -0
  104. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/reports.py +0 -0
  105. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/responsibility.py +0 -0
  106. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/sample.py +0 -0
  107. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/secretary.py +0 -0
  108. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/stages.py +0 -0
  109. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/tables.py +0 -0
  110. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/tasks.py +0 -0
  111. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/text_capture.py +0 -0
  112. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph/urcode.py +0 -0
  113. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph.egg-info/SOURCES.txt +0 -0
  114. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph.egg-info/dependency_links.txt +0 -0
  115. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph.egg-info/entry_points.txt +0 -0
  116. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph.egg-info/requires.txt +0 -0
  117. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/ambitgraph.egg-info/top_level.txt +0 -0
  118. {ambitgraph-0.9.7 → ambitgraph-0.9.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ambitgraph
3
- Version: 0.9.7
3
+ Version: 0.9.8
4
4
  Summary: Read-only codebase scan: reusable units, families, roles, ownership candidates, duplication.
5
5
  Author: AmbitGraph
6
6
  License-Expression: Apache-2.0
@@ -122,8 +122,8 @@ def edge_key(edge_kind, seat_a, seat_b) -> tuple:
122
122
 
123
123
 
124
124
  def edge_state(edge_events, edge_kind, seat_a, seat_b):
125
- """`None` means NO EVENT EXISTS -- never `"off"`. That distinction is
126
- the whole reason the implicit edge composes cleanly with the explicit
125
+ """`None` means NO EVENT EXISTS -- never `"off"`. Keeping the two apart
126
+ is why the implicit edge composes cleanly with the explicit
127
127
  ones (see the module docstring). The LAST matching event in LIST order
128
128
  wins -- never sorted by `ts`, the same ordering law as every other
129
129
  reduction in this contract (`role_of`'s twin)."""
@@ -110,8 +110,8 @@ ENVELOPE_FILES = int(ENVELOPE_SECONDS / MEASURED_SECONDS_PER_FILE)
110
110
  #
111
111
  # The machine is a development laptop, not the CI VM, because that is where a
112
112
  # user runs this map; the CI VM runs no timing guards at all.
113
- RATE_REMEASURED_ON = "2026-10-03"
114
- RATE_REMEASURED_AT = {"commit": "e19d28d600948fc045b85af521d0a4a43a05ebfe",
113
+ RATE_REMEASURED_ON = "2026-11-04"
114
+ RATE_REMEASURED_AT = {"commit": "6fa7fffb8b3a2924796c727fbc721e354cf65466",
115
115
  "machine": "Windows, CPython 3.13.3"}
116
116
 
117
117
  # sourced from ambit_map/langmirror.py, the product-side mirror of
@@ -1087,7 +1087,7 @@ def c_quoted_include_unresolved_sentence(A, raw):
1087
1087
 
1088
1088
  def unresolved_reason_sentence(reason, A, raw):
1089
1089
  """The reason-token dispatch every unresolved-ref caption site shares
1090
- (graph.py's _quarantine_note, unitpage.py's connections block): maps
1090
+ (graph.py's _quarantine_note, unitpage.py's connections panel): maps
1091
1091
  an UnresolvedRef.reason machine token to its own sentence, already
1092
1092
  slot-filled and escaped by _fill; "" for a ref carrying no
1093
1093
  distinguishing reason, so a caller keeps its generic wording for that
@@ -1227,7 +1227,7 @@ UNIT_STORY_CLASSES = "{n} class(es)"
1227
1227
  # SQL table/index/trigger/sql_function, a TS interface/type/const...) used
1228
1228
  # to fall through to UNIT_STORY_NO_SYMS
1229
1229
  # even though "Blocks -- what the scan read" renders those symbols two
1230
- # blocks below -- the hero claimed an absence the page immediately
1230
+ # panels below -- the hero claimed an absence the page immediately
1231
1231
  # disproved.
1232
1232
  # UNIT_STORY_NO_SYMS now fires iff len(u.symbols) == 0, never merely
1233
1233
  # f + c == 0: unit_story()'s `other` parameter (len(symbols) - f - c) gets
@@ -1423,8 +1423,8 @@ def href_table_all(name):
1423
1423
 
1424
1424
 
1425
1425
  def href_table_client_all(name):
1426
- """The client-API rows block's OWN widen link -- rides the ("tables",
1427
- "client-<name>") uncap pair _client_api_rows_block's own _cut call
1426
+ """The client-API rows panel's OWN widen link -- rides the ("tables",
1427
+ "client-<name>") uncap pair _client_api_rows_panel's own _cut call
1428
1428
  produces (the same "client-" + name key it already passed to _cut),
1429
1429
  distinct from href_table_all's ("tables", name) pair for the
1430
1430
  readers/writers rosters on the SAME table page (CAPPED-LIST convention:
@@ -1441,7 +1441,7 @@ def href_family_all(key, group_key):
1441
1441
 
1442
1442
 
1443
1443
  def href_family_widen(key, uncap_target):
1444
- """The board-routes / board-supabase blocks' OWN widen link: rides the
1444
+ """The board-routes / board-supabase panels' OWN widen link: rides the
1445
1445
  existing (uncap_target, key) pair the landed `_cut(..., "routes", key)`
1446
1446
  / `_cut(..., "supabase", key)` calls already produce (`uncap_target` is
1447
1447
  "routes" or "supabase", both already in serve._UNCAP_KEYS) -- distinct
@@ -1490,7 +1490,7 @@ def uncap_pair(target, key=""):
1490
1490
 
1491
1491
  # A search hit's LIBRARY-lens link is not the bare
1492
1492
  # in-page hash href_unit/href_table spelling -- that would be a silent no-op
1493
- # once the unit's own board (or the tables block) is past its cap, because
1493
+ # once the unit's own board (or the tables panel) is past its cap, because
1494
1494
  # the client router can only highlight/scroll to a row that actually made it
1495
1495
  # into the served document. These build on href_widen (the SAME uncap
1496
1496
  # href_widen's own widen link renders, so serve.route's ?all=1 parse
@@ -1786,7 +1786,7 @@ def neutralize_anchors(html):
1786
1786
  (no browser hand-cursor, no click-through) instead of removing the
1787
1787
  content entirely.
1788
1788
 
1789
- An embedded fragment must SHOW its own content (family tiles,
1789
+ An embedded fragment must SHOW its own content (family chips,
1790
1790
  tables, tree rows) but drop the navigation: a relative href that
1791
1791
  404s once inlined into a foreign document. Content built across many
1792
1792
  separate render functions makes a single POST-PROCESS pass over the
@@ -1820,7 +1820,7 @@ def drop_pure_affordance_anchors(html):
1820
1820
  beside already names the fact): `.tr-act` is the row's own "See it on
1821
1821
  the Graph" jump; `.fam-drill-open` is the family drill-down panel's
1822
1822
  own "Open full family page" link -- unlike a table-reference chip or
1823
- a family tile, whose text IS the fact being shown, these two exist
1823
+ a family chip, whose text IS the fact being shown, these two exist
1824
1824
  ONLY to navigate.
1825
1825
 
1826
1826
  neutralize_anchors alone leaves the label AND its arrow glyph standing,
@@ -2385,7 +2385,7 @@ PACK_DISPLAY = {
2385
2385
  }
2386
2386
  EXPRESS_PACK_NAME = "express_pack"
2387
2387
 
2388
- # THE STRANGER CLAUSE (the amended absence law). Renders in the method block
2388
+ # THE STRANGER CLAUSE (the amended absence law). Renders in the method panel
2389
2389
  # ONLY when dialects.packs is NON-EMPTY
2390
2390
  # and every pack carries detected=False, failed=False -- a genuine run that
2391
2391
  # enumerated every pack it tried and found none applicable. NEVER renders
@@ -2430,7 +2430,7 @@ def language_gap_sentence(n, per_group):
2430
2430
 
2431
2431
 
2432
2432
  # THE EXPRESS SURFACE GAP (verified against express_pack.py's own CALL_RE).
2433
- # Renders in the method block ONLY when express_pack DETECTED this run.
2433
+ # Renders in the method panel ONLY when express_pack DETECTED this run.
2434
2434
  # Ordered "capability BEFORE limit": this wording states the pack's own
2435
2435
  # capability first ("only app.get/post/... are read as routes") and closes
2436
2436
  # on what is not ("app.all() ... are not").
@@ -2462,7 +2462,7 @@ ORM_DISPLAY = {
2462
2462
  }
2463
2463
  ORM_DEPS_ENUM = frozenset(ORM_DISPLAY)
2464
2464
 
2465
- # ORM DISCLOSURE. Renders in the method block ONLY when dialects.orm_deps
2465
+ # ORM DISCLOSURE. Renders in the method panel ONLY when dialects.orm_deps
2466
2466
  # (the run-derived enumeration orchestrate.run_dialects populated) is
2467
2467
  # non-empty -- the absence law: "" for dialects=None, an empty
2468
2468
  # DialectReport() (the unreadable-artifact posture, same as the stranger
@@ -2499,7 +2499,7 @@ ORM_DISCLOSURE_SENTENCE = ("Database access through {names} is not read — tabl
2499
2499
  PACK_FAILED_SENTENCE = ("{name} was recognised here, but its reader could not finish this "
2500
2500
  "run — its findings are absent, not empty.")
2501
2501
 
2502
- # THE GRAMMARLESS-TABLES DISCLOSURE. Renders in the method block's
2502
+ # THE GRAMMARLESS-TABLES DISCLOSURE. Renders in the method panel's
2503
2503
  # tables-lane disclosure area, beside ZERO_DDL_BLIND_SENTENCE /
2504
2504
  # KNOWN_LIMITATION_BLIND_SENTENCE (ambitgraph/tables.py's own
2505
2505
  # always-present table-lane disclosures), ONLY when the unified table
@@ -2570,7 +2570,7 @@ ONCE_GRAPH_NOTE = (" (one file, and every control on it works without a running
2570
2570
  # singular/plural pairs replace it; the caller picks with the one-line
2571
2571
  # helper beside each pair. `dir` in FAM_GROUP_LABEL is a real repository
2572
2572
  # path, so its block is rendered with block_open(..., cased=False) -- the
2573
- # same "identifiers are never re-cased" law that governs any block
2573
+ # same "identifiers are never re-cased" law that governs any panel
2574
2574
  # carrying a real repository path.
2575
2575
  FAM_GROUP_LABEL_ONE = "{dir} — 1 file"
2576
2576
  FAM_GROUP_LABEL_N = "{dir} — {n} files"
@@ -2709,13 +2709,13 @@ SUPABASE_BLIND_REALTIME = ("a realtime .channel(...).on('postgres_changes', ...)
2709
2709
  # a real Postgres table whether or not this repo happens to carry its
2710
2710
  # migration. This table's own DDL block still says so honestly (the
2711
2711
  # existing TBL_NO_DDL_NOTE, unchanged) -- this label introduces the NEW
2712
- # block beneath it that a purely-engine table never carries: the roster of
2712
+ # panel beneath it that a purely-engine table never carries: the roster of
2713
2713
  # units that reach it only through a client-API call, one row per unit,
2714
2714
  # each row's own sentence naming its instrument.
2715
2715
  TBL_CLIENT_API_LABEL = "Referenced through the client API"
2716
2716
 
2717
- # CAPPED-LIST convention: every peer block on this same page leads with its
2718
- # own noun+count ("Readers — 30 units") -- this block's label must too,
2717
+ # CAPPED-LIST convention: every peer panel on this same page leads with its
2718
+ # own noun+count ("Readers — 30 units") -- this panel's label must too,
2719
2719
  # singular/plural pair + picker, same shape as
2720
2720
  # tbl_readers_label/tbl_writers_label just above.
2721
2721
  TBL_CLIENT_API_LABEL_ONE = TBL_CLIENT_API_LABEL + " — 1 file"
@@ -2841,7 +2841,7 @@ MAPLLM_NO_PROGRESS = (
2841
2841
  "pending -- no progress was made, so this command refuses rather than "
2842
2842
  "re-harvesting the same stage forever.")
2843
2843
 
2844
- # The served library method block (pinned by
2844
+ # The served library method panel (pinned by
2845
2845
  # test_the_stranger_language_page_says_connections_await_a_later_tier), beside
2846
2846
  # the existing no-connections disclosure (LANGUAGE_GAP_SENTENCE_ONE/_N above)
2847
2847
  # -- rendered ONLY when the
@@ -1031,7 +1031,7 @@ def cockpit_input_paths(runs_dir, repo_root=None, portal_path=None) -> list:
1031
1031
  for root_cfg in portal.docs_roots:
1032
1032
  raw = Path(root_cfg["path"])
1033
1033
  paths.append(raw if raw.is_absolute() else (base_dir / raw))
1034
- for b in portal.blocks:
1034
+ for b in portal.panels:
1035
1035
  # an edited feed snapshot must invalidate a
1036
1036
  # served cockpit exactly like an edited doc or portal —
1037
1037
  # same staleness class, same fix.
@@ -311,7 +311,7 @@ def combined_docs_cut_note(discovered_total: int, kept: int,
311
311
  """Return one sentence naming both the discovery and the render cap, or "".
312
312
  Logic: states the max_files discovery cut (discovered_total -> kept)
313
313
  and the render limit cut (kept -> drawn) together, each through
314
- count_phrase, so the docs tile's discovered_total and the rendered
314
+ count_phrase, so the docs jump's discovered_total and the rendered
315
315
  rows can never silently disagree.
316
316
 
317
317
  @param discovered_total: every matching file found, before any cap (int)
@@ -304,7 +304,7 @@ def wired(unit, model, family=None):
304
304
  @param family: the caller's already-computed family key -- the same
305
305
  bucketing families_in_use produced for this render -- so the
306
306
  status drawn beside a unit never disagrees with the family
307
- tile it sits under; omitted (None), falls back to
307
+ chip it sits under; omitted (None), falls back to
308
308
  family_of(unit, None), the route-blind answer, for a caller
309
309
  with no bucketing of its own (e.g. a bare unit test) (str or None)
310
310
  @return: "live", "coming", or "partial" -- only "helpers" and "modules"
@@ -158,7 +158,7 @@ def read_feeds(portal) -> dict:
158
158
  # portal.json's own directory, or "." when portal carries no path
159
159
  base_dir = (Path(portal.path).resolve().parent
160
160
  if portal.path else Path("."))
161
- for b in portal.blocks: # b: one feed block as portal.json declares it
161
+ for b in portal.panels: # b: one feed block as portal.json declares it
162
162
  if b.get("kind") != "feed" or b.get("enabled") is False:
163
163
  continue
164
164
  try:
@@ -1181,15 +1181,15 @@ def build_data(run_path: str, *, as_export: bool = False) -> dict:
1181
1181
  enumerated = _enumerated_paths(run_path)
1182
1182
  for i, n in enumerate(nodes):
1183
1183
  uid = n["id"]
1184
- block = {"docs": explain.neighbourhood_docs(uid, enumerated),
1184
+ explanation = {"docs": explain.neighbourhood_docs(uid, enumerated),
1185
1185
  "graph": explain.graph_sentence(
1186
1186
  inbound_files=len(reached_by.get(i, ())),
1187
1187
  outbound_files=len(reaches.get(i, ())))}
1188
1188
  words = explain.own_words(uid, descs.get(uid))
1189
1189
  # absent, not empty: a language the scan cannot read makes no claim
1190
1190
  if words is not None:
1191
- block["own"] = words
1192
- n["ex"] = block
1191
+ explanation["own"] = words
1192
+ n["ex"] = explanation
1193
1193
 
1194
1194
  # an older run (no per-name counts) never dates its own limits, so it
1195
1195
  # carries none rather than a list computed against information it
@@ -1205,21 +1205,21 @@ def build_data(run_path: str, *, as_export: bool = False) -> dict:
1205
1205
  # measured one. Only the bounds that excluded something are carried,
1206
1206
  # and their file lists are dropped: the page states how much was
1207
1207
  # missed, and the lists run to thousands of names on a real repo
1208
- bounds_block = edge_coverage.get("coverage_bounds") or {}
1209
- if "bounds" in bounds_block:
1208
+ coverage_bounds = edge_coverage.get("coverage_bounds") or {}
1209
+ if "bounds" in coverage_bounds:
1210
1210
  read_coverage = {
1211
1211
  "known": True,
1212
- "excluded": bounds_block.get("total_excluded", 0),
1212
+ "excluded": coverage_bounds.get("total_excluded", 0),
1213
1213
  "bounds": [{"bound": row["bound"],
1214
1214
  "description": row.get("description", ""),
1215
1215
  "excluded": row.get("excluded_count", 0)}
1216
- for row in bounds_block["bounds"]
1216
+ for row in coverage_bounds["bounds"]
1217
1217
  if row.get("excluded_count")]}
1218
1218
  else:
1219
1219
  # a scan predating the record measured nothing, and a manufactured
1220
1220
  # zero here would be a claim the run never made
1221
1221
  read_coverage = {"known": False,
1222
- "note": bounds_block.get("note", "")}
1222
+ "note": coverage_bounds.get("note", "")}
1223
1223
 
1224
1224
  # the kind vocabulary the page needs to draw each entry in the shape its
1225
1225
  # kind calls for, sent from the one place it is declared. Sorted so two
@@ -970,8 +970,8 @@ class ClassDiagram {
970
970
  // a block centred on the box, so a lone pin sits mid-edge and a line
971
971
  // to a box straight above or below runs straight; kept inside the span
972
972
  const gap = list.length > 1 ? Math.min(PIN_GAP, (span[1] - span[0]) / (list.length - 1)) : 0;
973
- const block = gap * (list.length - 1);
974
- const first = Math.min(Math.max(span[0], box.x + box.w / 2 - block / 2), span[1] - block);
973
+ const pinsLength = gap * (list.length - 1);
974
+ const first = Math.min(Math.max(span[0], box.x + box.w / 2 - pinsLength / 2), span[1] - pinsLength);
975
975
  at = i => first + i * gap;
976
976
  } else {
977
977
  // a side edge spreads its pins end to end over its span, a lone pin
@@ -1138,7 +1138,7 @@ class InsideView {
1138
1138
  * @return: the badge text, or "" when the row carries nothing to badge (string)
1139
1139
  */
1140
1140
  _fnBadge(row, testNote) {
1141
- // the phrasing tracks the List view's own sentences (`_fnCallerBlocks`)
1141
+ // the phrasing tracks the List view's own sentences (`_fnCallerParts`)
1142
1142
  // so the two views never read as disagreeing about the same row
1143
1143
  if (row.short_name_min) return "too short";
1144
1144
  if (row.untraced) return row.untraced === "kind" ? "not traced" : "ambiguous";
@@ -44,7 +44,7 @@ class LibraryView {
44
44
  this.onOpenGraph = null;
45
45
  this.onOpenDesign = null;
46
46
  // the engine's kind vocabulary, read once into sets for lookup. Absent
47
- // only from a hand-built payload, which _definitionsBlock reports
47
+ // only from a hand-built payload, which _definitionsPanel reports
48
48
  const vocab = (data && data.kinds) || null;
49
49
  this._haveKinds = !!(vocab && vocab.callable && vocab.entry_object);
50
50
  this._callableKinds = new Set((vocab && vocab.callable) || []);
@@ -405,7 +405,7 @@ class LibraryView {
405
405
  cats.forEach(c => {
406
406
  const wired = c.count - c.unlinked;
407
407
  const w = Math.max(30, c.count / max * 230);
408
- h += "<tr data-lb='cat|"+esc(c.key)+"'><td><span class='lb-tile' style='color:"+c.color+";border-color:"+c.color+"'>"+
408
+ h += "<tr data-lb='cat|"+esc(c.key)+"'><td><span class='lb-badge' style='color:"+c.color+";border-color:"+c.color+"'>"+
409
409
  esc(c.letter)+"</span>"+esc(c.label)+"</td><td><span class='lb-bar' style='width:"+w+"px'>"+
410
410
  "<span class='lb-bw' style='flex:"+wired+"'></span>"+
411
411
  (c.unlinked?"<span class='lb-bu' style='flex:"+c.unlinked+"'></span>":"")+"</span> "+
@@ -417,7 +417,7 @@ class LibraryView {
417
417
  not the other left the control that opens the page unescaped */
418
418
  "<td><span class='lb-open' data-lb='cat|"+esc(c.key)+"' role='button' tabindex='0'>Open →</span></td></tr>";
419
419
  });
420
- return h + "</tbody></table>" + this._runLimitsBlock() + "</div>";
420
+ return h + "</tbody></table>" + this._runLimitsPanel() + "</div>";
421
421
  }
422
422
 
423
423
  /* What the whole run did not reach, said once on the home and never on a
@@ -426,7 +426,7 @@ class LibraryView {
426
426
  has to be read against that reach -- otherwise a bounded zero reads as a
427
427
  measured one -- and the home is where a reader meets it before opening
428
428
  any file. A run that recorded neither draws nothing at all. */
429
- _runLimitsBlock() {
429
+ _runLimitsPanel() {
430
430
  const esc = escMarkup;
431
431
  const limits = this.data.call_limits || [];
432
432
  const reach = this.data.read_coverage || {};
@@ -474,7 +474,7 @@ class LibraryView {
474
474
  : (a,b)=>N[b].fns.length - N[a].fns.length);
475
475
  let h = '<div class="lb-wrap">' +
476
476
  '<div class="lb-crumb"><span data-lb="home|" class="lb-link" role="button" tabindex="0">Library</span> › ' + esc(label) + "</div>" +
477
- '<div class="lb-h1"><span class="lb-tile" style="color:'+color+';border-color:'+color+'">'+letter+"</span>"+esc(label)+"</div>" +
477
+ '<div class="lb-h1"><span class="lb-badge" style="color:'+color+';border-color:'+color+'">'+letter+"</span>"+esc(label)+"</div>" +
478
478
  (fam.definition ? '<div class="lb-sub">'+esc(fam.definition)+"</div>" : "") +
479
479
  '<div class="lb-stats"><span>FILES<b>'+(this._byCat[key]||[]).length+"</b></span>" +
480
480
  "<span>FUNCTIONS<b>"+fns+"</b></span>" +
@@ -531,7 +531,7 @@ class LibraryView {
531
531
  A LIST IS AN INVENTORY; A READER WANTS A BRIEFING. The sections below
532
532
  answer "what is in this file" one row at a time, which is the right
533
533
  answer for someone already holding the codebase in their head and the
534
- wrong one for everybody else. This block answers "what is this file for,
534
+ wrong one for everybody else. This panel answers "what is this file for,
535
535
  and how do its parts fit together" before the rows begin.
536
536
 
537
537
  THE CARD IS A GENERATED LINE. The file's card is a line a model wrote
@@ -542,8 +542,8 @@ class LibraryView {
542
542
  Nothing here is drawn when the payload carries no brief, so a page with
543
543
  nothing to say stays silent rather than printing an empty frame.
544
544
  @param n: the file's node, carrying `brief` and `explained_by` when set (object)
545
- @return: the block's markup, or "" (string) */
546
- _briefBlock(n) {
545
+ @return: the panel's markup, or "" (string) */
546
+ _briefPanel(n) {
547
547
  const brief = n.brief;
548
548
  if (!brief) return "";
549
549
  return '<div class="lb-brief">' +
@@ -567,7 +567,7 @@ class LibraryView {
567
567
  constants below and nowhere else.
568
568
 
569
569
  THIS IS THE ONE RENDERER OF GENERATED WORDS. The definition entries and
570
- the brief block all draw through it, so the mark cannot read one way in
570
+ the brief panel all draw through it, so the mark cannot read one way in
571
571
  one place and another way in the next. The line and the quoted producer
572
572
  are untrusted text and are escaped whole; no span of either is ever drawn
573
573
  as markup or as code.
@@ -709,7 +709,7 @@ class LibraryView {
709
709
  /* One foldable section heading.
710
710
 
711
711
  Every section of a file page opens and closes by its own heading, so a
712
- reader meets ONE idiom instead of a control invented per block. The
712
+ reader meets ONE idiom instead of a control invented per panel. The
713
713
  marker is the pair the function entries already use: pointing down when
714
714
  the section is open, right when it is folded. The label is markup, not
715
715
  text, because two of the callers pass a count inside a span; a caller
@@ -729,7 +729,7 @@ class LibraryView {
729
729
  building a body nobody will see. */
730
730
  _folded(key) { return this._state.collapsed.has(key); }
731
731
 
732
- _explainBlock(n) {
732
+ _explainPanel(n) {
733
733
  const esc = escMarkup, ex = n.ex || {};
734
734
  let h = this._sectionHead("summary", "Summary");
735
735
  if (this._folded("summary")) return h;
@@ -774,7 +774,7 @@ class LibraryView {
774
774
  'role="button" tabindex="0">Inside</span></div>';
775
775
  }
776
776
 
777
- /* The Inside drawing for the open file, in place of the definitions block
777
+ /* The Inside drawing for the open file, in place of the definitions panel
778
778
  * List draws. A fresh InsideView per render holds nothing but the payload
779
779
  * reference, so the drawing's pin state stays where every other fold on
780
780
  * this page lives, in `this._state`.
@@ -782,7 +782,7 @@ class LibraryView {
782
782
  * @param fileIndex: that file's index into data.nodes (number)
783
783
  * @return: the Inside pane's markup (string)
784
784
  */
785
- _insideBlock(n, fileIndex) {
785
+ _insidePanel(n, fileIndex) {
786
786
  return new InsideView(this.data).render(n, fileIndex, this._state.inside);
787
787
  }
788
788
 
@@ -800,7 +800,7 @@ class LibraryView {
800
800
  per row in source order drawn in the shape its KIND calls for, the
801
801
  unattributed-calls line when the payload carries any, then the
802
802
  "Also defined here" list. */
803
- _definitionsBlock(n) {
803
+ _definitionsPanel(n) {
804
804
  const esc = escMarkup;
805
805
  // a payload with no kind vocabulary cannot be given roles, and guessing
806
806
  // them is how the two shapes came apart before
@@ -974,7 +974,7 @@ class LibraryView {
974
974
  '</span><span class="lb-dim">line ' + esc(row.line) + "</span></div>" +
975
975
  (this._ownWords(row.doc) || this._explainedLine(row.explained, node.explained_by)) +
976
976
  this._insideLine(row) +
977
- this._fnCallerBlocks(row, node).join("") +
977
+ this._fnCallerParts(row, node).join("") +
978
978
  this._diagram(row) +
979
979
  this._schema(row) +
980
980
  "</div>";
@@ -1079,9 +1079,9 @@ class LibraryView {
1079
1079
  zero and only the other-files half where it was not. The zero is left
1080
1080
  out entirely on a test file, whose note has already said it once for the
1081
1081
  whole page. The ambiguity sentence, when the name is ambiguous, follows
1082
- whichever of those printed. Returns an array of ready HTML blocks,
1082
+ whichever of those printed. Returns an array of ready HTML parts,
1083
1083
  already escaped where they carry payload text. */
1084
- _fnCallerBlocks(row, node) {
1084
+ _fnCallerParts(row, node) {
1085
1085
  const esc = escMarkup;
1086
1086
  if (row.short_name_min) {
1087
1087
  return ['<div class="lb-fn-callers">Calls to names shorter than ' +
@@ -1114,35 +1114,35 @@ class LibraryView {
1114
1114
  // caller; repeating a per-row zero under every test would say the same
1115
1115
  // thing as many times as the file has tests
1116
1116
  const zeroSaidAlready = !!(node && node.test_note);
1117
- const blocks = [];
1117
+ const parts = [];
1118
1118
  if (group && row.callers.length) {
1119
- blocks.push('<div class="lb-fn-callers">' + this._count(row.sites, "site") +
1119
+ parts.push('<div class="lb-fn-callers">' + this._count(row.sites, "site") +
1120
1120
  " in " + this._count(row.callers.length, "file") + " call " +
1121
1121
  '<span class="lb-mono">' + esc(row.name) + "</span>, which this file defines " +
1122
1122
  row.same_name_lines.length + " times (lines " + row.same_name_lines.join(", ") +
1123
1123
  ") — the scan cannot tell which.</div>");
1124
1124
  } else if (row.callers.length) {
1125
- blocks.push(this._callerLineHTML(row));
1125
+ parts.push(this._callerLineHTML(row));
1126
1126
  } else if (!row.ambiguous_definers && !zeroSaidAlready) {
1127
1127
  // both halves measured at zero read as ONE sentence, so the reader is
1128
1128
  // never left wondering about the file itself after being told only
1129
1129
  // about the others. A group keeps the other-files wording: its inside
1130
1130
  // use is spoken for at its own designated line, not here
1131
1131
  if (!group && row.inside && row.inside.sites === 0) {
1132
- blocks.push('<div class="lb-fn-callers">No call to it was ' +
1132
+ parts.push('<div class="lb-fn-callers">No call to it was ' +
1133
1133
  "recorded — not from another file, and not from inside this " +
1134
1134
  "one.</div>");
1135
1135
  } else {
1136
- blocks.push('<div class="lb-fn-callers">No other file\'s call to ' +
1136
+ parts.push('<div class="lb-fn-callers">No other file\'s call to ' +
1137
1137
  "it was recorded.</div>");
1138
1138
  }
1139
1139
  }
1140
1140
  if (row.ambiguous_definers) {
1141
- blocks.push('<div class="lb-fn-callers">Its name is defined in ' +
1141
+ parts.push('<div class="lb-fn-callers">Its name is defined in ' +
1142
1142
  esc(row.ambiguous_definers) + " files, so a call by that name alone " +
1143
1143
  "is not linked to any of them.</div>");
1144
1144
  }
1145
- return blocks;
1145
+ return parts;
1146
1146
  }
1147
1147
 
1148
1148
  /* The "Called from N files · M sites:" line and its caller links, with
@@ -1207,7 +1207,7 @@ class LibraryView {
1207
1207
  '</span><span class="lb-dim">line ' + esc(row.line) + "</span></div>" +
1208
1208
  (this._ownWords(row.doc) || this._explainedLine(row.explained, node.explained_by)) +
1209
1209
  this._madeOfLine(row, node) +
1210
- this._fnCallerBlocks(row, node).join("") +
1210
+ this._fnCallerParts(row, node).join("") +
1211
1211
  this._schema(row) +
1212
1212
  this._designLink(row, node) +
1213
1213
  "</div>";
@@ -1284,9 +1284,9 @@ class LibraryView {
1284
1284
  '<div class="lb-actions"><span class="lb-open lb-primary" data-lb="graph|'+i+'" role="button" tabindex="0">See it on the Graph →</span></div>' +
1285
1285
  this._fileViewSwitch() +
1286
1286
  '<div class="lb-cols"><div class="lb-main">';
1287
- h += this._briefBlock(n);
1288
- h += this._explainBlock(n);
1289
- h += this._state.fileView === "inside" ? this._insideBlock(n, i) : this._definitionsBlock(n);
1287
+ h += this._briefPanel(n);
1288
+ h += this._explainPanel(n);
1289
+ h += this._state.fileView === "inside" ? this._insidePanel(n, i) : this._definitionsPanel(n);
1290
1290
  h += this._sectionHead("connections",
1291
1291
  'Connections <span class="lb-dim">'+(inc.length+out.length)+"</span>");
1292
1292
  // the whole connections body, built only while the section is open: on a
@@ -1330,7 +1330,7 @@ class LibraryView {
1330
1330
  "<div class='lb-kv'><span>files pointing at it</span><b>"+inc.length+"</b></div>" +
1331
1331
  "<div class='lb-kv'><span>files it points at</span><b>"+out.length+"</b></div></div>" +
1332
1332
  '<div class="lb-panel"><div class="lb-subhead">CHARACTERISTICS</div>' +
1333
- "<div class='lb-chips'><span class='lb-tile' style='color:"+color+";border-color:"+color+"'>"+letter+"</span>" +
1333
+ "<div class='lb-chips'><span class='lb-badge' style='color:"+color+";border-color:"+color+"'>"+letter+"</span>" +
1334
1334
  "<span class='lb-sym'>"+esc(n.lang||"?")+"</span>" +
1335
1335
  (n.d>0?"<span class='lb-ok'>✓ wired</span>":"<span class='lb-red'>● unlinked</span>")+"</div>" +
1336
1336
  '<div class="lb-sub" style="margin-top:8px">Static inbound edge present</div></div>' +
@@ -184,10 +184,10 @@
184
184
  margin-bottom:14px}
185
185
  .lb-fig{white-space:nowrap}
186
186
  .lb-mono{font-family:var(--mono)}
187
- .lb-tile{display:inline-flex;align-items:center;justify-content:center;
187
+ .lb-badge{display:inline-flex;align-items:center;justify-content:center;
188
188
  width:24px;height:24px;border:1.5px solid;border-radius:4px;
189
189
  font-family:var(--mono);font-size:11px;font-weight:700;flex:none}
190
- .lb-t .lb-tile{margin-right:10px;vertical-align:middle}
190
+ .lb-t .lb-badge{margin-right:10px;vertical-align:middle}
191
191
  .lb-t tbody tr[data-lb]{cursor:pointer}
192
192
  .lb-t tbody tr[data-lb]:hover{background:var(--panel2)}
193
193
  .lb-t{border-collapse:collapse;width:100%;max-width:980px;font-size:13px;
@@ -773,9 +773,9 @@ class WholeMap {
773
773
  if(traced) el.classList.add("wm-on");
774
774
  releaseFocus(true); requestDraw(); };
775
775
  chipbar.appendChild(el); });
776
- const right=document.createElement("span"); right.className="wm-right";
777
- right.textContent="chips computed from this repo's scan · engine "+data.engine;
778
- chipbar.appendChild(right);
776
+ const caption=document.createElement("span"); caption.className="wm-right";
777
+ caption.textContent="every chip is drawn from this repository's scan · engine "+data.engine;
778
+ chipbar.appendChild(caption);
779
779
 
780
780
  /* ---------- boot ---------- */
781
781
  const ro=new ResizeObserver(()=>{ dpr=window.devicePixelRatio||1;