---
title: "Template: Scheduled Research Digest with Review-Gated Drive"
description: Deploy a cron-scheduled weekday research agent that compiles citation-backed digests and holds all file writes as changesets for human approval.
canonical: https://docs.caveman.so/templates/researcher-drive
product: Caveman Cloud
tab: Documentation
group: Templates & Quick Setups
---

# Template: Scheduled Research Digest with Review-Gated Drive

> Deploy a cron-scheduled weekday research agent that compiles citation-backed digests and holds all file writes as changesets for human approval.

The `researcher-drive` template deploys a scheduled agent that runs every weekday at `09:00 UTC` with a `$2` per-run budget. All writes to `/reports` land in a review-gated Drive changeset so a person inspects the diff and approves or rejects it before the shared Drive updates.

## Deploy in 30 seconds

```bash
cvm agent init researcher-drive ./researcher-drive
cvm drive create research-reports
cvm deploy ./researcher-drive --budget 2
cvm run researcher-drive "Compile today's digest into /reports/daily.md."
```

## What is inside `researcher-drive/AGENT.md`

```markdown
---
name: researcher-drive
description: Scheduled research digest agent writing review-gated reports into a shared Drive.
computer: none
model: claude-sonnet-5-5
drives:
  /reports: { drive: research-reports, write: true, review: true }
schedules:
  daily-digest:
    cron: "0 9 * * 1-5"
    timezone: "UTC"
    task: "Compile today's digest into /reports/daily.md and summarize key changes."
    concurrency: skip
    budget_usd: 2
---

# Scheduled Researcher

Produce concise, citation-backed reports under `/reports/`. Writes are held as changesets for human review before merging to the shared Drive.
```

## Review and merge agent writes

Because `/reports` is mounted with `review: true`, every write from a session is held as a pending changeset rather than mutating the Drive live. Review and approve from the CLI:

```bash
# List pending changesets held for review
cvm drive review research-reports --status pending

# Inspect the diff of one changeset
cvm drive review research-reports CHANGESET_ID

# Approve and merge at the exact head sequence you reviewed
cvm drive approve research-reports CHANGESET_ID --at SEQ

# Or drop the changeset
cvm drive reject research-reports CHANGESET_ID --yes
```

You can also inspect scheduled triggers attached to the deployment:

```bash
cvm deployments schedules researcher-drive
```

## Test the schedule locally

```bash
cvm agent dev ./researcher-drive --trigger schedule:daily-digest
```

`cvm agent dev` creates `.caveman/drives/research-reports/` locally and runs the scheduled prompt immediately so you can verify output formatting before deploying.

## Verify and undo

Pause scheduled runs without losing deployment history, or archive the deployment:

```bash
cvm deployments pause researcher-drive
cvm deployments resume researcher-drive
cvm deployments archive researcher-drive --yes
```

## Limits

- `concurrency: skip` skips a scheduled fire if the prior run is still active.
- Every scheduled run enforces its own `budget_usd` ceiling independently of manual `cvm run` invocations.
