HYPERSTITION STUDIO // SOFTWARE ENGINEERING EXPLICATION HUB (UNIT E0)

Commutative Live-Introspected Architecture • Piecewise & Non-Sequentially Revertible Cartridges • urn:io:hyperstitionstud:engineering:v2.1.0

Prerequisite Track for Novices • Required Expertise: Level 1-2 (Novice to Advanced Beginner • 4-8 hrs study)

If any concepts on this page are unfamiliar, occupy your study time with these free foundational resources first:

Core Concepts Required:
  • Command-line navigation, files, and Git version control
  • How HTTP servers, JSON APIs, and static webroots operate
  • Self-Paced Learning Track (/learn/ Modules 1-6)
Curated Free Public Study Resources:
Repositories
6
CLI Entrypoints
15
MCP & REST Tools
15
Pluggable Lenses
6
Watchlist / FRED
24 / 14
Enabled Subpages
5 / 5
E1 // Level 2: Introductory Python & Text Processing (10-15 hrs study)

Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Zero-d-Filter Isolation

The cipher engine maps digits 0-9 to 0..9 (ord(c)-48) and ASCII letters A-Z to 10..35 (ord(c)-87) across three quantization modes: digit (default), off (qualitative lexical only), and spoken (number-word expansion via int_to_spoken_words()). assert_zero_d_filter() enforces a hard boundary preventing legacy 10-letter decagram filters from ever entering Zoology or Knowledge Graph artifacts.

Open E1: Ciphers & Phonetics Subpage →
E2 // Level 3-4: Databases, Cryptographic Hashing & OS Concurrency (15-25 hrs study)

Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine

Every compiler, MCP tool, and REST v1 handler executes inside with ReadOnlyIsolationGuard(cfg.read_only_files) as guard:. Before and after the block runs, SHA-256 digests of taxonomy/glossary-registry.json and encyclopedia/encyclopedia-manifest.json are verified against baseline constants, raising RuntimeError immediately on any byte mutation.

Open E2: Knowledge Graph & SQLite Subpage →
E3 // Level 3: Data Engineering, Time-Series Ingestion & Strategy Registries (10-15 hrs study)

Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief

collector.py and timeseries.py eliminate all synthetic bar interpolation: 23 public tickers load 440 verified daily exchange bars (site/quant/real-market-history.json), while private entity ANTHR-PVT and closed weekend/holiday sessions serialize strictly as null ('No data available'). macro.py ingests 14 keyless St. Louis Fed (FRED) CSV series at native 1d, 1mo, and 1q cadences without forward-fill.

Open E3: Quant, Macro & Bayesian Subpage →
E4 // Level 4: Network Protocols, OpenAPI 3.1 & Content-Addressed Storage (15-20 hrs study)

Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1

mcp/server.py and mcp/rest.py expose all 15 tools in MCP_TOOLS_SCHEMA over stdio, Streamable HTTP POST/GET /mcp, and /api/v1/tools/{tool_name} on 127.0.0.1:8095. Top-level exception guards in _MCPHTTPHandler and record_api_telemetry() ensure sqlite3.OperationalError or read-only filesystem states never drop connections or trigger 502 Bad Gateway.

Open E4: MCP, REST & IPLD CIDv1 Subpage →
E5 // Level 4: Linux Systems Administration, Bash Traps, systemd & DevOps (20-30 hrs study)

Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke

push-all-to-git-libre-audio.sh, deploy/sync-vps-repos.sh, and deploy/run-vps-data-production.sh contain 0 /dev/null redirections and capture exact exit codes via run_checked(). When sync-vps-repos.sh updates hyperstitionstudio-core on disk, HYPERSTITION_SYNC_REEXEC=1 immediately execs the new script image before hydrating /var/www/hyperstitionstud.io/repos (tmpfs RAM + Brotli-11/Gzip-9).

Open E5: CI/CD, VPS & Regression Subpage →

End-to-End Periodic Data Harvest → CI/CD → Deployed VPS Infrastructure Flow Diagram

Generated & verified deterministically by hyperstitionstud_io.publishing.flow_diagram during push-all-to-git-libre-audio.sh and tests/test_core_suite.py:

Periodic Data Harvest to CI/CD to VPS Flow Diagram

Live Introspected CLI Entrypoints (pyproject.toml [project.scripts])

CLI CommandPython Module:Function Target
hs-archive-rotatehyperstitionstud_io.publishing.archive_rotator:main
hs-citationshyperstitionstud_io.ci.citation_sources:main
hs-daily-briefhyperstitionstud_io.quant.daily_brief:main
hs-db-buildhyperstitionstud_io.db.sqlite_meta:main
hs-doctorhyperstitionstud_io.ci.doctor:main
hs-eng-docshyperstitionstud_io.publishing.engineering_docs:main
hs-kg-buildhyperstitionstud_io.graph.cli:main
hs-macro-harvesthyperstitionstud_io.quant.macro:main
hs-math-docshyperstitionstud_io.publishing.math_docs:main
hs-mcphyperstitionstud_io.mcp.server:main
hs-pdf-buildhyperstitionstud_io.publishing.pdf_compiler:main
hs-public-smokehyperstitionstud_io.ci.public_regression:main
hs-quant-harvesthyperstitionstud_io.quant.collector:main
hs-sync-versionhyperstitionstud_io.version_sync:main
hs-ticker-cardhyperstitionstud_io.quant.cards:main