87 lines
12 KiB
HTML
87 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke — hyperstitionstud.io/engineering (v2.2.2)</title>
|
|
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.2.2" />
|
|
<style>
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
|
|
.container { max-width: 1360px; margin: 0 auto; }
|
|
header { padding: 1rem 1.25rem; margin-bottom: 0.9rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
|
|
h1 { font-size: 1.05rem; color: var(--gold); }
|
|
.subtitle { font-size: 0.72rem; color: var(--text-secondary); margin-top: 0.2rem; }
|
|
.top-nav { margin-left: auto; display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
|
|
.btn { padding: 0.35rem 0.7rem; font-size: 0.72rem; text-decoration: none; font-family: inherit; cursor: pointer; }
|
|
footer { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--border); text-align: center; font-size: 0.72rem; color: var(--text-secondary); }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header>
|
|
<div>
|
|
<h1>Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke</h1>
|
|
<p class="subtitle">Cartridge E5 • Non-Sequentially Revertible via <code>hs-eng-docs --disable cicd-vps-tmpfs-and-regression</code> • v2.2.2</p>
|
|
</div>
|
|
<nav class="top-nav">
|
|
<a class="btn" href="../../index.html">Portal Home (/)</a>
|
|
<a class="btn" href="../index.html" style="border-color:rgba(56,189,248,0.55);">Engineering Hub (E0)</a>
|
|
<a class="btn" href="../ciphers-and-phonetics/index.html" style="">E1: Ciphers & Phonetics</a>
|
|
<a class="btn" href="../knowledge-graph-and-sqlite/index.html" style="">E2: Knowledge Graph & SQLite</a>
|
|
<a class="btn" href="../quant-macro-and-bayesian-brief/index.html" style="">E3: Quant, Macro & Bayesian</a>
|
|
<a class="btn" href="../mcp-chatbot-rest-and-ipld/index.html" style="">E4: MCP, REST & IPLD CIDv1</a>
|
|
<a class="btn" href="index.html" style="border-color:var(--gold);color:var(--gold);">E5: CI/CD, VPS & Regression</a>
|
|
<a class="btn" href="../../math/index.html">Math Hub (/math/)</a>
|
|
<button id="guileSchemeModeToggle" class="btn hs-guile-toggle" type="button" aria-pressed="false" title="Toggle additive Guile Scheme & Z-Combinator teaching cartridges and in-browser REPL (Alt+S)"><span class="hs-guile-lambda-badge">λ</span><span>GUILE SCHEME LENS: <strong id="guileSchemeModeState">OFF</strong></span></button>
|
|
<span class="nav-donate-sep" aria-hidden="true"></span>
|
|
<a class="btn-donate-pill" href="../../donate/index.html"><span class="donate-pill-emblem" aria-hidden="true">♥</span><span>DONATE</span></a>
|
|
</nav>
|
|
</header>
|
|
|
|
<section class="panel hs-plate-g3 plate-lock-emerald hs-prereq-ladder" style="margin-bottom:0.9rem;padding:1rem 1.2rem;"><div style="font-size:0.74rem;font-weight:700;color:var(--emerald);text-transform:uppercase;letter-spacing:0.06em;">Prerequisite Track for Novices • Required Expertise: Level 4: Linux Systems Administration, Bash Traps, systemd & DevOps (20-30 hrs study)</div><p style="font-size:0.76rem;color:var(--text-secondary);margin:0.35rem 0;">If any concepts on this page are unfamiliar, occupy your study time with these free foundational resources first:</p><div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:0.8rem;margin-top:0.4rem;"><div><strong style="font-size:0.73rem;color:var(--gold);">Core Concepts Required:</strong><ul style="font-size:0.72rem;color:var(--text-main);margin:0.25rem 0 0 1.1rem;line-height:1.5;"><li>POSIX Bash error handling (set -euo pipefail, trap ERR, run_checked(), exec, flock)</li><li>Git fast-forward merges, annotated tags, and git pull --rebase --autostash</li><li>Linux tmpfs RAM mounts, systemd services/timers, Caddy HTTP/3 QUIC, and TrueType cmap tables</li></ul></div><div><strong style="font-size:0.73rem;color:var(--cyan);">Curated Free Public Study Resources:</strong><ul style="font-size:0.72rem;color:var(--text-main);margin:0.25rem 0 0 1.1rem;line-height:1.5;"><li><a href="https://git-scm.com/book/en/v2" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">Pro Git Book (Chacon & Straub — Free Complete Online Text) ↗</a></li><li><a href="https://mywiki.wooledge.org/BashGuide" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">Wooledge BashGuide & BashFAQ (Error Handling & Process Exec) ↗</a></li><li><a href="https://www.freedesktop.org/software/systemd/man/systemd.service.html" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">freedesktop.org systemd.service & systemd.timer Manuals ↗</a></li><li><a href="https://caddyserver.com/docs/" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">Caddy Server Official Documentation (HTTP/3 & Reverse Proxy) ↗</a></li></ul></div></div></section>
|
|
<section class="panel hs-plate-g3 hs-guile-cartridge"><div style="display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.5rem;"><div style="font-size:0.74rem;font-weight:700;color:var(--cyan);text-transform:uppercase;letter-spacing:0.05em;">λ Guile Scheme Foil (E5): 4-Tier Programmatic Semantic Version Bump Heuristic in Scheme</div><button type="button" class="btn hs-load-in-repl-btn" data-scheme-expr="(evaluate-bump-scope 2 0 1 0 #f)" style="border-color:var(--cyan);color:var(--cyan);">Send to In-Browser Guile REPL →</button></div><div class="hs-guile-triview"><div class="hs-guile-box"><strong style="color:var(--gold);display:block;margin-bottom:0.2rem;">1. Formal Specification:</strong><code>Bump(dirty, ahead, plans, tools, brk) ∈ {noop, patch, minor, major}</code></div><div class="hs-guile-box"><strong style="color:var(--text-secondary);display:block;margin-bottom:0.2rem;">2. Production Python:</strong><pre style="white-space:pre-wrap;">evaluate_change_scope_heuristics(signals)['recommended_bump_level']</pre></div><div class="hs-guile-box"><strong style="color:var(--cyan);display:block;margin-bottom:0.2rem;">3. Guile Scheme (Z-Combinator):</strong><code class="hs-guile-code-expr">(evaluate-bump-scope 2 0 1 0 #f)</code><div class="hs-guile-eval-result" style="margin-top:0.3rem;font-weight:700;color:var(--emerald);">=> [Toggle Guile Lens ON to evaluate]</div></div></div><div style="font-size:0.71rem;color:var(--text-secondary);"><strong>Guided Micro-Challenge:</strong> Set archived-plans to 0 => 'patch, or dirty=0 ahead=0 => 'noop in the REPL.</div></section>
|
|
<article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">1. Zero-/dev/null CI/CD Scripts, Self-Re-Exec & Autonomous VPS Harvest Timers</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">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).</p></article><article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">2. Dark-Mode hs-pdf-build, Cold-Archive Rotator (hs-archive-rotate) & 6-Gate Public Regression (hs-public-smoke)</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">pdf_compiler.py transpiles LaTeX math, preserves <br/>, 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.</p></article>
|
|
|
|
<div style="display:flex;justify-content:space-between;align-items:center;margin-top:0.8rem;">
|
|
<a class="btn" href="../mcp-chatbot-rest-and-ipld/index.html">← Prev: E4: MCP, REST & IPLD CIDv1</a>
|
|
<a class="btn" href="../index.html">Return to Engineering Hub (E0) ↑</a>
|
|
</div>
|
|
|
|
<footer>
|
|
hyperstitionstud.io/engineering/cicd-vps-tmpfs-and-regression v2.2.2 • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
|
</footer>
|
|
</div>
|
|
<script src="../engineering-manifest-data.js?v=2.2.2"></script>
|
|
<script src="../engineering-app.js?v=2.2.2"></script>
|
|
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Guile Scheme and Z-Combinator REPL">
|
|
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
|
|
<div style="font-size:0.74rem;font-weight:700;color:var(--cyan);">λ IN-BROWSER GUILE SCHEME & Z-COMBINATOR REPL (OFFLINE • ZERO CDN)</div>
|
|
<div style="display:flex;gap:0.4rem;align-items:center;">
|
|
<label style="font-size:0.68rem;color:var(--text-secondary);cursor:pointer;"><input type="checkbox" id="hsGuilePreferFloat" /> Float view</label>
|
|
<button type="button" id="hsGuileReplCloseBtn" class="btn" style="padding:0.15rem 0.45rem;font-size:0.68rem;">Minimize / Expand</button>
|
|
</div>
|
|
</div>
|
|
<div class="hs-repl-body">
|
|
<div style="display:flex;gap:0.4rem;margin-bottom:0.4rem;flex-wrap:wrap;">
|
|
<select id="hsGuileReplPreset" style="flex:1;background:var(--bg-void);color:var(--text-main);border:1px solid var(--border);padding:0.28rem;font-family:inherit;font-size:0.7rem;">
|
|
<option value="">-- Load Preset Z-Combinator / Domain Expression --</option>
|
|
<option value='(aq-base36 "LEMUR")'>Base-36 AQ: (aq-base36 "LEMUR") => 114</option>
|
|
<option value="(prime-factors 666)">Prime Factors via Z: (prime-factors 666) => (2 3 3 37)</option>
|
|
<option value="(variance-pop *cluster-292-gen0*)">Exact Rational Variance (Cluster 292 Gen 0): (variance-pop *cluster-292-gen0*)</option>
|
|
<option value="(eti-score 95 92 94 90 91 96)">Exact Rational Convex ETI Score: (eti-score 95 92 94 90 91 96)</option>
|
|
<option value="((derivative (lambda (x) (* x x x)) 1e-5) 2.0)">Thomas' Calculus Derivative d/dx(x^3) at x=2 via Z</option>
|
|
<option value="(adaptive-simpson (lambda (x) (* x x)) 0.0 3.0 1e-6)">Adaptive Simpson Integral int_0^3 x^2 dx = 9.0 via Z</option>
|
|
<option value="(bayes-update '(1/3 1/3 1/3) '(1/10 3/10 6/10))">Exact Rational 3-State Bayes Update via Z</option>
|
|
</select>
|
|
<button type="button" id="hsGuileReplEvalBtn" class="btn" style="border-color:var(--emerald);color:var(--emerald);">Evaluate (λ)</button>
|
|
<button type="button" id="hsGuileReplStepBtn" class="btn" style="border-color:var(--gold);color:var(--gold);">Step β-Reduction</button>
|
|
</div>
|
|
<textarea id="hsGuileReplInput" rows="2" style="width:100%;background:var(--bg-void);color:var(--text-main);border:1px solid var(--border);padding:0.45rem;font-family:inherit;font-size:0.73rem;">(aq-base36 "LEMUR")</textarea>
|
|
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">guile> Ready. Toggle [λ GUILE SCHEME LENS: ON] or click Evaluate (λ).</pre>
|
|
</div>
|
|
</aside>
|
|
<script src="../../assets/hs-guile-scheme-repl.js?v=2.2.2"></script>
|
|
</body>
|
|
</html>
|