Compare commits

...
2 Commits
7 changed files with 21 additions and 19 deletions

No files matched your search

@@ -213,11 +213,13 @@ Sync the updated working tree(s) into the RAM mount and regenerate the `.br` / `
```
*(Note: If a remote tag was force-updated earlier and `git fetch --tags` rejects it with `would clobber existing tag` before `hyperstitionstudio-core` has pulled commit `b767f8a`, run `git -C /srv/hyperstitionstud.io/repos/hyperstitionstudio-core fetch --force origin main --tags && git -C /srv/hyperstitionstud.io/repos/hyperstitionstudio-core merge --ff-only origin/main` once first).*
### 5.3 Caddy Reload & Browser Cache Rules
### 5.3 Automatic Idempotent `Caddyfile` & `systemd` Sync (Default vs. `--no-caddy`)
- **No Caddy reload is required** for content updates (`HTML`, `JS`, `JSON`, `PDFs`, `PNGs`)—Caddy serves the updated `.br`/`.gz`/raw files from `/var/www/hyperstitionstud.io/repos/` immediately as soon as `sync-vps-repos.sh` finishes.
- **Only reload Caddy** if `/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/Caddyfile` itself changed:
```bash
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/Caddyfile /etc/caddy/Caddyfile && sudo systemctl reload caddy
```
- **Idempotent by Default (`DO_CADDY=1`):**
Every run of `sync-vps-repos.sh` (unless `--no-caddy` or `--no-services` is passed) automatically compares `deploy/Caddyfile` against `/etc/caddy/Caddyfile` and `deploy/*.service` against `/etc/systemd/system/*.service` using `cmp -s`:
1. If `/etc/caddy/Caddyfile` is already byte-identical to `deploy/Caddyfile`, it prints `[5/5] /etc/caddy/Caddyfile is already identical to deploy/Caddyfile (no reload needed)` and performs zero unnecessary reloads.
2. If `deploy/Caddyfile` changed, it validates the new config first via `sudo caddy validate --config ... --adapter caddyfile`, copies it to `/etc/caddy/Caddyfile`, and executes a zero-downtime `sudo systemctl reload caddy`.
3. If `hyperstition-tmpfs-sync.service` or `hyperstition-mcp.service` changed, it updates `/etc/systemd/system/`, runs `sudo systemctl daemon-reload`, and ensures `hyperstition-mcp.service` is active.
- **Negating Service/Caddy Sync (`--no-caddy` / `--no-services`):**
Pass `--no-caddy` (e.g., `sync-vps-repos.sh --no-pull --no-caddy`) to sync only the RAM-backed webroot files and `.br`/`.gz` sidecars without touching `/etc/caddy/Caddyfile` or `systemd`.
- **Browser Cache Note:** `HTML`/`JS`/`JSON` routes carry `Cache-Control: public, max-age=300` (5 minutes); press `Ctrl+Shift+R` (`Cmd+Shift+R` on macOS) in your browser to bypass the 5-minute client cache immediately after syncing.
@@ -107,8 +107,8 @@ endobj
endobj
15 0 obj
<<
/Author (Hermes Agent) /CreationDate (D:20261130034723+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261130034723+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Production VPS & Git Operator Deployment Guide \(v2.0.10 \204 With Public Read-Only /mcp Reverse Proxy\)) /Trapped /False
/Author (Hermes Agent) /CreationDate (D:20261130040020+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261130040020+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Production VPS & Git Operator Deployment Guide \(v2.0.12 \204 With Idempotent Caddyfile & Systemd Sync\)) /Trapped /False
>>
endobj
16 0 obj
@@ -160,10 +160,10 @@ Gb!#\IrF("&H+hci_X$51.4>YbB?\jB\K<KQF(AcFr4V[AL,E!,Ej$;fl4ELpDk^):2E?jh-t%1KFX&(
endobj
23 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 1150
/Filter [ /ASCII85Decode /FlateDecode ] /Length 1649
>>
stream
Gau0B>B?Pt'RnB33):FI%:F!glu`*0C"$rI9m.0kr=CR_Zic,L7(i0DpP@SX(@bq`=aS.Dda<8&S]cd.R,ce4J"m)'UC[(#"3puG"<?$6_7tUer/5J0rQ;QSQs6&/_-48h3$!:EFuVY_C9b0OD[X`Gp]VM,K9UmF"90nH^F5="k[:W#cbXZ\edD62m(AlP7[o%2?s5U)V[+m)GR)7[oCER\$1QYSGHaSNX,V]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HRIOdl`0BGF/]TiVRG$mmV)iAti9l!5PM3_Jl2'_Ve%35;pc:&AjdYC]\?38%oF=DebJVc_**Fr!C+ltjFZ`0;E(W.Uf[B"=qD#f4]("<C30`Dh<<q[*kq8F-5W)oQj!fuAFo"==(*?[OlrnkQ2K-k*Al3l#'L*d-GhOElmRGVD]/Ggc<%jf_>lIEg]1u$_(8Sdc#n%/D(j"eh,Cm:5BL=8.VHq)6F8POjK0LUQ+2"U)fh;aX);^tL-Ha".">e^t&)4#1mqns:%NA$9ZM-4RRDr:T\T?Dq2I0T7]t8BYfVa&/!t4]VqNRK$Dl$P[n_fj4%(X%i\,Bu#na#8Rh$HsXmJ`nKT0B\`8mt3kV??"&9?(0$?].6DO^6q"G*[,oJbR+gT;:grYL@JgFoXNU%.*WaQi4Hr9'8fpX_%4kIa/W*lAH%U/We#.cO4fjV4[1<m<H6KM+YXdN^'h![PI0WV>e8;>7*4Ijt];`^Dln<4D-Ch(6=/9&i6F[i?1qj3<V#7"!bA,kl~>endstream
endobj
xref
0 24
@@ -194,7 +194,7 @@ xref
trailer
<<
/ID
[<4c268945b28da3e33d77d524a34c9c42><4c268945b28da3e33d77d524a34c9c42>]
[<e079803601628fa8619d4644a0bd16cc><e079803601628fa8619d4644a0bd16cc>]
% ReportLab generated PDF document -- digest (opensource)
/Info 15 0 R
@@ -202,5 +202,5 @@ trailer
/Size 24
>>
startxref
15410
15909
%%EOF
@@ -120,7 +120,7 @@
<div class="pulse-dot"></div>
<h1>Cross-Repository Dependency Graph &amp; Auditable Build &rarr; Test &rarr; Stage_Commit Pipeline</h1>
</div>
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria &bull; technocapital-singularity-zoology (v1.7.0) &bull; encyclopedia-knowledge-graph (v1.0.0)</p>
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria &bull; technocapital-singularity-zoology (v2.0.13) &bull; encyclopedia-knowledge-graph (v2.0.13)</p>
</div>
<!-- Main SVG Diagram -->
+1 -1
View File
@@ -2,7 +2,7 @@
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
"version": "2.0.0",
"version": "2.0.13",
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
"upstream_repository": "/workspace/technocapital-singularity-zoology",
"isolation_verified": {
+1 -1
View File
@@ -3,7 +3,7 @@ window.HyperstitionStudio.EncyclopediaGraphData = {
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
"version": "2.0.0",
"version": "2.0.13",
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
"upstream_repository": "/workspace/technocapital-singularity-zoology",
"isolation_verified": {
+3 -3
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v1.0.0)</title>
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.0.13)</title>
<style>
:root {
--bg-canvas: #121318;
@@ -268,7 +268,7 @@
<header>
<div class="brand">
<h1>ENCYCLOPEDIA OF TECHNOCAPITAL SINGULARITY ZOOLOGY — INTERACTIVE KNOWLEDGE GRAPH</h1>
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak</p>
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak &bull; v2.0.13</p>
</div>
<div class="toolbar">
<button class="btn active" data-mode="mode2_radar">Mode 2: ETI Radar (S+ -> D Periphery)</button>
@@ -321,7 +321,7 @@
</aside>
</div>
<footer class="hs-global-footer" style="background:#1A1D26;border-top:1px solid #323846;padding:4px 14px;text-align:center;font-size:11px;color:#9BA3B8;z-index:20;">
<span class="hs-lemur-credit">Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</span>
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.0.13 &bull; Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</span>
</footer>
<script src="graph-data.js"></script>
@@ -705,7 +705,7 @@ def build_graph(upstream_repo: Path = UPSTREAM_REPO_DEFAULT) -> dict[str, Any]:
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
"$id": URN_SCHEMA_GRAPH,
"namespace_urn": URN_GRAPH_NS,
"version": "2.0.0",
"version": "2.0.13",
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
"upstream_repository": str(upstream_repo),
"isolation_verified": {