Verify change
Verify a code change on a preview, staging or production URL by running a Stunt Double actor through the affected flows.
- Context:
list_workspaces(),list_projects(workspace_id). Tools that take aurl(likecreate_checklist) find or create the project. Starting from a PR:list_pull_requests(workspace_id, owner, repo, state="open")andget_pull_request(workspace_id, owner, repo, pr_number)show which flows to exercise (needs the workspace GitHub connection). The preview URL usually comes from the user or the deploy, not the PR details. - Actor:
list_actors(workspace_id), reusing a QA-style actor, elsecreate_actor(...). - Checklist:
create_checklist(...)with the preview URL as host,instructionsfor exercising the changed flows like a real user, and 4 to 8checkscovering the new behaviour, adjacent flows and error states. Phrase checks by observable behaviour, not code; one change area per checklist. - Run:
run_checklist(checklist_id), pollget_checklist_run(run_id)until terminal. Each check carries evidence. - Report: for failures, give the evidence and likely fix; if you can edit the code, offer to fix and re-run the same checklist. With an associated PR, post a verdict line and a table of checks with
comment_on_pr(owner/repo#number). - Keep it: re-run on the next change to the area, or wire it up with
create_workflow(seesetup-guardrails).