taskman board
taskman is a per-project task board kept as an append-only event log in plain text, with no database and no server. Agents write to it through one CLI, and every command rebuilds the current state by replaying the log.
- What it is
- A Python package and CLI that holds Features, PBIs, Tasks, Decisions, Requirements and Captures for one project, in a
board/directory next to a.taskman.tomlmarker. mow, /bs and /wrap-up read and write it. - What it isn't
- Not a shared team tracker and not a web app to deploy. There is no cross-project view by design: one repo, one board. Its local pages are read-only views of the same log.
- Why it exists
- Chat context dies and the board doesn't. Work that spans more sessions than anyone can hold in their head needs a store that a fresh agent can query: what is open, what blocks it, what was decided and why.
Those numbers are the harness repository's own board, from 2026-09-26 to 2026-10-07. Each project has its own board, local to that project. Product repos commit board/ with their code; the harness repo keeps its board local and excluded from git, so a clone never inherits its project identity or its history.
How it works
Identity comes first. taskman walks up from the working directory looking for .taskman.toml; without one, it stops rather than guess. That is how two projects on one machine never write into each other's board.
Each line of events.jsonl is one event: {"v": 1, "type": "task.add", "id": 42, "ts": …, "fields": {…}}. Seven entity kinds are allowed (task, feature, pbi, requirement, decision, capture, session) with a fixed verb list per kind: add, set, link and unlink for all, plus claim/release for tasks and supersede/amend for decisions. Replay is fail-closed: an unknown kind, an unknown verb, a missing or future version stops the command and names the line. Board and code travel in the same git tree, so this refusal is the schema-drift guard.
Three write-side protections matter in practice:
- One writer at a time. Mutations serialize through an
O_EXCLlockfile, which also works on Windows. - Atomic claims.
task claim <id> --agent <name>replays, checks and appends inside one critical section, so two agents racing for one task cannot both win. The loser is told who holds it. - The mint guard. Every
addrefuses to issue a new id while the committed board is behind HEAD or behind the session's start commit. Agit reset --hardrolls the log and the id counter back together, and minting afterwards would reissue ids that other records already cite.
Removal is soft: removing a PBI or a requirement writes a set that marks it deleted or removed, and every reader filters it. History stays replayable.
The data model
| Entity | Holds | On this board |
|---|---|---|
| Feature | A capability; carries a lane (product, platform or workforce) that places it on a roadmap track | 67 |
| PBI | One unit of work under a Feature, with acceptance criteria | 36 |
| Task | What an agent executes: status, priority, tags, blocked_by links, a brief, a source_ref, a claim | 820 |
| Requirement | Capability-level truth for a Feature: one SHALL statement plus GIVEN/WHEN/THEN scenarios | 121 |
| Decision | What was chosen, why, implications, alternatives; superseded or amended without losing history | 281 |
| Capture | A session note of kind qa, grill or plan, optionally linked to a task | 251 |
Statuses run backlog → todo → in_progress → blocked → done, plus disabled, which sits off that line on purpose: retired until explicitly revisited. Marking something done that never happened is a lie the board carries forever, so out-of-scope work goes to disabled instead.
The living spec
Requirements are the part that keeps the board from becoming a to-do list. A PBI's acceptance criteria scope one piece of work and die with it; a requirement states what the system must keep doing afterwards. requirement list --feature <id> is the current spec for that Feature. add, modify and remove map to ADDED, MODIFIED and REMOVED, and removal flips a status so list --status removed still shows what used to be true. The conventions are strict: one keyword per statement (SHALL, MUST, SHOULD, MAY), a second requirement instead of "and also", and at least one scenario covering the edge case you would be upset to see broken. The grill writes these; preflight and ship-check read them.
Decisions and captures
The decision log records why, and its entries are cited by id from plans, briefs and other decisions. A later decision can supersede an earlier one in whole or in part, or amend its implications; the log keeps both. This board holds 5 supersede and 10 amend events. Decisions carry tags, and mow surfaces tagged conventions into future briefs that touch the same area.
Captures are lighter: a verify record from a wave gate, a grill write-up, a plan note. A summary that starts with #123: links itself to task 123, and task add --from-capture promotes a note into real work.
Recommend and roadmap
taskman recommend next ranks up to three unblocked tasks by a rule anyone can audit, and prints the reason for each score:
| Signal | Score |
|---|---|
| Priority keystone / high / med / low | +100 / +75 / +50 / +25 |
Already in_progress | +20 |
| Stale in progress, after a 7-day grace | −2 per day |
| Belongs to the only active mow run | +15 |
A task blocked by an open decision task never appears; it comes back by itself when the question is answered. taskman roadmap builds a roadmap from the board plus each plan's dispatch INDEX, with Features as milestones and every task placed somewhere. taskman site serves it and a kanban view on loopback only, answering GET and HEAD and nothing else; while a mow run is live, its lanes' cards move across the columns from the run's tracker file.
The wrap-up gate
A hook writes a session marker with the start commit when a chat opens. At /wrap-up, taskman wrapup gate produces two worklists: files changed since that commit that no open task claims, and every task still in_progress. It exits 1 until each item is cleared with a citation: done, still open, or blocked, with the evidence. The agent cannot close a session on recall; it has to match the diff to the board.
The dispatch bridge
The board and mow share one interchange format. plan from-decisions <dispatch-dir> imports a plan's briefs as a Feature and Tasks, carrying files, dependencies, role and acceptance into each task's brief field. It is idempotent on source_ref: re-running it after a brief edit updates titles, briefs, tags and dependencies in place and never overwrites a status. plan to-dispatch --feature <id> goes the other way, recomputing waves from blocked_by and enforcing the same rule mow does: lanes in one wave own disjoint file sets. At the end of a run, plan mark-shipped closes every task whose source_ref is one of the run's briefs.
AI engineering practices it demonstrates
- Event sourcing for agent memory. An append-only log with replay gives a full audit trail of what every agent changed, and lets a mistake be traced to the event that caused it. One mis-moved task was restored from its own
task.addevent, not from memory. - Fail-closed schema evolution. A reader that meets a newer event refuses loudly, so code and data can never silently disagree.
- Concurrency control for agents. An exclusive lock for writes, a compare-and-set claim for task ownership, and a mint guard against ids rolled back by git.
- Requirements as testable statements. SHALL plus scenarios, linked to the Feature, judged one by one at ship time.
- Agents operate the tool. Skills run the CLI; the operator never types taskman commands. The CLI's output is designed to be read by an agent, and a created id is printed so the agent can chain from it instead of re-deriving it from a listing.
- Explainable ranking. Recommendations are a published rule with printed reasons, not a model's opinion.
Benefits
- A fresh agent can answer "what's open, what blocks it, why did we decide that" in one command, without anyone's chat history.
- Nothing to host. The board is text in a directory, diffable, and in product repos it travels in git with the code it describes.
- The same board feeds planning (
to-dispatch), execution (claim,mark-shipped) and the end-of-session check, so they cannot drift apart. - Only one runtime dependency,
pydantic, and only for the plan bridge.
Limits
Every command replays the whole log, and this project's log is already 4.0 MB after twelve days, because a task event carries its full brief. A full replay took about 0.1 s when I measured it, and taskman board end to end took 1.1 to 1.4 s on a loaded machine. The README defers compaction until about 50,000 events or 5 MB. The event count is far from that; the size is not.
- The backlog grows faster than it drains. 302 tasks are open, many of them review suggestions filed as rows. The board records everything; it does not decide what to drop.
- Duplicates are caught by discipline, not code.
task adddoes not yet warn when an open task with a similar title exists, so agents are told to search first. - Worktrees see the wrong board. In the harness repo, a lane worktree has no
board/of its own, so taskman walks up to the main checkout. Lanes are told never to write from there, and a guard that refuses id-minting from a linked worktree is still on the backlog. - Small CLI gaps. There is no command to remove a
blocked_byedge, anddecision amendcannot change a decision's "why" although the schema allows it. - The written spec lags the code. The bridge specification and the work-loop page still describe the earlier Postgres board, which the event log has replaced. A one-way exporter carries a legacy database across with every id preserved.
Roadmap
| Item | Why it matters | Status |
|---|---|---|
Warn on similar open titles at task add | Stops duplicate follow-ups at filing time, the most common board-hygiene failure | backlog |
| Refuse id-minting writes from a linked worktree | Turns the "never write from a lane" rule into a guard | correctness |
| One PBI per imported plan | Links a plan's tasks through the hierarchy instead of a tag string match | backlog |
task unlink --blocked-by | Today a stale blocker can only be removed by hand-editing the log | backlog |
| Log compaction | Replay cost grows with file size; deferred until the size threshold | deferred |
Sources
taskman/taskman/README.md: wiring, commands, site, conventions, deferred work.taskman/taskman/eventlog/schema.py,store.py,log.py,locking.py: envelope, verbs, claim, lock.taskman/taskman/cli.py: commands and the recommend weights (RECOMMEND_*constants).taskman/taskman/wrapup.py,taskman/taskman/plan.py,taskman/taskman/mow/plan_import.py.docs/workflow/taskman-dispatch-bridge.md: the interchange format (a July draft that predates the event log).human-playbook.md, section 6: statuses, decision tasks, standing a board up.- Counts:
board/events.jsonlfolded per kind and id, read 2026-10-08; replay timed the same day.