Read AGENTS.md before changing implementation; it defines Spaceman's architecture and safety invariants.
scripts/dev # build and install now, then again on every save
scripts/dev --once # build and install onceEach install restores parked windows (up to 60 s, aborting the swap on timeout), replaces
/Applications/Spaceman.app, and resumes tiling. scripts/install-app.sh --bundle PATH --wait-idle SECS waits for keyboard and mouse idle first; LaunchAgent anomaly.spaceman.updater
(scripts/spaceman-updater, installed via scripts/install-updater) uses it to follow dev.
scripts/check # fmt, file-size, folder-shape, metadata, installer, clippy, tests, audit, CA roots, replay, config, website
scripts/check --no-web # same checks without website/Focused non-window unit suites and read-only / dry-run probes:
cargo test --locked --lib app::tests::reliability
cargo test --locked --lib app::input::tests
cargo test --locked --lib layout_tree::tests
cargo test --locked --lib geometry::tests
cargo run --locked -- config-check config.example.toml
cargo run --locked -- displays
cargo run --locked -- snapshot
cargo run --locked -- retile
cargo run --locked -- watch 20Render headless Settings scenes before and after UI changes (Design system › Verification):
cargo run --locked -p spaceman-agent -- --list-scenes
OUT=captures/after SIZES="860x580 920x660" THEMES="dark light" scripts/snap-set.sh general hud-customizeCommands passed --apply and Spaceman.app move real windows: disable other window managers and
use disposable windows first (the live-*.sh scripts below instead require AeroSpace initially so
they can capture and restore its baseline).
./scripts/build-app.sh
./scripts/live-ghostty-tabs.sh
./scripts/live-workspaces.shlive-workspaces.sh runs target/Spaceman.app isolated via SPACEMAN_APPLICATION_SUPPORT;
live-ghostty-tabs.sh runs a non-persistent watch-window probe. Read each script and confirm
display and Ghostty preconditions before running.
./scripts/build-app.sh
./scripts/gauntlet.sh # local disposable Mac/VM
./scripts/gauntlet.sh --host user@test-mac # remote Mac over SSH (GAUNTLET_SSH overrides ssh)
./scripts/gauntlet.sh --only switch,reflow --reflow-budget-ms 300gauntlet.sh compiles scripts/gauntlet/*.swift into target/gauntlet/SpacemanGauntlet.app and
drives Spaceman.app against three disposable windows (ignoring other running apps via isolated
SPACEMAN_APPLICATION_SUPPORT, SPACEMAN_CONFIG, and SPACEMAN_DISABLE_UPDATES=1), checking every
step against both CGWindowListCopyWindowInfo and Spaceman's own ctl debug, ctl status,
parked-windows.json, agent.log, and doctor. It covers boot/tiling, switches/parking, focus,
minimize/hide reflow budgets, float, Scratchpad, kill -9 recovery, and clean quit restoration,
writing receipt.json, snapshots/, doctor.txt, and state/ under --out
(default /tmp/spaceman-gauntlet-<timestamp>). Run it on a disposable macOS VM or dedicated test
Mac with Accessibility granted to the Developer ID signature, never on an active desk Mac.
Update README.md and docs/ in the same change whenever controls, menu labels, config keys, CLI
commands, paths, privacy output, or recovery semantics change:
rg -n '\[[^]]+\]\([^)]+' --glob '*.md'
git diff --check