Search Brigade

Search Brigade pages and docs.

handoff

For machines that ingest handoffs from multiple repos, copy .brigade/handoff-sources.example.json to .brigade/handoff-sources.json and list the repo roots and writer inboxes the canonical ingestor scans. brigade handoff sources init writes local handoff source coverage for Claude, Codex, OpenCode, and Hermes (flags: --target, --force, --json). brigade handoff doctor reports pending writer-inbox files (.claude/memory-handoffs/, .codex/memory-handoffs/, and the other configured writer inboxes) that are not covered by that local source list.

Draft

brigade handoff draft writes a new handoff note into a selected writer inbox. One of --content or --content-file is required for the note body.

brigade handoff draft --target ./my-repo --inbox codex \
  --title "What changed" \
  --summary "Short note future agents should know." \
  --content "The durable note itself goes here."

If the draft is written but fails lint, the command says so clearly and reports the kept path and the next step instead of failing silently.

Migrate

brigade handoff migrate converts near-miss homegrown handoff notes (loose - Type: style metadata) into the Brigade template through the standard draft renderer, so existing notes stop failing lint identically to garbage.

brigade handoff migrate --target .
brigade handoff migrate --target . --apply

Dry-run by default. --apply rewrites convertible notes, preserves the originals under migrated-originals/, verifies the result passes lint, and records a receipt. Injection-flagged notes are never converted.

Doctor and lint

brigade handoff doctor
brigade handoff lint

Draft queue

brigade handoff list
brigade handoff show <handoff-id-or-path>
brigade handoff archive <handoff-id-or-path>
brigade handoff archive --all-reviewed
brigade handoff closeout <handoff-id-or-path>

Ingest receipts and issues

brigade handoff runs
brigade handoff run-show <run-id>
brigade handoff receipt plan
brigade handoff receipt record
brigade handoff reconcile
brigade handoff issues
brigade handoff import-issues
brigade handoff sync-issues

For handoff-ingest issues, prefer brigade handoff sync-issues over repeated raw imports. It imports only issue ids that have not already been seen locally and marks stale handoff-ingest imports/tasks resolved when the latest log no longer contains them.

The handoff template lives at <inbox>/TEMPLATE.md; brigade handoff-template prints it, and --target prefers a target’s installed template when present.