craft-swarm
Parallel worker fan-out for coverage, races, and gauntlets with aggregation into one report. Use for parallel coverage, races, or exploration partitions.
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- craft-swarm
- description
- Parallel worker fan-out for coverage, races, and gauntlets with aggregation into one report. Use for parallel coverage, races, or exploration partitions.
02 资源文件 2
- 参考文档agents/openai.yaml82 B
- 参考文档CREDITS.md814 B
03 SKILL.md 正文
Swarm
Fan out N parallel workers, drain them, return one report. Workers may cover separate slices, race the same brief, or mix both. Companion to craft-arena (one artifact from competing candidates) and review-adversary (review of one change).
Open a todo with one entry per phase before launching anything.
A. Frame
State the done predicate and the artifact or report the swarm must return. Choose the shape: partition into slices, race N workers on identical briefs, or mix both; for a race or mixed shape, declare first pass, rank all, or best-of before spawning. Set N from the user or derive it from the shape. Workers follow the repo model map with effort picked per job; a model race names each arm's model up front. A rejected slug falls back to the closest valid one in the harness error message, else your own model; a missing map role uses your own model. Either way, say so. Each worker gets its own writable output when it writes; briefs that verify or measure name the exact SHAs, and measurement briefs also name the method (sample count, what one sample is, order).
B. Fan out
Spawn all N in one round, each worker on the Phase A model (omit it for auto or inherit-parent so it runs on your model). Every brief stands alone: goal, scope, exact slice or race arm, how to verify, what to report. Reports use PASS, ISSUES, or BLOCKED with evidence; a worker that can prove a defect reports ISSUES and lists every issue it can prove, not only the first. A dropout means proceeding with N-1, noted.
C. Aggregate
Read the terminal results. Drop a result that does not record the SHAs and method its brief named, and respawn that worker once; after a second miss, record a gap (a gap is never a pass). Coverage needs a result for every required slice; a race applies the selection rule declared up front (first pass, rank all, or best-of). Keep a compact result table, one-line evidenced issues, and explicit gaps or dropouts. Never paste raw worker dumps.
D. Report
One consolidated in-chat report: the table, issue one-liners, gaps or dropouts, and the race rule when used.
04 同仓库更多 Skills
whips
Route any non-trivial task through one entry: match a playbook, drive HIT skills plus subagents, open a reviewed ready PR with ship-pr-shaped evidence.
verify-upkeep
Periodic upkeep for a project's verification skill: source wave plus live pass per feature, at most one PR of proven corrections. Use to audit the verify skill.
verify-statechart
Check a TLA+ model of a system that moves between states, such as a product flow, a protocol, or a service, and draw it as a Mermaid statechart. The report gives the shortest path to each state that breaks a rule. Use to show a bug as a path through states.
verify-new
Generate a project-local skill that drives the app like a user (launch, doctor, drive, evidence, feature map), proven once. Use when a project has no scripted proof.
ship-triage
Move issues and external PRs through a state machine of triage roles, categorise, verify, interview if needed, and write agent-ready briefs.
ship-runner
Run ready-for-agent issue queues on any schedule through /whips intake, one fresh worktree each, landing per risk tier, with the agent and model you pick at setup.