Concept — Milner Bigraph Topology in the Vespa Knowledge Garden
Robin Milner’s Bigraphical Reactive Systems decompose a system into two independent, orthogonal graphs over the same set of nodes : a hierarchical Place Graph modeling locality/containment, and a hyper/relational Link Graph modeling semantic connectivity across boundaries.
Formal Structure in the Garden
- Place Graph ( — Containment & Indexing):
- Governed by structural frontmatter relations
indexesindexed-byandhas-partpart-of, plus physical directory placement (ROLE_CANONICAL_DIRS+ PARA folders). - Ensures every atomic zettel, concept, invariant, and bridge note has at least one parent Map of Content (
orphaninvariant inverify/check.py).
- Governed by structural frontmatter relations
- Link Graph ( — Cross-Boundary Epistemic Wiring):
- Governed by typed relational edges:
supportssupported-by,refinesrefined-by,supersedessuperseded-by,contrastscontrasts, andrelatedrelated. - Allows a C++
searchlibzettel in content-nodes to directly support or contrast a Javacontainer-searchzettel in container-jdisc regardless of folder hierarchy (islandandreciprocityinvariants inverify/check.py).
- Governed by typed relational edges:
Runtime Projections
- Quartz 5 Emitter (
local-plugins/garden-meta/index.js): Exportsplace_edgesandlink_edgesseparately inpublic/static/garden-meta.json. - Topology & Coverage Analyzer (
tools/garden/analyze_garden.py): Computes Place/Link degree distributions, HITS hub/authority scores, articulation points, and lease-disjoint batches in garden-health. - DuckDB Recursive CTEs (
tools/garden/sync_duckdb.py): Materializes both edge classes withedge_kind IN ('place', 'link', 'body')for sub-millisecond lineage queries.