"""Astra's runnable example for the recovered Xi graph (2026-09-12).""" from holographic import HolographicDAG graph = HolographicDAG() graph.add("source", {"kind": "capsule", "meaning": "An idea to carry"}) graph.add("revision", {"kind": "capsule", "meaning": "A useful change"}) graph.add("render", {"kind": "artifact", "meaning": "A shareable result"}) graph.link("source", "revision") graph.link("revision", "render") assert [n.id for n in graph.neighborhood("source")] == ["revision"] assert [n.id for n in graph.neighborhood("revision")] == ["render"] print("source -> revision -> render") print("Three nodes, two directed links; originals remain distinct.")