diff --git a/README.md b/README.md index 5a47feb..314cb31 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ > **Gitea Commit & Release Telemetry (`v2.10.0` • Namespace `urn:io:hyperstitionstud`)** > - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots → [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/) -> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.10.0 release state across 2 tracked module/artifact surface(s) -> - **Touched Files / Surfaces:** `deploy/test-first-deployment.sh`, `src/hyperstitionstud_io/mcp/tools.py` +> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.10.0 release state across 15 tracked module/artifact surface(s) +> - **Touched Files / Surfaces:** `pyproject.toml`, `site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png`, `site/assets/closeups/quadrant-1-tab-2-graph.png`, `site/assets/closeups/quadrant-2-esoteric-finance-quant.png`, `site/assets/closeups/quadrant-2-tab-2-bayesian-fred.png`, `site/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png`, `site/assets/closeups/quadrant-4-operators-deployment-vps.png`, `site/assets/closeups/quadrant-4-tab-3-ci-gates.png` (+7 more) > - **Live Verified Ecosystem Metrics (`v2.10.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data diff --git a/pyproject.toml b/pyproject.toml index 5ce3321..e77ce4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,7 @@ hs-eng-docs = "hyperstitionstud_io.publishing.engineering_docs:main" hs-math-docs = "hyperstitionstud_io.publishing.math_docs:main" hs-highlights = "hyperstitionstud_io.publishing.highlights:main" hs-readme-sync = "hyperstitionstud_io.publishing.readme_sync:main" +hs-closeups-sync = "hyperstitionstud_io.publishing.closeups_sync:main" [tool.setuptools.packages.find] where = ["src"] diff --git a/site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png b/site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png index fba5905..aecded4 100644 Binary files a/site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png and b/site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png differ diff --git a/site/assets/closeups/quadrant-1-tab-2-graph.png b/site/assets/closeups/quadrant-1-tab-2-graph.png index 0c594c3..14a8e0c 100644 Binary files a/site/assets/closeups/quadrant-1-tab-2-graph.png and b/site/assets/closeups/quadrant-1-tab-2-graph.png differ diff --git a/site/assets/closeups/quadrant-2-esoteric-finance-quant.png b/site/assets/closeups/quadrant-2-esoteric-finance-quant.png index 469ad9c..0e92e06 100644 Binary files a/site/assets/closeups/quadrant-2-esoteric-finance-quant.png and b/site/assets/closeups/quadrant-2-esoteric-finance-quant.png differ diff --git a/site/assets/closeups/quadrant-2-tab-2-bayesian-fred.png b/site/assets/closeups/quadrant-2-tab-2-bayesian-fred.png index 2da58a3..d957cdf 100644 Binary files a/site/assets/closeups/quadrant-2-tab-2-bayesian-fred.png and b/site/assets/closeups/quadrant-2-tab-2-bayesian-fred.png differ diff --git a/site/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png b/site/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png index 9205eaf..152a5bb 100644 Binary files a/site/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png and b/site/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png differ diff --git a/site/assets/closeups/quadrant-4-operators-deployment-vps.png b/site/assets/closeups/quadrant-4-operators-deployment-vps.png index 91d351b..a3dc324 100644 Binary files a/site/assets/closeups/quadrant-4-operators-deployment-vps.png and b/site/assets/closeups/quadrant-4-operators-deployment-vps.png differ diff --git a/site/assets/closeups/quadrant-4-tab-3-ci-gates.png b/site/assets/closeups/quadrant-4-tab-3-ci-gates.png index 5069c6e..6890a8a 100644 Binary files a/site/assets/closeups/quadrant-4-tab-3-ci-gates.png and b/site/assets/closeups/quadrant-4-tab-3-ci-gates.png differ diff --git a/site/assets/closeups/ui-elements-manifest.json b/site/assets/closeups/ui-elements-manifest.json new file mode 100644 index 0000000..2b862f2 --- /dev/null +++ b/site/assets/closeups/ui-elements-manifest.json @@ -0,0 +1,610 @@ +{ + "$id": "urn:io:hyperstitionstud:closeups-ui-manifest", + "ui_elements_fingerprint_sha256": "8f92e3c928a040caab84574cb87213814a0f5b765971c4a01419966ee05d9ee9", + "closeup_images": [ + "quadrant-1-cybermemetics-calc-graph.png", + "quadrant-1-tab-2-graph.png", + "quadrant-2-esoteric-finance-quant.png", + "quadrant-2-tab-2-bayesian-fred.png", + "quadrant-2-tab-3-leaderboard-card.png", + "quadrant-3-info-science-novice-learn-polyglot.png", + "quadrant-3-tab-2-math-guile.png", + "quadrant-3-tab-3-math-ts-rust.png", + "quadrant-4-operators-deployment-vps.png", + "quadrant-4-tab-2-mcp-etag.png", + "quadrant-4-tab-3-ci-gates.png" + ], + "live_metrics": { + "calc_db_entries": 231061, + "quant_total_real_bars": 472, + "quant_bayesian_posteriors": { + "R1_BULL_RISK_ON": 0.0, + "R2_PINNED_ISOMETRIC": 0.0, + "R3_TAIL_DRAWDOWN_RISK_OFF": 1.0 + }, + "engineering_counts": { + "repositories": 6, + "cli_entrypoints": 18, + "mcp_tools": 20, + "rest_domain_aliases": 12, + "enabled_lenses": 6, + "watchlist_instruments": 24, + "fred_macro_series": 14, + "json_schemas_v1": 12 + }, + "cli_scripts_sample": { + "hs-archive-rotate": "hyperstitionstud_io.publishing.archive_rotator:main", + "hs-citations": "hyperstitionstud_io.ci.citation_sources:main", + "hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main", + "hs-daily-brief": "hyperstitionstud_io.quant.daily_brief:main" + }, + "ci_keep_rate_pct": 100.0 + }, + "surfaces": { + "home": { + "ui_structure_sha256": "c087dc9ebf511dea01da971b92b39c8c017dd661721794e660cd8b24b9f1bcd4", + "id_count": 0, + "button_count": 11, + "option_count": 0, + "input_count": 0, + "heading_count": 1, + "ids": [], + "inputs": [], + "sample_buttons": [ + "01 ☿ /calc/ Cipher Matrix", + "02 ☍ /graph/ ETI Radar", + "=3 Inspector\"\n data-closeup-href=\"/quant/index.html?screen=dose-d3\"\n data-closeup-route=\"quant-dose\"\n data-closeup-label=\"ACTIVE TAB: /quant/?screen=dose-d3 • 472 Bars (19d)\"\n data-closeup-cta=\"Launch Dose D≥3 →\">01 Δ Trajectory & Dose", + "02 ☍ Bayesian & FRED", + "03 ♄ 6-Lens & Card", + "01 ◈ /learn/ Prereq Track", + "02 λ Guile & Z-REPL", + "03 ≡ TypeScript & Rust", + "01 ⚚ DevOps & CLIs", + "02 ⚛ MCP & ETag 304", + "03 ◈ /ci/ 4-Gate Pipeline" + ], + "sample_options": [], + "sample_headings": [ + "HYPERSTITIONSTUD.IO // SINGULARITY ZOOLOGY WORKBENCH" + ] + }, + "quant": { + "ui_structure_sha256": "45d9297b103421bada5d84005b5406d5852aa3220ad63c9a2809efa3fdd6541b", + "id_count": 66, + "button_count": 21, + "option_count": 0, + "input_count": 2, + "heading_count": 1, + "ids": [ + "activeDateBadge", + "dailyBriefContainer", + "dailyBriefMeta", + "dailyBriefPanel", + "dateMetricsGrid", + "docReferencesCard", + "entity_threshold", + "exportCsvBtn", + "exportJsonBtn", + "guildFilterPills", + "guild_filter", + "heatmapPaginationBar", + "heatmapTable", + "heatmap_matrix", + "lagBarsContainer", + "lag_correlation_explorer", + "lensProjectionCard", + "lensSelect", + "macroIndicatorsGrid", + "macroIndicatorsPanel", + "metricModePills", + "metric_mode", + "navCalc", + "navDonate", + "navEng", + "navGraph", + "navHome", + "navLearn", + "navManual", + "navMath", + "nextDateBtn", + "openTradingViewBtn", + "panel1Meta", + "panel1Title", + "panel3Title", + "panel3TvBtn", + "passagePreviewBox", + "periodicityAuditFooter", + "prevDateBtn", + "projection_lens", + "quantInfoPopover", + "quantTutorialBar", + "scope1_self_lock", + "scope2_ring_migration", + "scope3_wire_copresence", + "tickerQuickFilter", + "tickerSelect", + "ticker_select", + "timeWindowPills", + "tsCanvas", + "tutCitationPills", + "tutClearSpotlightBtn", + "tutEpisodeTabs", + "tutKeyframeTitle", + "tutNextBtn", + "tutPlayPauseBtn", + "tutPrevBtn", + "tutScrubber", + "tutSpeechBtn", + "tutStepBadge", + "tutSubtitleText", + "vol20d_regimes", + "wireEqTape", + "wireTapeFilterInput", + "wireTapeHeader", + "wire_velocity_bars" + ], + "inputs": [ + "Filter symbol, entity, or AQ...", + "Filter wire equations or AQ..." + ], + "sample_buttons": [ + "▶ Play Guided Tour", + "⏮ Prev Scene", + "Next Scene ⏭", + "🔊 Voice: ON", + "Clear Spotlight", + "i", + "i", + "i", + "i", + "← Prev Day", + "Next Day →", + "i" + ], + "sample_options": [], + "sample_headings": [ + "hyperstitionstud.io/quant — Quantitative Finance & Memetic Gematria Time-Series Workbench" + ] + }, + "learn": { + "ui_structure_sha256": "e268fa263952e761a2d79b45a8881691495831178886770566532c30c2100316", + "id_count": 48, + "button_count": 11, + "option_count": 29, + "input_count": 2, + "heading_count": 7, + "ids": [ + "bookmarkPaginationBar", + "bookmarkedCoordsList", + "btnAddBookmark", + "btnDownloadState", + "btnLoadDemoState", + "btnResetState", + "btnUploadState", + "card-M01", + "card-M02", + "card-M03", + "card-M04", + "card-M05", + "card-M06", + "chk-M01", + "chk-M02", + "chk-M03", + "chk-M04", + "chk-M05", + "chk-M06", + "filterBookmarkInput", + "importModeSelect", + "inputBookmarkCoord", + "inputUploadState", + "m01InputA", + "m01InputB", + "m01Output", + "m02Output", + "m02WordSelect", + "m03ModeSelect", + "m03Output", + "m03TriadSelect", + "m04HeadlineSelect", + "m04Output", + "m05BuildSelect", + "m05Output", + "m06Output", + "m06RegisterSelect", + "note-M01", + "note-M02", + "note-M03", + "note-M04", + "note-M05", + "note-M06", + "progressFill", + "progressText", + "stateCidBadge", + "statePortabilityBar", + "stateStatusMsg" + ], + "inputs": [ + "Add AQ # (e.g. 137)", + "Filter saved AQ #..." + ], + "sample_buttons": [ + "Download State (.json)", + "Upload State (.json)", + "⚠ Load Simulated Demo State (Synthetic Example)", + "Reset Local State", + "Mark Module Complete", + "Mark Module Complete", + "Mark Module Complete", + "Mark Module Complete", + "Mark Module Complete", + "Mark Module Complete", + "+ Bookmark" + ], + "sample_options": [ + "Upload Mode: Replace State", + "Upload Mode: Merge State", + "capital → kapatal (Isometric Δ=0)", + "charter → charter (Isometric Δ=0)", + "ASML → asml (Isometric Δ=0)", + "TSMC → tsmc (Isometric Δ=0)", + "GPU → gpu (Isometric Δ=0)", + "knight → nait (Ghost mass stripped)", + "Anthropic → anthropik (44th Prime Lock)", + "Blackwell → blakwel (S3 129 Lock)", + "Triad 292: schizoanalysis / abstract machine / synthetic data", + "Triad 256: acceleration / high-frequency / sovereign wealth" + ], + "sample_headings": [ + "SELF-PACED INTERACTIVE LEARNING TRACK // HYPERSTITIONSTUD.IO", + "1. What Is Base-36 Alphanumeric Qabbala (AQ)?", + "2. Sound Over Spelling: Gen 0 Written English vs. Gen 1 Phonemic Ingglish", + "3. What Is a \"Singularity\"? Vector G1 Variance Collapse (Var → 0.0)", + "4. Double Articulation (S1–S5 × S6) & Two-Gate Memetic Activation (M1–M7+)", + "5. Reading the ETI Tier List & Concentric Radar (S+ Center to D Periphery)", + "6. Practical Use Cases: Choosing Your Stakeholder Register & Bookmarks" + ] + }, + "engineering_hub": { + "ui_structure_sha256": "12b0496d2f082fa2d29bf68c4b186f40be901f79a7be87fc435241ffa7123145", + "id_count": 14, + "button_count": 16, + "option_count": 16, + "input_count": 1, + "heading_count": 8, + "ids": [ + "engCliFilterInput", + "engCliTable", + "guileSchemeModeState", + "guileSchemeModeToggle", + "hsGuilePreferFloat", + "hsGuileReplCloseBtn", + "hsGuileReplDrawer", + "hsGuileReplEvalBtn", + "hsGuileReplInput", + "hsGuileReplOutput", + "hsGuileReplPreset", + "hsGuileReplStepBtn", + "hsPolyglotModeSelector", + "hsPolyglotReplLang" + ], + "inputs": [ + "Filter CLI command or module..." + ], + "sample_buttons": [ + "OFF", + "λGUILE", + "TSTYPESCRIPT", + "RsRUST", + "≡ ALL 3", + "λ Guile", + "TS TypeScript", + "Rs Rust", + "≡ All 3", + "Hide", + "REPL →", + "REPL →" + ], + "sample_options": [ + "λ Guile Scheme", + "TS TypeScript", + "Rs Rust", + "-- Load Preset Polyglot Expression (Guile / TS / Rust) --", + "[λ Guile] Base-36 AQ: (aq-base36 \"LEMUR\") => 114", + "[TS] Base-36 AQ: aqBase36(\"LEMUR\") => 114", + "[Rs Rust] Base-36 AQ: aq_base36(\"LEMUR\") => 114", + "[λ Guile] Prime Factors via Z: (prime-factors 666) => (2 3 3 37)", + "[TS] Prime Factors: primeFactors(666) => [2,3,3,37]", + "[Rs Rust] Prime Factors: prime_factors(666_u64) => vec![2, 3, 3, 37]", + "[λ Guile] Exact Rational Variance (Cluster 292): 4634/9", + "[TS] Cluster 292 Variance: 514.8889" + ], + "sample_headings": [ + "HYPERSTITION STUDIO // SOFTWARE ENGINEERING EXPLICATION HUB (UNIT E0)", + "Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation", + "Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine", + "Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief", + "Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1", + "Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke", + "End-to-End Periodic Data Harvest → CI/CD → Deployed VPS Infrastructure Flow Diagram", + "Live Introspected CLI Entrypoints (pyproject.toml [project.scripts])" + ] + }, + "engineering_e4": { + "ui_structure_sha256": "4521e10d2e556ada980e8ba3bde5bb0748fa5ef72f15b69a1030ce07cd28904d", + "id_count": 15, + "button_count": 17, + "option_count": 16, + "input_count": 0, + "heading_count": 4, + "ids": [ + "guileSchemeModeState", + "guileSchemeModeToggle", + "hsGuilePreferFloat", + "hsGuileReplCloseBtn", + "hsGuileReplDrawer", + "hsGuileReplEvalBtn", + "hsGuileReplInput", + "hsGuileReplOutput", + "hsGuileReplPreset", + "hsGuileReplStepBtn", + "hsPolyglotModeSelector", + "hsPolyglotReplLang", + "live-smoke-probe", + "liveEtagProbeOutput", + "runLiveEtagProbeBtn" + ], + "inputs": [], + "sample_buttons": [ + "OFF", + "λGUILE", + "TSTYPESCRIPT", + "RsRUST", + "≡ ALL 3", + "λ Guile", + "TS TypeScript", + "Rs Rust", + "≡ All 3", + "Hide", + "REPL →", + "REPL →" + ], + "sample_options": [ + "λ Guile Scheme", + "TS TypeScript", + "Rs Rust", + "-- Load Preset Polyglot Expression (Guile / TS / Rust) --", + "[λ Guile] Base-36 AQ: (aq-base36 \"LEMUR\") => 114", + "[TS] Base-36 AQ: aqBase36(\"LEMUR\") => 114", + "[Rs Rust] Base-36 AQ: aq_base36(\"LEMUR\") => 114", + "[λ Guile] Prime Factors via Z: (prime-factors 666) => (2 3 3 37)", + "[TS] Prime Factors: primeFactors(666) => [2,3,3,37]", + "[Rs Rust] Prime Factors: prime_factors(666_u64) => vec![2, 3, 3, 37]", + "[λ Guile] Exact Rational Variance (Cluster 292): 4634/9", + "[TS] Cluster 292 Variance: 514.8889" + ], + "sample_headings": [ + "Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1", + "1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)", + "2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)", + "⚛ Live API & IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe)" + ] + }, + "math_hub": { + "ui_structure_sha256": "9ce686c475325b7c3eef2abada48a3aac3cfa30bec087adb46b5226ff9a39cb6", + "id_count": 12, + "button_count": 16, + "option_count": 16, + "input_count": 0, + "heading_count": 6, + "ids": [ + "guileSchemeModeState", + "guileSchemeModeToggle", + "hsGuilePreferFloat", + "hsGuileReplCloseBtn", + "hsGuileReplDrawer", + "hsGuileReplEvalBtn", + "hsGuileReplInput", + "hsGuileReplOutput", + "hsGuileReplPreset", + "hsGuileReplStepBtn", + "hsPolyglotModeSelector", + "hsPolyglotReplLang" + ], + "inputs": [], + "sample_buttons": [ + "OFF", + "λGUILE", + "TSTYPESCRIPT", + "RsRUST", + "≡ ALL 3", + "λ Guile", + "TS TypeScript", + "Rs Rust", + "≡ All 3", + "Hide", + "REPL →", + "REPL →" + ], + "sample_options": [ + "λ Guile Scheme", + "TS TypeScript", + "Rs Rust", + "-- Load Preset Polyglot Expression (Guile / TS / Rust) --", + "[λ Guile] Base-36 AQ: (aq-base36 \"LEMUR\") => 114", + "[TS] Base-36 AQ: aqBase36(\"LEMUR\") => 114", + "[Rs Rust] Base-36 AQ: aq_base36(\"LEMUR\") => 114", + "[λ Guile] Prime Factors via Z: (prime-factors 666) => (2 3 3 37)", + "[TS] Prime Factors: primeFactors(666) => [2,3,3,37]", + "[Rs Rust] Prime Factors: prime_factors(666_u64) => vec![2, 3, 3, 37]", + "[λ Guile] Exact Rational Variance (Cluster 292): 4634/9", + "[TS] Cluster 292 Variance: 514.8889" + ], + "sample_headings": [ + "HYPERSTITION STUDIO // MATHEMATICAL FOUNDATIONS & QUANTITATIVE SEMIOTICS HUB (UNIT M0)", + "Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n)", + "Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6", + "Unit M3: Multi-Relational Property Graph Topology G=(V,E,R), Convex ETI Functional & LENS_REGISTRY", + "Unit M4: Longitudinal Moments (ts_*), Lead-Lag r(τ), Order Statistics (P50, P90) & Confluence Dose D ∈ {0..4}", + "Unit M5: Macroeconomic Spread/Velocity Identities, Discrete 3-State Bayes' Rule & Multiple-Testing Bounds" + ] + }, + "math_m1": { + "ui_structure_sha256": "3141f7e0e3e816edc7f2c49e813ca76637fa85768c57a8aa291348e7f6231736", + "id_count": 12, + "button_count": 16, + "option_count": 16, + "input_count": 0, + "heading_count": 3, + "ids": [ + "guileSchemeModeState", + "guileSchemeModeToggle", + "hsGuilePreferFloat", + "hsGuileReplCloseBtn", + "hsGuileReplDrawer", + "hsGuileReplEvalBtn", + "hsGuileReplInput", + "hsGuileReplOutput", + "hsGuileReplPreset", + "hsGuileReplStepBtn", + "hsPolyglotModeSelector", + "hsPolyglotReplLang" + ], + "inputs": [], + "sample_buttons": [ + "OFF", + "λGUILE", + "TSTYPESCRIPT", + "RsRUST", + "≡ ALL 3", + "λ Guile", + "TS TypeScript", + "Rs Rust", + "≡ All 3", + "Hide", + "REPL →", + "REPL →" + ], + "sample_options": [ + "λ Guile Scheme", + "TS TypeScript", + "Rs Rust", + "-- Load Preset Polyglot Expression (Guile / TS / Rust) --", + "[λ Guile] Base-36 AQ: (aq-base36 \"LEMUR\") => 114", + "[TS] Base-36 AQ: aqBase36(\"LEMUR\") => 114", + "[Rs Rust] Base-36 AQ: aq_base36(\"LEMUR\") => 114", + "[λ Guile] Prime Factors via Z: (prime-factors 666) => (2 3 3 37)", + "[TS] Prime Factors: primeFactors(666) => [2,3,3,37]", + "[Rs Rust] Prime Factors: prime_factors(666_u64) => vec![2, 3, 3, 37]", + "[λ Guile] Exact Rational Variance (Cluster 292): 4634/9", + "[TS] Cluster 292 Variance: 514.8889" + ], + "sample_headings": [ + "Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n)", + "1. The Base-36 Alphanumeric Homomorphism v: {0..9, A..Z} → {0..35}", + "2. Repdigit 37 × 3k Attractors & Prime Index π(n)" + ] + }, + "graph": { + "ui_structure_sha256": "771d70e8e41e4f466d29b04274b3403753f82c7a8e8680ba5c8a732b2b00fd29", + "id_count": 16, + "button_count": 6, + "option_count": 11, + "input_count": 1, + "heading_count": 5, + "ids": [ + "edgeRelToggles", + "exportPngBtn", + "flagFilter", + "flexPills", + "graphCanvas", + "hudStats", + "inspBadges", + "inspBody", + "inspTitle", + "inspectorDrawer", + "isolationBox", + "minDegreeFilter", + "nbrList", + "nodeTypeToggles", + "resetViewBtn", + "searchInput" + ], + "inputs": [ + "Search headword, Ingglish, or AQ (e.g. 125)..." + ], + "sample_buttons": [ + "Mode 2: ETI Radar (S+ -> D Periphery)", + "Mode 1: Trophic Food-Web", + "Mode 3: Gen 0 -> Gen 1 Funnel", + "Mode 4: 00–08 Folder Grid", + "Reset View", + "Export PNG" + ], + "sample_options": [ + "Filter: All Nodes", + "G4 Isometric Fixed Points (Δ=0)", + "G5 Twin-Prime Mutations", + "G3 Quantized Steps", + "13 Multi-Build Flex Pivots", + "CCRU 9-Sum Numogram Syzygies (1::8, 2::7, 3::6, 4::5)", + "M7_candidate_2026_11_28", + "Degree: All Nodes", + "Min Degree ≥ 3", + "Min Degree ≥ 10", + "Min Degree ≥ 25 (Hubs)" + ], + "sample_headings": [ + "ENCYCLOPEDIA OF TECHNOCAPITAL SINGULARITY ZOOLOGY — INTERACTIVE KNOWLEDGE GRAPH", + "Node Ontology (6 Classes)", + "Edge Relations (8 Types)", + "13 Flex Pivots & Repdigit Hubs", + "Glossary Isolation Status" + ] + }, + "calc": { + "ui_structure_sha256": "a955885aeba700ece09389b80de203aff79128b8bb153d22b69993bd7ab528a6", + "id_count": 26, + "button_count": 0, + "option_count": 0, + "input_count": 1, + "heading_count": 0, + "ids": [ + "BreakdownDetails", + "BreakdownSpot", + "ChartSpot", + "ChartSpotScroll", + "HistoryTableArea", + "autoMatchBtn", + "calcLogo", + "calcMain", + "calcOptionsPanel", + "canv", + "clearFilterButton", + "colorControlsMenuArea", + "dateCalcMenuArea", + "dbLoadIndicator", + "editCiphersMenuArea", + "enabledCiphTable", + "enterPhraseBtn", + "highlightBox", + "hltModeBtn", + "hsGlobalFooter", + "inputArea", + "loadPanel", + "loader", + "logoText", + "phraseBox", + "queryDBbtn" + ], + "inputs": [ + "highlight #s" + ], + "sample_buttons": [], + "sample_options": [], + "sample_headings": [] + } + }, + "ipld_dag_json_cidv1": { + "/": "baguqeera72nb5g4mc7vivns73awidi4lcvbjc5dnfg7ua7eczuuaexgpmnwa" + } +} diff --git a/site/engineering/engineering-manifest-data.js b/site/engineering/engineering-manifest-data.js index 4537978..ab99ca5 100644 --- a/site/engineering/engineering-manifest-data.js +++ b/site/engineering/engineering-manifest-data.js @@ -1 +1 @@ -window.HYPERSTITION_ENGINEERING_MANIFEST = {"$id": "urn:io:hyperstitionstud:engineering-manifest", "version": "2.10.0", "enabled_subpages": ["ciphers-and-phonetics", "knowledge-graph-and-sqlite", "quant-macro-and-bayesian-brief", "mcp-chatbot-rest-and-ipld", "cicd-vps-tmpfs-and-regression"], "disabled_subpages": [], "enabled_routes": ["/engineering/index.html", "/engineering/ciphers-and-phonetics/index.html", "/engineering/knowledge-graph-and-sqlite/index.html", "/engineering/quant-macro-and-bayesian-brief/index.html", "/engineering/mcp-chatbot-rest-and-ipld/index.html", "/engineering/cicd-vps-tmpfs-and-regression/index.html"], "introspected_counts": {"repositories": 6, "cli_entrypoints": 17, "mcp_tools": 20, "rest_domain_aliases": 12, "enabled_lenses": 6, "watchlist_instruments": 24, "fred_macro_series": 14, "json_schemas_v1": 12}, "cli_scripts": {"hs-doctor": "hyperstitionstud_io.ci.doctor:main", "hs-citations": "hyperstitionstud_io.ci.citation_sources:main", "hs-pdf-build": "hyperstitionstud_io.publishing.pdf_compiler:main", "hs-kg-build": "hyperstitionstud_io.graph.cli:main", "hs-quant-harvest": "hyperstitionstud_io.quant.collector:main", "hs-mcp": "hyperstitionstud_io.mcp.server:main", "hs-sync-version": "hyperstitionstud_io.version_sync:main", "hs-db-build": "hyperstitionstud_io.db.sqlite_meta:main", "hs-macro-harvest": "hyperstitionstud_io.quant.macro:main", "hs-daily-brief": "hyperstitionstud_io.quant.daily_brief:main", "hs-ticker-card": "hyperstitionstud_io.quant.cards:main", "hs-archive-rotate": "hyperstitionstud_io.publishing.archive_rotator:main", "hs-public-smoke": "hyperstitionstud_io.ci.public_regression:main", "hs-eng-docs": "hyperstitionstud_io.publishing.engineering_docs:main", "hs-math-docs": "hyperstitionstud_io.publishing.math_docs:main", "hs-highlights": "hyperstitionstud_io.publishing.highlights:main", "hs-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main"}, "mcp_tool_names": ["hs_evaluate_aq_and_ingglish", "hs_classify_singularity", "hs_query_knowledge_graph", "hs_search_glossary_encyclopedia", "hs_inspect_eti_tier_list", "hs_simulate_anchor_revision", "hs_search_archive_equations", "hs_verify_grounded_citations", "hs_compute_ipld_dag_json_cid", "hs_run_doctor_and_audit", "hs_scan_financial_quant_harvest", "hs_inspect_quant_timeseries", "hs_generate_ticker_stats_card", "hs_inspect_macro_indicators", "hs_generate_daily_portfolio_brief", "hs_inspect_engineering_and_math_docs", "hs_inspect_documentation_and_manuals", "hs_evaluate_guile_scheme_z_calculus", "hs_query_workspace_catalog_and_release_state", "hs_generate_highlights_summary"], "rest_domain_aliases": {"/api/v1/doctor": "hs_run_doctor_and_audit", "/api/v1/ciphers/evaluate": "hs_evaluate_aq_and_ingglish", "/api/v1/zoology/classify": "hs_classify_singularity", "/api/v1/zoology/tier-list": "hs_inspect_eti_tier_list", "/api/v1/zoology/anchor-revision": "hs_simulate_anchor_revision", "/api/v1/graph/query": "hs_query_knowledge_graph", "/api/v1/glossary/search": "hs_search_glossary_encyclopedia", "/api/v1/archive/equations": "hs_search_archive_equations", "/api/v1/quant/harvest": "hs_scan_financial_quant_harvest", "/api/v1/quant/timeseries": "hs_inspect_quant_timeseries", "/api/v1/ipld/cid": "hs_compute_ipld_dag_json_cid", "/api/v1/citations/verify": "hs_verify_grounded_citations"}, "schemas_v1": ["assemblage-builds-tier-list.schema.json", "citations-ledger.schema.json", "encyclopedia-graph.schema.json", "encyclopedia-manifest.schema.json", "financial-aq-harvest.schema.json", "glossary-registry.schema.json", "learn-progress-state.schema.json", "memetic-superclass-registry.schema.json", "quant-timeseries.schema.json", "quantitative-economic-anchors.schema.json", "singularity-zoology-matrix.schema.json", "ticker-stats-card.schema.json"], "flow_diagrams": {"cross_repo_dependency_png": "/graph/docs/cross-repo-dependency-and-audit-flow-diagram.png", "periodic_harvest_cicd_vps_png": "/graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png"}, "hub_prereq_ladder": {"unit_id": "E0", "expertise_level": "Level 1-2 (Novice to Advanced Beginner • 4-8 hrs study)", "summary": "New to command-line shells, Git repositories, or client-server web architecture? Start with these free foundational resources before diving into the engineering subpages:", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-6)", "url": "/learn/index.html", "external": false}, {"label": "MIT Missing Semester of Your CS Education (Shell, Git, CLI)", "url": "https://missing.csail.mit.edu/", "external": true}, {"label": "MDN Web Docs — How the Web Works (HTTP, HTML, Servers)", "url": "https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/How_the_Web_works", "external": true}]}, "subpages": {"ciphers-and-phonetics": {"unit_id": "E1", "slug": "ciphers-and-phonetics", "title": "Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation", "short_title": "E1: Ciphers & Phonetics", "pip_class": "plate-lock-gold", "expertise_level": "Level 2: Introductory Python & Text Processing (10-15 hrs study)", "prerequisites": ["Python 3 functions, dictionaries (dict), frozenset, and regular expressions (re.sub)", "ASCII & Unicode character codepoints (ord(), UTF-8)", "Dictionary lookup vs. deterministic grapheme-to-phoneme fallback rules"], "public_resources": [{"label": "Internal: /learn/ Module 1 & 2 (Base-36 & Ingglish)", "url": "/learn/index.html", "external": false}, {"label": "Official Python 3 Tutorial (Sections 3-5 & 7)", "url": "https://docs.python.org/3/tutorial/", "external": true}, {"label": "Harvard CS50P (Intro to Programming with Python)", "url": "https://cs50.harvard.edu/python/", "external": true}, {"label": "CMU Pronouncing Dictionary (CMUdict) Specification", "url": "http://www.speech.cs.cmu.edu/cgi-bin/cmudict", "external": true}, {"label": "RegexOne Interactive Regular Expression Tutorial", "url": "https://regexone.com/", "external": true}], "sections": [{"heading": "1. PEP 420 Namespace & Quantization Modes (hyperstitionstud_io.ciphers)", "body": "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()), evaluating prime index ranks, 37×3k repdigit attractors, and 12-field bidirectional locks."}, {"heading": "2. Three-Tier Offline Phonemic Transducer (hyperstitionstud_io.phonetics)", "body": "translate_batch() resolves English phrases into Gen 1 Ingglish with zero external network calls and zero hardcoded /workspace dependencies: Tier 1 delegates to local Node/CLI translators when present; Tier 2 looks up the 4,943-entry bundled cmudict_fallback.json; Tier 3 applies deterministic English digraph-to-phoneme rules so arbitrary OOV strings always resolve."}]}, "knowledge-graph-and-sqlite": {"unit_id": "E2", "slug": "knowledge-graph-and-sqlite", "title": "Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine", "short_title": "E2: Knowledge Graph & SQLite", "pip_class": "plate-lock-emerald", "expertise_level": "Level 3-4: Databases, Cryptographic Hashing & OS Concurrency (15-25 hrs study)", "prerequisites": ["Cryptographic hash functions (SHA-256) and Python context managers (with / __exit__)", "Relational schemas, inverted full-text search indices (SQLite FTS5), and graph representations", "ACID transactions, Write-Ahead Logging (WAL), and BEGIN EXCLUSIVE file locking"], "public_resources": [{"label": "SQLite Write-Ahead Logging (WAL) Architecture", "url": "https://www.sqlite.org/wal.html", "external": true}, {"label": "SQLite FTS5 Full-Text Search Extension Docs", "url": "https://www.sqlite.org/fts5.html", "external": true}, {"label": "CMU 15-445/645 (Intro to Database Systems — Andy Pavlo)", "url": "https://15445.courses.cs.cmu.edu/", "external": true}, {"label": "Python contextlib & Context Manager Documentation", "url": "https://docs.python.org/3/library/contextlib.html", "external": true}], "sections": [{"heading": "1. ReadOnlyIsolationGuard Context Manager (hyperstitionstud_io.glossary)", "body": "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."}, {"heading": "2. 6-Gate Multi-Format Graph Compiler & Quiescent 100M SQLite Logrotate (db/sqlite_meta.py)", "body": "build_encyclopedia_knowledge_graph.py compiles 388 nodes and 1,282 edges into JSON, JS, GraphML, GEXF, Obsidian Canvas, and 3 1600x1060 PNG atlases. sqlite_meta.py hydrates hyperstition-catalog.db (FTS5) and records /api/v1/* and /mcp telemetry in /var/lib/hyperstitionstud.io/api-telemetry.db, while deploy/logrotate.d/hyperstition-sqlite-meta acquires BEGIN EXCLUSIVE at 100M, snapshots .1.gz, and runs PRAGMA wal_checkpoint(TRUNCATE); VACUUM;."}]}, "quant-macro-and-bayesian-brief": {"unit_id": "E3", "slug": "quant-macro-and-bayesian-brief", "title": "Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief", "short_title": "E3: Quant, Macro & Bayesian", "pip_class": "plate-lock-gold", "expertise_level": "Level 3: Data Engineering, Time-Series Ingestion & Strategy Registries (10-15 hrs study)", "prerequisites": ["HTTP JSON/CSV client ingestion (urllib.request) and resilient fallback chains", "Missing-data domain representation (None / null vs. silent 0.0 corruption)", "Pluggable projection registries (LENS_REGISTRY) and state-machine persistence"], "public_resources": [{"label": "Internal: /quant/ Interactive Guided Canvas Tour (5 Episodes)", "url": "/quant/index.html", "external": false}, {"label": "Python urllib.request & json Standard Library Documentation", "url": "https://docs.python.org/3/library/urllib.request.html", "external": true}, {"label": "St. Louis Federal Reserve (FRED) Series & CSV Documentation", "url": "https://fredhelp.stlouisfed.org/", "external": true}, {"label": "Refactoring.Guru — Strategy & Adapter Design Patterns in Python", "url": "https://refactoring.guru/design-patterns/python", "external": true}], "sections": [{"heading": "1. Strict Zero-Synthetic-Data Collector & Native-Cadence FRED Macro Engine (collector.py, macro.py)", "body": "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."}, {"heading": "2. 14-Point Bidirectional Census, Confluence Dose (D in {0..4}) & 5-Agenda Bayesian Brief (daily_brief.py)", "body": "timeseries.py evaluates all 14 data points in Gen 0 (eng_aq) and Gen 1 (ing_aq) and classifies each bar by its 4-species Confluence Dose (Dose 2 isometric pinning vs. Dose 3+ breakout). daily_brief.py updates the append-only Bayesian state ledger (daily-brief-state.json) across R1 Bull, R2 Pinned Isometric, and R3 Tail Drawdown and grades each day's testable macro question Q_t."}]}, "mcp-chatbot-rest-and-ipld": {"unit_id": "E4", "slug": "mcp-chatbot-rest-and-ipld", "title": "Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1", "short_title": "E4: MCP, REST & IPLD CIDv1", "pip_class": "plate-lock-emerald", "expertise_level": "Level 4: Network Protocols, OpenAPI 3.1 & Content-Addressed Storage (15-20 hrs study)", "prerequisites": ["HTTP/1.1 request/response lifecycles, status codes (200, 404, 422, 500, 502), and reverse proxies", "JSON-RPC 2.0, OpenAPI 3.1.0 schema generation, and Model Context Protocol (MCP)", "Canonical JSON serialization, SHA-256 multihashes, and IPLD dag-json (0x0129) CIDv1"], "public_resources": [{"label": "MDN Web Docs — HTTP Protocol & Status Codes", "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP", "external": true}, {"label": "JSON-RPC 2.0 Official Specification", "url": "https://www.jsonrpc.org/specification", "external": true}, {"label": "Model Context Protocol (MCP) Architecture Introduction", "url": "https://modelcontextprotocol.io/introduction", "external": true}, {"label": "ProtoSchool — Content Identifiers (CIDs) & IPLD Merkle DAGs", "url": "https://proto.school/", "external": true}], "sections": [{"heading": "1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)", "body": "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."}, {"heading": "2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)", "body": "hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...')."}]}, "cicd-vps-tmpfs-and-regression": {"unit_id": "E5", "slug": "cicd-vps-tmpfs-and-regression", "title": "Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke", "short_title": "E5: CI/CD, VPS & Regression", "pip_class": "plate-lock-rose", "expertise_level": "Level 4: Linux Systems Administration, Bash Traps, systemd & DevOps (20-30 hrs study)", "prerequisites": ["POSIX Bash error handling (set -euo pipefail, trap ERR, run_checked(), exec, flock)", "Git fast-forward merges, annotated tags, and git pull --rebase --autostash", "Linux tmpfs RAM mounts, systemd services/timers, Caddy HTTP/3 QUIC, and TrueType cmap tables"], "public_resources": [{"label": "Pro Git Book (Chacon & Straub — Free Complete Online Text)", "url": "https://git-scm.com/book/en/v2", "external": true}, {"label": "Wooledge BashGuide & BashFAQ (Error Handling & Process Exec)", "url": "https://mywiki.wooledge.org/BashGuide", "external": true}, {"label": "freedesktop.org systemd.service & systemd.timer Manuals", "url": "https://www.freedesktop.org/software/systemd/man/systemd.service.html", "external": true}, {"label": "Caddy Server Official Documentation (HTTP/3 & Reverse Proxy)", "url": "https://caddyserver.com/docs/", "external": true}], "sections": [{"heading": "1. Zero-/dev/null CI/CD Scripts, Self-Re-Exec & Autonomous VPS Harvest Timers", "body": "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)."}, {"heading": "2. Dark-Mode hs-pdf-build, Cold-Archive Rotator (hs-archive-rotate) & 6-Gate Public Regression (hs-public-smoke)", "body": "pdf_compiler.py transpiles LaTeX math, preserves
, filters every character against DejaVu TrueType cmap tables, sets rl_config.defaultGraphicsFontName='DejaVu' (0 /Helvetica leaks), and prioritizes web-linked PDFs (--refresh-all-web-pdfs). archive_rotator.py rotates completed docs/archive/ pairs into completed-plans-archive.tar.gz, while public_regression.py audits live HTTP responses against .cache/internal-test-baseline-latest.json across Gates P1-P6."}]}}, "ipld_dag_json_cidv1": {"/": "baguqeeraeqcjbam6l572b3dhs3q7bbbi54vygm6zs2dn5iptuqjqka2yq3dq"}}; +window.HYPERSTITION_ENGINEERING_MANIFEST = {"$id": "urn:io:hyperstitionstud:engineering-manifest", "version": "2.10.0", "enabled_subpages": ["ciphers-and-phonetics", "knowledge-graph-and-sqlite", "quant-macro-and-bayesian-brief", "mcp-chatbot-rest-and-ipld", "cicd-vps-tmpfs-and-regression"], "disabled_subpages": [], "enabled_routes": ["/engineering/index.html", "/engineering/ciphers-and-phonetics/index.html", "/engineering/knowledge-graph-and-sqlite/index.html", "/engineering/quant-macro-and-bayesian-brief/index.html", "/engineering/mcp-chatbot-rest-and-ipld/index.html", "/engineering/cicd-vps-tmpfs-and-regression/index.html"], "introspected_counts": {"repositories": 6, "cli_entrypoints": 18, "mcp_tools": 20, "rest_domain_aliases": 12, "enabled_lenses": 6, "watchlist_instruments": 24, "fred_macro_series": 14, "json_schemas_v1": 12}, "cli_scripts": {"hs-doctor": "hyperstitionstud_io.ci.doctor:main", "hs-citations": "hyperstitionstud_io.ci.citation_sources:main", "hs-pdf-build": "hyperstitionstud_io.publishing.pdf_compiler:main", "hs-kg-build": "hyperstitionstud_io.graph.cli:main", "hs-quant-harvest": "hyperstitionstud_io.quant.collector:main", "hs-mcp": "hyperstitionstud_io.mcp.server:main", "hs-sync-version": "hyperstitionstud_io.version_sync:main", "hs-db-build": "hyperstitionstud_io.db.sqlite_meta:main", "hs-macro-harvest": "hyperstitionstud_io.quant.macro:main", "hs-daily-brief": "hyperstitionstud_io.quant.daily_brief:main", "hs-ticker-card": "hyperstitionstud_io.quant.cards:main", "hs-archive-rotate": "hyperstitionstud_io.publishing.archive_rotator:main", "hs-public-smoke": "hyperstitionstud_io.ci.public_regression:main", "hs-eng-docs": "hyperstitionstud_io.publishing.engineering_docs:main", "hs-math-docs": "hyperstitionstud_io.publishing.math_docs:main", "hs-highlights": "hyperstitionstud_io.publishing.highlights:main", "hs-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main", "hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main"}, "mcp_tool_names": ["hs_evaluate_aq_and_ingglish", "hs_classify_singularity", "hs_query_knowledge_graph", "hs_search_glossary_encyclopedia", "hs_inspect_eti_tier_list", "hs_simulate_anchor_revision", "hs_search_archive_equations", "hs_verify_grounded_citations", "hs_compute_ipld_dag_json_cid", "hs_run_doctor_and_audit", "hs_scan_financial_quant_harvest", "hs_inspect_quant_timeseries", "hs_generate_ticker_stats_card", "hs_inspect_macro_indicators", "hs_generate_daily_portfolio_brief", "hs_inspect_engineering_and_math_docs", "hs_inspect_documentation_and_manuals", "hs_evaluate_guile_scheme_z_calculus", "hs_query_workspace_catalog_and_release_state", "hs_generate_highlights_summary"], "rest_domain_aliases": {"/api/v1/doctor": "hs_run_doctor_and_audit", "/api/v1/ciphers/evaluate": "hs_evaluate_aq_and_ingglish", "/api/v1/zoology/classify": "hs_classify_singularity", "/api/v1/zoology/tier-list": "hs_inspect_eti_tier_list", "/api/v1/zoology/anchor-revision": "hs_simulate_anchor_revision", "/api/v1/graph/query": "hs_query_knowledge_graph", "/api/v1/glossary/search": "hs_search_glossary_encyclopedia", "/api/v1/archive/equations": "hs_search_archive_equations", "/api/v1/quant/harvest": "hs_scan_financial_quant_harvest", "/api/v1/quant/timeseries": "hs_inspect_quant_timeseries", "/api/v1/ipld/cid": "hs_compute_ipld_dag_json_cid", "/api/v1/citations/verify": "hs_verify_grounded_citations"}, "schemas_v1": ["assemblage-builds-tier-list.schema.json", "citations-ledger.schema.json", "encyclopedia-graph.schema.json", "encyclopedia-manifest.schema.json", "financial-aq-harvest.schema.json", "glossary-registry.schema.json", "learn-progress-state.schema.json", "memetic-superclass-registry.schema.json", "quant-timeseries.schema.json", "quantitative-economic-anchors.schema.json", "singularity-zoology-matrix.schema.json", "ticker-stats-card.schema.json"], "flow_diagrams": {"cross_repo_dependency_png": "/graph/docs/cross-repo-dependency-and-audit-flow-diagram.png", "periodic_harvest_cicd_vps_png": "/graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png"}, "hub_prereq_ladder": {"unit_id": "E0", "expertise_level": "Level 1-2 (Novice to Advanced Beginner • 4-8 hrs study)", "summary": "New to command-line shells, Git repositories, or client-server web architecture? Start with these free foundational resources before diving into the engineering subpages:", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-6)", "url": "/learn/index.html", "external": false}, {"label": "MIT Missing Semester of Your CS Education (Shell, Git, CLI)", "url": "https://missing.csail.mit.edu/", "external": true}, {"label": "MDN Web Docs — How the Web Works (HTTP, HTML, Servers)", "url": "https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/How_the_Web_works", "external": true}]}, "subpages": {"ciphers-and-phonetics": {"unit_id": "E1", "slug": "ciphers-and-phonetics", "title": "Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation", "short_title": "E1: Ciphers & Phonetics", "pip_class": "plate-lock-gold", "expertise_level": "Level 2: Introductory Python & Text Processing (10-15 hrs study)", "prerequisites": ["Python 3 functions, dictionaries (dict), frozenset, and regular expressions (re.sub)", "ASCII & Unicode character codepoints (ord(), UTF-8)", "Dictionary lookup vs. deterministic grapheme-to-phoneme fallback rules"], "public_resources": [{"label": "Internal: /learn/ Module 1 & 2 (Base-36 & Ingglish)", "url": "/learn/index.html", "external": false}, {"label": "Official Python 3 Tutorial (Sections 3-5 & 7)", "url": "https://docs.python.org/3/tutorial/", "external": true}, {"label": "Harvard CS50P (Intro to Programming with Python)", "url": "https://cs50.harvard.edu/python/", "external": true}, {"label": "CMU Pronouncing Dictionary (CMUdict) Specification", "url": "http://www.speech.cs.cmu.edu/cgi-bin/cmudict", "external": true}, {"label": "RegexOne Interactive Regular Expression Tutorial", "url": "https://regexone.com/", "external": true}], "sections": [{"heading": "1. PEP 420 Namespace & Quantization Modes (hyperstitionstud_io.ciphers)", "body": "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()), evaluating prime index ranks, 37×3k repdigit attractors, and 12-field bidirectional locks."}, {"heading": "2. Three-Tier Offline Phonemic Transducer (hyperstitionstud_io.phonetics)", "body": "translate_batch() resolves English phrases into Gen 1 Ingglish with zero external network calls and zero hardcoded /workspace dependencies: Tier 1 delegates to local Node/CLI translators when present; Tier 2 looks up the 4,943-entry bundled cmudict_fallback.json; Tier 3 applies deterministic English digraph-to-phoneme rules so arbitrary OOV strings always resolve."}]}, "knowledge-graph-and-sqlite": {"unit_id": "E2", "slug": "knowledge-graph-and-sqlite", "title": "Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine", "short_title": "E2: Knowledge Graph & SQLite", "pip_class": "plate-lock-emerald", "expertise_level": "Level 3-4: Databases, Cryptographic Hashing & OS Concurrency (15-25 hrs study)", "prerequisites": ["Cryptographic hash functions (SHA-256) and Python context managers (with / __exit__)", "Relational schemas, inverted full-text search indices (SQLite FTS5), and graph representations", "ACID transactions, Write-Ahead Logging (WAL), and BEGIN EXCLUSIVE file locking"], "public_resources": [{"label": "SQLite Write-Ahead Logging (WAL) Architecture", "url": "https://www.sqlite.org/wal.html", "external": true}, {"label": "SQLite FTS5 Full-Text Search Extension Docs", "url": "https://www.sqlite.org/fts5.html", "external": true}, {"label": "CMU 15-445/645 (Intro to Database Systems — Andy Pavlo)", "url": "https://15445.courses.cs.cmu.edu/", "external": true}, {"label": "Python contextlib & Context Manager Documentation", "url": "https://docs.python.org/3/library/contextlib.html", "external": true}], "sections": [{"heading": "1. ReadOnlyIsolationGuard Context Manager (hyperstitionstud_io.glossary)", "body": "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."}, {"heading": "2. 6-Gate Multi-Format Graph Compiler & Quiescent 100M SQLite Logrotate (db/sqlite_meta.py)", "body": "build_encyclopedia_knowledge_graph.py compiles 388 nodes and 1,282 edges into JSON, JS, GraphML, GEXF, Obsidian Canvas, and 3 1600x1060 PNG atlases. sqlite_meta.py hydrates hyperstition-catalog.db (FTS5) and records /api/v1/* and /mcp telemetry in /var/lib/hyperstitionstud.io/api-telemetry.db, while deploy/logrotate.d/hyperstition-sqlite-meta acquires BEGIN EXCLUSIVE at 100M, snapshots .1.gz, and runs PRAGMA wal_checkpoint(TRUNCATE); VACUUM;."}]}, "quant-macro-and-bayesian-brief": {"unit_id": "E3", "slug": "quant-macro-and-bayesian-brief", "title": "Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief", "short_title": "E3: Quant, Macro & Bayesian", "pip_class": "plate-lock-gold", "expertise_level": "Level 3: Data Engineering, Time-Series Ingestion & Strategy Registries (10-15 hrs study)", "prerequisites": ["HTTP JSON/CSV client ingestion (urllib.request) and resilient fallback chains", "Missing-data domain representation (None / null vs. silent 0.0 corruption)", "Pluggable projection registries (LENS_REGISTRY) and state-machine persistence"], "public_resources": [{"label": "Internal: /quant/ Interactive Guided Canvas Tour (5 Episodes)", "url": "/quant/index.html", "external": false}, {"label": "Python urllib.request & json Standard Library Documentation", "url": "https://docs.python.org/3/library/urllib.request.html", "external": true}, {"label": "St. Louis Federal Reserve (FRED) Series & CSV Documentation", "url": "https://fredhelp.stlouisfed.org/", "external": true}, {"label": "Refactoring.Guru — Strategy & Adapter Design Patterns in Python", "url": "https://refactoring.guru/design-patterns/python", "external": true}], "sections": [{"heading": "1. Strict Zero-Synthetic-Data Collector & Native-Cadence FRED Macro Engine (collector.py, macro.py)", "body": "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."}, {"heading": "2. 14-Point Bidirectional Census, Confluence Dose (D in {0..4}) & 5-Agenda Bayesian Brief (daily_brief.py)", "body": "timeseries.py evaluates all 14 data points in Gen 0 (eng_aq) and Gen 1 (ing_aq) and classifies each bar by its 4-species Confluence Dose (Dose 2 isometric pinning vs. Dose 3+ breakout). daily_brief.py updates the append-only Bayesian state ledger (daily-brief-state.json) across R1 Bull, R2 Pinned Isometric, and R3 Tail Drawdown and grades each day's testable macro question Q_t."}]}, "mcp-chatbot-rest-and-ipld": {"unit_id": "E4", "slug": "mcp-chatbot-rest-and-ipld", "title": "Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1", "short_title": "E4: MCP, REST & IPLD CIDv1", "pip_class": "plate-lock-emerald", "expertise_level": "Level 4: Network Protocols, OpenAPI 3.1 & Content-Addressed Storage (15-20 hrs study)", "prerequisites": ["HTTP/1.1 request/response lifecycles, status codes (200, 404, 422, 500, 502), and reverse proxies", "JSON-RPC 2.0, OpenAPI 3.1.0 schema generation, and Model Context Protocol (MCP)", "Canonical JSON serialization, SHA-256 multihashes, and IPLD dag-json (0x0129) CIDv1"], "public_resources": [{"label": "MDN Web Docs — HTTP Protocol & Status Codes", "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP", "external": true}, {"label": "JSON-RPC 2.0 Official Specification", "url": "https://www.jsonrpc.org/specification", "external": true}, {"label": "Model Context Protocol (MCP) Architecture Introduction", "url": "https://modelcontextprotocol.io/introduction", "external": true}, {"label": "ProtoSchool — Content Identifiers (CIDs) & IPLD Merkle DAGs", "url": "https://proto.school/", "external": true}], "sections": [{"heading": "1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)", "body": "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."}, {"heading": "2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)", "body": "hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...')."}]}, "cicd-vps-tmpfs-and-regression": {"unit_id": "E5", "slug": "cicd-vps-tmpfs-and-regression", "title": "Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke", "short_title": "E5: CI/CD, VPS & Regression", "pip_class": "plate-lock-rose", "expertise_level": "Level 4: Linux Systems Administration, Bash Traps, systemd & DevOps (20-30 hrs study)", "prerequisites": ["POSIX Bash error handling (set -euo pipefail, trap ERR, run_checked(), exec, flock)", "Git fast-forward merges, annotated tags, and git pull --rebase --autostash", "Linux tmpfs RAM mounts, systemd services/timers, Caddy HTTP/3 QUIC, and TrueType cmap tables"], "public_resources": [{"label": "Pro Git Book (Chacon & Straub — Free Complete Online Text)", "url": "https://git-scm.com/book/en/v2", "external": true}, {"label": "Wooledge BashGuide & BashFAQ (Error Handling & Process Exec)", "url": "https://mywiki.wooledge.org/BashGuide", "external": true}, {"label": "freedesktop.org systemd.service & systemd.timer Manuals", "url": "https://www.freedesktop.org/software/systemd/man/systemd.service.html", "external": true}, {"label": "Caddy Server Official Documentation (HTTP/3 & Reverse Proxy)", "url": "https://caddyserver.com/docs/", "external": true}], "sections": [{"heading": "1. Zero-/dev/null CI/CD Scripts, Self-Re-Exec & Autonomous VPS Harvest Timers", "body": "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)."}, {"heading": "2. Dark-Mode hs-pdf-build, Cold-Archive Rotator (hs-archive-rotate) & 6-Gate Public Regression (hs-public-smoke)", "body": "pdf_compiler.py transpiles LaTeX math, preserves
, filters every character against DejaVu TrueType cmap tables, sets rl_config.defaultGraphicsFontName='DejaVu' (0 /Helvetica leaks), and prioritizes web-linked PDFs (--refresh-all-web-pdfs). archive_rotator.py rotates completed docs/archive/ pairs into completed-plans-archive.tar.gz, while public_regression.py audits live HTTP responses against .cache/internal-test-baseline-latest.json across Gates P1-P6."}]}}, "ipld_dag_json_cidv1": {"/": "baguqeerayzmawwnxqg5bayztjvnd7kco2gyfw2ga5jzktmoz7tiboaa2cw2a"}}; diff --git a/site/engineering/engineering-manifest.json b/site/engineering/engineering-manifest.json index e2d44cc..29f1d55 100644 --- a/site/engineering/engineering-manifest.json +++ b/site/engineering/engineering-manifest.json @@ -19,7 +19,7 @@ ], "introspected_counts": { "repositories": 6, - "cli_entrypoints": 17, + "cli_entrypoints": 18, "mcp_tools": 20, "rest_domain_aliases": 12, "enabled_lenses": 6, @@ -44,7 +44,8 @@ "hs-eng-docs": "hyperstitionstud_io.publishing.engineering_docs:main", "hs-math-docs": "hyperstitionstud_io.publishing.math_docs:main", "hs-highlights": "hyperstitionstud_io.publishing.highlights:main", - "hs-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main" + "hs-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main", + "hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main" }, "mcp_tool_names": [ "hs_evaluate_aq_and_ingglish", @@ -355,6 +356,6 @@ } }, "ipld_dag_json_cidv1": { - "/": "baguqeeraeqcjbam6l572b3dhs3q7bbbi54vygm6zs2dn5iptuqjqka2yq3dq" + "/": "baguqeerayzmawwnxqg5bayztjvnd7kco2gyfw2ga5jzktmoz7tiboaa2cw2a" } } diff --git a/site/engineering/index.html b/site/engineering/index.html index 86f821c..910190d 100644 --- a/site/engineering/index.html +++ b/site/engineering/index.html @@ -50,7 +50,7 @@ cid = compute_dag_json_cidv1(manifest)
Repositories
6
-
CLI Entrypoints
17
+
CLI Entrypoints
18
MCP & REST Tools
20
Pluggable Lenses
6
Watchlist / FRED
24 / 14
@@ -76,7 +76,7 @@ cid = compute_dag_json_cidv1(manifest)
CLI CommandPython Module:Function Target - hs-archive-rotatehyperstitionstud_io.publishing.archive_rotator:mainhs-citationshyperstitionstud_io.ci.citation_sources:mainhs-daily-briefhyperstitionstud_io.quant.daily_brief:mainhs-db-buildhyperstitionstud_io.db.sqlite_meta:mainhs-doctorhyperstitionstud_io.ci.doctor:mainhs-eng-docshyperstitionstud_io.publishing.engineering_docs:mainhs-highlightshyperstitionstud_io.publishing.highlights:mainhs-kg-buildhyperstitionstud_io.graph.cli:mainhs-macro-harvesthyperstitionstud_io.quant.macro:mainhs-math-docshyperstitionstud_io.publishing.math_docs:mainhs-mcphyperstitionstud_io.mcp.server:mainhs-pdf-buildhyperstitionstud_io.publishing.pdf_compiler:mainhs-public-smokehyperstitionstud_io.ci.public_regression:mainhs-quant-harvesthyperstitionstud_io.quant.collector:mainhs-readme-synchyperstitionstud_io.publishing.readme_sync:mainhs-sync-versionhyperstitionstud_io.version_sync:mainhs-ticker-cardhyperstitionstud_io.quant.cards:main + hs-archive-rotatehyperstitionstud_io.publishing.archive_rotator:mainhs-citationshyperstitionstud_io.ci.citation_sources:mainhs-closeups-synchyperstitionstud_io.publishing.closeups_sync:mainhs-daily-briefhyperstitionstud_io.quant.daily_brief:mainhs-db-buildhyperstitionstud_io.db.sqlite_meta:mainhs-doctorhyperstitionstud_io.ci.doctor:mainhs-eng-docshyperstitionstud_io.publishing.engineering_docs:mainhs-highlightshyperstitionstud_io.publishing.highlights:mainhs-kg-buildhyperstitionstud_io.graph.cli:mainhs-macro-harvesthyperstitionstud_io.quant.macro:mainhs-math-docshyperstitionstud_io.publishing.math_docs:mainhs-mcphyperstitionstud_io.mcp.server:mainhs-pdf-buildhyperstitionstud_io.publishing.pdf_compiler:mainhs-public-smokehyperstitionstud_io.ci.public_regression:mainhs-quant-harvesthyperstitionstud_io.quant.collector:mainhs-readme-synchyperstitionstud_io.publishing.readme_sync:mainhs-sync-versionhyperstitionstud_io.version_sync:mainhs-ticker-cardhyperstitionstud_io.quant.cards:main diff --git a/src/hyperstitionstud_io/publishing/closeups_sync.py b/src/hyperstitionstud_io/publishing/closeups_sync.py new file mode 100644 index 0000000..57df4d6 --- /dev/null +++ b/src/hyperstitionstud_io/publishing/closeups_sync.py @@ -0,0 +1,715 @@ +#!/usr/bin/env python3 +""" +hyperstitionstud_io.publishing.closeups_sync +Deterministic Live-DOM-Introspected Homepage UI Closeup Compiler (`hs-closeups-sync`). +Automatically inspects the actual live HTML/JS/JSON surfaces across the workspace +(`/calc/`, `/graph/`, `/quant/`, `/learn/`, `/math/`, `/engineering/`, `/ci/`), +computes a structural UI element fingerprint (`ui-elements-manifest.json`), and +re-renders all 11 full-width `680x260` Group 3 UI closeups (`site/assets/closeups/*.png`) +whenever any page's UI elements (`id=...`, `