6.5 KiB
6.5 KiB
Cross-Repository Modularity & Coupling Audit: encyclopedia-knowledge-graph, technocapital-singularity-zoology & hyperdope-ci-build
- Evaluated Sibling Repositories in
/workspace:/workspace/encyclopedia-knowledge-graph(v1.0.0, branchmain)/workspace/technocapital-singularity-zoology(v1.7.0, branchmain)/workspace/hyperdope-ci-build(branchfeat/ingglish-aq-corpus)
- Upstream Shared Reference Repository:
/workspace/ingglish-hyperdope-gematria(node_modules/ingglish&ingglish-aq-archive/) - Glossary & Encyclopedia Isolation: Verified (
0changes totaxonomy/glossary-registry.jsonorencyclopedia/).
1. /workspace/encyclopedia-knowledge-graph (Modularity Rating: HIGH at Runtime / MEDIUM-HIGH at Compile Time)
1.1 What Is Fully Modular & Self-Contained
- Zero-Server,
100%Standalone Runtime Bundle: Once compiled, the interactive workbench (index.html+graph-data.js) and the four open-source exports (encyclopedia-graph.json,.graphml,.gexf, andencyclopedia.canvas) have zero runtime dependencies on Python, Node.js, CDN scripts, or sibling repositories. You can copy/workspace/encyclopedia-knowledge-graphto another machine and openindex.htmldirectly viafile://. - Parameterized CLI & Strictly Unidirectional Read-Only Ingestion:
scripts/build_encyclopedia_knowledge_graph.pyaccepts--upstream-repoand--out-dir, reads upstream JSON and Markdown files strictly in read-only mode (open(..., "r")), and enforces pre/postSHA-256assertions so zero graph concepts ever leak back into the upstream glossary or encyclopedia.
1.2 Remaining Coupling Points
- Upstream Schema Coupling at Build Time:
Rebuilding the graph requires
--upstream-repo(default/workspace/technocapital-singularity-zoology) to provide the expected JSON files (taxonomy/glossary-registry.json,encyclopedia/encyclopedia-manifest.json,taxonomy/assemblage-builds-tier-list.json,taxonomy/memetic-superclass-registry.json) anddossiers/*.md. - Relative PDF Deep-Links in
index.html: The"Open Encyclopedia Volume PDF"button inside the right-hand Inspector Drawer links to../technocapital-singularity-zoology/encyclopedia/<div_id>/<slug>.pdf, assuming the sibling repository sits beside it under/workspace/(and operator-manual PDF compilation calls/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/build_wire_report_pdf.py).
2. /workspace/technocapital-singularity-zoology (Modularity Rating: MEDIUM-HIGH — Self-Contained Data & Encyclopedia, Coupled to Upstream Runtime Helpers)
2.1 What Is Fully Modular & Self-Contained
- Isolated Domain Data, Taxonomies & 22-Volume Encyclopedia Compiler:
Owns all
S1–S6,M1–M7+,ETItier-list, quantitative-anchor, citation-ledger, and glossary JSON registries (taxonomy/*.json), canonical dossiers (dossiers/65..69-dossier-*.md), and the 22-volume PDF Encyclopedia (encyclopedia/). Notably,build_encyclopedia()compiles all 22 Encyclopedia PDFs in-process using ReportLab directly without calling any external script. - Configurable CLI Paths:
scripts/classify_technocapital_singularity.pyexposes--workdir,--anchors-file,--memetic-registry,--terms,--quant-mode, and--out.
2.2 Remaining Coupling Points to /workspace/ingglish-hyperdope-gematria
- Node.js
ingglish(CMUdict) Package Resolution:batch_translate()spawnsnode --input-type=modulewithcwd=--workdir(defaulting to/workspace/ingglish-hyperdope-gematria) becausenode_modules/ingglishis installed there rather than in/workspace/technocapital-singularity-zoology/node_modules/. - Visual Tier-List & Glossary PDF Subprocess Handoffs:
By deliberate DRY design,
build_assemblage_tier_list()delegates.pdf/.pngrendering to/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/generate_aq_tier_list.py --rows-json, andsync_glossary()delegates glossary PDF compilation to/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/build_wire_report_pdf.py. To maketechnocapital-singularity-zoology100%standalone on a machine withoutingglish-hyperdope-gematria, it would need its own localnode_modules/ingglishinstall and local fallbacks for those two helper scripts.
3. /workspace/hyperdope-ci-build (Modularity Rating: HIGH as a Downstream PR Artifact Repo / COUPLED to Upstream Provisioner for Ingestion)
3.1 What Is Fully Modular & Self-Contained
- Clean Upstream Fork Structure for Pull Requests:
Once provisioned,
/workspace/hyperdope-ci-build(branchfeat/ingglish-aq-corpus) is a100%self-contained clone ofmalonehunter/hyperdope-gematriacontainingdb.txt,config.default.js,docs/ONBOARDING-INGGLISH-AQ.md, its owntools/(normalize_caps.py,classify_candidates.py,generate_db_json.py), pre-verified PR artifacts (ci-audit-report.json,pr-body.md,pr-payload.json), and an autonomoussubmit-pr.shscript that pushes and opens a GitHub PR with zero external sibling dependencies.
3.2 Remaining Coupling Points to /workspace/ingglish-hyperdope-gematria
- External Provisioning Engine (By Design):
To avoid polluting the upstream PR diff with custom archive-scraping scripts, the ingestion driver (
ci_provision_ingglish.py) lives outside the repo at/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/ci_provision_ingglish.pyand reads/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/*.md. Thus,hyperdope-ci-buildis completely modular for testing, buildingdb.json, and submitting PRs, but relies oningglish-hyperdope-gematriawhenever new dossiers are ingested intodb.txt.
4. Summary Comparison Matrix
| Repository | Standalone Runtime? | Standalone Rebuild? | External Sibling Dependencies |
|---|---|---|---|
encyclopedia-knowledge-graph |
YES (100% offline via index.html + graph-data.js) |
Needs upstream JSONs (--upstream-repo) |
Reads technocapital-singularity-zoology JSONs & dossiers (strictly read-only) |
technocapital-singularity-zoology |
YES (taxonomy/*.json, dossiers/*.md, encyclopedia/*.pdf) |
Needs Node ingglish (--workdir) |
Uses ingglish-hyperdope-gematria for node_modules/ingglish & 2 PDF helper scripts |
hyperdope-ci-build |
YES (tools/*.py, db.txt, submit-pr.sh) |
Needs external provisioner | Populated by ci_provision_ingglish.py from ingglish-aq-archive/*.md |