example · workflows/upkeep/
Every night, scan the dependencies that changed since the last run and open WorkItems for anything risky.
1 step in workflows/upkeep/
---
on: cron("0 3 * * *")
agent: Investigator
emits: WorkItem
---
Scan dependencies changed since {{ event.last_run }} and open WorkItems for any risks.No sensor. The entry step runs on a built-in time trigger — on: cron("0 3 * * *") — so Loopy fires it on schedule. The tick carries {{ event.last_run }}.
The agents and events this workflow refers to by name, from registry.yml.
defaults:
agent:
sandbox: default
harness: { runtime: claude-code, model: claude-sonnet-4-6 }
sandboxes:
default:
provider: daytona
image: { debian_slim: "3.12", apt: [git], workdir: /home/daytona, user: daytona }
network: [github.com]
agents:
Investigator: { skills: [code-review] }
events:
WorkItem:
fields:
source: enum[sentry, linear, datadog, pagerduty, slack, cve]
link: url
root_cause: str
proposed_goal: str
repro: str