desktop-tools GitHub

Live checks

The live checks in #42 need an unlocked Mac. npm run live-check runs the ones that can be automated, through the same MCP server (dist/mcp.js) and host that agents use:

npm run live-check                    # the installed app
npm run dev-app                       # build and open the development app (see build.md)
DESKTOP_TOOLS_STATE=~/.local/state/desktop-tools-dev npm run live-check -- --only 82,88
npm run live-check -- --list          # list the checks without running them
npm run live-check -- --json /tmp/live.json

It drives the installed Desktop Tools, or the dev app whose state folder DESKTOP_TOOLS_STATE names. Use npm run dev-app for the dev app, never a copy launched from a build folder. That app must already allow the harness’s caller, the terminal or agent that runs npm run live-check, as it would any agent (see approved agents); otherwise the harness stops before opening anything and says so. Each check prints PASS, FAIL or SKIP with its evidence, and a summary groups them by PR. The exit status is 1 when any check fails, and 2 when nothing could run.

What it touches:

Still manual

These stay manual, because they are destructive, change system settings, need a second display, Space or password, or need an app or account the harness can’t create: