@pretorian-worx/runclaudia-cli
v0.19.0
Published
Diff-aware post-deploy test agent CLI — picks a relevant Playwright subset for a diff and runs it against the deployed prod artifact, with reporting to GitHub Actions, the merged PR, and Slack.
Maintainers
Readme
@pretorian-worx/runclaudia-cli
The CLI for claudia — a diff-aware post-deploy test agent. Picks the relevant subset of your Playwright suite for a given diff, runs it against the deployed production URL, and reports the result to GitHub Actions, the merged PR, and Slack.
Install
npx -y @pretorian-worx/runclaudia-cli <subcommand> [args]Or globally:
npm i -g @pretorian-worx/runclaudia-cli
claudia <subcommand> [args]Subcommands
claudia plan— diff-aware test plan generation (uses Anthropic)claudia map— build/inspect the route + endpoint + infra + DB + spec mapclaudia select— pick a diff-relevant subset of Playwright/Cypress specsclaudia run—select+ execute the subset against a deployed URLclaudia ratings— aggregate 👍/👎 reactions across PR plan comments
claudia plan requires ANTHROPIC_API_KEY in the environment. All other subcommands are deterministic local code (zero API calls).
Post-deploy verification
This is the canonical use:
npx -y @pretorian-worx/runclaudia-cli run \
--base $LAST_DEPLOY_SHA \
--head $JUST_DEPLOYED_SHA \
--target https://app.example.com \
--slack-webhook $SLACK_WEBHOOK_URLResult is auto-reported to:
$GITHUB_STEP_SUMMARYwhen running in GitHub Actions- A sticky comment on the merged PR that introduced the deployed commit
- Slack (if
--slack-webhookorCLAUDIA_SLACK_WEBHOOKis set)
See the main repo README for the full workflow example and the larger product context.
License
MIT
