Repository navigation
v0.6.0
Mycelium now ingests each repo's docgraph doc-graph during scan, so "which repo" and "what are its docs / is its doc-graph healthy" become one query against the served graph. The node shells out to docgraph graph --json per repo (read-only, best-effort — an absent binary, a bare repo, or bad output degrades to no doc-graph and never fails the scan), pins schemaVersion 1, and both summarizes and stores the result.
Doc-graph ingestion
- Per-component
docGraphdigest ingraph.json— a compact summary (doc count, content/metadata edge counts, island paths, and which conventional entry docs are present), carried on eachComponent. The queryable "is this repo's doc-graph healthy / how big" signal, kept small on purpose (island paths but not full node/edge lists). - Full per-repo payload served at
GET /repos/<id>/docgraph.json— the completedocgraph graph --json, pushed out-of-band on the manifest and written by the hub torepos/<id>/docgraph.json. Never inlined intograph.json; there for traversal when the digest isn't enough. MAP.mdrot flag — a component with ≥1 doc-graph island gets a tersedocs: N islands ⚠marker; a clean doc-graph adds nothing to the map.myco auditdoc-rot signals — new fleet-widedoc-rot(a repo with unfindable/unplaced docs) anddocgraph-version(a repo whose docgraph is newer than the pinnedschemaVersion 1) findings, turning per-repo doc rot into an ecosystem-visible fact.- Ref caveat (v1): docgraph audits the working tree while Mycelium scans a committed ref, so a doc-graph reflects the node's checkout state — documented in
schema/graph.md; a precise per-ref capture is deferred until a real divergence bites.
Docs & tooling
- Conformed the doc graph to docgraph v3 and flipped the pre-push hook to the
/v3install path. - Regenerated the docgraph pre-push hook; added a
just installrecipe. schema/graph.md,CLAUDE.md, andREADME.mdreconciled to the built behavior — the digest shape, the/repos/<id>/docgraph.jsonroute, the schemaVersion pin, and the ref caveat.
No breaking changes: the docGraph field is additive and omitted when a repo has no docs or no docgraph on the node.
Full Changelog: v0.5.0...v0.6.0