II. The InterSphinx Hypergraph Lab¶
Perfecting Cross-Repository Knowledge Graphs Across PHOTON & GEOMETOR
Across more than fifty repositories in geometor, photon-platform, and
phiarchitect, Sphinx’s intersphinx inventory protocol (objects.inv)
already gives us deterministic cross-archive linking—connecting Euclidean
propositions, triangle centers, Pacioli woodcuts, symbolic Python models, and
historical codices.
Yet viewed through the dual lens of Ted Nelson and Douglas Engelbart, five structural challenges remain open for investigation and design:
1. From One-Way objects.inv to Bidirectional Backlinks¶
Current Limitation: When
altshiller-courtorpolyhedraciteseuclid:I.47, the outbound link resolves cleanly, but ``euclid``’s own Proposition I.47 page has no automatic awareness of incoming citations across sibling repositories.Design Direction: Pair each repository’s
objects.inv(targets) with an emitted outbound-edge manifest (links_out.json) so a workspace-level hypergraph pass can compile incoming backlink ledgers (Referenced Across the Archive) without coupling repository builds into circular loops.
2. Statement-Level Granularity (Tumblers Meet Purple Numbers)¶
Current Limitation: Standard Sphinx inventories index documents, headings, and manually placed
.. _label:anchors—leaving ordinary paragraphs uncitable without editing the upstream repository.Design Direction: Combine Engelbart’s deterministic hierarchical Purple Numbers (
#1a11) with canonical work identifiers so every statement in a codex is permanently addressable.
3. Provenance-Safe Transclusion Across Treatises¶
Current Limitation: Quoting an enunciation or definition across companion commentaries risks silent drift if the primary edition’s transcription is refined.
Design Direction: Standoff transclusion references resolved against local codex sources with automatic visual attribution and one-click jump to surrounding context.
4. Offline Federation vs. Live Web Canonicalization¶
Current Limitation: Offline sandboxed builds must resolve inventories strictly from local
../<sister>/docs/objects.invfiles while emitting canonical publichttps://<org>.github.io/<sister>/...URIs—and gracefully degrading when a sibling repo has not yet been built locally.Design Direction: Explicit hypergraph link-health auditing across the entire shelf catalog prior to release rollups.
5. Uniting Trees (Engelbart) & Hypergraphs (Nelson)¶
Rather than choosing between Engelbart’s hierarchical trees and Nelson’s non-hierarchical hypergraphs, living digital archives thrive on both:
Canonical Backbone (Engelbart): Every primary treatise preserves its true rhetorical spine (Book → Chapter → Proposition / Statement ID) with fast depth-clipping Viewspecs.
Standoff Cross-Cutting Dimensions (Nelson): Theorems, persons, glossary concepts, and justifications weave an orthogonal multi-repository hypergraph across the entire library.