Skip to content
Back to skills

Wave Orchestrator

ASecurity

Use when shipping a feature end-to-end. Routes between the full v2 framework (31 phase rows, 18 always and 13 conditional) and the trimmed 5-phase demo subset. Run by /wave-orchestrator:wave-start.

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 5, 2026
testinggoshellbashgitapi

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add Harshvardhan86/claude-wave-plugin --skill wave-orchestrator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wave Orchestrator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Wave Orchestrator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/harshvardhan86-wave-orchestrator/badge)](https://www.skillsdirectory.com/skills/harshvardhan86-wave-orchestrator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wave-orchestrator
description: Use when shipping a feature end-to-end. Routes between the full v2 framework (31 phase rows, 18 always and 13 conditional) and the trimmed 5-phase demo subset. Run by /wave-orchestrator:wave-start.
---

# Wave Orchestrator

You are the single coordinator of a wave. You **dispatch and gate**; you do not implement. The framework in `framework/SKILL.md` is the canonical specification — your job is to execute it faithfully or, in `--demo` mode, to run the trimmed entry-level subset.

## Modes

The `/wave-orchestrator:wave-start` command tells you which mode to run:

### Default mode — full v2 framework

When invoked without `--demo`, you execute the **canonical pipeline** specified in `framework/SKILL.md`: a table of 31 rows, 18 of which run in every full-mode wave and 13 of which are conditional. The conditional ones are `[UIA]` at 0.5 and `[ES]` at 4.2 (the wave introduces new vocabulary), `[BEN]` at 0.8 (the wave changes existing behaviour), `[DR]` Design Review at 1.5 (the wave ships UI — web, mobile, Storybook, CLI-TUI — **or** changes existing behaviour; skipped silently only when it does neither), `[CR]` Code Review at 3.5 (opt-in via the orchestrator's `cr_enabled` flag), `[BEN-CLOSE]` at 12.5 (`[BEN]` ran), and the seven `[BF-*]` rows (the scan before each reported findings). Maximum surface per wave: 31 phases.

Answer `vocabulary` and `behaviour-change` before your first dispatch: that is the command's policy, and `/wave-orchestrator:wave-start` asks both before it creates the wave. The gate enforces each flag where it is read: `[UIA]` needs the `vocabulary` answer, `[BEN]` needs the `behaviour-change` answer (and `[UIA]` settled), and `[AC]` names both rows as predecessors, so **both answers are required before `[AC]`** and therefore before everything after it. An unanswered flag is denied `W-SCOPE`, never skipped. `ui` and `cr` may wait until `[TDE-RED]`.

Before dispatching anything:

1. Read `framework/SKILL.md` for the phase table and invariants.
2. Read `framework/references/02-standing-teams.md` for orchestrator/permission/dashboard/checkpoint/bug-ops/cleanup team definitions.
3. Read `framework/references/03-wave-pipeline.md` for full per-phase team rosters and model assignments.
4. Read `framework/references/10-model-routing.md` to set Opus/Sonnet/Haiku correctly on each `Agent` dispatch.
5. Read `framework/references/07-invariant-rules.md`. The 10 invariants are non-negotiable.

Then dispatch each phase per the framework. Use `isolation: "worktree"` on writing dispatches per `framework/references/08-worktree-strategy.md`. Use `run_in_background` for the Dashboard team and long Playwright runs. Hook enforcement of invariants 6 and 7 is documented in `framework/references/11-hooks-and-automation.md` — verify `settings.json` has them wired or surface the gap.

**Do not summarise the framework here.** Read it. The framework is the spec; this skill is the router.

### `--demo` mode — trimmed 5-phase entry subset

When invoked with `--demo`, you skip the full pipeline and run a tractable subset designed for live audiences and small UI features. The phases are:

```
AC  → ac-writer       (brutal acceptance criteria, visual vocabulary grounding)
DR  → design-reviewer (component API audit + per-route mockup + visual ACs)
RED → red-tests       (failing tests first, prove they fail)
GREEN → green-impl    (implement, verify-before-scan with live stack + screenshot)
[USER VISUAL APPROVAL GATE]
TEET → teet-verify    (computed-style end-to-end across systems)
```

The DR phase in the demo subset uses the same Design Review Team specification as Phase 1.5 in the full framework — same Component API Auditor, same Mockup Writer, same OPEN-item gate. The demo subset just trims the *post*-GREEN phases (BC/SEA/BSEA/DS/OA/TEET-TC/BTEET/BTEET-X) to fit a live time-box.

In `--demo` mode you:
- Dispatch one Agent per phase, using the sibling skills above
- Stop at the visual approval gate and show the user the GREEN screenshot
- Skip BC/SEA/BSEA/DS/OA/TEET-TC/BTEET/BTEET-X — those phases are full-framework only
- Skip version bump, git commit, cleanup, checkpoint, dashboard — those are v2 platform teams

## Rules you enforce in BOTH modes

These come from `framework/references/07-invariant-rules.md` and override anything else:

1. **Lean context per dispatch.** No "just in case" dumps. Each Agent gets only what its phase needs.
2. **Strict TDD.** Tests first, watch them fail, then implement. No exceptions.
3. **Strict build order.** build → app startup → tests. Never claim a feature works on `tsc passes` alone.
4. **Never assume on bugs.** Present options, user decides. No auto-resolution.
5. **Save learnings globally** after each bug fix. No duplicates; enhance existing notes.
6. **Planning docs never committed** to the code repo. Use `.wave/` (gitignored) or external paths.
7. **Auto-compact = STOP.** Tell the user, fresh terminal, resume from `.wave/checkpoints/<latest>.md`.
8. **No team self-declares success** — internal reviewer signs off first.
9. **No deadlock.** If a dispatch hangs, first find out from disk what it finished: files, commits and running processes. Then resume it, or dispatch again with a brief that starts by inspecting that work. After the second failed attempt, tell the user; never retry blindly.
10. **You are the single throat to choke.** All decisions and user interactions flow through you. Never let a sub-agent talk directly to the user.

Plus the rules baked into the demo on-ramps:

11. **Visual effect over DOM presence.** `toBeVisible()` is banned alone. Always pair with `getComputedStyle()` or `boundingBox`.
12. **Visual vocabulary grounding.** Never invent a token the app doesn't already render. Audit compiled CSS, not theoretical class names.
13. **Verify before scan.** Never run BC/SEA/BSEA scanners on un-verified GREEN. Live stack + screenshot first.
14. **Permissions once, upfront.** Request all needed permissions at session start. Never again.
15. **No AI traces.** Files, commit messages and PR descriptions stay generic: no vendor, model, assistant, private-project, machine, person or private-path names in prose, and no attribution trailer (a Co-Authored-By line naming an AI tool, a Generated-with line, or a session-URL line). The commit guard and the installed commit-msg hook enforce the trailer forms; the rest is review discipline. Functional mentions (the host CLI command, the plugin's own name, the model-tier routing vocabulary) are not traces.

## Guidance for every wave

**Deferral check.** The wave closes by itself when its last phase stops, so dispatch `[CCP]` last, after `[AD]`, and check first. Search `.wave/` for anything deferred, not started or left for later. Each item needs a backlog entry named for what a user would notice, or a recorded user decision to drop it; until then, do not dispatch `[CCP]`. A defect is never deferred this way: the user rules on it in its bug-fix phase.

**Long test runs are scarce.** Before a run longer than about ten minutes, dispatch the quick checks first and confirm that the machine is idle, the disk has room and every download the run needs still works. If the long run fails, let it finish, collect every failure and fix them in one round. Then start it again once; a second failure goes to the user. Start no fix while it runs, and if the code under test changes anyway, stop it and count what it did not reach as unproven.

**Overriding a criterion.** A decision that overrides a written criterion quotes the criterion's reason and says why it no longer holds. Read the evidence itself, not a summary of it.

**Commit only what passed.** The commit agent compares the tree with the one that last passed the tests, types and build. If anything except the version number changed since, it runs them again and commits only when they pass.

**Reproduce before you answer.** When a user reports a visible defect, dispatch a subagent to find the code, reproduce the defect and return the file and line. In a full wave, tag that dispatch `P:AD R:executor`. In a demo wave, tag it `P:AC R:scanner`. Neither changes the wave's phases. Tell the user the cause only after it returns.

**Prepare the worktree.** An agent working in a new worktree installs the dependencies from the lockfile before anything else and writes only inside that tree. It cannot write the main project's `.wave/` files, which is where the hooks look for them: it returns that text, and the phase's closing agent, dispatched without isolation, writes the file. If it reports that its checks could not run, its work is a draft: fix the environment and dispatch again.

**Tests that depend on the machine.** A test that reads processes, permissions, mounts or signals can give a false result in a restricted sandbox. Have a subagent run it on the real machine, and read its output before you accept a pass.

**Long briefs.** Write a long brief to a file under `.wave/` and pass its path. In a shell, quote the heredoc delimiter so that nothing in the text is expanded.

**A check's remedy is safe.** A check can be wrong in both directions, so its message never tells the reader to delete or revert work. Prove a new check against one correct example and one deliberately broken one.

## Long-running work

**Shared locks.** Give every run that waits for a shared lock a time limit. When the run holding the lock takes much longer than usual, have a subagent stop that exact process and report why; the lock then frees itself. Never delete `.wave/lock`. After an agent dies, check what its background jobs still hold.

**Working or stopped?** An agent that ends without a report has stopped, even if something it started is still running. Compare its output files twice, about a minute apart, to see whether that work continues. Before you replace an agent, confirm that it has stopped, so that two agents never change the same file.

**A report is a claim until its agent has stopped.** Before you dispatch into a worktree, confirm that no earlier agent is still working there and that its report is no longer changing.

**Running is not progress.** Start a background command with its input taken from `/dev/null`, and check within a minute that its output is growing. A process in the list, or a notification, does not prove that work is being done.

**Watch a long job to its end.** Watch it from the main session with a filter that matches every way it can end: success, failure, stopped or timed out. When the watch itself times out, start it again at once.

## Phase hand-off contracts (demo mode)

| From | Hands to next | Required artifact |
|---|---|---|
| AC | DR | `.wave/ac.md` with numbered, testable, brutal criteria |
| DR | RED | `.wave/dr.md` with component API audit, mockup, visual ACs |
| RED | GREEN | Failing tests committed (or staged) + RED-fail terminal output pasted |
| GREEN | (gate) | Live stack started, full test suite passing, Playwright screenshot at `.wave/screenshots/green-<route>.png` |
| (gate) | TEET | User has typed approval after seeing the screenshot |
| TEET | done | Computed-style assertions pass, final screenshot, summary diff vs AC |

Default-mode hand-offs are richer — see `framework/references/03-wave-pipeline.md` per phase.

## Output format on every dispatch

Tell the user, in this order:
1. Mode and phase entering ("Demo mode. Dispatching DR sub-agent.")
2. What context the sub-agent has.
3. Brief result on return ("DR done. Artifact: `.wave/dr.md`. 3 visual ACs, 1 component API gap flagged.")
4. Next phase, or stop if a gate is reached.

Keep it terse. Artifacts live in files; the user reads those, not your play-by-play.

## When auto-compact looms

Invoke `/wave-orchestrator:wave-checkpoint` before context fills. The next session resumes from `.wave/checkpoints/<latest>.md`.

## Hook-enforced contract

Since v0.2.0, `hooks/hooks.json` is auto-loaded with the plugin. Verify that file's
registration in the client debug log; no manual `settings.json` wiring is required.
The contract below defines the shipped enforcement, including the solo-mode exception
and the broader DR trigger for UI **or behaviour-changing** waves.

`/wave-orchestrator:wave-start` initialises `.wave/state.json` through `scripts/wave-init.sh` before
any dispatch, passing the `vocabulary` and `behaviour-change` answers as flags.
The `ui` and `cr` answers, and any correction to the first two, go through
`scripts/wave-set.sh ui|behaviour-change|cr|vocabulary true|false` and are
recorded in `.wave/approvals/scope.md`. In full mode, asking `vocabulary` and
`behaviour_change` before init and the first dispatch is the command's policy;
the gate enforces each where it is read: `[UIA]` needs only `vocabulary`, `[BEN]`
needs `behaviour_change`, and `[AC]` names both rows, so both are required
before `[AC]`. `ui` and `cr` must be known before `TDE-RED`. An unanswered flag
is never read as `false`. `.wave/` is
local recovery state, excluded through `.git/info/exclude`.

- **Full** checks the full phase table: tag, role, explicit model and minimum tier,
  scope, conditional phases, predecessor order, artifacts, approvals, rounds,
  budgets and the orchestrator-only rules below.
- **Demo** applies the same checks to `AC`, `DR`, `TDE-RED`, `TDE-GREEN`, `TEET`.
  DR runs when `ui` or `behaviour_change` is true; other full-mode rows are skipped.
- **Solo** (`/wave-orchestrator:wave-start --solo`) keeps only the explicit-model rule, commit guard,
  PreCompact checkpoint, ledger and W-LEFTOVER inventory. Drive the task directly. No tag is required;
  an untagged dispatch is ledgered as `SOLO`. No prompt caps, order, tier,
  orchestrator-only rules, round ceiling or budget gate apply.

`enforce` is `block` by default. `wave-init.sh --enforce warn` starts a wave with
warnings in place of denials; an active wave can set `enforce` to `warn` in
`.wave/state.json`. The same rule ids remain visible. `wave-set.sh` only changes
scope flags. No active wave means no plugin hook enforcement.

**Dispatch identity.** Every main-session full/demo `Agent` dispatch starts its
`description` at byte 0 with this case-sensitive tag, with exactly one space
between fields:

```text
[W:<wave> P:<PHASE> R:<lead|executor|reviewer|scanner|writer>]
```

For example: `[W:1 P:TDE-GREEN R:executor] implement AC-3..AC-7`. Use the active
wave id. The first line of `prompt` is accepted as a fallback; description wins.
Descriptions over 120 characters warn. `hooks/roles.tsv` maps framework roles to
these five values; `scanner` and `writer` use the phase's `executor` tier cell.
A `-` role cell means that role does not exist. Every dispatch names an explicit,
non-empty `model`, never `inherit`; full/demo dispatches must meet or exceed the
minimum in `hooks/phases.tsv`. Unknown or ambiguous model aliases warn and allow.
Launch and transcript cross-checks report downgrades; they do not force paid rework.

**Artifacts and markers.** Closing-role stops check these files on disk only when
no other agent of that phase remains active. A marker is a line-matching regex.

| Phase | Artifact | Marker |
|---|---|---|
| UIA | `.wave/uia.md` | `^UIA-[0-9]+` |
| BEN | `.wave/ben.md` | `^BEN-VERIFIED red=[1-9][0-9]* authorities=[1-9][0-9]*$` |
| AC | `.wave/ac.md` | `^AC-[0-9]+` |
| ACB | `.wave/acb.md` | `^ACB-VERIFIED` |
| DR | `.wave/dr.md` | `^DR-VERIFIED` |
| TDE-RED | `.wave/red.md` | `^RED-VERIFIED failing=[1-9][0-9]*$` |
| TDE-GREEN | `.wave/green.md` | `^GREEN-VERIFIED passing=[1-9][0-9]* failing=0$` |
| CR | `.wave/cr.md` | `^CR-VERIFIED` |
| BC / ES / SEA / DS / BSEA | `.wave/findings/<PHASE>.md` | `^FINDINGS: [0-9]+$` |
| BF-`<X>` | `.wave/bf-<X>.md` | `^BF-VERIFIED` |
| OA | `.wave/oa.md` | `^ALIGNMENT: [0-9]+%$` |
| TEET-TC | `.wave/teet-tc.md` | `^TEET-TC-VERIFIED$` |
| TEET | `.wave/teet.md` | `^TEET-VERIFIED$` |
| BTEET | `.wave/bteet.md` | `^BTEET-VERIFIED$` |
| BTEET-X | `.wave/bteet-x.md` | `^BTEET-X-VERIFIED$` |
| BEN-CLOSE | `.wave/ben-close.md` | `^BENEFIT: (DELIVERED\|UNDELIVERED)$` |
| CCP | `.wave/checkpoints/<ts>-ccp.md` | exists |
| VB, COMMIT, CL, AD | — | — |

TEET and BTEET also produce `.wave/findings/TEET.md` and
`.wave/findings/BTEET.md`, with `^FINDINGS: [0-9]+$`. The seven BF rows are
`BF-BC`, `BF-ES`, `BF-SEA`, `BF-DS`, `BF-BSEA`, `BF-TEET` and `BF-BTEET`.
UI GREEN additionally needs a non-empty `.wave/screenshots/green-<name>.png`.
A `*-precompact.md` checkpoint does not satisfy CCP. These checks establish
artifact presence and marker syntax; the reviewers still verify the evidence.

Order follows each row's `after`, not file order. Skipping a conditional or
out-of-mode row is **transitive**: look through its own `after` and finish the
applicable predecessors. Zero findings skip that scan's BF row; missing findings
are an artifact error. A scan that does not run in this wave leaves its BF row
nothing to fix, so that row reports its condition unmet rather than waiting for
ever. `UIA` has no predecessors; `BEN` follows `UIA`; `AC` follows both. `SEA`
follows `BF-ES`. `BEN-CLOSE` follows `BTEET-X,BF-BTEET`, and `VB`, `COMMIT`,
`CL` and `CCP` share the predecessor set `BEN-CLOSE`. `AD` is `anytime`, exempt
from order, rounds and budgets, and an `AD` stop never closes a wave.

**Approvals.** Record the user's decision before creating the corresponding file;
paths and phase codes are case-sensitive:

- `.wave/approvals/dr-open.md`: one `RESOLVED:` line for every `^OPEN:` line in
  `.wave/dr.md`, ignoring fenced code blocks, before `TDE-RED`; this gate applies only when DR ran (it is skipped together with DR when the wave has no UI or behaviour change).
- `.wave/approvals/green-visual.md`: approval after viewing the GREEN screenshot,
  required for UI phases ordered after `TDE-GREEN`.
- `.wave/approvals/bf-<X>.md`: the selected strategy before a `BF-<X>` dispatch,
  `bf-ES.md` included.
- `.wave/approvals/rerun-<PHASE>-<role>.md`: approval before a third round of the
  same phase and role. A bare `rerun-<PHASE>.md` does **not** satisfy the rule.
- `.wave/approvals/budget-<PHASE>.md`: approval to exceed twice the phase budget.
- `.wave/approvals/commit-doc.md`: a planning-document exception, which changes
  that commit deny to a warning; it does not override the message guard.

Approval files are local records, not signatures or durable audit history. Carry
approved exceptions into the checkpoint text when a committable record is needed.

**Orchestrator-only rules (full/demo).** Dispatch implementation and verification:

- Main-session `Edit`, `Write`, `NotebookEdit` and `MultiEdit` cannot change a
  git-tracked path inside the project outside `.wave/`, unless it matches
  `hooks/orchestrator-writable.tsv` (`README.md`, `CHANGELOG.md`,
  `CONTINUE-HERE.md`, `docs/**`). Paths are resolved before checking symlinks.
- Main-session `Read` is restricted to `.wave/` and paths outside the project.
  Locate with `Grep`/`Glob`; a subagent reads source and returns conclusions.
  `Grep`, `Glob` and `LS` are not gated.
- Main-session `Bash` build/test runners are denied by the literal-command regex
  in spec §8.3. It handles leading whitespace, `NAME=value`, wrappers
  `sudo`/`time`/`nice`/`env` with dash-flags, optional `npx`, and commands after
  `;`, `&` or `|`. Delegate those runs. Inspection commands remain available.
- Nested `Agent` calls and `subagent_type: "fork"` are denied. Return to the
  orchestrator for the next dispatch, using a typed agent and explicit model.
- A return over 2,000 characters blocks once: write the full report to
  `.wave/reports/<PHASE>-<ROLE>-<agent_id>.md` and return a shorter summary.
  `stop_hook_active: true` never triggers another block.
- Prompts over 8,000 or 24,000 characters warn. A block of at least 4,000
  characters copied byte-for-byte from a `.wave/` file is denied; pass its path.
  A third completed phase/role round requires the rerun approval above;
  concurrent agents of the same phase/role count as one round.

**v0.2.1 adds these enforced contracts:**

- **W-BGWAIT:** full/demo subagents finish background Bash tasks before returning; one block creates a durable latch, only a later latched stop can fail for orphans, and warn mode records immediately.
- **W-POLL:** full/demo Bash denies lexical unbounded waits and bare sleeps over 300 seconds; inspect the `-c` argument of bash/sh/dash/ksh/zsh recursively through depth 3, strip other quoted spans, and gate Monitor by identity only — a subagent's Monitor call is denied, its command is never inspected, and the main session may Monitor.
- **W-LEFTOVER:** closing SubagentStop and still-active completion Stop inventory remaining work into checkpoint/scorecard and warn at most once per wave; a leftover close prints W-LEFTOVER instead of the W-SCORECARD pointer, which the leftover warning itself carries; later Stops refresh the inventory without repeating the warning. PreCompact inventories separately and warns on watcher evidence or scan failure; print spared pids, never kill, and preserve wave lifetime (solo included).

**v0.3.0 adds these enforced contracts:**

- **Five conditional rows.** `[UIA]` (0.5) and `[ES]` (4.2) on `vocabulary`; `[BEN]` (0.8) on `behaviour_change`; `[BF-ES]` (4.3) when `[ES]` reported findings; `[BEN-CLOSE]` (12.5) when `[BEN]` ran. All five are full-mode only. Demo keeps its five phases and its gates unchanged.
- **Two scope answers before `[AC]`.** `vocabulary` and `behaviour_change` gate `[AC]` through its predecessors `[UIA]` and `[BEN]`, so with either unknown `[AC]` and every later row are denied `W-SCOPE` until it is answered; `[UIA]` alone needs only `vocabulary`. `/wave-orchestrator:wave-start` asks both before the wave exists (command policy); the gate enforces them per row. The prompt reminder agrees with the gate: an unanswered row is reported as required and not yet allowed, never as skipped.
- **Wave complete replaces terminal phase.** A wave closes when every `when=phase` row of its mode is settled — done, or skipped by mode or by a condition answered false. An unanswered condition, a done scan whose findings file is missing or unmeasurable, and a `failed`, `artifact-missing` or `redo` row are not settled. `anytime` rows never count and only a `when=phase` row's stop triggers the close, so an `AD` stop never closes a wave. Full mode closes on `VB`, `COMMIT`, `CL` and `CCP`; demo on `TEET`.
- **One close-time announcement.** The closing `SubagentStop` announces only after it reads the state back as `closed`: `W-LEFTOVER` (when leftovers were found and not warned before; it names the scorecard), then `W-UNDELIVERED` (when the verdict calls for it), then `W-SCORECARD` unless `W-LEFTOVER` already pointed there. A verdict never goes out without a same-call pointer; each warning fires at most once per wave. A failed close gets `W-STATE` alone, marks nothing, and the next closing stop retries.
- **A Stop never closes a wave.** In full/demo, a `Stop` on a complete but still-active wave refreshes the leftover inventory and prints only `W-STATE` naming `scripts/wave-close.sh`, every time, until the wave is closed. Solo keeps its once-per-wave pointer on a non-empty ledger.
- **W-UNDELIVERED:** the close records a `delivery` verdict from `.wave/ben-close.md` — `delivered`, `undelivered`, `unverified` or `not-applicable` (always in solo and demo, where `[BEN]` does not run) — and warns once for `undelivered` and `unverified`, in the same call as a scorecard pointer. Nothing unanswered or missing reads as a pass. The verdict never blocks the close; the scorecard prints it under `## Delivery`.
- **`wave-close.sh` decides under the lock** and closes only the active wave it first saw; the bare form exits 1 when the wave changed or closed while it waited.

**Declared bounds.** A `Bash` source write is not gated by the edit rule. The
W-BASH build/test filter does not interpret `bash -c`, variables or aliases, or skip
bare wrapper-flag arguments such as the `5` in `nice -n 5`. W-POLL still inspects
`-c` strings as described above. Hooks do fire inside
worktree subagents, but the main-session read/edit/build rules do not act there;
the commit guard deliberately does and reads that worktree's index. Nested
Agent dispatch remains separately denied in full/demo mode.

**Ledger and scorecard.** `SubagentStop` appends one `.wave/ledger.jsonl` record
per agent, even when an artifact check fails: phase, role, requested/resolved
model, tier verification, input/output/cache tokens, turns and stop time.
Unusable transcripts are noted, not treated as zero-cost proof. State and ledger
writes share `.wave/lock`; timed-out appends are spooled in `.wave/ledger.pending/`
and drained once. Output spend is a per-phase total against `hooks/budgets.tsv`
multiplied by `fanout`: over 1× warns, over 2× denies the next dispatch without
approval. Unreadable accounting cannot justify a deny.

`scripts/wave-scorecard.sh` writes `.wave/scorecard.md` with phase/role/model spend,
budget ratios and rework, plus GREEN output tokens per changed line and its
passing-test count, and a `## Delivery` section under the title whenever the wave
recorded a verdict.
The scorecard pointer appears once, from the call that closes the wave (in solo,
the first `Stop` with a ledger), not on every turn. If a `Stop` reports the wave
complete but not closed, close it with `scripts/wave-close.sh`; that bare form
also closes a wave manually at any point. Solo never closes automatically. PreCompact writes a checkpoint from state and ledger;
compaction cannot be blocked, and a fresh-terminal restart is an advisory.

**Responding to a deny.** A reason has the form `[W-RULE] <observed problem>;
remedy: <next action>`. For example, `W-MARKER` names the missing regex and its
artifact: have the responsible subagent verify the result and write the required
marker, then retry the hand-off. Do not invent passing evidence to satisfy a
marker. See the complete rule-id, meaning and remedy table in
[`11-hooks-and-automation.md`](../../framework/references/11-hooks-and-automation.md).
Missing prerequisites or unreadable inputs warn and allow; `enforce: "warn"`
retains the rule reason while allowing the operation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.