Skip to main content

TCW — Taxonomy · Capabilities · Work

TCW keeps three things about a software project inside the repository itself, next to the code, through one command-line tool (tcw):

Component Answers Lives in
Taxonomy What things does this project deal with? docs/taxonomy/
Capabilities What can a user do with those things? docs/capabilities/
Work What are we changing, and where does each change stand? docs/work/

They link by one-directional pointers — a capability names the taxonomy terms it involves, a work item names the capability it changes — and never copy each other's content.

Contents


The problem

Ask three people at a company with twenty repositories what one of those repositories does, what a user can do with it, and what is being changed in it right now. You get three different answers, assembled from four different places: a ticket tracker that knows about work but not about the product, a wiki whose glossary was last edited two years ago, a FOLLOWUPS.md that only grows, and design documents that stopped matching the code some time back.

None of those places is wrong on purpose. They drift because none of them sits next to the code, and nothing makes them move when the code moves.

TCW puts all three in the repository. One commit carries a code change and the description of what it changed, and a reviewer sees both in the same diff.

What it looks like

Setting up one repository and taking a change through it:

tcw init --id billing-service          # marks this directory a TCW node

tcw taxonomy add Invoice "A bill issued to a customer."
tcw taxonomy add "PDF Export" --kind feature --vocab invoice

tcw capabilities add billing/invoices "Download an invoice as PDF"
tcw capabilities set billing/invoices --status Missing --field "Feature=pdf-export"

tcw work new "Export invoices as PDF"  # → 2026-09-09-export-invoices-as-pdf
tcw work start 2026-09-09-export-invoices-as-pdf
#                                      …write the code…
tcw work complete 2026-09-09-export-invoices-as-pdf --resolution done --confirm
tcw capabilities set billing/invoices --status Supported

That leaves the whole model on disk — no database, no server, no account:

docs/
├── taxonomy/
│   ├── invoice/            meta.yaml, description.md
│   └── pdf-export/         meta.yaml, description.md   ← a Feature, linked to invoice
├── capabilities/
│   └── billing/invoices/   meta.yaml, description.md   ← Status: Supported
└── work/
    ├── inbox/  backlog/  active/  review/
    ├── completed/2026-09-09-export-invoices-as-pdf/
    └── discarded/

A work item's status is the folder it is in. A transition is a git mv, the board is ls docs/work/active/, and there is no separate ledger file to fall out of step, double-count, or re-summarize. tcw serve renders all three axes as a local web app if you would rather click than type.

Why many repositories is the case it is built for

Every repository keeps and owns its own taxonomy, capabilities, and board. What TCW adds on top is one model across all of them:

  • Shared vocabulary, without a silent merge. A repository can inherit another's taxonomy. Terms stay namespaced by the project they came from, so an inherited acme/permission never quietly becomes your permission.
  • Shared user stories, with local overrides. A web frontend and a mobile app driving the same server declare their common capabilities once, and each overrides only what differs.
  • Work addressed across the graph. An item in any registered project is addressable as <project-id>/<slug>, and one epic can hold slices living in several repositories and roll their status back up.
  • One board for the whole estate. tcw work list --include-descendants and tcw serve aggregate every registered repository's board into a single view, and tcw validate checks them all in one pass and exits non-zero — so it works as a CI gate.

Projects are identified by a canonical ID, never by a filesystem path. A checkout holding only some of the repositories still works: the absent ones drop out of the graph rather than breaking your commands.

What it deliberately refuses

No sprints, no story points, no burndown charts, no SLAs, no estimation ceremony. Just items, statuses, legal transitions between them, and a definition-of-done gate. The shorthand for the work component is a "recursive, OS-native Jira" — recursive because projects nest inside one another, and OS-native because the storage is folders and git rather than a service.

Four stances follow from that, and they are worth knowing before you adopt it:

  • State is the status, not a log. Nothing is reconstructed from history.
  • Per-node, never global. Each item, term, and capability owns one bounded document, so nothing grows without limit.
  • Mechanism in the tool, judgment in the person or agent. Legal transitions, slug integrity, reference validity, and the definition-of-done gate are enforced by the CLI, not left to a prose checklist somebody follows sometimes.
  • Co-located with the code it describes. The documents live in the repository and move in its commits and pull requests.

What adopting it costs

Worth knowing before you propose it to a team:

  • Everyone needs the CLI. Python 3.11 or newer, and Node 22.12 for the optional web viewer. It installs with pipx, or automatically as a Claude Code or Codex plugin.
  • It does not replace a tracker for people outside the codebase. There are no notifications, no permissions model, no assignee workflow, no dashboards, and no way to file or read an item without a checkout. Teams needing those keep them, and use TCW for the parts that belong beside the code.
  • The descriptions are only as current as the discipline around them. TCW enforces structure — legal transitions, slug integrity, that every pointer resolves — but nothing makes anyone write a good capability description. The lifecycle bindings and agent skills exist to make that automatic rather than remembered.
  • Adoption is per-repository and incremental. A repository can adopt the work component alone and add taxonomy and capabilities later, or never. There is no central instance to stand up first, and no migration required to start.
  • Only filesystem storage exists today — see Storage abstraction.

Who it's for

  • A product spread across many repositories that needs one description of what it is and one board across all of it, without a central service to run.
  • Agent-driven development, where a coding agent needs a legible, enforced place to record what a project is and where its work stands — and where "told to follow the rules" is not enough, because the invariants have to be held mechanically.
  • Teams that want their glossary, feature inventory, and change log to move in the same commits and pull requests as the code, instead of in three drifting external tools.
  • Anyone who wants a work tracker with no ceremony that is just folders, files, and git.

Storage abstraction (the prime directive)

TCW ships filesystem-backed stores, and only those today. Adapters for an external tracker (Jira, a wiki, a graph database) and tracker synchronization are designed for but not built; they are open items on TCW's own board.

What exists now is the separation that makes them addable later. The CLI talks to abstract store interfaces (TaxonomyStore, CapabilitiesStore, WorkStore) and the shipped adapters (FsTaxonomyStore, FsCapabilitiesStore, FsWorkStore) realize them on the filesystem. Every operation must pass one test before it enters the model:

"Could a non-filesystem store implement this operation, even if less elegantly?" Yes → it belongs in the model (the abstract store interface). No → it is a filesystem-adapter detail, or it gets redesigned.

So the filesystem advantages — co-located documents, atomic commits, readable diffs and pull requests, mv as a status transition — are layered on top rather than assumed by the model. The full rules live in docs/lifecycle/abstraction.md, which TCW's own repository binds to its spec and plan stages.


Install

In Claude Code:

/plugin marketplace add brocef/TCW
/plugin install tcw

Or, in the Claude web app or desktop app, open the plugin directory, add brocef/TCW as a marketplace, and install tcw from it — no terminal needed.

Then start a new session. The plugin installs the tcw CLI at session start by installing tcw-cli from PyPI with pipx, so one installed mid-session cannot run until the next one begins. That first session needs network access. It installs over an existing pipx install tcw-cli rather than beside it, and leaves a development checkout (pip install -e .) alone. If tcw goes missing anyway, pipx install tcw-cli is the whole fix — the tcw-plugin skill carries the cases where it is not.

In Codex (skills only, no slash commands):

codex plugin marketplace add brocef/TCW --ref main
codex plugin add tcw@tcw

Codex has no session-start hook, so ask the agent to run the tcw-plugin setup — it runs the same install script Claude runs automatically.

The plugin ships the agent skills, slash commands, and read-only review agents listed under Skills.

As a Python package

pipx install tcw-cli        # recommended (isolated, on PATH)
pip install -e .            # development install from a clone

Use this when you want the CLI without an agent harness at all. The PyPI package is named tcw-cli because tcw was taken by an unrelated project; the command it installs is still tcw.

Requires Python ≥ 3.11 (its only runtime dependency is PyYAML). tcw serve additionally requires Node.js ≥ 22.12; every other command is Python-only. Released wheels carry the prebuilt web assets, so there is no frontend build step and no network needed after install.

In a cloud environment

A cloud agent session — Claude Code on the web, a Codex container, a CI job — starts from a clean image and is thrown away when it ends, so a tcw you install by hand is gone by the next one. Install it from your repository, with a session-start hook, and every session gets it without anyone remembering to.

Add a script to your repository:

#!/usr/bin/env bash
# Make `tcw` available in a disposable agent container.
# Exit 0 on every path — a session must start even when this cannot finish.
set -u

command -v tcw >/dev/null 2>&1 && exit 0

# pipx where it exists; otherwise install into the container's own interpreter.
# That is the right answer *here* and nowhere else: the container is disposable
# and single-purpose, so there is no user environment to damage.
if command -v pipx >/dev/null 2>&1; then
    pipx install tcw-cli >/dev/null 2>&1 || echo "tcw: pipx install tcw-cli failed"
elif ! python3 -m pip install tcw-cli >/dev/null 2>&1 &&
    ! python3 -m pip install tcw-cli --break-system-packages >/dev/null 2>&1; then
    echo "tcw: pip install tcw-cli failed — the tcw CLI is not available."
fi

# An install that landed outside PATH is installed and unusable. $CLAUDE_ENV_FILE
# is the harness's own channel for repairing that.
if ! command -v tcw >/dev/null 2>&1 && [ -n "${CLAUDE_ENV_FILE:-}" ]; then
    userbin="$(python3 -m site --user-base 2>/dev/null)/bin"
    [ -x "$userbin/tcw" ] && echo "export PATH=\"$userbin:\$PATH\"" >>"$CLAUDE_ENV_FILE"
fi

exit 0

Then wire it to SessionStart in your repository's .claude/settings.json:

{
    "hooks": {
        "SessionStart": [
            {
                "hooks": [
                    {
                        "type": "command",
                        "command": "\"${CLAUDE_PROJECT_DIR}\"/scripts/tcw_session_setup.sh"
                    }
                ]
            }
        ]
    }
}

Three things make the difference between a hook that helps and one that wastes a session:

  • Exit 0 on every path, and print only on failure. A hook that fails the session start over a missing CLI has cost more than the CLI was worth.
  • Print to stdout. Claude Code adds a SessionStart hook's stdout to the agent's context, where it will be read; stderr becomes a transcript notice nobody sees.
  • Check for tcw first. The hook runs every session, including the ones where a previous install is still there.

If your work store lives in another repository, the container holds only the repository it cloned, so the board is declared but absent. Run tcw provision after the install — it obtains what the checkout does not have, and does nothing on a machine that already holds it. See Working across repositories.

Installing the plugin in such a session is a separate step from installing the CLI, and only needed where the harness does not carry your plugins in: append claude plugin marketplace add brocef/TCW and claude plugin install tcw@tcw to the same script, guarded on command -v claude.

This repository's own scripts/remote_session_setup.sh is the same pattern written for a contributor rather than a user — it installs the checkout with pip install -e instead of the release from PyPI, and installs the plugin from the checkout too. Read it as the worked example.

Quickstart

cd your-git-repo
tcw init --id my-project                # scaffold all three components
tcw init --id my-project taxonomy work  # …or just named components
tcw serve --no-open                     # browse all three locally
tcw validate                            # check this project and its descendants
tcw --help                              # init | serve | validate | taxonomy | capabilities | work

tcw init --id <project-id> marks the current directory as a TCW node by writing a tcw-config.yaml file carrying its canonical ID, then scaffolds the docs/<component>/ skeletons. It refuses to run outside a git repository, because write transitions need git — but the node folder can sit anywhere inside that repository, not only at its root, so one repository can hold several projects. Each component group also has its own init: tcw taxonomy init, tcw capabilities init, tcw work init.

To bootstrap a taxonomy or capabilities ledger on a project that already has a codebase, run /tcw-taxonomy-init or /tcw-capabilities-init — the assistant studies your code, proposes a first draft, refines it with you, and writes it.


Working from your Jira tickets

A project can name the Jira Cloud site it uses, read its tickets, and take one as a work item.

tcw work tracker list              # tickets the configured query selects
tcw work tracker show ENG-482      # one ticket, and whether it is yours to take
tcw work tracker import ENG-482    # take the ticket and get a work item for it
tcw work tracker link <slug> ENG-482       # take it for an item you already have
tcw work tracker unlink <slug> --reason "wrong ticket"

Configuration goes in the node's tcw-config.yaml:

work:
    tracker:
        provider: jira-cloud
        base-url: https://yourcompany.atlassian.net
        candidate-query: assignee = currentUser() AND status = "To Do"
        credentials:
            email-env: TCW_JIRA_EMAIL
            token-env: TCW_JIRA_API_TOKEN
        transitions:
            claim: Start Progress
        timeout-seconds: 15 # optional

Credentials are named, never stored. The file holds the names of two environment variables; TCW reads them at the moment it makes a request, so a token cannot be committed by accident.

tracker show reports two different things, and the distinction matters:

  • claimable — whether this ticket currently offers the transition you configured as the claim.
  • exclusive — whether your Jira workflow would actually refuse a second person trying to take the same ticket.

Many Jira workflows allow a status change from any status, including the one it leads to. On a workflow like that, two people who both take one ticket both succeed and neither is told. So a ticket that has been started reports not exclusive when that is the truth, and a ticket that has not been started reports not determined, because it cannot show you what happens to the second person. Making a workflow exclusive is a Jira administration change, not something TCW can do for you.

Taking a ticket. tracker import moves the ticket through your configured claim transition, assigns it to you if nobody had it, and then checks Jira again: only when the ticket really is started and yours does it create a backlog item. The ticket's text goes into the item as its raw input, with a link back, and the item's request still gets written the usual way. A ticket assigned to someone else is refused, and so is one that is already closed.

Running import again for the same ticket gives you the same item rather than a second one, and if the first run took the ticket but stopped before creating the item, the second run finishes the job. One ticket can deliberately become several items with --part api, --part web, and so on. unlink removes a wrong binding and keeps a record of it with your reason; it never changes the ticket in Jira.

Two limits to know. On a workflow that lets anyone start a ticket from any status, two people can both take the same ticket, and TCW does not stop that. And two runs by the same Jira account at the same moment can both create an item.

Two guarantees worth stating plainly. A project with no tracker block behaves exactly as before, with no new required setting and no network access. And tcw validate never contacts the tracker, which matters because projects commonly run it when closing a work item — finishing your work must not depend on Jira being reachable.


Documentation

Document Covers
The Work component The state machine, the command reference, tags, the definition-of-done gate, decomposition, and cross-repository epics
Taxonomy and Capabilities Declaring the nouns and the user stories, and federating both across projects
Working across repositories Connecting projects, keeping a store in another repository, and obtaining what a checkout does not have
Configuration tcw-config.yaml: lifecycle bindings, prompts, artifact templates, and documentation entries
The local web viewer tcw serve
Linking and validation tcw:// references between objects, and tcw validate as a CI gate
The abstraction rules The prime directive in full
Releasing TCW How this repository publishes itself — not needed to use TCW

Every command group also has --help, and a check that validates its tree.


Skills — the judgment layer

The CLI is the mechanism. Fifteen skills in skills/ supply the judgment that drives it — the parts a deterministic tool cannot decide. Nine carry a distinct procedure; the other six all compose one lifecycle stage and are listed together at the end.

Skill What it does
tcw-work Plans a request through spec and plan, drives implementation and verification, triages the inbox, runs the lifecycle, decomposes epics, searches the board
tcw-capabilities The capability-delta planning check, contradiction detection, and the ledger flip at completion
tcw-taxonomy Declaring vocabulary and features, linking them, and federating shared vocabulary
tcw-plugin Installs the CLI from PyPI, and maps the other skills
tcw-report Reporting a tcw bug or suggestion upstream to this project's issues
tcw-triage-issues Sweeps your project's GitHub issues and turns the ones worth doing into work items
documentation-sync Keeps README, changelogs, release notes, and driving skills moving with the code that changes them
tcw-post-mortem Finds which lifecycle stage could first have caught a problem, once one has surfaced
autonomous-work Drives work items to completion unattended, consulting two read-only advisors wherever the lifecycle would ask you

They name tcw commands and never reimplement tool logic: mechanism stays in the binary, judgment stays in the skills.

Reading a lifecycle stage

Six more skills do one job between them: hand you a stage's own working document and the instructions your project resolves for it, as a single read rather than a file you open and a command you run separately. They only read — tcw work stage gate is still what refuses.

tcw-work-stage is the general one and takes the stage id, so it reaches all seven stages including inbox and postmortem. The other five bake their stage in and ask only for the work item, which is optional: tcw-work-stage-request, tcw-work-stage-spec, tcw-work-stage-plan, tcw-work-stage-implement, tcw-work-stage-verify.

Review agents and slash commands

Three read-only review agents ship alongside them — tcw-verifier, tcw-backlog-auditor, and tcw-post-mortem, which accelerates the skill of the same name — plus slash commands for each skill's main procedure (/tcw-plan-work, /tcw-drive-work-to-completion, /tcw-verify-work, /tcw-process-inbox, /tcw-work-search, /tcw-triage-issues, /tcw-audit-work-backlog, /tcw-consolidate-plans, /tcw-taxonomy-init, /tcw-capabilities-init, /tcw-docs-sync-setup, /tcw-cut-version, /tcw-post-mortem).


Status

TCW is used daily to manage its own development: this repository tracks all of its own work through docs/work/.

Built and in use.

Area State
The three axes Taxonomy, capabilities, and work all ship with filesystem stores on a shared bounded-tree core
Cross-repository work Connected projects, graph-wide addressing, epics, delegate/escalate, rollup, and isolating worktrees
Web viewer tcw serve browses and edits all three axes, aggregating descendant boards
Lifecycle customization Per-stage prompts, artifact templates, and pre-transition checks bound from tcw-config.yaml
Agent integration A Claude Code and Codex plugin carrying skills, commands, and review agents
Tests pytest over throwaway git repositories, plus Playwright end-to-end coverage of the viewer

Not built. Store adapters for external trackers — Jira, a wiki, a graph database — and synchronization with them. The abstract store interfaces they would implement exist and are what every command already talks to, but no such adapter ships today. They are open items on TCW's own backlog.

Further reading

  • AGENTS.md — the working rules for contributing (read first).
  • docs/lifecycle/abstraction.md — the prime directive in full.
  • docs/plan/ — the per-component source-of-truth designs.
  • tcw work list — what is currently being changed here.

Release files for tcw-cli 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tcw-cli 2.1.2
File Size Uploaded
tcw_cli-2.1.2.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for tcw-cli 2.1.2
File Interpreter ABI Platform
tcw_cli-2.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / tcw_cli-2.1.2.tar.gz

Download URL tcw_cli-2.1.2.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
cb19b6a9c15eb2183f2f27f87ca9483f26d5f6322683f097d18aac3c5f3ff8b3
BLAKE2b-256 checksum
How to use checksums
acb00c023c750755e61f0dd28af859cacdf1764b22725e43b4e7e1e83a2387e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / tcw_cli-2.1.2-py3-none-any.whl

Download URL tcw_cli-2.1.2-py3-none-any.whl
Size 771.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22d07cfaf7b28e6a55a2b54139d260610adea6805f22a2a64c7bb07ebc59a86b
BLAKE2b-256 checksum
How to use checksums
954ab2bdc7ea0012380d689a13987db069f91aae7773821e1922b8558b94c419
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

2.6.1

2 release files

2.6.0

2 release files

2.5.1

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.3

2 release files

This release

2.1.2 This release

2 release files

2.1.1

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.2

2 release files

0.21.1

2 release files

0.21.0

2 release files

0.20.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page