Repository navigation
Description
Summary
.toml appears in none of CODE_EXTENSIONS, DOC_EXTENSIONS, PAPER_EXTENSIONS or IMAGE_EXTENSIONS, so it is absent from _WATCHED_EXTENSIONS and is never collected at all. Unlike .yaml — which at least reaches the semantic/LLM path as a document (#2043, #2214) — TOML has no route into the graph at any cost tier.
Verified on graphifyy==0.9.32:
from graphify.detect import CODE_EXTENSIONS, DOC_EXTENSIONS, PAPER_EXTENSIONS, IMAGE_EXTENSIONS
watched = CODE_EXTENSIONS | DOC_EXTENSIONS | PAPER_EXTENSIONS | IMAGE_EXTENSIONS
".toml" in watched # False
".yaml" in watched # True (DOC_EXTENSIONS, detect.py:32)
".json" in watched # True (CODE_EXTENSIONS, and extract_json exists).ini and .cfg are in the same position.
Why this is more than a missing extractor
There is a narrow escape hatch — manifest_ingest.is_package_manifest_path() — but it matches five filenames:
PACKAGE_MANIFEST_NAMES = {'apm.yaml', 'apm.yml', 'go.mod', 'pom.xml', 'pyproject.toml'}So pyproject.toml yields a single package node and every other TOML file yields nothing. Two separable consequences:
1. Cargo.toml is not recognized. Rust's package manifest is missing from a set that already includes Python's, Go's and Maven's. A Rust repo gets no package node where an otherwise-identical Python repo does. That looks unintended, and is a one-line fix independent of the rest of this issue.
2. Config/data TOML is structurally invisible. In our case the affected files are the repository's actual data contracts:
| file | role | nodes |
|---|---|---|
registry.toml |
repo → role/owner/dependency edges | 0 |
roster.toml |
team identity | 0 |
tiers.toml |
per-tier tool enablement | 0 |
Those three files are most of the reason the repository exists. Its graph contains the TypeScript that reads them (827 nodes) and the Markdown that describes them (646 nodes), but nothing they encode. osv-scanner.toml, rust-toolchain.toml, netlify.toml and .cargo/config.toml are in the same class.
Request
Smallest first; any of these helps:
- Add
Cargo.tomltoPACKAGE_MANIFEST_NAMES. - Put
.toml(and.ini/.cfg) inDOC_EXTENSIONSso they become reachable, matching.yaml's current status. - A deterministic structural extractor keyed on tables/keys, the way
extract_jsonhandles JSON — the generic form of what deterministic ingestion of structured data files #2214 requests.
(2) alone would be a real improvement over the status quo even though it routes to the LLM, because today there is no configuration — API key, flag, or ignore file — that makes these files visible.
Relationship to existing issues
Not a duplicate of #2214, which concerns how structured files are extracted once collected (LLM vs deterministic). This is one step earlier: TOML is never collected. Related to #2043, which addresses the same reachability question for YAML.
Activity
fix(ingest): recognize Cargo.toml as a package manifest (#2434)
chore: bump to 0.9.41
safishamsi commentedon Aug 12, 2026
Fixed in v0.9.41 (
graphifyy==0.9.41on PyPI).Cargo.tomlis recognized as a package manifest — a canonical package node plusdepends_onedges (dependencies + target-specific; virtual-workspace roots produce no node, no crash). Thanks @ousamabenyounes (PR #2494).