tickets-zordon
Skill1 starsChanged 2 months agoMITView on GitHub
Use when the user reports a bug or asks for a feature, says "log this", "what's pending", "ticket", "B3", "F12", "A4", "next ticket number", "mark it done", "block it", "defer it", "cancel it", "list tickets", "list tickets status", "ultracode", "work the board", "use a workflow", "fan out agents", mentions TICKETS.md, or when starting work and you need the open set. Also before closing a session, to sync statuses. NOT an issue tracker replacement, NOT for syncing to Jira/GitHub Issues.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- a11y-tophSkill
- audit-sherlockSkill
- build-jarvisSkill
- build-ultronSkill
- build-visionSkill
- deploy-merlinSkill
- deploy-niyojSkill
- design-arwenSkill
- designui-galadrielSkill
- grayskull-powerSkill
- handoff-cortanaSkill
- live-fridaySkill
- mergeprep-oracleSkill
- merge-smithSkill
- relay-morpheusSkill
- resume-cortanaSkill
- rules-orkoSkill
- screenshot-argusSkill
- skill-smithSkill
- spec-watsonSkill
- tasks-sentinelsSkill
- tui-tronSkill
- watch-cortanaSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 6 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Create it if missing, with exactly this shape:
- Very specific: line 65
No session id in your harness → the branch: (branch: fix/upload).
- Very specific: line 81
Never take "highest on my board + 1" by hand: two worktrees or sessions that do not share a TICKETS.md both get the same number.
- Very specific: line 98
Collision rule: if two teammates ever land the same number, the later commit renames its ticket to a fresh number and leaves (was B7) on …
- Distinctive: line 163
Before logging, say the change out loud in one sentence: "someone should edit X so that Y." If you can't finish that sentence, it isn't a …
- Distinctive: line 190
Not verified, not done.
- Very specific: line 207
A board edit is not done until you have read it back: After every status flip, grep -n '<ID>' TICKETS.md and report from *that output*, …
- Very specific: line 231
No change can be named for it (it was an observation) → [-] — (not work: <why>).
- Very specific: line 282
Only the main session edits TICKETS.md — agents report, you flip statuses.
- Very specific: line 412
When the user says a bare ID ("do B3", "what's F12"), grep for it and act on that line — in TICKETS-archive.md if the board does not have …
- Distinctive: line 417
Every board change gets published as an artifact — a private page on claude.ai holding the whole board, so the user can open it from any …
- Very specific: line 442
If list found one, action: "read" it at that url before publishing.
- Distinctive: line 468
If the publish fails, say so and carry on — a failed publish never blocks the ticket work, and the next edit will retry it.
- Very specific: line 555
Always print all six states, zeros included: Never drop a term because it is 0.
- Very specific: line 603
IDs are permanent: No reuse, no renumbering, no deleting done tickets — delete a ticket only if it was logged in error (say so to the user).
- Distinctive: line 608
Every edit is signed: Create or flip a row, stamp your session tag on it, replacing the old one.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
tickets-zordon — serialised tickets, worked as a workflow
One file, TICKETS.md, at the repo root. It is the source of truth. Bugs are
B<n>, features are F<n>, agent-found issues are A<n>, sub-parts are the
parent ID plus a letter (B7a).
Numbers are never reused and never renumbered — an ID means one thing
forever, in commits, branch names, and chat.
The file
Create it if missing, with exactly this shape:
# TICKETS
Legend: `[ ]` pending · `[~]` in-progress · `[!]` blocked · `[>]` deferred · `[x]` done · `[-]` cancelled
IDs are permanent — never reuse or renumber. Append new tickets at the end of
their section.
## Bugs
- [x] B1 — Login redirect loops on expired session
- [~] B2 — CSV export drops the last row
- [x] B2a — off-by-one in the writer
- [ ] B2b — add regression test
- [!] B3 — Avatar upload 500s over 5MB (blocked: needs S3 creds from ops)
## Features
- [ ] F1 — Dark mode
- [ ] F2 — Bulk delete in the table view
## Agent-found
- [ ] A1 — Unhandled promise rejection in the upload worker (runtime)
- [>] A2 — `parseDate` silently returns Invalid Date on empty string (deferred: after the parser rewrite)Line format, kept greppable: - [<status>] <ID> — <one-line title>. Optional
trailing (@owner) or (branch: x) if the user wants it; nothing else.
Sub-parts are indented two spaces under their parent.
Who touched it
Several agent sessions edit one board, so every line says which one last moved
it. Reuse the @owner slot — no new syntax: (@cc-a4f1c9).
Your tag is @<agent>-<id>, lowest available rung wins:
- Session id — last 6 hex chars of your own session id, the one in your
session URL / transcript filename (
…/session_01NBCBMW9fDHDn7WJtAALBGT→@cc-aalbgt). Unique per session, free, no state to keep. - No session id in your harness → the branch:
(branch: fix/upload). - Both the same across your sessions → ask the user once for a name
(
@cc-ui,@codex-api) and use it for the rest of the session.
Agent prefix: cc Claude Code, cx Codex, ag Antigravity, pi Pi, cu Cursor.
Stamp it when you create a ticket and when you flip its status — replace
the previous tag, don't accumulate them; the line says who moved it last, not
its whole history. Leave a human @owner the user set alone.
Two sessions want the same [ ] ticket: the one whose tag is already on a [~]
row owns it. If a row you are working flips under you, stop and tell the user —
that is two sessions on one ticket, not a merge to resolve.
Allocating an ID
Never take "highest on my board + 1" by hand: two worktrees or sessions that do
not share a TICKETS.md both get the same number. Run the allocator from the
repo root; it prints the number and reserves it before you write the line:
sh "$PRACTICE/scripts/next-id.sh" A # --peek A: look without reserving$PRACTICE is the practice/ beside the installed skills — resolve it exactly as
practice/task-loop.md resolves taskwork.sh (Windows: next-id.ps1 A,
-Peek). It takes 1 + the max of the local board and its archive (done and
archived tickets count — closing never frees a number), both files on every local and remote-tracking ref, and a
counter in the clone's common git dir shared by every worktree, under a lock.
Cross-machine is best-effort: it sees only refs you have fetched, so git fetch
first on a shared branch. Sub-parts (B2a, B2b, …) are the next unused letter
under the parent, by hand — only for genuinely separate pieces.
Collision rule: if two teammates ever land the same number, the later commit
renames its ticket to a fresh number and leaves (was B7) on the line. Never
renumber the earlier one. In a merge, "earlier" is the receiving branch: its IDs
never move; the incoming side's do.
The board ships with the work. TICKETS.md (and TICKETS-archive.md) is
committed in the same commit as the change it describes and pushed with it —
never held back, never gitignored. A board that stays local is a board the next
clone allocates against blind.
Arm the merge guard — once per clone, when this skill arms. Git hooks and
merge drivers live in .git/, not in the repo, so a git pull does not bring
them; run this the first time you touch the board in a clone (idempotent —
re-running only refreshes it, so run it every session that arms):
sh "$PRACTICE/scripts/renumber-tickets.sh" --installIt copies the script into the clone's common git dir and wires a tickets merge
driver for TICKETS.md and TICKETS-archive.md (two branches that both appended
merge as the union, not a conflict; two edits of one ticket stay a conflict) plus
post-merge and pre-commit hooks. From then on a plain git pull or git merge
that brings in an ID the receiving branch already has ends correct with no manual
step: the incoming ticket takes the next free number (archive included) with
(was F2), its sub-parts move with it, references are rewritten only in files
the incoming side changed, and the change lands in the merge commit, its
map: lines appended to the message and to .git/skillator/renumber.log. If
core.hooksPath points outside the clone it installs the driver only and says so
— never write into a shared hooks dir. git pull --rebase and cherry-pick are
not covered; merge-smith runs the same script itself. On a diverged branch a
bare git pull stops before merging unless pull.rebase is set, so pull with
--no-rebase (or git config pull.rebase false) for the guard to run.
A teammate who never runs a skill has no driver and no hooks: their pull either
conflicts on the board or merges both F2 lines silently. check-tickets.sh
below is what catches it, and renumber-tickets.sh (inside the merge, before its
commit) is the fix.
Detect it at merge time. Git merges the append-only board by keeping both
sides of an A43 conflict — the obvious resolution and the wrong one. After
any merge, rebase, or cherry-pick that touched TICKETS.md, and before
committing one: sh "$PRACTICE/scripts/check-tickets.sh" TICKETS.md — name
the board to check another; bare, it checks the current git repo's top-level TICKETS.md (./TICKETS.md outside git). It fails on
duplicate IDs and committed conflict markers and prints the offending lines. A
clean board is a precondition for allocating, not a nicety.
When to log
- User reports a bug → log a
Bticket before fixing. - User asks for a feature/change of any size → log an
Fticket before building. - Anything Claude/an agent finds itself → an
Aticket, if it passes the gate below. A stack trace in a test run, a crash while driving the app, a bug spotted during review: log it as pending and keep going.Ameans "nobody asked for this, we found it" — it is what keeps discoveries from dying with the chat.
Trivial one-line edits the user asked for inline don't need a ticket.
The gate — a ticket names a change, not a finding
A pending line is not cheap. It is a promise to whoever reads the board next, and a board that grows faster than it drains stops being read at all — at which point every row on it is worth nothing, including the real ones.
Before logging, say the change out loud in one sentence: "someone should edit X so that Y." If you can't finish that sentence, it isn't a ticket:
| What you have | Where it goes |
| A change you can name, that nobody has made | Ticket. |
| Something true about the code that implies no edit | Say it in chat. Nothing to log. |
| A risk with no reproduction and no fix to try | Say it in chat, with what would settle it. Not a ticket. |
| Already fixed in the tree — you just found the fix | Nothing. |
| The same defect as an open row, seen from elsewhere | Nothing; that row already covers it. |
| Work you are about to do in this same turn | Do it. A ticket you close a minute later is noise. |
An agent's report is input, not a row. Reports arrive one per agent, so converting each into a ticket inflates the board at exactly the rate you spawn agents. Read the report, apply the gate to every item in it, and log the ones that pass — normally fewer than were reported. Say in chat what you dropped and why; that is the audit trail, not a row.
Two failure modes, both worse than a missing ticket: the same defect logged three times because three agents saw it, and a row so vague nobody can tell what "done" would mean. If you can't write the closing condition, you can't write the ticket.
Working a ticket
- Starting → flip to
[~]and stamp your session tag — see Who touched it. - Finished and verified (tests/build/manual check actually run) →
[x]. Not verified, not done. - Can't proceed — waiting on someone, a credential, an upstream fix, or another
ticket →
[!], with(blocked: <what on>)on the line. Blocked is still open: report it at session end, and unblock back to[ ]or[~]the moment the dependency clears. Never leave an agent spinning on a blocked ticket — flip it and move to the next one. - Postponed by choice — not now, waiting on a condition that isn't a hard
dependency (a later milestone, a build that hasn't run, hardware not on the
bench) →
[>], with(deferred: <until what>)on the line. Deferred is not open and not closed — it is off the board until the condition arrives: not pending (nobody is picking it up next), not blocked (nobody owes you anything), not cancelled (it will be done). Report it at session end as its own line, and flip it back to[ ]when the condition arrives. - Dropped — won't fix, obsolete, duplicate, or the user called it off →
[-], with a short— reasonon the line ([-] B9 — Safari flicker (dup of B4)). Cancelled is a closed state, not a deleted one: the line and its number stay. - Reference the ID in commit messages:
B3: reject uploads over 5MB. - A board edit is not done until you have read it back. After every status
flip,
grep -n '<ID>' TICKETS.mdand report from that output, never from the edit you believe you made. An edit whose hunk is missing fromgit diffis a failed flip, not a done one — silent no-ops are routine here, becauseTICKETS.mdis UTF-8 and full of em dashes, so any tool that reads it as cp1252 (a bare Pythonopen()on Windows) matches nothing and changes nothing while exiting 0. Read, write and compare it as UTF-8. - Cycle end / session end: re-read the file and correct any status that drifted,
then report the open set (
[ ]and[~]) to the user. - Once the turn's edits are read back, republish the artifact board — see The artifact board. Board changed, artifact stale, is a bug.
Draining the board
Pending rows are not immortal, and a rising pending count is a symptom to diagnose — not a backlog to admire. Run a drain before any handover, release, or mergeprep-oracle, and whenever a single session has added more pending rows than it closed. (Both are checkable on the spot; "has it grown since last time" is not — no prior count is stored anywhere.) A drain re-verifies the pending rows against the tree, not against their own text:
- Fix is already in the tree →
[x], citing where. Reading the fix is not verifying it:[x]still means what it means above — run the check. If you can only see the code, leave it pending and say the fix looks present. - No change can be named for it (it was an observation) →
[-] — (not work: <why>). - Same defect as another row →
[-] — (dup of <ID>). - Still real → leave it, and make the line name the change.
Sweep [>] rows in the same pass — that is where stale rows collect, since a
deferred row is off the board until a condition arrives and nothing checks
whether it already has. For each, ask only "has the condition arrived?": yes →
[ ], no → leave it, never going to → [-].
A row that states its defect confidently is still wrong if a later commit fixed it, so check the code, never the wording. Rows leave the board only through a status flip — never by deletion; the archive below moves closed rows, it never drops one.
Report the drain as a count: pending 12 → 5 (3 already fixed, 3 not work, 1 dup).
Archive what has stayed closed
A board that keeps every closed row grows until reading it costs more than the work it tracks. End a drain — and any release — by moving old closed rows out:
sh "$PRACTICE/scripts/archive-tickets.sh" --dry-run # list what would move
sh "$PRACTICE/scripts/archive-tickets.sh" # move it, then commit both files[x] and [-] rows closed more than 30 days ago (--days N) move to
TICKETS-archive.md beside the board, under the same section heading. The
closing date is the commit that flipped the status, read from git — lines carry
no date. A parent stays until it and every sub-part are closed and old enough,
then they move together. The archive is committed with the board and never
edited by hand.
Sessions read only TICKETS.md. The allocator, check-tickets.sh and the
artifact board read both files, so an archived number is never reused and a
duplicate across the two still fails. For an old ID the board does not show,
grep -n '<ID>' TICKETS-archive.md before saying it does not exist.
Work tickets in parallel, not in a line
Flipping a ticket to [~] means dispatch an agent for it, one agent per
ticket, all in a single message so they run concurrently. Never work a queue of
tickets serially in the main session — that is the linear development this skill
exists to break.
- Give each agent its ticket ID, the one-line title, and the repo context it needs; tell it to report back what it changed and whether it verified.
- Name a model for every dispatch — never let it inherit the session's, and grade the tier per ticket, not once for the batch. Same table as workflow mode's scout (below); a mechanical fix and the agent judging it warrant different tiers, and so do two tickets in the same message.
- Only the main session edits
TICKETS.md— agents report, you flip statuses. Two agents writing the same file is how you lose tickets. - Tickets touching the same files are the one exception: run those sequentially, or hand the whole cluster to one agent, and say so.
- Sub-parts (
B2a,B2b) are the unit to parallelise when a ticket is big.
Workflow mode — working the board in one call
Dynamic workflows let you write a script that orchestrates many agents deterministically: real control flow, structured results, a resumable run. Same board as plain dispatch, scripted.
Switch to workflow mode when any of these hold:
- 4+ open tickets to work in this cycle (real fan-out).
- The tickets are a sweep — the same change across N files, an audit, a codemod.
- You want each fix adversarially verified before flipping it to
[x]. - The user asked: "ultracode", "use a workflow", "work the board", "fan out agents", "orchestrate this with subagents".
Stay with plain dispatch when: 1-3 tickets, tickets needing your judgement
between them, or a host with no Workflow tool. Off claude-code, workflow mode
is a pattern — emulate it with the host's parallel delegate mechanism and don't
claim a Workflow call happened. See WORKFLOW.md beside the installed skills
for the host table.
Never start a workflow the user didn't opt into. A workflow can spawn dozens of agents; if the board is big and they didn't ask, say what it would cost first.
The shape
Scout inline first — read TICKETS.md, pick the tickets for this cycle, group
same-file tickets into one item, and tier each one — then pass that list as
args and let the script fan out. pipeline() is the default: ticket B is being
verified while ticket C is still being fixed.
Tier every ticket during the scout
A flat model: across the fan-out is the expensive mistake this section exists
to prevent: it pays deep-tier price for one-line fixes, or hands a contract
change to a cheap model that burns 3× the turns and fails anyway. The scout
assigns a tier per ticket per seat — you have already read the ticket, so
grading it costs nothing extra — and the script reads that off the item.
Grade the fix seat from the ticket's own text, using PRACTICE.md §4 and
practice/task-loop.md — the same table, applied per ticket:
| The ticket reads like | fix | verify |
| One file, mechanical, the change is named in the ticket | cheap | build |
| 1-2 files, complete spec, nothing to decide | cheap | build |
| Several files, integration or a shared contract | build | build |
| Cause unknown, design judgement, or "sweep every X" | deep | deep |
| Concurrency, auth, money, or a contract others depend on | build | deep |
| Re-run + grade a result against a written contract | — | deep |
Two rules that override the table:
- build is the floor for any verify seat, and for any fix seat whose ticket is prose rather than a named change. Turn count beats token price — a cheap model on under-specified work costs more, not less.
- A
[!]/[>]ticket is not tiered, it is not dispatched. Tiering a ticket nobody can work is the cheapest agent of all to skip.
Say the tiering out loud before the call — one line per ticket, id fix/verify —
so the user can overrule a grade before it costs anything. Slugs below are Claude
Code's; on another host substitute that host's column from PLATFORMS.md
§ Role tiers, and record the substitution.
export const meta = {
name: 'work-tickets',
description: 'Fix and verify each open ticket, one agent per ticket',
phases: [{ title: 'Fix' }, { title: 'Verify' }],
}
const VERDICT = { type: 'object', properties: {
id: {type: 'string'}, passed: {type: 'boolean'}, why: {type: 'string'} },
required: ['id', 'passed', 'why'] }
// Tier -> slug for this host. One place to change when the host changes.
const M = { cheap: 'sonnet', build: 'opus', deep: 'opus' }
// Never a literal model: the scout put a tier on every item, and an item
// missing one is a scouting bug, not a reason to guess a default.
const tier = (t, seat) => M[t[seat]] || (() => { throw Error(`${t.id}: no ${seat} tier`) })()
const results = await pipeline(
args, // [{id: 'B3', title: '…', fix: 'cheap', verify: 'build'}, …]
t => agent(`Fix ticket ${t.id}: ${t.title}. Report what you changed and how ` +
`you verified it. Note any unrelated problems you hit.`,
{ label: `fix:${t.id}`, phase: 'Fix', model: tier(t, 'fix') }),
(fix, t) => agent(`Ticket ${t.id} — "${t.title}". An agent reports: ${fix}
` +
`Verify against the repo. Default to passed=false if unproven.`,
{ label: `verify:${t.id}`, phase: 'Verify', schema: VERDICT,
model: tier(t, 'verify') })
)
return results.filter(Boolean)Rules that don't bend
- The workflow never edits
TICKETS.md. Agents report; the main session flips statuses after the call returns. Concurrent writes to the board is exactly how tickets get lost. - Flip to
[~]before the call, to[x]/[!]after — from the returned verdicts, not from optimism.passed: false→ the ticket stays open, and itswhygoes on the line or becomes a newAticket. - Same-file tickets are one item, not two — group them when you build
args, or give themisolation: 'worktree'if they must run apart. - Anything an agent finds along the way goes through the gate, same as anywhere else. Ask for findings in the fix prompt, then log the ones that name a change — not one row per report. Fan-out is where boards inflate: N agents reporting the same neighbourhood produce N rows for one defect unless someone reads them together.
- A
nullresult means the agent died or was skipped..filter(Boolean), then leave that ticket[~]and say so — never silently drop it to done. - Say what you dropped. Capping the cycle at N tickets is fine; reporting it as "worked the board" when 12 were open is not.
Fetching state
Whole board: read TICKETS.md. Just the open ones:
grep -nE '^\s*- \[[ ~!]\]' TICKETS.md[x] and [-] are the closed states, so neither shows up there; [!] does.
When the user says a bare ID ("do B3", "what's F12"), grep for it and act on
that line — in TICKETS-archive.md if the board does not have it.
The artifact board
Every board change gets published as an artifact — a private page on claude.ai holding the whole board, so the user can open it from any device instead of scrolling back for the last list. The chat list is still the primary answer; the artifact is the durable copy.
skills/tickets-zordon/board/artifact.mjs bakes TICKETS.md into an
Artifact-shaped HTML file (no <!doctype>/<html>/<body> — the wrapper adds
those). From the repo root:
node <skills>/tickets-zordon/board/artifact.mjs # ./TICKETS.md -> ./.tickets-board.html
node <skills>/tickets-zordon/board/artifact.mjs --selftest # parser + count-line check<skills> is wherever tickets-zordon is installed (~/.claude/skills,
~/.agents/skills, …); in the skillator repo itself it is skills/. Add
.tickets-board.html to .gitignore — it is generated, never committed.
Publish and republish
- Regenerate:
node <skills>/tickets-zordon/board/artifact.mjs - Find the existing board —
Artifactwithaction: "list", look for the titleTICKETS · <repo>. The first publish of a session must look, because publishing without aurlfrom a conversation that did not publish it creates a second board and the user's link goes stale. - If
listfound one,action: "read"it at thaturlbefore publishing. A publish to an artifact this conversation has neither read nor published is refused, so skipping the read fails the first republish of every new session — which is exactly the session where step 2 found something. - Publish
.tickets-board.htmlwith thaturl. Iflistfound nothing this is the board's first publish, so it needs afavicon(one or two emoji) and nourl— that is the only publish that takes a favicon. - Later publishes in the same session just reuse the same file path: no
url, nofavicon, no re-read. - Give the user the link the first time it is published or found in a session, then stop repeating it — one line, after the ticket list.
Off claude-code, or with no Artifact tool: generate the file, say where it
is, and skip the publish. Never claim a publish that did not happen.
When to republish
After every board edit — a new ticket, a status flip, a title correction, a workflow's batch of verdicts. The board and the artifact are never allowed to disagree.
One publish per turn, not per line: make all the TICKETS.md edits for this
turn, read them back, then regenerate and publish once. A workflow closing
eight tickets is eight edits and one publish. Also republish on list tickets
even when nothing changed, since that is when the user wants the link.
If the publish fails, say so and carry on — a failed publish never blocks the ticket work, and the next edit will retry it.
Showing the board
Two views. By type is the default — list tickets, "what's pending", "show
the board", "what's open". By status when the user says so — list tickets
status, "status wise", "group by status", "what's in progress".
Either way: checkbox lines, the same shape the file uses. Never a prose summary, never a markdown table, never a numbered list.
Both views also republish the artifact board and give its link once per session (The artifact board). The chat list is the answer; the link is the copy the user can open elsewhere.
By type (default)
Bugs
[~] B2 — CSV export drops the last row
[ ] B2b — add regression test
[!] B3 — Avatar upload 500s over 5MB (blocked: needs S3 creds from ops)
Features
[ ] F1 — Dark mode
[ ] F2 — Bulk delete in the table view
Agent-found
[ ] A1 — Unhandled promise rejection in the upload worker
[>] A2 — `parseDate` returns Invalid Date on empty string (deferred: after the parser rewrite)
6 open (4 pending · 1 in-progress · 1 blocked) · 1 deferred · 9 closed (8 done · 1 cancelled) · 16 totalBy status (list tickets status)
Same lines, regrouped. Sections in this order — in-progress first, because that is what someone asking for a status view wants to see:
In progress
[~] B2 — CSV export drops the last row
Blocked
[!] B3 — Avatar upload 500s over 5MB (blocked: needs S3 creds from ops)
Deferred
[>] A2 — `parseDate` returns Invalid Date on empty string (deferred: after the parser rewrite)
Pending
[ ] B2b — add regression test (B2)
[ ] F1 — Dark mode
[ ] F2 — Bulk delete in the table view
[ ] A1 — Unhandled promise rejection in the upload worker
6 open (4 pending · 1 in-progress · 1 blocked) · 1 deferred · 9 closed (8 done · 1 cancelled) · 16 totalA sub-part shown away from its parent carries the parent ID in trailing
parentheses — (B2) — since the indentation that explained it is gone. Include
Done and Cancelled sections only when closed tickets were asked for.
Rules for both views
- Copy the line, don't rewrite it. ID and title exactly as they appear in
TICKETS.md, so the user can grep for what they just read. - Never collapse a ticket to its ID.
A295 A297 A299 A301is not a board, it is a receipt — the reader has to grep every number to learn anything, which is the exact work the list was supposed to save. A ticket line is ID + title, always, no matter how many there are. A long title truncates at ~80 chars with…; it never disappears. If the board is too long to print, page it — never abbreviate it (below). - Open and deferred, by default (
[ ],[~],[!],[>]) — every deferred ticket is listed, just counted apart. Closed tickets on request ("show everything", "what did we finish") — then[x]and[-]too. - Drop empty sections. No "Features: none", no empty
Blocked. - Blocked and deferred show their reason; that is the whole point of
[!]and[>]. - The counts must add up, and the line must show its work. Six mutually
exclusive states, two buckets and a loner:
open = pending + in-progress + blocked(blocked is open, just stuck) ·closed = done + cancelled· deferred is neither — it stands alone between them, so it never inflates the open count someone is judging the week by ·total = open + deferred + closed. Each bucket prints its own subtotal with the breakdown in parentheses, so the arithmetic is checkable on sight and blocked is never mistaken for a bucket beside open. Always print all six states, zeros included. Never drop a term because it is
0.0 blockedis information — it says nothing is stuck, which is exactly what someone scanning the board wants to know — and a fixed-shape line can be compared against last session's at a glance. An empty board still prints the full line:0 open (0 pending · 0 in-progress · 0 blocked) · 0 deferred · 0 closed (0 done · 0 cancelled) · 0 totalOne count line after the list, and nothing else. No commentary on the board's health, no suggested next ticket unless asked:
6 open (4 pending · 1 in-progress · 1 blocked) · 1 deferred · 9 closed (8 done · 1 cancelled) · 16 total- Legend only if the user seems new to the board, and then one line.
Big boards (30+ open)
Long boards are where the list is most needed and most often ruined. Do not compress by dropping titles. Compress by showing less of the board, in full:
- In-progress and blocked print in full, always. However big the board, that is what the person asking is actually working on and stuck behind.
Pending prints in full up to 20 lines per section, oldest first. Over that, print 20 and add one line naming the rest and how to see it:
… 24 more pending in Agent-found — `list tickets A` for all of them- Group by ID prefix, not by the heading the line sits under. Append-only
files drift: a
B68logged during a burst of agent findings ends up under## Agent-foundand stays there forever. The ID is the classification; the heading is just where the line happened to land. Sort within a group by status (in-progress, blocked, deferred, pending) then by number. list tickets <prefix>(list tickets A,list tickets B) scopes to one type and prints it whole, no cap. That is the escape hatch the truncation line points at, so it must actually work.
The count line stays exactly the same — it already covers the whole board, which is what makes truncating the list safe.
Rules
- One file, repo root, committed. It travels with the branch; that is how teammates and future chats see it.
- Append, never rewrite. New tickets go at the end of their section; edits touch only the one line being changed. Keeps merge conflicts to single lines.
- IDs are permanent. No reuse, no renumbering, no deleting done tickets —
delete a ticket only if it was logged in error (say so to the user). The one
move is a merge collision, done by
renumber-tickets.sh,(was X)kept. - Committed and pushed with the work. The board travels in the same commit as the change, never left behind locally.
- Every edit is signed. Create or flip a row, stamp your session tag on it, replacing the old one. An unsigned flip on a shared board is unattributable.
- Status reflects reality.
[x]means verified, not "should work".[-]means deliberately closed without doing it — never use it to hide a ticket that is still real, and[!]is not a parking space: it names what it waits on. - The board must drain. A ticket is a named change, never a finding — see the gate. If pending only ever grows, the bookkeeping has become the work: stop logging and run the drain.
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.

