Skip to main content

Chitty

Markdown-native task tracker for repos worked on by humans and coding agents. Put in a chitty; an agent (or you) picks it up; the file is the record.

Each task is one markdown file with YAML frontmatter under chitty/<context>/, e.g. chitty/tasks/TASK-12--add-search.md. The files are the only state: no database, no index. The tool only ever changes the lines it means to, so prettier and mdformat leave its output alone and diffs stay small. See PLAN.md for the full design.

Install

uv tool install chitty            # CLI
uv tool install 'chitty[mcp]'     # CLI plus `chitty mcp`
uvx chitty --help                 # run without installing

Use

chitty init                       # create/upgrade config and register its machine-local project inbox
chitty init --autocommit          # enable autocommit and commit the clean setup change
chitty import backlog-md          # convert a reviewed legacy backlog/ directory
chitty suggest other "Improve docs" -d "Explain setup."  # machine-local inbox
chitty inbox                      # list this repo's waiting inbox suggestions
chitty inbox --pull               # print your actor name and collect them as backlog tasks
chitty whoami                     # print your stable actor name
# `add -c` names only a context in this repository; use `suggest` across projects.
chitty add "Add search" -d "Search titles and bodies." \
    --ac "Matches title" --ac "Case-insensitive" -l cli \
    --note "Useful context, repeatable."
chitty list
chitty show 1                     # bare numbers mean the default context
chitty edit 1 -s doing --plan "Use casefold()." --check 1
chitty edit 1 -s review
chitty edit 1 -s done --note "Reviewed: ready to merge."
chitty edit 1 --note "Safari needs a polyfill."
chitty edit 1 -s blocked --note "Awaiting a product decision."
chitty add "Refine sync idea" -s backlog  # stores a default refinement note
chitty add "Rotate prod password" -c human -d "Needs a person."
chitty move 1 human               # new ID there; references are rewritten
chitty archive HUMAN-1
chitty check                      # validate everything; non-zero on problems
chitty fix                        # repair safe problems; fail if any remain
chitty archive                     # process every completed task before a merge request
chitty guide                      # instructions for coding agents

Every command takes --json. chitty --help and chitty <command> --help are the reference. Plain chitty list shows non-archived todo, doing, blocked, and review tasks across every context; repeat -c or -s to filter, including backlog and done tickets. Review is required before done by default. A context can set review = false to override that setting; generated human contexts do this so people can close their own tasks directly. The third failed review (review → doing) since a task was last blocked sets it blocked with owner human instead, so agents stop bouncing it. Use --parent TASK-1 to show a parent's direct children. --all includes every status but never archive folders. Empty lists explain their active filters on stderr while JSON stdout remains []. chitty import backlog-md refuses non-empty contexts, reports mappings. It refuses to run unless the Git working tree is clean, untracked files included, and removes the converted files in its import commit; use --keep-source to retain them. Each task has a tool-managed trailing ## History that records its creation and status transitions. Finished tasks can include a ## Summary handoff via chitty edit ID --summary TEXT. To inspect or restore an archived task, work with its file directly.

Enable tab completion by adding one of these lines to your shell startup file:

# bash
source <(_CHITTY_COMPLETE=bash_source chitty)
# zsh
eval "$(_CHITTY_COMPLETE=zsh_source chitty)"

chitty whoami derives a stable readable name from CHITTY_ACTOR (when set), or a coding harness session identity: CLAUDE_CODE_SESSION_ID, PI_SESSION_ID, CODEX_THREAD_ID, or CODEX_SESSION_ID. CHITTY_ACTOR is for people and other tools. Chitty's Pi extension records Pi's session ID in CHITTY_PI_SESSION_ID at session start, so shell commands, pi.exec, and subagents share the parent actor name. Reload or restart Pi after chitty init installs or updates the extension. context-mode starts its server at the first agent turn, after the variable is set, so its ctx_execute commands share the name too. A server started before session_start cannot receive it; start Pi with CHITTY_ACTOR=<name> if one needs the same identity.

Set autoformat = "mdformat" in repository config to run a formatter on each written task file before any autocommit. chitty init --autocommit enables autocommit = true and commits only the repository setup files it changed (chitty.toml or pyproject.toml, .gitignore, AGENTS.md, and CLAUDE.md); it refuses a dirty Git working tree. Commits for task work should end with Task: <ID> lines using the ticket's own ID (for example, Task: TASK-12) so git log --grep <ID> finds a ticket's code. This is a convention, not an enforced check. Set archive = "delete" to delete completed task files at merge-request time instead of moving them to archive/; it also removes exact depends_on entries and requires complete Git history to avoid reusing IDs. The default, archive = "move", retains task files.

chitty_version records the Chitty release that last ran init. Reads work with stale setup, but writes without autocommit require chitty init first; with autocommit = true, Chitty commits the setup upgrade separately before writing. Contexts are configured in chitty.toml or [tool.chitty] in pyproject.toml (not both). To send work to another repository, use chitty suggest PROJECT; the receiving repository imports it with chitty inbox --pull. PROJECT is a registered name unless it contains /, is ., or starts with ~ or .; those path-shaped values resolve a local Chitty repository.

Migrating from Backlog.md

From a clone of the legacy repository, run chitty init, then chitty import backlog-md. Review its report: statuses declared in backlog/config.yml become backlog with one summary per status, unknown statuses become backlog notes, unsupported headings are demoted into the description, and non-task files or folders are listed rather than imported. Run chitty check, review and commit the generated tasks. Clean converted source files, including backlog/config.yml, are removed by the import; delete any remaining reported non-task files or folders when accepted.

Develop

make install    # uv sync --all-extras; npm ci (pinned prettier)
make check      # ruff, pyright, unittest
make format

Pi extension

chitty init installs the shipped Pi /chitty workflow extension into an existing ~/.pi/agent/extensions/ directory. src/chitty/integrations/pi/chitty.ts is the source of truth: make extension edits in this repository, not in the installed copy. If the installed file differs, chitty init fails rather than overwriting possible local work; review it, then replace or remove it before retrying. Restart or reload Pi after installation.

Metadata

Release files for chitty 0.1.15

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

Source distribution (sdist)

Source distribution for chitty 0.1.15
File Size Uploaded Provenance Actions
chitty-0.1.15.tar.gz 204.2 kB With provenance Details for chitty-0.1.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chitty 0.1.15
File Interpreter ABI Platform Actions
chitty-0.1.15-py3-none-any.whl Python 3 none any Details for chitty-0.1.15-py3-none-any.whl

Total release size: 263.3 kB

Release files / chitty-0.1.15.tar.gz

Download URL chitty-0.1.15.tar.gz
Size 204.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4ab7fda1bd9ce1b9768183fafbf8eb05a3417514bc44008492df2c64f9c95b03
BLAKE2b-256 checksum
How to use checksums
ea921f9a8991bf99e0e66c7926efb43ea0a67a56fda47f23002842f4b75c8530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 Nov 2, 2026.

Transparency log

Release files / chitty-0.1.15-py3-none-any.whl

Download URL chitty-0.1.15-py3-none-any.whl
Size 59.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9668f8d246dc37111edadee85c2d6666a21193d80b3d35cef58acd0e4054a697
BLAKE2b-256 checksum
How to use checksums
c17724265c3107c13d5e6837c6da1dace3a92f9ce24fa848da478d4bdc1f909c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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 Nov 2, 2026.

Transparency log

Security for chitty 0.1.15

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chitty-0.1.15.tar.gz

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 Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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