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

Cartridge E5 • Non-Sequentially Revertible via hs-eng-docs --disable cicd-vps-tmpfs-and-regression • v2.8.1

Prerequisite Track for Novices • Required Expertise: Level 4: Linux Systems Administration, Bash Traps, systemd & DevOps (20-30 hrs study)

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

Core Concepts Required:
  • 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
Curated Free Public Study Resources:
λ Polyglot Foil (E5): 4-Tier Programmatic Semantic Version Bump Heuristic
1. Formal Specification & Python:Bump(dirty, ahead, plans, tools, brk) ∈ {noop, patch, minor, major}
evaluate_change_scope_heuristics(signals)['recommended_bump_level']
λ Guile Scheme (Z-Combinator):
(evaluate-bump-scope 2 0 1 0 #f)
=> [Select Lens to evaluate]
TS TypeScript (Strict AST):
evaluateBumpScope({dirty: 2, ahead: 0, plans: 1, tools: 0, breaking: false})
=> [Select Lens to evaluate]
Rs Rust (Option/Iterator AST):
evaluate_bump_scope(2, 0, 1, 0, false)
=> [Select Lens to evaluate]
Guided Micro-Challenge (4-Ring Zero-Escape Sandbox): Test the 4-tier decision tree (noop, patch, minor, major) in all 3 languages.

1. Zero-/dev/null CI/CD Scripts, Self-Re-Exec & Autonomous VPS Harvest Timers

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).

2. Dark-Mode hs-pdf-build, Cold-Archive Rotator (hs-archive-rotate) & 6-Gate Public Regression (hs-public-smoke)

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.

← Prev: E4: MCP, REST & IPLD CIDv1 Return to Engineering Hub (E0) ↑