The repository ships four paired POSIX and PowerShell examples. They are executed against the built binary on Linux and Windows in CI, so their public command shapes cannot drift unnoticed.
| Scenario | Use it when | Scripts |
|---|---|---|
| Compatibility preflight | An adapter must fail closed when the installed schema, exit band, or required flags drift. | POSIX · PowerShell |
| Foreground JSONL | A supervisor needs a finite deadline and must parse the terminal lifecycle event. | POSIX · PowerShell |
| Detached supervision | A launcher hands work to the runner, then uses separate inspect and wait clients. |
POSIX · PowerShell |
| Label-scoped fleet stop | An operator discovers and cancels only a uniquely labeled fleet snapshot. | POSIX · PowerShell |
See the repository's
examples README
for prerequisites, PROCESSKIT_CLI_BIN selection, and cleanup guarantees.