@rusha/task-master
v0.2.4
Published
Task Master — contract-engineering governance and delivery tracking CLI
Readme
@rusha/task-master
Task Master — contract-engineering governance and delivery tracking CLI
tm is the command-line interface for Task Master, a contract-engineering governance platform that tracks work packets, evidence, handoffs, and delivery gates.
Install
npm install -g @rusha/task-masterOr use directly with npx:
npx @rusha/task-master <command>Commands
tm login
Authenticate via OIDC PKCE through your browser. Opens a loopback server on localhost and exchanges the authorization code for a refresh token, stored locally at ~/.config/task-master/credentials.json with mode 0600.
tm logout
Clears stored credentials.
tm init --project <id>
Creates a .task-master.json config file in the current workspace and sets up the CE directory structure in your home directory at ~/.task-master/ce/<id>/. This file stores the API URL, project ID, and CE home path — no secrets.
tm init --project my-projecttm sync [--dry-run] [--root <dir>] [--ce-home <dir>] [--legacy-ce-dir]
Syncs your CE records (work packets, evidence, handoffs, decisions) from ~/.task-master/ce/<project>/ into Task Master. On first run, if CE files exist in <repo>/.contract-engineering/, they are automatically migrated to the home directory and .contract-engineering/ is added to the repo's .gitignore.
tm sync # sync from home dir (auto-migrates from repo if needed)
tm sync --dry-run # format check only, no API calls
tm sync --root ../other # sync from a different workspace
tm sync --ce-home ~/my-ce # use a custom CE directory
tm sync --legacy-ce-dir # use <repo>/.contract-engineering/ (backward compat)The source_path sent to the API is always relative (.contract-engineering/work-packets/...), so the API is unaware of the physical file location.
tm status [--root <dir>]
Shows the current workstream, packet states, and gate status for your project.
tm mcp [--root <dir>]
Starts a stdio MCP server that exposes board, packet, evidence, and handoff tools to AI agents. Register it in your MCP client config:
{
"mcpServers": {
"task-master": {
"command": "tm",
"args": ["mcp"]
}
}
}Available MCP tools include: list_tasks, list_packets, get_packet, claim_packet, transition_state, submit_evidence, request_handoff, review_handoff, verify_evidence, list_projects, and more.
Quick start
npx @rusha/task-master login
npx @rusha/task-master init --project my-project
npx @rusha/task-master sync
npx @rusha/task-master statusCE files are stored in ~/.task-master/ce/my-project/, not in your repo. They are not version-controlled in git.
Requirements
- Node.js 22 or later
- A Task Master deployment (API URL configured via
tm init)
