ambitgraph 0.9.2__tar.gz → 0.9.3__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.
- {ambitgraph-0.9.2/ambitgraph.egg-info → ambitgraph-0.9.3}/PKG-INFO +1 -1
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/langmirror.py +16 -1
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_telegraph/export.py +3 -1
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_telegraph/responsibility.py +3 -1
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/cli.py +7 -3
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/codelib.py +3 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/edges.py +1495 -69
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/gate_check.py +114 -32
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/harvest.py +3 -2
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/langs.py +27 -20
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/merge.py +33 -8
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/responsibility.py +3 -2
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/symbols.py +15 -1
- {ambitgraph-0.9.2 → ambitgraph-0.9.3/ambitgraph.egg-info}/PKG-INFO +1 -1
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/pyproject.toml +1 -1
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/LICENSE +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/MANIFEST.in +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/README.md +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_contracts/__init__.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_contracts/edge.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_contracts/envelope.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_contracts/fields.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_contracts/grant.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_contracts/household.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/__init__.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/__main__.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/ambit-map-enrich.md +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/ambit-mapllm-contract.md +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/assistant.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/cli.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/daemon.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/dialects/__init__.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/dialects/contract.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/dialects/express_pack.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/dialects/fastapi_pack.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/dialects/flask_pack.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/dialects/nextjs_pack.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/dialects/supabase_pack.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/load.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/mapllm.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/model.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/orchestrate.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/registry.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_map/serve.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_telegraph/__init__.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_telegraph/cli.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_telegraph/ledger.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambit_telegraph/store.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/WALKTHROUGH.md +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/__init__.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/__main__.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/_delimited.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/cockpit.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/config.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/console.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/demo.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/design_tokens.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/docs_discovery.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/doctor.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/duplication.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/emit.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/engine_identity.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/estimate.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/eval.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/explain.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/explain_stage.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/families.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/feeds.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/gate.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/gate_server.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/html_safe.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/inventory.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/jscalls.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/jsobjects.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/mds.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/merge_jsp.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/objects.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/__init__.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/_init_js.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/charts.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/classdiagram.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/escape.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/filterpanel.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/graph.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/insideview.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/library.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/next_embed.css +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/objectcard.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/paths.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/search.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/siderail.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/standalone.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/omniscient_next/wholemap.js +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/parameterize.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/pipeline.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/portal.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/prompts.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/pycalls.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/pyshapes.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/ratify.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/report.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/reports.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/sample.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/secretary.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/shell.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/stages.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/tables.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/tasks.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/text_capture.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph/urcode.py +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph.egg-info/SOURCES.txt +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph.egg-info/dependency_links.txt +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph.egg-info/entry_points.txt +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph.egg-info/requires.txt +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/ambitgraph.egg-info/top_level.txt +0 -0
- {ambitgraph-0.9.2 → ambitgraph-0.9.3}/setup.cfg +0 -0
|
@@ -325,7 +325,7 @@ KIND_READER_LANGS = {
|
|
|
325
325
|
# "rb" joins this row the same way: langs.py's rb
|
|
326
326
|
# LangSpec declares call_lane=True and edges.py builds Ruby its own
|
|
327
327
|
# definer pool, landed independently of this stage.
|
|
328
|
-
"calls": frozenset({"jsp", "java", "py", "js", "c", "rb", "cpp"}),
|
|
328
|
+
"calls": frozenset({"jsp", "java", "py", "js", "c", "rb", "cpp", "go"}),
|
|
329
329
|
"reference/script": frozenset({"jsp"}),
|
|
330
330
|
"route/mount": frozenset({"py", "js"}),
|
|
331
331
|
"ui/component-use": frozenset({"js"}),
|
|
@@ -474,6 +474,21 @@ BLIND_SENTENCE_LANGS = (
|
|
|
474
474
|
_GO),
|
|
475
475
|
("A Go import inside the declared module naming a directory with no "
|
|
476
476
|
"Go file this scan reads", _GO),
|
|
477
|
+
# The Go CALL lane's held causes, each shipped only on a scan where its
|
|
478
|
+
# own cause occurred. They are separate rows because they are different
|
|
479
|
+
# admissions: the first says the callee is outside the repository, the
|
|
480
|
+
# second that the caller's own text does not say what type the receiver
|
|
481
|
+
# holds, the third that the name is a value the caller's own function
|
|
482
|
+
# bound, the fourth that no module line says which directory an import
|
|
483
|
+
# names, the fifth that a file stays in the lane although the go tool
|
|
484
|
+
# rejects its build constraint.
|
|
485
|
+
("A Go call qualified by a package outside the declared module", _GO),
|
|
486
|
+
("A Go call qualified by anything but an import its file binds", _GO),
|
|
487
|
+
("A Go call to a name its own function binds", _GO),
|
|
488
|
+
("A Go call qualified by an import, in a scan with no module directive",
|
|
489
|
+
_GO),
|
|
490
|
+
("A Go call into or out of a file whose build constraint cannot be read",
|
|
491
|
+
_GO),
|
|
477
492
|
# Ruby's own two STATIC, structural gaps (ambitgraph.symbols.
|
|
478
493
|
# BLIND_SENTENCES), anchored on their opening words -- the same
|
|
479
494
|
# shape as the C declaration grammar's own gaps just above.
|
|
@@ -212,7 +212,9 @@ def _read_summaries(path):
|
|
|
212
212
|
except BaseException:
|
|
213
213
|
return {}, 0
|
|
214
214
|
found, unmatched = {}, 0
|
|
215
|
-
|
|
215
|
+
# the text is cut at "\n" alone -- read_text has already folded CR LF and a lone
|
|
216
|
+
# CR into it, so a line-separator character inside a summary row stays inside it
|
|
217
|
+
for line in raw.split("\n"):
|
|
216
218
|
if not line.strip():
|
|
217
219
|
continue
|
|
218
220
|
try:
|
|
@@ -167,8 +167,10 @@ def read_records(root) -> tuple:
|
|
|
167
167
|
if not path.exists():
|
|
168
168
|
return ()
|
|
169
169
|
out = []
|
|
170
|
+
# the text is cut at "\n" alone -- read_text has already folded CR LF and a lone
|
|
171
|
+
# CR into it -- so lineno is the line a text editor shows
|
|
170
172
|
for lineno, line in enumerate(
|
|
171
|
-
path.read_text(encoding="utf-8").
|
|
173
|
+
path.read_text(encoding="utf-8").split("\n"), start=1):
|
|
172
174
|
if not line.strip():
|
|
173
175
|
continue
|
|
174
176
|
try:
|
|
@@ -1605,7 +1605,9 @@ def _load_events(runs_dir: Path) -> list:
|
|
|
1605
1605
|
if not p.exists():
|
|
1606
1606
|
return []
|
|
1607
1607
|
out = []
|
|
1608
|
-
|
|
1608
|
+
# the text is cut at "\n" alone -- read_text has already folded CR LF and a lone
|
|
1609
|
+
# CR into it, so a line-separator character inside a record stays inside it
|
|
1610
|
+
for ln in p.read_text(encoding="utf-8", errors="replace").split("\n"):
|
|
1609
1611
|
try:
|
|
1610
1612
|
out.append(json.loads(ln))
|
|
1611
1613
|
except json.JSONDecodeError:
|
|
@@ -1624,8 +1626,10 @@ def _load_disclosures(scan_dir: Path) -> tuple:
|
|
|
1624
1626
|
return [], 0
|
|
1625
1627
|
out = []
|
|
1626
1628
|
# errors="replace", not strict: a torn multi-byte append must degrade to
|
|
1627
|
-
# one skipped/mangled line, never kill the whole cockpit build
|
|
1628
|
-
|
|
1629
|
+
# one skipped/mangled line, never kill the whole cockpit build; the text
|
|
1630
|
+
# is cut at "\n" alone -- read_text has already folded CR LF and a lone
|
|
1631
|
+
# CR into it, so a line-separator character inside a record stays inside it
|
|
1632
|
+
for ln in p.read_text(encoding="utf-8", errors="replace").split("\n"):
|
|
1629
1633
|
try:
|
|
1630
1634
|
out.append(json.loads(ln))
|
|
1631
1635
|
except json.JSONDecodeError:
|
|
@@ -412,6 +412,9 @@ def _declared_blind_langs(edges_coverage, sym_coverage=None) -> dict:
|
|
|
412
412
|
# golden included -- this is the line that prevents that.
|
|
413
413
|
record(edges.rb_include_blind_sentences(edges_coverage or {}))
|
|
414
414
|
record(edges.rb_call_blind_sentences(edges_coverage or {}))
|
|
415
|
+
# The Go lanes build theirs per scan too, from the same coverage cell.
|
|
416
|
+
record(edges.go_include_blind_sentences(edges_coverage or {}))
|
|
417
|
+
record(edges.go_call_blind_sentences(edges_coverage or {}))
|
|
415
418
|
record(symbols.rb_symbol_blind_sentences(sym_coverage or {}))
|
|
416
419
|
return table
|
|
417
420
|
|