Set up guardrails
Set up continuous guardrails on Stunt Double for critical flows (signup, checkout, sign-in).
- Context:
list_workspaces(),list_projects(workspace_id);list_actors(workspace_id), elsecreate_actor(...). - One checklist per flow:
create_checklist(...)with focused instructions and 3 to 6 crisp pass/fail checks. Small checklists give clearer failure signals. - Standards:
list_project_guidelines(project_id), thenadd_project_guideline(...)for anything missing. Guidelines reach every run, so checks can assert them without restating them. - Green baseline first:
run_checklist(checklist_id)for each and pollget_checklist_run(run_id). Fix flaky checks now; a noisy guardrail gets ignored. - Automate:
create_workflow(...)with a trigger:schedulewith{ cron, timezone }intrigger_config(timezone fromget_me; daily is a good default), orvercel_event/github_eventfor deploys and PRs when those connections exist (preferred; a schedule also catches content-only regressions). - Steps:
add_workflow_step(workflow_id, step_type, config)appends and connects, so add in run order: onerun_checkliststep per checklist (config={ checklist_id }), then anotificationstep (config={ channel: "email", recipients: { type: "all_members" }, template: "failed" }). - Check and activate:
get_workflow(workflow_id):execution_ordermust cover every step andunreachable_step_idsbe empty. Thentoggle_workflow(workflow_id). - Tell the user what is covered, when it runs, where failures go, and how to extend it. Everything is manageable at app.stuntdouble.io.