diff --git a/docs/shell-split-verification.md b/docs/shell-split-verification.md index 1aeb2302..67921da9 100644 --- a/docs/shell-split-verification.md +++ b/docs/shell-split-verification.md @@ -52,6 +52,43 @@ the system, and diff the generated artifacts against a detached worktree at the pre-split commit. That comparison is what proved the fix — same file set, every text artifact byte-identical. +### `trace_shell_split.sh` — the run, made routine + +`meta/scripts/trace_shell_split.sh` (added 2026-08-16) does the stubbed run for +you. It shadows ~30 mutating binaries (`sudo`, `pacman`, `systemctl`, `adb`, +`nft`, `mount`, `mkinitcpio`, `reboot`, …) with `PATH` stubs that record each +call and exit 0, runs the script, and prints a diffable trace: exit status, +stubbed calls in order with arguments, stdout, stderr. + +```bash +# baseline, in a detached worktree at the pre-split commit +meta/scripts/trace_shell_split.sh