wave-execute
Skill6 starsChanged 15 days agoMITView on GitHub
Orchestrates parallel execution of independent tickets in a Sprint Wave using 2026 Orchestrator-Worker, Blackboard state sync, Bounded Critic Loops, and worktree isolation (workspace share), enforcing disjoint file ownership, real-time ticket unblocking, and per-ticket handovers. Use when executing a Wave with two or more unblocked ready tickets.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- SynkraAI/aios-coretheir own version, first seen Oct 8, 2026
- SynkraAI/aiox-coretheir own version, first seen May 21, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- SynkraAI/aios-core★ 3.1ksame name
- SynkraAI/aiox-core★ 3.1ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- browsingSkill
- codebase-designSkill
- code-reviewSkill
- database-migrationSkill
- diagnosing-bugsSkill
- discoverSkill
- domain-modelingSkill
- handoffSkill
- implementSkill
- index-projectSkill
- officeSkill
- perf-auditSkill
- prSkill
- researchSkill
- safe-refactorSkill
- self-learnSkill
- tddSkill
- to-specSkill
- to-ticketsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Read CONTEXT.md and docs/learnings/LESSONS.md.
- Very specific: line 32
Sequential Fallback: If swarm/run_workflow is unavailable in the host runtime, run /implement ticket-by-ticket in Wave order, still …
- Very specific: line 38
Update CONTEXT.md, distill any new insights via /self-learn into docs/learnings/LESSONS.md, and run /handoff (docs/sprint/HANDOFF.md + …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Wave Execute (2026 Orchestrator-Worker, Blackboard & Critic Loop)
Execute independent ready tickets within one Wave (docs/sprint/SPRINT.md) concurrently using isolated Git worktrees (workspace: "share"), a shared Blackboard ledger, and a Bounded Critic Loop (max 2 fix rounds).
Decision tree
- Are there
>= 2readytickets in the active Wave whoseBlocked bydependencies are alldone?- No (only 1
readyticket or unresolved blockers) → Do not spawn a swarm; run/implementdirectly on the singlereadyticket. - Yes → Proceed to step 2.
- No (only 1
- Do the candidate tickets have disjoint
Exact File Touchpoints?- No (two tickets mutate the same file or shared schema) → Serialize the conflicting ticket into the next sub-wave or execute sequentially via
/implement. - Yes → Execute the
ST-002Orchestrator workflow below.
- No (two tickets mutate the same file or shared schema) → Serialize the conflicting ticket into the next sub-wave or execute sequentially via
Wave state machine (ST-002)
WavePending → WaveDispatched → WaveIntegrating → WaveVerified (or WaveBlocked)
WavePending(Preflight & Blackboard Sync):- Run
node .agents/skills/to-tickets/scripts/validate-board.mjs docs/sprint/SPRINT.md(exit 0). - Read
CONTEXT.mdanddocs/learnings/LESSONS.md; ensure shared contracts from prior waves are already merged. - Flip every dispatched ticket's status to
in-progressindocs/sprint/SPRINT.mdanddocs/sprint/tickets/<NN>-*.mdBEFORE dispatching workers.
- Run
WaveDispatched(Parallel Isolated Workers + Blackboard):- Spawn one worker per disjoint ticket via
swarm(action: "add",workspace: "share") orrun_workflow(parallelwithworkspace: "share"). - Blackboard Protocol: Workers never pass bloated prompt chains between peers; instead, each worker reads
CONTEXT.md+docs/learnings/LESSONS.md+ its ticket, executes/implementPhases 1–2 (TDD + complete production code) inside its ownworkspace: "share"worktree, and reports compact structured output (changed files, new seams/env keys,audit-diff.mjs+ test exit status, falsified approaches) back to the coordinator / board. - Sequential Fallback: If
swarm/run_workflowis unavailable in the host runtime, run/implementticket-by-ticket in Wave order, still flippingin-progress→done, unblocking downstream tickets immediately, and running/handoffafter every 1 ticket.
- Spawn one worker per disjoint ticket via
WaveIntegrating(Merge & Bounded Critic Loop):- As each worker finishes, merge its diff sequentially into the coordinator workspace, run
audit-diff.mjs+ full verification (verification-runnerin a fresh context window,exit 0). - Bounded Critic Loop (
max 2iterations): Run independent read-only critics viainvoke_subagent(adversarial-reviewer, plussecurity-auditorandarchitecture-plannerwhen auth/secrets/schemas/boundaries change). Builders never grade their own diff. If🔴 Blockingfindings appear, route targeted failure logs back for fix & re-verification (max2rounds); if still blocked after2rounds, transition toWaveBlockedand escalate viaask_question.
- As each worker finishes, merge its diff sequentially into the coordinator workspace, run
WaveVerified(Immediate Unblock, Learn & Per-Ticket Handover):- Immediately mark each completed ticket
doneintickets/<NN>-*.mdandSPRINT.md, and immediately unblock any downstream tickets (blocked→ready) whose blockers are nowdonewithout waiting for unrelated waves. - Update
CONTEXT.md, distill any new insights via/self-learnintodocs/learnings/LESSONS.md, and run/handoff(docs/sprint/HANDOFF.md+.scratch/handoff.md) for every completed ticket/integration checkpoint.
- Immediately mark each completed ticket
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

