17 KiB
Operator's Manual: Building, Verifying, Inspecting & Maintaining the Encyclopedia of Technocapital Singularity Zoology Knowledge Graph (v1.0.0)
- Document ID:
OPERATORS-MANUAL-ENCYCLOPEDIA-KNOWLEDGE-GRAPH(v1.0.0) - Standalone Knowledge Graph Repository:
/workspace/encyclopedia-knowledge-graph(branch: main,tag: v1.0.0) - Upstream Read-Only Sibling Repository:
/workspace/technocapital-singularity-zoology(v1.7.0) - Knowledge Graph Compiler CLI:
/workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py - Interactive Browser Workbench:
/workspace/encyclopedia-knowledge-graph/index.html(https://hyperstitionstud.io/graph/index.html) - Strict Isolation Standard: Read-Only Upstream Ingestion (
0Graph/Visualization Concepts Permitted in/workspace/technocapital-singularity-zoology/taxonomy/glossary-registry.jsonorencyclopedia/)
1. System Overview & Sibling Repository Isolation
/workspace/encyclopedia-knowledge-graph is a standalone, source-controlled Git repository in /workspace housing the Encyclopedia Knowledge Graph Compiler (scripts/build_encyclopedia_knowledge_graph.py), the Interactive HTML5/Canvas Browser Workbench (index.html), the four open-source graph interchange exports (encyclopedia-graph.json, encyclopedia-graph.graphml, encyclopedia-graph.gexf, encyclopedia.canvas), the three high-resolution visual atlas PNG boards (atlas-mode{1,2,3}.png), and this Operator's Manual (OPERATORS-MANUAL-ENCYCLOPEDIA-KNOWLEDGE-GRAPH.{md,pdf}).
It compiles the 9 Ontological Divisions (00–08), 22 Alphabetized PDF Volumes (122 pages), 282 unique glossary and lexical headwords (291 volume placements), 10 Assemblage Builds (Ranks #1–#9 + provisional M7_candidate_2026_11_28), 65 Base-36 Alphanumeric Qabbala (AQ) coordinate hubs (71..390, 333/666/777), and 189 verified cross-scale equations from /workspace/technocapital-singularity-zoology into a 388-node, 1,282-edge multi-partite property graph (0 duplicate parallel edges).
1.1 The Strict One-Way Isolation Rule (Zero Glossary Leak)
Operators must enforce a strict unidirectional boundary between the Upstream Domain Repository (/workspace/technocapital-singularity-zoology) and this Downstream Knowledge Graph Repository (/workspace/encyclopedia-knowledge-graph):
| Repository & Layer | Canonical Files | Access Mode During Graph Build | Isolation Invariant |
|---|---|---|---|
Upstream Sibling Repo (/workspace/technocapital-singularity-zoology) |
taxonomy/glossary-registry.jsonencyclopedia/encyclopedia-manifest.jsontaxonomy/assemblage-builds-tier-list.jsontaxonomy/memetic-superclass-registry.jsondossiers/65..69-dossier-*.md |
READ-ONLY (r) |
Pre-build and post-build SHA-256 digests of glossary-registry.json and encyclopedia-manifest.json MUST remain 100% identical. Zero graph-theory or visualization terms may be added to the upstream glossary. |
Downstream Graph Repo (/workspace/encyclopedia-knowledge-graph) |
index.html, graph-data.jsencyclopedia-graph.jsonencyclopedia-graph.graphmlencyclopedia-graph.gexfencyclopedia.canvasatlas-mode{1,2,3}.png |
READ-WRITE (w) |
Rebuilt deterministically on demand whenever upstream encyclopedia or glossary registries are updated. |
2. Prerequisites, Dependencies & Pre-Flight Checklist
- Python 3.10+ &
requirements.txt:- Core graph construction, centrality calculation, and JSON/GraphML/GEXF/Canvas exports use 100% Python 3.10+ standard library (
json,hashlib,math,re,html,xml.etree.ElementTree,pathlib,argparse). - Rendering the three
1600x1060visual atlas PNG boards and compiling PDF documentation usesPillow,reportlab,pypdf, andpdfplumber(declared in/workspace/encyclopedia-knowledge-graph/requirements.txt).
- Core graph construction, centrality calculation, and JSON/GraphML/GEXF/Canvas exports use 100% Python 3.10+ standard library (
- Upstream Sibling Repository Presence:
Confirm that
/workspace/technocapital-singularity-zoology/taxonomy/glossary-registry.jsonand/workspace/technocapital-singularity-zoology/encyclopedia/encyclopedia-manifest.jsonexist on disk. - Pre-Flight Isolation Baseline Check (
--check-isolation):Expected output:python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --check-isolation"glossary_registry_sha256": "7564ef40fb3e0e18d1d8547522db431b6a369c40139713b573df6e58b972d43d""encyclopedia_manifest_sha256": "0d7ce833bb0aa0eea069bf764b2e3b0b36ac2631821c42f3d6bcb897335f8a7d"
3. Step-by-Step Build & Verification Procedure
Step 1: Execute the Full Knowledge Graph Build
Run build_encyclopedia_knowledge_graph.py from any working directory:
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py
What this command executes deterministically in ~1.2 seconds:
- Computes
pre_gl_shaandpre_enc_shaover/workspace/technocapital-singularity-zoology/taxonomy/glossary-registry.jsonandencyclopedia/encyclopedia-manifest.json. - Constructs all 388 nodes across 6 ontological classes:
OntologicalDivision(9nodes:div:00-index-and-ontological-atlas..div:08-stakeholder-registers-idioms-and-pokedex-semiotics)EncyclopediaVolume(22nodes:vol:00-index-and-ontological-atlas/00-master-encyclopedia-index-a-to-z..vol:08-.../i-to-z-...)TaxonAssemblageBuild(10nodes:build:S1[93 ETI],build:S2[90 ETI],build:S6[87 ETI],build:S3[83 ETI],build:M1[73 ETI],build:S5[61 ETI],build:S4[61 ETI],build:M6[53 ETI],build:M7_candidate_2026_11_28[53 ETI], andbuild:Q0[49 ETI])ConceptualOperatorOrIdiom(92nodes:concept:000..concept:091from Sections 1–8 & 8B)BilingualLexicalSpecimen(190nodes:spec:incorporation..spec:debtfrom Section 9)AQCoordinateHub(65nodes:aq:71..aq:390+ macro repdigit attractorsaq:333,aq:666,aq:777)
- Constructs all 1,282 deduplicated typed edges across 8 mathematical and structural relations:
IN_VOLUME(281edges) &IN_DIVISION(22edges)IN_GUILD_BUILD(271edges)G2_CROSS_GEN_TWIN(202directed edges whereAQ_Eng(A) == AQ_Ing(B))CLOSES_REPDIGIT_EQ(175edges linking constituent tokens toaq:333,aq:666, andaq:777)G1_COLLAPSES_TO_ING_AQ(167directed edges weighted bylog(1 + Gen0_Var_Collapsed))GEN0_WRITTEN_COLLISION(103undirected edges whereAQ_Eng(A) == AQ_Eng(B))TROPHIC_GUILD_BRIDGE(35unique edges across the13Multi-Build Hybrid Flex Singularities)G4_ISOMETRIC_INVARIANT(21self-loops onΔ = 0chokepoints)G5_TWIN_PRIME_MUTATION(5edges on dual-prime mutations into shared hubs)
- Computes deterministic
(x, y)coordinates for all 4 spatial layouts (mode1_trophic,mode2_radar,mode3_bipartite,mode4_hierarchy). - Writes
encyclopedia-graph.json,graph-data.js,encyclopedia-graph.graphml,encyclopedia-graph.gexf,encyclopedia.canvas, and the 3 high-resolution PNG atlas boards (atlas-mode1-trophic-food-web.png,atlas-mode2-concentric-eti-radar.png,atlas-mode3-bipartite-g1-funnel.png) into/workspace/encyclopedia-knowledge-graph/. - Runs the built-in 6-Gate Verification Suite and asserts
pre_gl_sha == post_gl_shaandpre_enc_sha == post_enc_sha.
Step 2: Run Standalone 6-Gate Verification (--verify-only)
To audit the published artifacts in /workspace/encyclopedia-knowledge-graph/ at any time without rebuilding:
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --verify-only
Verify that the JSON response reports "all_gates_passed": true:
- Gate 1 (
gate1_glossary_sha256_unchanged):true(taxonomy/glossary-registry.jsonuntouched). - Gate 2 (
gate2_encyclopedia_sha256_unchanged):true(encyclopedia/encyclopedia-manifest.jsonuntouched). - Gate 3 (
gate3_json_schema_counts):{"nodes": 388, "edges": 1282}(>= 388nodes and>= 1282deduplicated edges). - Gate 4 (
gate4_xml_well_formed): Parses bothencyclopedia-graph.graphmlandencyclopedia-graph.gexfviaxml.etree.ElementTree.parse()with zero XML syntax errors. - Gate 5 (
gate5_obsidian_canvas_counts): Confirms valid JSON Canvas 1.0 structure (282hub/high-degree canvas nodes,1,120canvas edges). - Gate 6 (
gate6_atlas_pngs): Confirms all 3 rendered PNG atlas boards exist at[1600, 1060]RGB resolution.
Step 3: Query Any Node & Inspect Its Ego-Network via CLI (--query-node)
Operators can inspect any node's properties, layout coordinates, equivalence ring members, and incident edges directly from the terminal using --query-node <QUERY>:
# 1. Query an Assemblage Build by ID
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --query-node "build:S1"
# 2. Query an AQ Coordinate Hub by integer value (e.g., 125 = 5^3 or 193 [44th PRIME])
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --query-node "125"
# 3. Query a Bilingual Lexical Specimen by English or Ingglish spelling
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --query-node "blakwel"
Step 4: Conduct Non-Destructive Staging Dry-Runs (--out-dir)
When testing layout adjustments or schema extensions, pass --out-dir /tmp/kg-staging so the production /workspace/encyclopedia-knowledge-graph/ directory remains untouched during testing:
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --out-dir /tmp/kg-staging
4. Operating the Interactive Browser Workbench (/workspace/encyclopedia-knowledge-graph/index.html)
4.1 Opening the Workbench (file:// Direct Open or Local HTTP Server)
Because index.html loads window.ENCYCLOPEDIA_GRAPH_DATA synchronously from the co-located graph-data.js bundle, operators can open the workbench in two ways:
- Direct Local
file://Open (Zero Server Required): Openhttps://hyperstitionstud.io/graph/index.htmldirectly in Firefox, Chromium, or Brave. - Local HTTP Server (Serving
/workspaceParent Directory):Then navigate topython3 -m http.server 8090 --bind 127.0.0.1 --directory /workspacehttp://127.0.0.1:8090/encyclopedia-knowledge-graph/index.html. (Note: Serving from/workspaceallows the relative../technocapital-singularity-zoology/encyclopedia/<div_id>/<slug>.pdflinks inside the right-hand Inspector Drawer to open the 22 Encyclopedia PDFs directly in a new browser tab).
4.2 Navigating the Four Spatial Layout Modes & Ego-Network Isolator
Use the top toolbar buttons to switch between the spatial layouts:
Mode 2: ETI Radar (S+ -> D Periphery)(Default): Displays the six concentric rings (Ring 1: Tier S+ Center [88–100 ETI]bullseye radiating outward throughRing 2: Tier S,Ring 3: Tier A,Ring 4: Tier B,Ring 5: Tier C, andRing 6: Tier D Periphery [44–51 ETI]).Mode 1: Trophic Food-Web: Places333 / 666 / 777at the core surrounded by the13Flex Pivots, the10Assemblage Builds, the190specimens clustered by guild angle, and the92conceptual operators.Mode 3: Gen 0 -> Gen 1 Funnel: Five-column bipartite alignment (Gen 0 Written Specimens [x=240]->Conceptual Operators [x=500]->Encyclopedia Volumes [x=790]->Gen 1 AQ Hubs [x=1080]->ETI Builds & 333/666/777 [x=1340]).Mode 4: 00–08 Folder Grid: Arranges all291article placements in a3x3grid corresponding to Ontological Divisions00through08.- Interactive Ego-Network Isolation (Mode 5):
- Single-click any node on the canvas (or click any of the
13 Flex Pivots & Repdigit Hubspills in the left sidebar:333, 666, 777, 292, 260, 256, 211, 193, 191, 183, 166, 153, 137, 136, 133, 129, 125, 96, 95, 91, 81) to isolate its 1-hop neighborhood and populate the right-hand Encyclopedia Article Inspector Drawer. - Double-click empty canvas (or click
Reset View) to restore the full 388-node view. - Click
Export PNGin the top-right toolbar to download a PNG snapshot of the current viewport and filter state.
- Single-click any node on the canvas (or click any of the
5. Importing Into External Open-Source Network Science & PKM Tools
- Gephi (
0.10+) / Cytoscape Desktop (3.10+) / yEd: Open/workspace/encyclopedia-knowledge-graph/encyclopedia-graph.gexf(orencyclopedia-graph.graphml). Node colors (viz:color), sizes (viz:size), and pre-computed radar coordinates (viz:position) load automatically. - Obsidian Canvas (
JSON Canvas 1.0): Copy or symlink/workspace/encyclopedia-knowledge-graph/encyclopedia.canvasinto any Obsidian vault to browse the 282 core cards and 1,120 edges on an infinite 2D canvas.
6. Maintenance Protocol, First-Push Instructions & Troubleshooting Runbook
6.1 Rebuilding After Upstream Encyclopedia Updates
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py
6.2 First Push to Remote origin (push-to-origin.sh)
To connect /workspace/encyclopedia-knowledge-graph to a remote Git host (GitHub, Forgejo/Gitea, or GitLab) and push main and tag v1.0.0:
# Option A: Use the bundled zero-ambiguity helper script (runs 6-gate verification before pushing)
/workspace/encyclopedia-knowledge-graph/push-to-origin.sh https://github.com/<org>/encyclopedia-knowledge-graph.git
# Option B: Manual Git commands
cd /workspace/encyclopedia-knowledge-graph
git remote add origin <REMOTE_GIT_URL>
git push -u origin main
git push origin v1.0.0
6.3 Troubleshooting Common Operator Issues
| Symptom / Error | Root Cause | Deterministic Resolution |
|---|---|---|
AssertionError: ISOLATION BREACH: glossary-registry.json modified! |
An external process modified taxonomy/glossary-registry.json mid-build. |
Run git -C /workspace/technocapital-singularity-zoology diff taxonomy/glossary-registry.json to inspect the change, restore if unintended, and re-run build_encyclopedia_knowledge_graph.py. |
Error: graph-data.js not found when opening index.html |
index.html was moved outside /workspace/encyclopedia-knowledge-graph/ without graph-data.js. |
Keep index.html and graph-data.js in /workspace/encyclopedia-knowledge-graph/ or re-run build_encyclopedia_knowledge_graph.py. |
Clicking Open Encyclopedia Volume PDF in index.html returns 404 over HTTP |
The local HTTP server was started inside /workspace/encyclopedia-knowledge-graph instead of the parent /workspace directory, making ../technocapital-singularity-zoology/encyclopedia/ unreachable. |
Start python3 -m http.server 8090 with --directory /workspace (the parent workspace directory) or open index.html directly via file://. |
7. Operator Manual Write-Test-Edit Audit Log (v1.0.0)
During live verification of this manual against /workspace/encyclopedia-knowledge-graph/, three empirical refinements were discovered, tested, and edited into both scripts/build_encyclopedia_knowledge_graph.py and this manual:
- Deduplication of Parallel
TROPHIC_GUILD_BRIDGEEdges (1,287 -> 1,282Unique Edges): Runningbuild_encyclopedia_knowledge_graph.py --query-node "125"revealed that("aq:125", "build:S6", "TROPHIC_GUILD_BRIDGE")was emitted twice (once frombuild:S2 -> 125 -> build:S6and once frombuild:M7_candidate_2026_11_28 -> 125 -> build:S6), causingincident_edge_count(9) to exceeddegree(8). Addingseen_edges: set[tuple[str, str, str]]inadd_edge()eliminated all 5 duplicate parallel bridge edges (40 -> 35TROPHIC_GUILD_BRIDGEedges,1,287 -> 1,282total edges) soincident_edge_count == degree(8 == 8) holds across all hubs. - Multi-Match
matched_node_idsReporting in--query-node: Querying an integer coordinate such as--query-node "125"matches both the hub node (aq:125) and the 5 lexical specimen nodes whoseing_aq == 125(spec:capital,spec:capture,spec:downs,spec:folds,spec:serres).query_node_ego()was upgraded to return"matched_node_ids"alongside"primary_node"so operators immediately see the entire equivalence ring. - Dynamic Threshold Guard in Gate 3 (
nodes >= 388,edges >= 1282) & Empirical Canvas Counts (282Nodes,1,120Edges): Updated Gate 3 inverify_published_artifacts()to assert>= 388nodes and>= 1282edges (so future glossary additions pass--verify-onlywithout false-negative equality failures) and updated Gate 5 documentation to reflect the exact verified Obsidian Canvas counts (282nodes,1,120edges).