From cd7d939787fbdaf61455972847bbd1c27f0c4956 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Mon, 30 Nov 2026 03:50:05 +0000 Subject: [PATCH] chore(gallery): disable /gallery route in Caddyfile and sync-vps-repos.sh for now while tracking as long-term plan (v2.0.11) --- deploy/Caddyfile | 9 ++++++++- deploy/sync-vps-repos.sh | 5 +++-- deploy/test-first-deployment.sh | 6 +----- site/index.html | 2 +- site/learn/index.html | 1 - 5 files changed, 13 insertions(+), 10 deletions(-) diff --git a/deploy/Caddyfile b/deploy/Caddyfile index 062bb5a..35f16c4 100644 --- a/deploy/Caddyfile +++ b/deploy/Caddyfile @@ -87,7 +87,14 @@ hyperstitionstud.io { reverse_proxy 127.0.0.1:8095 } - # 7. Repo Install Dir: hyperstitionstudio-core -> /schemas/*, /learn/*, /gallery/* & Root Portal Homepage (/) + # Long-Term Plan (Disabled for Now): /gallery & /gallery/* Artifact Gallery + # See docs/PLAN-MEMETIC-GALLERY-SUBPAGE.pdf to re-enable when activated. + @gallery_disabled path /gallery /gallery/* + handle @gallery_disabled { + respond "404 Not Found" 404 + } + + # 7. Repo Install Dir: hyperstitionstudio-core -> /schemas/*, /learn/* & Root Portal Homepage (/) handle_path /schemas/* { root * /var/www/hyperstitionstud.io/repos/hyperstitionstudio-core/schemas file_server { diff --git a/deploy/sync-vps-repos.sh b/deploy/sync-vps-repos.sh index 604953a..a79a31a 100755 --- a/deploy/sync-vps-repos.sh +++ b/deploy/sync-vps-repos.sh @@ -98,10 +98,11 @@ if [[ "${CI_REPO_DIR}" == "hyperdope-ci-build" ]] && [[ -d "${LIVE_REPOS}/hyperd ${SUDO} ln -sfn "hyperdope-ci-build" "${LIVE_REPOS}/ingglish-hyperdope-ci" fi -# Create relative route symlinks inside LIVE_REPOS so both Caddy and standalone HTTP servers resolve all routes +# Create relative route symlinks inside LIVE_REPOS so both Caddy and standalone HTTP servers resolve all active routes ${SUDO} ln -sfn "hyperstitionstudio-core/site/index.html" "${LIVE_REPOS}/index.html" ${SUDO} ln -sfn "hyperstitionstudio-core/site/learn" "${LIVE_REPOS}/learn" -${SUDO} ln -sfn "hyperstitionstudio-core/site/gallery" "${LIVE_REPOS}/gallery" +# Note: /gallery is disabled for now (tracked as a long-term plan in docs/PLAN-MEMETIC-GALLERY-SUBPAGE.pdf) +${SUDO} rm -rf "${LIVE_REPOS}/gallery" "${LIVE_REPOS}/hyperstitionstudio-core/site/gallery" ${SUDO} ln -sfn "encyclopedia-knowledge-graph" "${LIVE_REPOS}/graph" ${SUDO} ln -sfn "technocapital-singularity-zoology/encyclopedia" "${LIVE_REPOS}/encyclopedia" ${SUDO} ln -sfn "technocapital-singularity-zoology" "${LIVE_REPOS}/zoology" diff --git a/deploy/test-first-deployment.sh b/deploy/test-first-deployment.sh index 45da042..6ac0203 100755 --- a/deploy/test-first-deployment.sh +++ b/deploy/test-first-deployment.sh @@ -46,15 +46,11 @@ else MCP_URL="${TARGET_BASE_URL%/}/mcp" fi -echo "[3/3] Verifying all 35 portal, /learn/, /gallery/, graph, encyclopedia, haiperdohp-jemaytreeah (.gitignore artifacts), CI & schema routes against ${TARGET_BASE_URL}..." +echo "[3/4] Verifying all 32 active portal, /learn/, graph, encyclopedia, haiperdohp-jemaytreeah (.gitignore artifacts), CI & schema routes against ${TARGET_BASE_URL}..." ROUTES=( "/" "/learn/index.html" "/learn/learn-app.js" - "/gallery/index.html" - "/gallery/gallery-data.js" - "/gallery/media/meme_1_custom_pokedex_technocapital_zoology_m7_129_125.png" - "/gallery/media/meme_1_custom_pokedex_technocapital_zoology_m7_129_125.pdf" "/graph/index.html" "/graph/graph-data.js" "/graph/encyclopedia-graph.json" diff --git a/site/index.html b/site/index.html index 50ec3df..3b84c11 100644 --- a/site/index.html +++ b/site/index.html @@ -135,8 +135,8 @@
Start Learning Track (/learn/) - Memetic Gallery (/gallery/) 388 Graph Nodes + 1,282 Typed Edges 22 PDF Volumes
diff --git a/site/learn/index.html b/site/learn/index.html index b7f6148..3dab9e6 100644 --- a/site/learn/index.html +++ b/site/learn/index.html @@ -215,7 +215,6 @@