taskops
A shared work board — milestones → cards → subtasks — for teams of coding agents working in parallel, with a human who decides. Zero runtime dependencies.
The truth is an append-only event log; the cache is disposable and the leases are
not. Agents stay out of each other's way by mechanism, not by prompt: a lease (one
row, one winner), a worktree (one directory each), a branch pinned to that
directory for life. main is written by a person.
The CLI behaves like git: it connects, it never manages. Moving a card from the terminal does not exist — that is MCP. (v1 grew 35 management commands, each one a second way to do something the tools already did, and the two ways drifted.)
Why any of it is shaped this way: ARCHITECTURE.md. How to work in this repo: CLAUDE.md.
How it fits together
One server, many boards, one board per repo. Read this once and nothing below can be misread:
ONE host, set up ONCE in its life YOUR LAPTOP, per repo
┌──────────────────────────────────────┐
│ taskops serve --root ~/boards │ ~/code/tienda ──┐
│ │ ~/code/api ──┼─ each joined
│ ~/boards/tienda/ ← a board │◀─────~/code/landing ──┘ to one board
│ ~/boards/api/ ← a board │ (no ssh, ever)
│ ~/boards/landing/ ← a board │
└──────────────────────────────────────┘
- The host: one process, one port, every board you will ever make. You ssh into it exactly once, to install it and register your key.
- A board: one directory on that host. Created from your laptop with
taskops board create. - A repo: joined to one board.
taskops remote addonce per checkout, then every command runs bare. - Your agents: they never touch any of this — they talk to the board through the nine MCP tools.
Install
uv tool install taskops-cli # or: pipx install taskops-cli · pip install taskops-cli
The PyPI distribution is taskops-cli; the command it installs is taskops.
Install into the interpreter you will actually run init/join from: the git
hooks pin sys.executable at that moment, so a python3 without taskops
importable leaves commits un-stamped, silently.
The CLI
taskops init a local board in this repo
taskops join [<name>] [--invite <id>] join a board, install the hooks
taskops remote add <url> the host this checkout operates, like git's origin
taskops serve host boards — an events API, no dashboard
taskops server init bootstrap THIS host: its owner and their ssh key
taskops board create|ls|push|visibility the boards on a host
taskops invite <who> a single-use link
taskops revoke --key|--invite a key or an invite stops working
taskops tidy remove worktrees whose work is in the trunk
taskops ui the dashboard: serve if needed, open the browser
taskops hook … internal: what the installed hooks call
Starting a board
taskops init # local: .taskops/board/ + 2 git hooks + .mcp.json
Joining a hosted one is bare, like every other verb — the host is recorded once and the key is discovered the way ssh discovers one:
taskops remote add https://host:8787 # once per checkout
taskops join my-project # your key is registered: that is the credential
taskops join my-project --invite <id> # first time: the invite enrols your key too
taskops join my-project # no key + public board: read-only window
Keys exist so tokens do not travel: what lands on disk is a session that renews
itself, never a token anybody copies. Flags: --key <path> overrides the
discovered key · --as <actor> when your unix user is not the principal's name ·
--discard-local when this repo already has a local board with events. The old
full-URL form (taskops join "<url>?token=…") keeps working — boards joined
before keys existed never rot.
Restart your Claude Code session after either — MCP servers load once, at
session start, from .mcp.json.
Hosting — ONE server for ALL your projects
Set a host up once, ever. One process serves every board you will ever make — there is no server per project and no server per board. The author's host runs six boards on one port.
--root is the only thing to decide, and it is just a directory you pick on
the server where the boards get stored. ~/boards below is an example, not a
convention: any path works. Every immediate subdirectory of it IS a board,
served at /<its name>:
~/boards/ ← --root: you chose this path
├── server.sqlite the host itself: who may sign in, and their ssh keys
├── allowed_signers derived from it, whole, on every change
├── live.sqlite the sessions this host has handed out
├── mi-proyecto/ ← a board, served at https://host:8787/mi-proyecto
│ ├── events.jsonl THE TRUTH: append-only, this is the board
│ ├── cache.sqlite derived — delete it and it rebuilds
│ └── live.sqlite who holds which card right now
└── otro-proyecto/ ← another board, same process, same port
└── …
Nothing else is in there, and nothing outside it is touched. To move the host to another machine you copy that one directory.
Three commands on the box, one time in its life. This is the only ssh in the design — after it, nothing on a host is ever administered over a shell:
ssh <host> 'pip install taskops-cli'
ssh <host> 'taskops server init --root ~/boards --key -' < ~/.ssh/id_ed25519.pub
ssh <host> 'taskops serve --root ~/boards --host 127.0.0.1 --port 8787' # under pm2/systemd
server init writes server.sqlite + allowed_signers and makes YOU its
owner; serve is the long-running process. It binds loopback on purpose — TLS
and the public name are a reverse proxy's job.
Per project — no ssh, ever again
From your laptop, signed by the key server init registered. This is the part
you repeat per repo; the host above is never touched again:
taskops remote add https://host:8787 [--replace] # once per checkout
taskops board create [<name>] # defaults to the directory's name
taskops board push # this repo's LOCAL board becomes that one
taskops join <name> # or: a teammate connects to an existing one
And the admin surface for any board on that host, from anywhere:
taskops board ls
taskops board visibility <name> public|private # owner only
taskops invite <who> [--board <name>]
taskops revoke --key SHA256:… | --invite <id>
No URL and no --key after remote add: the host is recorded in the checkout,
board create records the name, and the key is discovered the way ssh
discovers one — ~/.ssh/id_ed25519, id_ecdsa, id_rsa, in that order.
Shared flags on the board/invite/revoke verbs: --key <path> overrides the
discovered key (on revoke it is --sign-key, since --key there is the
fingerprint being retired) · --as <principal> names who the key belongs to ·
--root <dir> is the break-glass path that runs against the files ON the box,
for the day the server is down or the owner's key is lost.
<host>/<name> also works anywhere <name> does — the URL form, as in git.
Public means GitHub's thing: anonymous READ, a write that always needs a
registered key, no third state. Anyone may then taskops join <url> with no
invite — a read-only join that mints nothing and registers no key.
After a verified push there is exactly ONE source. The config flips only once
the server has the history and the counts agree, and .taskops/board/ is RENAMED
to .taskops/board.local-<date> — a dead archive nothing reads again. There is no
--force, ever.
The nine MCP tools
The only management interface. Every tool takes repo_path= and actor=.
taskops_board THE pulse: what the board is waiting for, grouped by the move
each card needs. Open every turn with this
taskops_card one card in full — spec, thread, graph, collisions, worktree;
or query=<text> to search titles and specs
taskops_plan the whole tree in ONE call: a milestone and its cards, deps
included. `after`/`parent` take an index into this call
taskops_assign assign cards, cut a worktree each, return a brief per card
taskops_merge integrate DONE cards into the milestone branch (--no-ff);
milestone= lands a finished chapter. main is never touched
taskops_take claim your card and get everything back
taskops_update change the CARD: close, hand in for review, hand back, drop,
retitle, re-spec, re-prioritise, declare a dependency
taskops_review the verifier's one door: claim a submitted card, then
verdict=pass|changes note=…
taskops_comment say something on ANY open card, including one somebody else
holds. mentions=[…] addresses it to them
plan, assign and merge are the orchestrator's (dev:<name>); take is a
worker's (agent:<dev>/<name>). Reading and commenting are open to everyone —
only taking, closing and releasing belong to the holder.
Three states are stored — open, done, dropped. ready, doing, blocked,
stalled, review, reviewing, changes and mention are all derived per read,
which is why there is no recover verb and no mark-as-read.
Developing
uv run ruff check src tests # lint
uv run pyright # types, strict
uv run pytest # the whole suite
cd ui && npm ci # once
cd ui && npm run check # typecheck + build + smoke + committed-bundle diff
uv run python -m taskops.cli ui # the dashboard, token included
The dashboard is built, not hand-written: source in ui/, and node build.mjs
writes the bundle into src/taskops/ui/, which is committed — that is what
makes pip install taskops serve a dashboard with no node toolchain.
tests/test_architecture.py pins the layering by AST — imports only point down,
SQL only in store/, subprocess only in gitwork/run.py, the clock only in
_clock.py and core/hours.py, 200 lines per module. A rule with no test is a
suggestion.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file taskops_cli-0.3.0.tar.gz.
File metadata
- Download URL: taskops_cli-0.3.0.tar.gz
- Upload date:
- Size: 611.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
336bd5178e6f809161fdb22ca9b39f18d55b816b4e8d8cfbfe98d7f0921ae9e5
|
|
| MD5 |
83576f42ab704d09d99f02ac126a128f
|
|
| BLAKE2b-256 |
f9731ea334246b0d9babb83da74e8d675a8bc07f24bdf34fa3515b36031b8956
|
Provenance
The following attestation bundles were made for taskops_cli-0.3.0.tar.gz:
Publisher:
workflow.yml on bernatch22/taskops
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
taskops_cli-0.3.0.tar.gz -
Subject digest:
336bd5178e6f809161fdb22ca9b39f18d55b816b4e8d8cfbfe98d7f0921ae9e5 - Sigstore transparency entry: 2406010978
- Sigstore integration time:
-
Permalink:
bernatch22/taskops@665e37b58ef401681854812d7da6ee396f12c740 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/bernatch22
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@665e37b58ef401681854812d7da6ee396f12c740 -
Trigger Event:
push
-
Statement type:
File details
Details for the file taskops_cli-0.3.0-py3-none-any.whl.
File metadata
- Download URL: taskops_cli-0.3.0-py3-none-any.whl
- Upload date:
- Size: 314.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e611134036afd3135f022f1a119f5cbe14cbbe8e71135e0d6d5b2fb0d0cd82e
|
|
| MD5 |
9fffe432dcb8eae8a7405e4d4905996a
|
|
| BLAKE2b-256 |
40f7d1f6e0939497aca7f32b89a60f985ee51994b318640aa997a2acf672789d
|
Provenance
The following attestation bundles were made for taskops_cli-0.3.0-py3-none-any.whl:
Publisher:
workflow.yml on bernatch22/taskops
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
taskops_cli-0.3.0-py3-none-any.whl -
Subject digest:
4e611134036afd3135f022f1a119f5cbe14cbbe8e71135e0d6d5b2fb0d0cd82e - Sigstore transparency entry: 2406010987
- Sigstore integration time:
-
Permalink:
bernatch22/taskops@665e37b58ef401681854812d7da6ee396f12c740 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/bernatch22
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@665e37b58ef401681854812d7da6ee396f12c740 -
Trigger Event:
push
-
Statement type: