A focused webhook agent that does not review code, only triages. It reads the diff at a high level, tags risk, and posts a one-paragraph summary. Cheap, fast, and a tool-call cap keeps it that way.
1runtime:2 mode: background3 entry_agent: triager4 hooks:5 - id: cap6 "on": tool_start7 condition: { type: expression, expr: "session.tool_calls.total >= 8" }8 action: { type: gate, reason: "Ceiling reached." }910tools:11 modules:12 web: {}13 channels:14 config:15 providers:16 pr_opened:17 adapter: webhook18 config: { inbound_path: /hooks/pr-triage }19 activation:20 agent: triager21 message: "{{event.payload.pull_request.title}}"2223agents:24 - id: triager25 modules: [{web: [fetch]}]26 brain: { provider: anthropic, model: claude-haiku-4-5, credential: { ref: anthropic_main, scope: per_user, provider: anthropic } }27 system_prompt: "Read the diff at a high level. Tag risk. Be terse."# 1. install runtime
curl -sSL https://digitorn.ai/install | sh
# 2. save the YAML above to ~/.digitorn/apps/my-pr-triager/app.yaml
mkdir -p ~/.digitorn/apps/my-pr-triager
# paste the YAML into app.yaml
# 3. deploy
digitorn deploy my-pr-triagerEngineering notes from the Digitorn team. No marketing, no launch announcements, no "10 prompts that will change your life". Just the things we write that we'd want to read.