Skip to content

Instantly share code, notes, and snippets.

@nazt
Created April 6, 2026 12:58
Show Gist options
  • Select an option

  • Save nazt/96bb9cca83ab8ebb1e835727e947b09a to your computer and use it in GitHub Desktop.

Select an option

Save nazt/96bb9cca83ab8ebb1e835727e947b09a to your computer and use it in GitHub Desktop.
maw v1.5.1 reboot test #3 — duplicate fix pass, cwd partial

Reboot Test #3 — 2026-04-06 19:54

maw v1.5.1 (6b92244)

Fixes Applied

  1. Duplicate window fix — collision fallback skips when fleet config covers worktree
  2. cwd fixbuildCommandInDir() prepends cd before Claude startup

Results

Test Before After Status
Neo windows 31 (duplicates) 16 (correct) ✅ PASS
Newly spawned cwd /home/nat repo path ✅ PASS
Already-awake cwd /home/nat /home/nat ❌ FAIL

Root Cause of Remaining Failure

ensureSessionRunning() retries with buildCommand() (no cd). Sessions created by PM2 auto-boot are "already awake" when maw wake all runs — retry path doesn't have cwd.

Fix Needed

ensureSessionRunning must query pane_current_path from tmux and use buildCommandInDir().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment