agent-ci-dev
Agent CI (dev build)
Run local CI against the in-tree dev build (pnpm agent-ci-dev) to verify changes to this repo before completing work.
This skill relies on two pi-native tools added by .pi/extensions/background-shell.ts: bash_background (start a command, return immediately) and monitor_wait (block until the log matches a pattern or the task exits). If those tools aren't available in your pi, load/reload the extension — /reload if you're already in a session, or relaunch pi — before continuing.
Steps
-
Start agent-ci in the background with
bash_background, with the NDJSON event stream enabled:{ "command": "pnpm agent-ci-dev run --all -q -p --json" }This returns
{ taskId, outputFile, pid }without blocking. Because stdout isn't a TTY, the launcher detaches automatically: the foreground process exits 77 the moment a step pauses, while the worker keeps the container alive forretry. -
Wait for a pause or completion with
monitor_wait, matching the NDJSON event discriminators (silence is not success — a crash or hang with a success-only filter looks identical to still-running):