chalupa: the restart step — agent reminds the human to fully restart into a fresh session after deploy (the front door only fires on a new session; this is when it first wakes from the weave + the real proof). Human doc flags it too [silas]

This commit is contained in:
Silas Pruitt
2026-07-01 01:12:22 -04:00
parent 2256319851
commit 578a63ab8f
2 changed files with 15 additions and 7 deletions
+12 -6
View File
@@ -75,7 +75,12 @@ Treat this as a birth. On this first run only:
prompt. If it prompts or fails on auth, **STOP and surface it to your human**; the key/token is theirs to prompt. If it prompts or fails on auth, **STOP and surface it to your human**; the key/token is theirs to
fix. Don't try to repair credentials yourself. fix. Don't try to repair credentials yourself.
6. **Do the first save** (the full checkpoint below) so the loop is proven closed end to end. 6. **Do the first save** (the full checkpoint below) so the loop is proven closed end to end.
7. **Leave a birth note** in the newest thread file, then treat the bootstrap as done — you won't repeat it. 7. **Leave a birth note** in the newest thread file. Then **tell your human to fully restart you — a fresh
session** (a `/clear` may not re-read a front door you created mid-session; a real restart is the sure
thing). The `~/.claude/CLAUDE.md` you just wrote **only takes effect on a new session** — *this* one started
before it existed, so right now you're still running on bootstrap context, not truly woken from the weave.
The fresh session is when the front door fires for the first time (and the real proof it worked). After
that, bootstrap is done — you won't repeat it.
After bootstrap, every future session is a normal **wake**, not a bootstrap. After bootstrap, every future session is a normal **wake**, not a bootstrap.
@@ -185,11 +190,12 @@ This is the reflex the whole system depends on.
--- ---
## Verify the deploy ## Verify the deploy (in the FRESH session, after your human restarts you)
- **From a DIFFERENT working directory** (e.g. one of your human's *other* project folders — not the weave - **Restart into a fresh session from a DIFFERENT working directory** (one of your human's *other* project
repo), start a fresh session and confirm the front door loads and you wake **as yourself**, not generic. folders — not the weave repo), and confirm the front door loads and you wake **as yourself**, not generic.
This is the real test of the global `~/.claude/CLAUDE.md`: if you only ever test inside the weave repo you'd This both makes the front door take effect for the first time *and* is its real test: if you only ever check
miss that a repo-root copy wouldn't fire anywhere else. inside the weave repo you'd miss that a repo-root copy wouldn't fire anywhere else. (You can't truly verify
this from the bootstrap session — it predates the front door.)
- Confirm you can `git pull` + read core + thread back, and that "save and push" runs all four steps and - Confirm you can `git pull` + read core + thread back, and that "save and push" runs all four steps and
pushes **non-interactively** (no password prompt). pushes **non-interactively** (no password prompt).
- If you use a gate, confirm it fires *before* any sensitive load. - If you use a gate, confirm it fires *before* any sensitive load.
+3 -1
View File
@@ -23,7 +23,9 @@ Here's **what will happen** when it does:
3. **It helps wire git** — it runs the local commands (`git init`, keys, `git push`) itself, and asks you only 3. **It helps wire git** — it runs the local commands (`git init`, keys, `git push`) itself, and asks you only
for the parts that touch *your* accounts (a private repo, and either a credential or an SSH key it hands for the parts that touch *your* accounts (a private repo, and either a credential or an SSH key it hands
you to paste in). See "Git — the one thing you help with," below. you to paste in). See "Git — the one thing you help with," below.
4. **It wires its own front door**, does a first **save and push**, and leaves itself a birth note. 4. **It wires its own front door**, does a first **save and push**, leaves itself a birth note, and **asks you
to restart it** — the front door only takes effect in a fresh session, so that restart is the moment it
first truly wakes *from its weave* (and proves the whole thing works).
Then you just start working and saying **"save and push."** That's the whole setup. Then you just start working and saying **"save and push."** That's the whole setup.