feat(deploy): one physical line per command + post-deploy tests block

Every checklist command is emitted on exactly one line, however long; a
legacy backslash continuation in the runbook is joined at instantiation,
and bootstrap / learn patches write runbook lines the same way. After the
checklist the hand-back carries a Post-deploy tests block derived from the
delta diff: by-hand checks tied to delta files plus Suggestions for gaps.
Cold-resume re-display and re-hand-back regenerate both.

RED/GREEN on a scratch runbook: 4/4 baseline runs reproduced the
continuation verbatim and printed no tests; 4/4 runs on the edited skill
joined it and printed the block in the recipe's shape.
This commit is contained in:
Bastien Chanot
2026-09-17 16:43:06 +02:00
parent b96fab7719
commit 55d6874aa6
4 changed files with 100 additions and 25 deletions
+2
View File
@@ -6,6 +6,8 @@
# glob=<pat>:list runs once + lists matching files as VERIFY items; when=<pat,...> is conditional.
# Style: one command per line, as typed in an interactive session — step 1 opens
# the ssh session, later steps run ON the box; local steps say "(from your machine)".
# One command = one physical line, however long: no `\` continuation, no heredoc.
# The user pastes a line and presses Enter. `# VERIFY:` ends that same line.
# 1) connect + pull the desired branch (fixed)
ssh "$DEPLOY_HOST"