agentleFS
ShaftHQShaftHQ/chaosengine-harness/skills/kanban/SKILL.md

kanban

Skill5 starsChanged 5 days agoMITView on GitHub

Use when work has several deliverables, tickets, or delegates: board, WIP 1 writer + 2 review, pull rule, Definition of Done, findings fixed or filed.

19 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 10

    Distinctive

    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
  1. Distinctive:

    Use when work has more than one deliverable, more than one ticket, or any delegate.

    line 14
  2. Distinctive:

    Keep one board per task as JSON (models corrupt JSON less than prose) in the session state directory, never in tracked files:

    line 19
  3. Very specific:

    Every session, turn, and wake starts by draining right to left: open PRs and review (red or ACTION_REQUIRED checks, behind base, conflicts, …

    line 42
  4. Distinctive:

    When the owner asks to supersede pull requests that are already open, open one mega pull request that contains their changes, then close …

    line 50
  5. Distinctive:

    Do not leave them open beside the mega pull request.

    line 52
  6. Distinctive:

    Do not dodge the count by opening a draft, using another branch name, or splitting the work.

    line 53
  7. Distinctive:

    Every acceptance criterion is met and its proof command output is attached.

    line 59
  8. Distinctive:

    Every finding raised while working is closed (see below), including static-analysis and code-quality review threads (fix or reply, then …

    line 67
  9. Distinctive:

    After any CE harness change merges, every agent and delegate reloads the latest harness from main before continuing.

    line 73
  10. Very specific:

    Check items 2 and 4 plus labels and links with python3 .chaos-engine/tool.py dod <PR> (dod.py) (table.

    line 79
  11. Distinctive:

    Every finding ends as exactly one of:

    line 84
  12. Distinctive:

    Before each pull, drop anything that is partially done work, extra process, extra features, task switching, waiting, handoffs without …

    line 95

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Kanban task flow

Use when work has more than one deliverable, more than one ticket, or any delegate. Flow beats busyness: finish before starting.

Board

Keep one board per task as JSON (models corrupt JSON less than prose) in the session state directory, never in tracked files:

{"wip": {"doing": 1, "review": 2},
 "cards": [{"id": "T1", "title": "...", "column": "ready",
            "acceptance": ["..."], "proof": "command that proves it",
            "evidence": null, "pr": null}]}

Columns: backlog -> ready -> doing -> review -> done.

  • ready requires acceptance criteria and a proof command. No criteria, no pull.
  • doing WIP 1 writer per stream (1 doing item per stream; see execution workflows for cross-stream parallel fan-out, capped at 4 parallel file-disjoint implementers or 3 if constrained by box RAM/disk).
  • review WIP 2: at two cards waiting for review or CI, pull nothing new. Ordinary reversible cards get one fresh-context adversarial review. A public-contract or hard-to-reverse card gets two, one after another. The open-PR advisory default is this review WIP times one stream. With no hooks/open-pr-advisory.json, the default stays one stream until that file sets streams. The advisory does not read a live parallel-stream set.
  • done only when the Definition of Done holds.

Pull rule

Every session, turn, and wake starts by draining right to left: open PRs and review (red or ACTION_REQUIRED checks, behind base, conflicts, review comments, auto-merge off), then doing, then shipped bugs or red default branch. Pull a new ready card only when nothing downstream is actionable, and only while review has capacity; waiting on CI counts as idle. Never leave a started card to start another. Never push work forward. Group related cards into the fewest safe pull requests. Avoid PRs that depend on other open PRs; land them in order and merge base once before the final push. When the owner asks to supersede pull requests that are already open, open one mega pull request that contains their changes, then close those pull requests. Do not leave them open beside the mega pull request. Do not dodge the count by opening a draft, using another branch name, or splitting the work.

Definition of Done

A card is done when all hold:

  1. Every acceptance criterion is met and its proof command output is attached.
  2. Tests for new behavior were red first, then green.
  3. Review 1 starts with the push of the self-accepted head. Review 2 starts on the reconcile push, together with CI. Do not start both reviewers in one step (delivery cycle).
  4. Required checks are green on the exact head after one blocking wait per push (gh pr checks --watch --fail-fast or gh run watch); retry once, then stop and report. Never re-verify what already passed.
  5. Every finding raised while working is closed (see below), including static-analysis and code-quality review threads (fix or reply, then resolve) before the PR counts as ready.
  6. Merged or handed off as instructed only after items 3, 4, and 5. A pending check is not success. Do not merge while a check is still running. Then the worktree is cleaned.
  7. After any CE harness change merges, every agent and delegate reloads the latest harness from main before continuing. After each completed delivery run python3 .chaos-engine/tool.py maintain (fast-forward with local edits kept, reinstall, doctor, stale-store refresh, reload).
  8. Ship each card as a small vertical slice (~90 changed lines or a named size_waiver). One grouped pull request is allowed when an epic or batch waiver names it.

Check items 2 and 4 plus labels and links with python3 .chaos-engine/tool.py dod <PR> (dod.py) (table; exit 1 names each gap).

Findings policy

Every finding ends as exactly one of:

  • fixed in the current delivery, or
  • filed as an issue, allowed only when it is both outside the task's scope and not critical, blocker, or high severity.

Nothing stays only in chat, a report, or a local file. The final report lists each finding as fixed (with PR) or filed (with issue).

Waste checklist

Before each pull, drop anything that is partially done work, extra process, extra features, task switching, waiting, handoffs without context, or defects passed downstream (Poppendieck's seven wastes).

Status

In single-agent Kanban, every status report is a 5-column Markdown table, one row per card (ID | Issue(s) | PR | Status | Proof or blocker), then Risks (multi-agent orchestrated mode uses the 7-column format in delegation and orchestrator-bootstrap). Never prose or bullet lists. No separate status rituals. Report only rows that changed since the last report; say nothing when nothing changed.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.