Skip to main content
Use this cookbook when you want a worker to inspect a repo and leave a small, reviewable patch.

Goal

Start a directed run that identifies one high-impact issue, makes the smallest safe change, and returns a report or PR.

Launch

run = client.runs.start(
    "Review the repo, identify the smallest high-impact fix, implement it, and leave PR-ready evidence.",
    host_kind="daytona",
    work_mode="directed_effort",
    providers=[{"provider": "openrouter"}],
    runbook="lite",
)

Good constraints

  • prefer one focused change
  • avoid broad refactors
  • state validation command
  • explain skipped validation
  • include risk and follow-up notes

Expected evidence

  • patch or PR metadata
  • final report
  • validation result or skipped-validation reason
  • artifact manifest
  • usage summary

Failure notes

If repo access is blocked, attach the repo to a project first and run project preflight before launching.