dispatch-tickets
Skill2 starsChanged 4 days agoMITView on GitHub
Run an approved implementation task graph through a deterministic local Rust dispatcher, using fresh CLI workers in isolated Git worktrees. Use for repeated ticket distribution, parallel execution, and evidence-backed resume across coding-agent providers.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- ZingerLittleBee/skillstheir own version, first seen Nov 1, 2026
- luizomf/omskillstheir own version, first seen Sep 9, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- luizomf/omskills★ 3same name
- ZingerLittleBee/skills★ 0same 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 repository4 other files it gives its agents.
- adversarial-reviewSkill
- explain-implementationSkill
- frontend-designSkill
- grill-plan-buildSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use the dispatcher for scheduling, process lifecycle, validation, local commits, serial integration, and durable state.
- Distinctive: line 19
Read references/graph.md for the executable schema, commands, worker contract, and recovery behavior.
- Very specific: line 26
Use the current isolated integration worktree and a clean, committed baseline.
- Very specific: line 27
Keep graph, briefs, state, and logs under ignored .agent/work/<slug>/.
- Distinctive: line 30
Do not overwrite unrelated changes or silently change an existing branch.
- Distinctive: line 93
No automatic retry, destructive reset, or worktree cleanup occurs.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Dispatch Tickets
Use the dispatcher for scheduling, process lifecycle, validation, local commits, serial integration, and durable state. Agents own design, bounded coding, failure diagnosis, independent review, and acceptance. Scheduling requires no model calls. Each implementation ticket gets a fresh CLI process and worktree.
Prepare The Approved Graph
Read references/graph.md for the executable schema,
commands, worker contract, and recovery behavior. Derive the graph from the
approved plan; do not invent scope or publish tracker issues to make it runnable.
Tasks need settled contracts, explicit owned paths, prerequisites, and meaningful
checks. Split oversized tasks before execution. Record approval provenance in
the parent decision record; approved: true is a machine gate, not user consent.
Use the current isolated integration worktree and a clean, committed baseline.
Keep graph, briefs, state, and logs under ignored .agent/work/<slug>/.
Worker worktrees live in a sibling directory outside the checkout; each has
its own ignored task packet. Follow repository Git rules; use explicit branch/base refs.
Do not overwrite unrelated changes or silently change an existing branch.
Configure worker_command as an argv array, with an optional per-ticket override.
The runner must accept its task on stdin, work in its current directory, and exit
when the assignment is finished. Codex, Claude, or another CLI/wrapper can use
this protocol. Resolve the executable, model, permissions, and authentication
before running; inherit the user's configured access, and never silently switch
providers or relax sandboxing. Do not put credentials in command arguments.
Main automatically selects a smaller, lower-cost coding model for implementation unless the user specifies otherwise or a task has a documented reasoning need for a larger model. Resolve current supported models; do not inherit the main agent's model or an unchecked CLI default. Encode the selection in the command or a verified profile, including every per-ticket override. If unavailable, disclose actual fallback and honor user cost/model constraints. The runner executes these commands; it does not choose or verify model capability.
Preview And Execute
Resolve <skill-dir> to this installed skill's absolute directory. Run its
bundled launcher; it compiles bundled Rust source on first use and lets Cargo
rebuild changed source. Artifacts stay in the user cache, outside the skill and
target repository. Requires Rust/Cargo, Git, and first-build access to crates.io;
no prebuilt binaries or repository-root tooling are needed.
On macOS/Linux:
"<skill-dir>/scripts/run" --repo <integration-worktree> \
--graph <work-item>/tickets.json status
"<skill-dir>/scripts/run" --repo <integration-worktree> \
--graph <work-item>/tickets.json run --jobs 3On Windows, invoke & "<skill-dir>/scripts/run.ps1" with the same arguments.
Launchers retain the caller's working directory and forward arguments and exit
status. Set XDG_CACHE_HOME on macOS/Linux to select another build cache.
status validates and previews without mutations or model calls. run starts
local coding-agent processes and performs Git writes. A request to execute the
approved implementation covers those local actions; preview-only requests do
not. The dispatcher does not push, publish a PR, write to issue trackers, deploy,
or conduct the final independent review.
Monitor the foreground process through the runtime's resumable execution tools;
keep user updates concise. In Claude Code, start run with Bash
run_in_background (foreground calls cap at 10 minutes, below the worker
timeout) and wait for its exit notification; read dispatch/state.json and
attempt logs meanwhile. The dispatcher launches only tickets whose prerequisites
have passed integrated checks, fills available capacity, and serializes tickets
with overlapping owned paths. It integrates completed results one at a time and
runs the graph's integration checks before releasing dependent tasks.
Workers receive only their own brief plus workspace/ownership constraints. They edit and may validate their assignment, but the dispatcher owns commits and merges. Retain the resulting logs, exact starting commits, worker commands, result commits, merge commits, and check outcomes as execution evidence. A zero worker exit code alone does not establish acceptance.
Recover And Accept
On failure the loop stops and terminates active worker groups, retaining work,
logs, and attempt history. Inspect status, logs, branches, and live processes.
No automatic retry, destructive reset, or worktree cleanup occurs. Retry only
selected tickets after diagnosing the failure; never retry an integrated ticket
as if it were unfinished. Use a new graph for new repair scope or changed intent.
Graph and brief changes invalidate an existing run rather than silently moving
its goalposts.
Reconcile an externally committed, inspected repair with --accept-head <commit>
when needed. After a merge whose integration checks failed, --retry <id> reruns
those checks instead of reapplying the worker result. Resolve an interrupted Git
operation before restarting; the script only recovers a completed merge when
its recorded parents match exactly. Do not edit state to bypass a failure.
The main agent verifies the combined result and planned acceptance, performs the
selected independent review, and directs bounded repairs. Script completion
means graph checks passed, not that review or publication is complete. Use
$explain-implementation and $pr for the authorized visual PR handoff.
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.

