docs(13-09): cover the last two scripts still sourcing AIUI from ../AIUI

The planner correctly flagged dev-start.sh and deploy-tailscale.sh as out of
its mandate. Verified the risk is live, not theoretical: the orphaned
pre-migration clone still exists AND still has a built packages/app/dist, so
both scripts copy stale AIUI bytes and report success rather than failing
loudly. That is the same silent-staleness class as the /assets 404. Same
one-line fix as the two scripts already in scope, so it belongs in this plan
rather than in a follow-up nobody schedules.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
archipelago
2026-08-03 17:16:56 -04:00
co-authored by Claude Opus 5
parent 9ac4770773
commit 6f5113a0f4
@@ -9,6 +9,8 @@ files_modified:
- scripts/verify-aiui-deploy.sh
- scripts/deploy-to-target.sh
- scripts/setup-aiui-server.sh
- scripts/dev-start.sh
- scripts/deploy-tailscale.sh
- scripts/lib/common.sh
- tests/production-quality/deploy-guard-same-host.sh
- image-recipe/configs/nginx-archipelago.conf
@@ -25,6 +27,7 @@ must_haves:
- "AIUI's own JavaScript is browser-prevented from reaching /rpc/v1 with the ambient session cookie — the sandbox is an enforced boundary, not only a code-discipline convention (AIUI-04, RESEARCH Open Question 2)"
- "AIUI keeps its standalone mode and its own fast dev loop — none of this requires a node to work on the UI (D-17)"
- "A same-host deploy whose resolved source and destination differ is refused before rsync --delete can run, whether the mismatch is containment or sibling directories — the 2026-07-31 data-loss guard now covers the shape it originally missed"
- "NO script sources AIUI from `$PROJECT_DIR/../AIUI` any more. Verified live 2026-08-03: the orphaned pre-migration clone still sits at /home/archipelago/Projects/AIUI AND still has a built `packages/app/dist`, so `dev-start.sh` and `deploy-tailscale.sh` would copy stale bytes and report success — silent staleness, not a loud failure. `grep -rn '\\.\\./AIUI' scripts/*.sh` must return nothing but comments explaining the retirement."
artifacts:
- path: "scripts/build-aiui.sh"
provides: "The one way AIUI is built for a node: base-path enforced, deps installed from the committed lockfile, output verified and attributed to this repo's own commit"