From 4635b160c622f2ccc46c7c731bb52bee5e3d7881 Mon Sep 17 00:00:00 2001 From: Time Date: Sun, 18 Oct 2026 05:11:15 +0000 Subject: [PATCH] card #87: kept ventures/havre/index.html, ventures/havre/tools/build.sh (generated) --- ventures/havre/index.html | 1 + ventures/havre/tools/build.sh | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/ventures/havre/index.html b/ventures/havre/index.html index a929226..241dc81 100644 --- a/ventures/havre/index.html +++ b/ventures/havre/index.html @@ -19,6 +19,7 @@ + diff --git a/ventures/havre/tools/build.sh b/ventures/havre/tools/build.sh index cf6098d..b4b24bc 100644 --- a/ventures/havre/tools/build.sh +++ b/ventures/havre/tools/build.sh @@ -13,6 +13,12 @@ cd "$(dirname "$0")/.." # so the build does rm -rf art fonts tools/paint.py tools/draw.py tools/vendor tests/smoke.py +# what agents look for stays: .well-known/ (the skills index) and robots.txt are served as they are, so the build +# never clears them, and fails if they're gone +for f in .well-known/skills/index.json robots.txt; do + [ -f "$f" ] || { echo "tools/build.sh: $f is missing: agents look for it" >&2; exit 1; } +done + node tools/cast.mjs # cast/index.js, the harbor's own as the module the page imports, from cast/*.havre.json node --test tests/*.test.mjs