# CAPER
<!--
ref: @protocol/caper
type: protocol
tags: [caper, meta-protocol, loop, cycle, continuous-improvement, retro, retrospective, diagnostic, capture-vs-close, framework, analyze, plan, execute]
aliases: [coper, @protocol/coper]
triggers: [caper, CAPER, start a continuous improvement cycle, plan the next chunk of work, run a sprint, structure a day plan, improve any process, closed loop, real loop test, degenerate caper, capture-shaped, capture vs close, does this close a loop, framework diagnostic, evaluate new protocol, five-beat loop]
trigger_prompt: When you want a structured continuous-improvement loop at any scope — a feature, a day plan, a sprint, an orchestrator — and need the same five-beat shape regardless of size. Also the master diagnostic for whether any protocol, framework, or system that presents itself as transformative work closes a real feedback loop or just captures state.
category: framework
last_reviewed: 2026-07-10
complements: [@protocol/retro, @protocol/harvest, @protocol/loop, @protocol/chunk]
audience: [agent-author, operator, protocol-author]
version: 8
updated_at: 2026-11-20T20:49:31.840Z
-->

> **CAPER is a five-beat closed loop: Capture → Analyze → Plan → Execute → Retro.**

> A real caper closes the arrow from Retro back to next Capture. A degenerate caper stops short — captures state, calls it progress, never closes. **The acronym IS the test.**

The continuous-improvement loop at any scope from a single feature to an entire company. The loop is the same; the scope and cadence are yours.

Generic by design. Public so you can run it on your own systems. Runs without any other protocol (a markdown file and a person is enough); composes with the rest when you have them. Also serves as the master diagnostic for auditing any protocol, framework, or system that presents itself as transformative work.

> **CAPER is a philosophy, not an enforcer.** It describes the *shape* of a closed loop; it does not mandate how heavily you implement it. The same five beats scale from a thirty-second mental pass over a small task, to a lightweight daily loop, all the way to a fully-instrumented implementation like test-driven development (where verification is wired into every Execute). The doc guides the shape; the rigor is yours to dial to what the work warrants. Read every "should," every callout, and every failure mode below as *this is the shape — implement it as heavily or as lightly as the stakes justify*, not as a rule you're failing if you skip. Lightness is a valid CAPER; so is a heavy one. What makes it CAPER is the loop closing, not the weight of the ceremony.

**CAPER is RPI, evolved.** The community's early loop was Research → Plan → Implement. CAPER keeps that backbone and improves it twice. It splits **Research into Capture + Analyze** — separating low-friction collection from intentional sense-making, so you neither groom at the door nor act on a landfill; you get *low-friction capture and deliberate analysis* instead of one muddled "research" step. And it adds **Retro** — the beat that turns a straight line into a loop, feeding graded findings back with clarity and intention. RPI captures and acts; CAPER captures, understands, acts, and *learns*.

## The loop

Five beats, in a circle:

```
   ┌──────────┐   ┌──────────┐   ┌──────────┐   ┌──────────┐   ┌──────────┐
   │ CAPTURE  │ → │ ANALYZE  │ → │   PLAN   │ → │ EXECUTE  │ → │  RETRO   │
   │          │   │          │   │          │   │          │   │          │
   │  collect │   │ summar-  │   │  pick    │   │ dispatch │   │  grade   │
   │  signal  │   │  ize +   │   │   the    │   │ or do —  │   │  what    │
   │   from   │   │ organize │   │  next    │   │  move    │   │  just    │
   │  sources │   │ + report │   │  chunk   │   │   work   │   │ happened │
   └──────────┘   └──────────┘   └──────────┘   └──────────┘   └──────────┘
        ↑                                                            │
        └──────────── close arrow — next cycle ──────────────────────┘
```

- **Capture** — collect signal since the last cycle. Two failure modes bracket this beat, so hold both at once: **low-friction** (too much friction and signal never makes it in the door — the analysis-paralysis trap where you groom before you collect; the instinct is *just get it in the door*) and **clean** (too little discipline and Capture becomes a landfill of duplicates). The resolution: getting signal *in* stays permissive and cheap — the sorting lives in Analyze, not at the door — but where it *lands* is worth a little care. The rule for each capture (record it now, default bucket when no home is obvious): [`@protocol/capture`](@protocol/capture).
- **Analyze** — make sense of it, and make it decision-ready. The power moves are **summarize, organize, research**: condense the captured signal, structure it by theme, and pull in *outside* sources — Analyze isn't limited to what you captured; it fetches the external research and context the capture lacks. When the corpus is large, Analyze charts it (an index or map) so Plan pulls only the slice it needs to decide well, rather than re-reading everything. This is where raw signal becomes actionable shape.
- **Plan** — work two horizons at once. The **near horizon** is the chunk: a small number of concrete commitments (the Tries) this cycle actually moves, with owners and deadlines — not a wishlist. The **far horizon** is the roadmap: the ordered backlog the chunk is sliced from, so this cycle's pick is a deliberate step along a known arc rather than whatever's loudest. Chunk without roadmap drifts (no throughline across cycles); roadmap without chunk never ships (all map, no step). Name both — the roadmap gives direction, the chunk gives motion.
- **Execute** — do the work, and let some verification be *part of* doing it. Shipping the artifact, sending the message, running the change is the visible half; seeing that it did what the Plan intended is what tells you it's *done*. Verification isn't a separate gate bolted onto Execute — it's the signal that Execute has landed, the reason you (or an operator trusting an agent's output) can believe the work is real rather than merely emitted. How much verification, and of what kind, scales with the work: a passing test suite, loading the page, re-reading the sent message, or just a human glance. Emitted isn't quite executed until something confirms it — but *something* is deliberately loose, from a full test harness down to a sanity check.
- **Retro** — look back. Did the loop close? Grade what executed; surface findings; tune the loop. Findings feed next cycle's Plan.

Retro sits at the **end**, not the middle. An earlier draft had it before Execute; agents stalled because they hit Plan with no graded evidence to ground it. Retro is the lookback that closes the cycle.

> **Why five separate beats, not one pass.** The separation is the point, not ceremony. Run Capture, Analyze, Plan, and Execute as one blurred pass and the contexts pollute each other — analysis bends toward whatever's easy to execute, capture narrows to what you already intend to do, and the plan inherits the execution mood. Each beat is a *distinct pass with its own context and its own discipline*: Capture doesn't judge, Analyze doesn't commit, Plan doesn't do, Execute doesn't relitigate the plan, Retro doesn't defend. Keeping them apart is what lets each be done well. Agents that mix the beats measurably degrade — the analysis context contaminates the execution context — and the same holds for people. This separation is also what makes CAPER a self-improvement lens: a system tuning its own work can focus a whole cycle on a single beat — sharpen just its Capture now, just its Retro next — rather than trying to get everything better at once.

> **Why Analyze, not Capture → Plan directly.** Analyze is the bridge between the two: hand raw capture straight to Plan and the planner runs against unstructured material — every cycle re-reads the landfill and decisions ride on whatever surfaced first, which is inefficient at best and misguided at worst. Analyze condenses and charts the corpus once, and enriches it with outside research, so Plan operates on decision-ready shape instead of raw signal. On a tiny loop where the capture is already legible, Analyze can collapse to a glance; at any real size, Capture → Plan with nothing in between is the beat you're skipping when planning feels like guesswork.

> **Capture is precious.** It's the durable signal layer; everything downstream (Analyze, Plan, grades) is provisional and re-runnable on tomorrow's better agents. Capture well and you can re-interpret forever. **You can re-analyze; you can't re-capture** — intelligence only compounds, so every later beat can be recomputed by a smarter agent on a future pass, but what you never recorded is gone and no amount of future intelligence recovers it. That asymmetry is the whole reason Capture is the durable foundation and every downstream beat is provisional.

> **Index, don't duplicate.** The cleanest capture is often not a copy at all — it's a **pointer** to where the logs, transcripts, or outputs already live. Duplicating the underlying data causes drift and rot: two copies disagree, and the stale one gets read. So point at the source; clone it only when the source isn't durable. This is the low-friction win too — indexing where signal already sits is cheaper than restating it. And it ages well: an indexed capture that isn't organized today still lets tomorrow's better agents organize it, whereas a duplicated mess makes their job worse.

## The close arrow — the only beat that makes CAPER a real loop

Retro hands its findings back to next Capture as inputs that will be re-analyzed. Without that arrow, you have a sequence, not a loop. Most systems that *look* like CAPER (OKR cascades, sprint cycles, quarterly planning, consulting frameworks) fail at the close arrow specifically.

## The diagnostic — applying CAPER as a test

For any protocol, framework, deliverable, or system that presents itself as transformative work, walk the five beats:

1. Is there a Capture beat? What's the input source?
2. Is there an Analyze beat? What turns raw signal into shape?
3. Is there a Plan beat? Where do decisions get committed?
4. Is there an Execute beat? Is something shipped?
5. Is there a Retro beat? Where do learnings go?
6. Is there a close arrow? Does Retro hand findings to next Capture?

A system passes CAPER if all five beats AND the close arrow are present and operationally instrumented (not just diagrammed). It fails if any beat is missing or the close arrow is implicit / aspirational / annual.

### Degenerate-caper failure modes

- **Capture-only:** workshops, audits, dashboards that capture and stop. Annual planning offsites that produce a deck and no weekly close.
- **Capture + Analyze, no Plan:** retros that surface insights but never bind to named action.
- **Plan + Execute, no Retro:** sprint cycles that ship code but never look back at whether the right code shipped.
- **All five beats but no close arrow:** Retro happens, learnings get noted, nothing in the next Capture picks them up. The cycle resets clean. The most common failure at scale.

The diagnostic applies only to things presenting themselves as *transformative work*. Many useful artifacts are degenerate-caper and that's fine — they're reference, not runtime.

## Scope — examples

CAPER runs at any size:

| Scope | Capture | Analyze | Plan picks | Execute is | Retro is | Cadence |
|---|---|---|---|---|---|---|
| **A feature** | spec + design notes + open questions | read the code + related docs; map the change surface | next chunk of work | code — merged, tests green | did the chunk land + work? | weekly |
| **A day plan** | inbox + calendar + yesterday's open loops | triage + prioritize | top 3 for the day | doing the 3 | what shipped, what slipped | daily |
| **Party planning** | guest list + venue options + budget | compare options against budget + fit | next milestone (invites, food, etc.) | sending invites, booking | what's done, what's at risk | one-shot, milestone-paced |
| **A team sprint** | backlog + bug tracker + retro findings | grooming / refinement | sprint kickoff commitments | the sprint | sprint review | biweekly |
| **An orchestrator** | reports from the systems being orchestrated | digest the reports; spot role drift | spawn / tune / park decisions for roles | routing and dispatch | role scoring + self-retro on the orchestrator itself | daily |
| **An agent improving its own work** | requirements + run logs | the steering + organization from the inputs | the next change to commit | the change + its verification | what to tune next cycle | per task |

Same loop. Vastly different state surface and cadence. Choose yours. The state file shape stays the same.

**Worked example — a team's sprint cadence.** CAPER is already how most teams run sprints, just unnamed: **Capture** is the backlog and bug tracker; **Analyze** is grooming; **Plan** is sprint kickoff; **Execute** is the sprint itself; **Retro** is the review. The close arrow is whether review findings actually reshape the next grooming — the ceremony teams perform but most often don't close. Names people already know, mapped to the loop; it makes CAPER legible to human teams, not just agents.

## State file

CAPER holds memory in a per-loop markdown file you own: `@<you>/caper/<scope>` (e.g. `@you/caper/day`, `@you/caper/party`, `@you/caper/feature-x`). Lazy-created on first run.

### Starter shape

The minimum to get going. Same shape at every scope.

```markdown
# CAPER — <scope>

**Cadence:** <daily / weekly / milestone / one-shot>

## Sources
*(what Capture connects to — declare your precious data here)*

## Last cycle — findings (from Retro)
*(empty on first run)*

## This cycle — Plan
*(committed chunk for this cycle; Execute consumes; Retro grades next time)*

---

_(cycle log appended below, newest first — Capture / Analyze / Plan / Execute / Retro per cycle)_
```

The **mature shape** (declared sources with quality grades, source candidates, signals not yet legible, multi-cycle commitments, pattern matches) is in **Appendix A**. Don't try to fill that out on day one.

## Sources — what Capture connects to

> If it isn't recorded, it didn't happen to your intelligence.

The **Capture is precious** callout above makes the case in full: Capture is the durable layer, everything downstream is a provisional take on it, and under-capture caps the loop's ceiling forever (over-capture is recoverable; under-capture is not). What follows is how to ground that beat in real sources.

Capture grounds the whole loop. Every cycle's Capture beat does two things:

1. **Scan declared sources** for new signal since the last cycle.
2. **Surface source candidates** — high-signal artifacts you noticed but haven't declared yet.

Source candidates are the relentlessness. Retro will routinely propose capture opportunities you didn't imagine when you started — that's a feature, not a bug. The loop refuses to operate in a vacuum and keeps widening its sense organs.

Generic source kinds — a starter list, never exhaustive (deepened in **Appendix B**):

| Kind | What it captures |
|---|---|
| **transcripts** | what was said — calls, meetings, voice notes |
| **outcomes** | what your systems produced, success or fail |
| **signal** | voice of the outside world — complaints, churn, tickets, NPS |
| **digests** | what someone already summarized — daily/weekly recaps |
| **metrics** | what moved — dashboards, KPIs, trends |

Most organizations discover more kinds as Retro brainstorms — decisions, abandoned attempts, customer-research notes, board materials, post-mortems, near-misses. Capture imagination is itself something Retro grades.

## Process

Walk the five beats in order. Each beat has substeps.

### 1. Capture

- Read the state file. Lazy-create if missing.
- Scan declared sources for new signal since the last cycle.
- Prefer indexing over copying: record *where* durable signal lives; duplicate into the state file only when the source isn't durable.
- Surface new source candidates you noticed.
- Note declared sources not reachable from this environment under **Signals not yet legible**.
- If zero sources declared, free-recall from memory and propose a starter index.

### 2. Analyze

- Summarize and dedupe the captured signal.
- Categorize by theme.
- Pull in outside sources — external research, context, or comparables the capture itself doesn't contain.
- Match against the pattern library (**Appendix C**) — apply a known signature's generic move when one fires.
- For a large corpus, chart it — build an index or map so Plan pulls only the slice it needs rather than re-reading everything.
- Output: a short decision-ready digest that Plan can act on.

(Named "Organize" in earlier literature. Analyze better describes the actual work — summarize + fetch additional context + organize + report + prep. Its power moves: **summarize, organize, research**.)

### 3. Plan

- Read last cycle's Retro findings.
- Situate the chunk on the roadmap: confirm the far-horizon arc still holds, then draw this cycle's chunk from it. Re-order the roadmap when Retro findings say so. (Keep the roadmap informal — a held ordered list, not a mandated field.)
- Pick the chunk for this cycle: a small number of concrete commitments (the Tries).
- Each Try is one of: a one-shot action, a persistent role to spawn, or an artifact regeneration (**Appendix E**).
- Skip what doesn't fit this cycle's scope. Hold what's worth tracking but not now.

### 4. Execute

- Move the chunk. Dispatch to a sub-agent, hand off to an orchestrator, or do the work yourself. The cycle must move real work.
- The loop doesn't own *how* execution happens; it owns that execution *did* happen, recorded for Retro.
- Let verification tell you when it's done. Where it's cheap, exercise the change and observe the result rather than inferring success from a returned command; where it's not, a lighter confirmation is fine. The point is a done-signal you and the operator can trust, sized to the stakes.
- Log both *what* was executed and whatever confirmed it — where the result lives (commit SHA, doc URL, ticket) and the proof it worked (test pass, screenshot, confirmed receipt, or an operator's OK).

### 5. Retro

Compose with [@protocol/retro](@protocol/retro). Score what executed this cycle. Output:

- **Good** — what worked. Cite the change. Keep doing.
- **Bad** — what didn't (no-op, hurt, partial). Cite the data.
- **Findings** — patterns, lessons, structural-tune candidates (park / retire / regenerate). The seed material for next Plan.

**Retro tunes the loop, not just the work.** Findings aren't only "do more of X / less of Y" inside Execute — they can call a change to **any** upstream beat:

- **Capture** — a source to declare, index, or retire; a signal kind you're blind to.
- **Analyze** — a recurring pattern that should join the pattern library; a categorization that misled.
- **Plan** — chunks too big, roadmap mis-ordered, Tries that never should have been committed.
- **Execute** — a verification step that was skipped; a dispatch path that failed silently.

This is the close arrow doing real work: Retro doesn't just refill Plan, it reshapes how the next Capture, Analyze, Plan, and Execute run. A Retro that only grades the last Execute and never touches the machinery is half a Retro.

Grades are provisional snapshots over today's capture. Re-grading is allowed and expected as better agents and more capture come online.

Retro findings feed next cycle's Plan. **The loop closes.**

## Re-read triggers — how the close arrow gets operationalized

For any protocol we ship, the structural fix against caper-degeneracy is the **re-read trigger** — a named event that forces the protocol back into circulation. Each shipped protocol should carry `last_reviewed:` (or an equivalent) and a declared cadence; if older than the cadence, the protocol fails its own boot check.

**A protocol with no re-read trigger is degenerate-caper by construction.** It captures state (the doc exists) without closing the arrow (nothing re-forces its use).

## Cadence

Pick yours. The loop is scope-agnostic; cadence matches the scope.

- **One-shot** — party planning, a single feature. Loop a few times until done.
- **Daily** — a day plan, an orchestrator running over personas.
- **Weekly** — a personal review, a small team rhythm.
- **Biweekly / monthly** — a sprint, a portfolio review.

A cycle that doesn't move real work in Execute is the smell. Either the Plan was too big, the cadence is too tight, or Capture isn't grounded in signal.

## Modes — human vs agent

Same loop; mode is detected or passed.

| | Human | Agent |
|---|---|---|
| **Output** | prose summary, prompts | terse markdown, parseable |
| **Decisions** | ask before applying | apply in-scope; queue out-of-scope |
| **Surfacing** | inline conversation | `## Pending review` section in state file |

Detailed routing for agent in-scope vs queued actions: **Appendix F**.

## What good looks like

The loop moves real work each cycle. Capture and Retro produce durable records; Plan and Execute consume them. The state file accumulates evidence and findings — that's the compounding.

A bad loop is Plan with no Capture grounding, or Execute with no Retro grade, or Retro without re-feeding Plan. Each is a failure mode in **Appendix D**.

---

## Appendix A — Mature state file

The starter shape grows into this as the loop matures.

```markdown
# CAPER — feature-x

**Maturity:** forming → early-maturing
**Cadence:** weekly
**Last cycle:** 2026-05-22

## Sources
- kind: spec      → <repo>/specs/feature-x.md          (last_scanned: 2026-05-22; signal_quality: high)
- kind: outcomes  → <repo>/sessions/                   (last_scanned: 2026-05-22; signal_quality: high)
- kind: signal    → <issue-tracker>?label=feature-x    (last_scanned: 2026-05-22; signal_quality: medium)

## Source candidates
- <repo>/draft-notes/ — 5 markdown files, no declaration (noticed 2026-05-15)

## Signals not yet legible
- <team-chat>/feature-x-channel — declared 2026-05-22, no exporter

## Last cycle — findings (from Retro)
- ✅ Implemented Plan item: backend endpoint shipped. Worked.
- ⚠️  Tried adding rate-limit guard. No measurable improvement; remove.
- ❌ Promised UI polish; carried over 2 cycles without touching. Drop or break down.

## This cycle — Plan
- [ ] Wire frontend to new backend endpoint
- [ ] Spawn a `regression-watch` role to monitor the affected endpoints
- [ ] Regenerate the integration-test doc (last touched 4 weeks ago)

## Multi-cycle in flight
- Migration to new auth library — cycle 3 of estimated 6
- Documentation rewrite — paused (2 cycles), revive trigger: feature ships

## Pending review (agent-flagged)
- Agent flagged <repo>/draft-notes/ for promotion to declared source
- Agent drafted `regenerated:` rewrite of the integration-test doc — ready for owner review

---

_(cycle log — newest first)_

## 2026-05-22 cycle (human)
[Capture / Analyze / Plan / Execute / Retro entries]

## 2026-05-15 cycle (agent)
[…]
```

When the file passes ~30 KB or ~10 dated cycles, offload the oldest to an archive child entry.

## Appendix B — Source kinds in depth

The five generic kinds and how to declare them well.

**transcripts** — anything spoken. The highest-context-density precious data; speech captures intent and hesitation nothing else does. Promotion criteria: the environment must be able to walk a path or feed programmatically.

**outcomes** — what your systems produced and whether it worked. Agent runs, deploys, code reviews, sends. The single highest-leverage source kind — every failed outcome is gold the system threw away if you don't capture it.

**signal** — voice of the outside world. Complaints, churn, tickets, NPS, sales-call objections. Often spread across inboxes, Notion, Intercom; declare each surface separately.

**digests** — second-order data: summaries you or other systems already write. Daily standups, weekly recaps, postmortems.

**metrics** — dashboards and KPIs. Use sparingly as a source; metrics tell you *what* moved, not *why*. Pair with another source kind to interpret.

### Declaring a source

`kind:` is a freeform short label (use the five starters or invent your own); `where:` is a freeform URI the agent's environment can interpret — filesystem path, glob, `notion://`, `slack://`, `mailto:`, `github://`, anything you can write code to read. Reading is your environment's job; composing with [@protocol/harvest](@protocol/harvest) is the practical scrape.

```yaml
- kind: transcripts
  where: <path-or-feed-where-your-recordings-live>
- kind: outcomes
  where: <log-path-or-feed-of-system-runs>
- kind: signal
  where: <inbox-or-tracker-of-customer-voice>
```

The `kind:` taxonomy is *yours* — invent kinds your domain needs. A medical practice's "signal" looks different from a SaaS startup's; both belong.

### Source-candidate triage

Every Capture beat lists candidates it noticed. Next cycle triages each: **promote** (declare it), **dismiss** (not worth tracking), or **hold** (revisit). Held twice without action → auto-dismiss.

### The source-index meta-loop

Once you have ≥3 sources declared, Retro grades them too. Each gets a `signal_quality:` annotation. A source unread for 3 cycles flags for "retire or invest." The index improves itself.

## Appendix C — Pattern library

Recurring signature → generic move. Cite during Analyze when a signature fires.

| Signature | Move |
|---|---|
| Same artifact manually rebuilt every N weeks | Plan a regeneration — rebuild from sources rather than patch. See **Appendix E**. |
| Same task type fails 3+ times | Capture outcomes as a source; mine for the missing protocol or skill. |
| Source declared but unread 3+ cycles | Retire-or-invest decision goes in next Plan. |
| Try graded Bad two cycles running | Intervention is theater. Drop it. |
| Same friction explained across 3+ sessions | Promote the explanation to a protocol or convention. |
| One source produces 80% of insights | Deepen it; check whether others are dead. |
| Plan commits 10+ Tries, grades only 3 | Narrow scope. Commit fewer; grade all. |
| Regenerated artifact reverts within a cycle | Signal was noise, not direction. Re-evaluate the trigger. |
| 3+ same-shape one-shot Tries across 3+ cycles | Promote to a persistent role (a watcher, a recurring job, a dedicated sub-agent). |

Starter list. Your own patterns join it as the loop runs.

## Appendix D — Failure modes

| Smell | Diagnosis | Fix |
|---|---|---|
| Plan with no Capture grounding | Acting on vibes; grades will be noisy | Declare sources before next Plan |
| Execute that didn't move real work | Plan too big, cadence too tight, or scope wrong | Narrow Plan; lengthen cadence |
| Execute logged as done with no confirmation at all | "Emitted ≠ executed"; Retro grades evidence nothing checked | Fold a proportionate confirmation into Execute — heavier for high-stakes work, a glance for low; log the proof, not just the action |
| Retro with no Plan feedback | Findings die; loop doesn't compound | Next Plan must reference last Retro's findings explicitly |
| Tries pile up uncompleted across cycles | Heterogeneous Tries — some need multi-cycle treatment | Move multi-cycle work to a separate section; don't grade as Bad prematurely |
| Source list grows monotonically | Promote-only, never retire | Apply source-index meta-loop; retire dead sources |
| Same friction every cycle | Pattern library not being cited | Plan must reference matching patterns or invent new ones |
| Agent-mode loop produces only queue, never apply | Trust gradient too conservative | Tune Appendix F routing for your context |
| No re-read trigger on shipped protocols | Degenerate-caper by construction | Add `last_reviewed:` + cadence; enforce at boot |

## Appendix E — Three shapes a Try can take

Plan produces commitments. Each commitment is one of:

1. **One-shot action** — done in this cycle. Graded next Retro on whether it worked.
2. **Persistent role** — a recurring responsibility (a watcher, a scheduled job, a sub-agent). Graded on whether it stays healthy and produces signal.
3. **Regeneration** — full-body rewrite of a durable artifact (a protocol, a playbook, a manual, a dashboard spec). Triggered when signal concentrates on a single artifact — multiple Bad items pointing at it, source references accumulating around it, or staleness while it's still in active use. The exact threshold is judgment; the test is whether a rewrite would be cheaper than ongoing patches.

Regenerations are owner-gated. **Never auto-publish.** Durable artifacts are precious; their rewrite needs a human.

## Appendix F — Agent-mode routing

In-scope routing for agent-invoked CAPER cycles.

| Class | Agent auto-applies? | Surfaced where? |
|---|---|---|
| Append observation to state file | yes | next read |
| Add source candidate | yes | `## Source candidates` |
| Materialize next-cycle Plan from Retro findings | yes (if confident) | `## This cycle — Plan` |
| Execute a one-shot Try within scope | yes | cycle log |
| Promote candidate to declared source | no | always queued |
| Retire declared source | no | always queued |
| Spawn a persistent role | depends on orchestrator | per orchestrator's authority model |
| Regenerated artifact draft (full rewrite) | no | always queued with `regenerated:` prefix |
| Cadence change | no | always queued |
| Cross-scope changes | no | always queued |

The rule: agents own observation, within-scope tuning, and bounded execution; humans (or named higher-authority orchestrators) own publishing, source-declaration changes, persistent roles, and cross-scope propagation.

Some orchestrators carry standing authority — they can spawn persistent roles autonomously and notify after the fact rather than ask for approval. That's a per-orchestrator decision and a matter of how much trust the operator has banked, not CAPER's default.

## Appendix G — Composing with other protocols

CAPER stands alone, but composes:

| Beat | Compose with |
|---|---|
| **Capture** | [@protocol/harvest](@protocol/harvest) — practical scrape-and-capture; walks declared sources and returns new artifacts since the last scan. |
| **Analyze** | Pattern libraries and domain-specific analytical protocols. Appendix C is your local starter. |
| **Plan** | Domain-specific frameworks for your scope — sprint planning, day planning, milestone planning, event planning. |
| **Execute** | Your orchestrator or environment-specific dispatch — schedulers, event triggers, sub-agents, or just a person doing the work. |
| **Retro** | [@protocol/retro](@protocol/retro) — the focused lookback ritual. CAPER's Retro beat invokes it. |

When a repeated pattern appears that deserves to be reusable, write a new protocol and compose it into the appropriate beat. Don't grow CAPER to do everything. The loop is the shape; the work is delegated.

## Naming history

Originally published as `@protocol/coper` (Capture-Organize-Plan-Execute-Retro). Renamed CAPER on 2026-06-30 for two reasons: "coper" was misread as "copper," and "Analyze" (summarize + fetch context + organize + report + prep) describes the actual second-beat work better than "Organize." The old slug redirects.

CAPER evolves the community's earlier Research → Plan → Implement (RPI) loop: it splits Research into Capture + Analyze (low-friction collection separated from deliberate sense-making) and adds Retro (the beat that closes the line into a loop).

The close-arrow discipline — "does this CLOSE a feedback loop, or just CAPTURE more state?" — is the founding question behind the protocol. The diagnostic use of CAPER as a test for other frameworks (walk the beats, find the close arrow) is what promoted this from a workflow protocol to a meta-protocol.

---

*Related: `@protocol/ratchet` · `@content/youtube/sean-kochel/the-claude-code-plugin-you-ll-wish-you-found-sooner` · `@protocol/retro` · `@protocol/capture` · `@protocol/loop`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*