style(checkpoints): update command and workflow to match new format

Sync execute-plan command and workflow with improved checkpoint display:
- Box header with ╔═══╗ for visual prominence
- Progress indicator at top
- Separator line before unmissable "→ YOUR ACTION:" prompt

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-15 11:11:36 -06:00
parent c196434f9f
commit b150254e63
2 changed files with 81 additions and 61 deletions

View File

@@ -281,64 +281,70 @@ Display rich formatted checkpoint based on type:
**For human-verify:** **For human-verify:**
``` ```
════════════════════════════════════════ ╔═══════════════════════════════════════════════════════╗
CHECKPOINT: Verification Required ║ CHECKPOINT: Verification Required ║
════════════════════════════════════════ ╚═══════════════════════════════════════════════════════╝
Task {X} of {Y}: {task name} Progress: {X}/{Y} tasks complete
Task: {task name}
I built: {what-built from checkpoint details} Built: {what-built from checkpoint details}
How to verify: How to verify:
{numbered verification steps} {numbered verification steps}
Type "approved" to continue, or describe issues. ────────────────────────────────────────────────────────
════════════════════════════════════════ → YOUR ACTION: Type "approved" or describe issues
────────────────────────────────────────────────────────
``` ```
**For human-action (auth gate):** **For human-action (auth gate):**
``` ```
════════════════════════════════════════ ╔═══════════════════════════════════════════════════════╗
CHECKPOINT: Authentication Required ║ CHECKPOINT: Action Required ║
════════════════════════════════════════ ╚═══════════════════════════════════════════════════════╝
Task {X} of {Y}: {task name} Progress: {X}/{Y} tasks complete
Task: {task name}
I tried: {automation attempted} Attempted: {automation attempted}
Error: {error encountered} Error: {error encountered}
What you need to do: What you need to do:
{numbered instructions} {numbered instructions}
I'll verify after: {verification} I'll verify: {verification}
Type "done" when complete. ────────────────────────────────────────────────────────
════════════════════════════════════════ → YOUR ACTION: Type "done" when complete
────────────────────────────────────────────────────────
``` ```
**For decision:** **For decision:**
``` ```
════════════════════════════════════════ ╔═══════════════════════════════════════════════════════╗
CHECKPOINT: Decision Required ║ CHECKPOINT: Decision Required ║
════════════════════════════════════════ ╚═══════════════════════════════════════════════════════╝
Task {X} of {Y}: {task name} Progress: {X}/{Y} tasks complete
Task: {task name}
Decision: {what's being decided} Decision: {what's being decided}
Context: {why this matters} Context: {why this matters}
Options: Options:
1. {option-a}: {name} 1. {option-a} - {name}
Pros: {benefits} Pros: {benefits}
Cons: {tradeoffs} Cons: {tradeoffs}
2. {option-b}: {name} 2. {option-b} - {name}
Pros: {benefits} Pros: {benefits}
Cons: {tradeoffs} Cons: {tradeoffs}
Select: {option-a | option-b | ...} ────────────────────────────────────────────────────────
════════════════════════════════════════ → YOUR ACTION: Select option-a or option-b
────────────────────────────────────────────────────────
``` ```
**3. Collect response:** **3. Collect response:**

View File

@@ -466,12 +466,21 @@ Execution:
[1] Spawning subagent for tasks 1-3... [1] Spawning subagent for tasks 1-3...
→ Subagent completes: 3 files modified, 0 deviations → Subagent completes: 3 files modified, 0 deviations
[2] Executing checkpoint 4 (human-verify)... [2] Executing checkpoint 4 (human-verify)...
════════════════════════════════════════ ╔═══════════════════════════════════════════════════════╗
CHECKPOINT: Verification Required ║ CHECKPOINT: Verification Required ║
Task 4 of 8: Verify database schema ╚═══════════════════════════════════════════════════════╝
I built: User and Session tables with relations
How to verify: Check src/db/schema.ts for correct types Progress: 3/8 tasks complete
════════════════════════════════════════ Task: Verify database schema
Built: User and Session tables with relations
How to verify:
1. Check src/db/schema.ts for correct types
────────────────────────────────────────────────────────
→ YOUR ACTION: Type "approved" or describe issues
────────────────────────────────────────────────────────
User: "approved" User: "approved"
[3] Spawning subagent for tasks 5-6... [3] Spawning subagent for tasks 5-6...
→ Subagent completes: 2 files modified, 1 deviation (added error handling) → Subagent completes: 2 files modified, 1 deviation (added error handling)
@@ -609,23 +618,25 @@ Error: Not authenticated. Please run 'vercel login'
[Create checkpoint dynamically] [Create checkpoint dynamically]
════════════════════════════════════════ ╔═══════════════════════════════════════════════════════╗
CHECKPOINT: Authentication Required ║ CHECKPOINT: Action Required ║
════════════════════════════════════════ ╚═══════════════════════════════════════════════════════╝
Task 3 of 8: Authenticate Vercel CLI Progress: 2/8 tasks complete
Task: Authenticate Vercel CLI
I tried to deploy but got authentication error. Attempted: vercel --yes
Error: Not authenticated
What you need to do: What you need to do:
Run: vercel login 1. Run: vercel login
2. Complete browser authentication
This will open your browser - complete the authentication flow. I'll verify: vercel whoami returns your account
I'll verify after: vercel whoami returns your account ────────────────────────────────────────────────────────
→ YOUR ACTION: Type "done" when authenticated
Type "done" when authenticated ────────────────────────────────────────────────────────
════════════════════════════════════════
[Wait for user response] [Wait for user response]
@@ -1042,29 +1053,33 @@ When encountering `type="checkpoint:*"`:
**Display checkpoint clearly:** **Display checkpoint clearly:**
``` ```
════════════════════════════════════════ ╔═══════════════════════════════════════════════════════╗
CHECKPOINT: [Type] ║ CHECKPOINT: [Type] ║
════════════════════════════════════════ ╚═══════════════════════════════════════════════════════╝
Task [X] of [Y]: [Action/What-Built/Decision] Progress: {X}/{Y} tasks complete
Task: [task name]
[Display task-specific content based on type] [Display task-specific content based on type]
[Resume signal instruction] ────────────────────────────────────────────────────────
════════════════════════════════════════ → YOUR ACTION: [Resume signal instruction]
────────────────────────────────────────────────────────
``` ```
**For checkpoint:human-verify (90% of checkpoints):** **For checkpoint:human-verify (90% of checkpoints):**
``` ```
I automated: [what was automated - deployed, built, configured] Built: [what was automated - deployed, built, configured]
How to verify: How to verify:
1. [Step 1 - exact command/URL] 1. [Step 1 - exact command/URL]
2. [Step 2 - what to check] 2. [Step 2 - what to check]
3. [Step 3 - expected behavior] 3. [Step 3 - expected behavior]
[Resume signal - e.g., "Type 'approved' or describe issues"] ────────────────────────────────────────────────────────
→ YOUR ACTION: Type "approved" or describe issues
────────────────────────────────────────────────────────
``` ```
**For checkpoint:decision (9% of checkpoints):** **For checkpoint:decision (9% of checkpoints):**
@@ -1776,10 +1791,9 @@ Summary: .planning/phases/{phase-dir}/{phase}-{plan}-SUMMARY.md
All {Y} plans finished. All {Y} plans finished.
════════════════════════════════════════ ╔═══════════════════════════════════════════════════════╗
All {N} phases complete! ║ All {N} phases complete! Milestone is 100% done. ║
Milestone is 100% done. ╚═══════════════════════════════════════════════════════╝
════════════════════════════════════════
--- ---