Before you start
You need:- An API key with the
adminorrootrole inCHECKFU_API_KEY. - A service account for the Automation to run as (
RUNS_AS) and the person who authors it (AUTHOR). An API key is not a person, so a create through an API key names the author. - A connected GitHub account (
GITHUB_ACCOUNT, aconn_…). - The Triage Agent (
TRIAGE_AGENT) and the Environment it runs in (ENVIRONMENT). When the Workspace has exactly one, delete theenvironment_idline and leave outENVIRONMENT. - A model routing profile with the key
fast-judge, or changeroute.profileto one you have.
Create the draft
Save the recipe as Keep the
proactivity.yaml. It is the published proactivity.yaml with created_by_principal_id added:proactivity.yaml
auto_… id it returns in AUTOMATION.Grant what it needs
The service account needs Grant a missing one with a PermissionAssignment:A grant that already exists answers
use_connection on the GitHub account, act_as on the Triage Agent and use_model on the route. GET /v1/automations/{id}/access lists each one with its status:409.Test with a sample issue
The sample event has the shape GitHub sends, so Starting from an app’s events needs a deployment that registers provider triggers. Where it does not, test and publish refuse with
{{opened.issue.title}} and the other references resolve.automation.draft_has_problems and the problem “Starting from an app’s events is not available here”. Check capability status, or start the same blocks from a webhook trigger meanwhile.