@@ -53,6 +53,13 @@
5353 - `bun run format`
5454 - `bun run typecheck`
5555 - `bun pm pack --dry-run --ignore-scripts`
56+- Pre-release docs sync:
57+ - audit `README.md` against `spec.md` and the current command/CLI sources (`src/input.ts`, `src/ui/help.ts`, `src/cli.ts`, `src/headless.ts`, `package.json`)
58+ - update `README.md` on `main` first
59+ - update the `gh-pages` branch in a separate `git worktree`
60+ - sync `README.md`, `spec.md`, and `AGENTS.md` into that `gh-pages` worktree so the branch does not keep stale repo docs
61+ - update `gh-pages/index.html` so its install, features, commands, and headless-mode copy matches the repo docs and current behavior
62+ - review the `gh-pages` diff before committing or pushing it
5663 - Release flow:
5764 - if the version needs to change, update only `package.json`
5865 - review the diff with the user before committing