Loopypeterzakin/loopy

example · workflows/upkeep/

Upkeep

Every night, scan the dependencies that changed since the last run and open WorkItems for anything risky.

The steps

1 step in workflows/upkeep/

scan-deps.md
---
on: cron("0 3 * * *")
agent: Investigator
emits: WorkItem
---
Scan dependencies changed since {{ event.last_run }} and open WorkItems for any risks.

The trigger

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 }}.

From the registry

The agents and events this workflow refers to by name, from registry.yml.

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
open on github → back to overview