Skip to main content

Dev Charter

Know what your product does, which code delivers it, and what is proven — in one spreadsheet.

Dev Charter keeps a plain-English record of every feature your product promises, links each one to the code that builds it and the tests that prove it, and turns that into a spreadsheet a founder, product manager or executive can read in five minutes. It is built for teams who write software with coding agents such as Claude Code and Codex, where code now arrives faster than anyone can read it.

Status: 0.2. Built and tested with Claude Code and Codex. Feedback and issues are welcome on GitHub.


The problem

AI coding agents let a small team build a large product quickly. The cost shows up later:

  • Nobody can say what the product actually does today. The code is there, but the answer to "can a customer do X yet, and how do we know?" takes a day of reading or an engineer's opinion.
  • Code grows that no one can explain. Tens of thousands of lines appear, and no one can point to which customer need each part serves, or whether any of it is still needed.
  • Plans pile up as documents. Designs, reviews and decision notes multiply until they are longer than the code and too long to read.
  • "Done" means "the agent said so." Status is claimed, not proven, and it goes stale the moment the next change lands.
  • Scope drifts quietly. Each "while I'm here" improvement looks reasonable on its own; together they build a different product than the one you planned.

What you get

For founders and product owners

  • One page that answers "where are we?" Every feature, in plain English, with its status, in a spreadsheet at the root of your project. No technical knowledge needed to read it.
  • Features written the way customers think. Each one reads "As a customer, I want to … with … so that …", followed by what "done" means in plain words. You review the product, not the code.
  • Status you can trust. A feature only moves to Built when its checks pass, and only to Proven when a named person has seen it work on real data and signed it off. Status is never typed in: it is worked out from the checks and the sign-offs, and every sign-off records who and when.
  • Early warning. A feature that used to work and now fails is flagged At risk the next time the spreadsheet is generated, before a customer finds it.
  • Decide in the spreadsheet. Agree, defer or cut each feature, set its priority and leave a note, right in the spreadsheet; one import brings your decisions into the project, with who decided and when.
  • Control over what gets built. Every piece of work names the feature it serves. Ideas that don't serve an agreed feature are captured in one list for you to decide on later, instead of quietly becoming code.

For executives, investors and customers

  • A summary you can share. Features by area and status, the share that is proven, and what changed this week.
  • Claims backed by evidence. Every "this works" points to the checks behind it and the date it was last proven.
  • Release readiness at a glance. See which features in a release are proven, which are built but unproven, and which haven't started.

For engineers and AI coding agents

  • Every task is tied to a customer need. The agent knows which feature and which checks its work serves, and what is out of bounds.
  • Code that explains itself. Each module carries a short tag naming the feature it serves. The Code map shows every module, the features behind it, and the code that serves nothing: candidates to justify or remove.
  • Decisions made once. One decisions log, plain-English summary first, so settled questions are not reopened in every session.
  • Clean handoffs. Each session ends with where it stopped and the exact next step, so the next session, or the next person, starts without guessing.
  • Claude Code and Codex, one record. Both follow the same rules and guardrails from your repository, and each task card shows which agent did which stage, so one can plan and the other review.

Before and after

Question Without Dev Charter With Dev Charter
Is this feature done? Ask someone, get an opinion Open the spreadsheet: calculated status and last proven date
Why does this code exist? Read it, or guess The Code map names the feature it serves
What code serves nothing? Nobody knows Listed as Unexplained code
What did we decide, and why? Spread across chats and documents One decisions log
What changed this week? A status report someone writes by hand Generated after every commit
Did the agent stay on task? Find out in code review Work that serves no feature is flagged before you commit

What a feature looks like

F-014  ·  Area: Orders and delivery  ·  Priority: Must  ·  Release: Spring launch

As a        customer of an online store
I want to   see where my order is and when it will arrive
With        the current step (packed, shipped, out for delivery), the expected delivery date,
            and a text message when it is out for delivery
Must also   load in under 2 seconds on a phone · show me only my own orders
So that     I don't have to contact support to ask where my package is

Done means
  a. Every order shows its current step and expected delivery date
  b. A text message is sent when the order goes out for delivery
  c. Opening someone else's order shows a sign-in page, never their order

Status      Built: 3 of 3 checks passing                          (calculated)
Built in    shop-api: orders/status.py · notifications/sms.py     (found in the code)
Proven by   7 automated checks (7 passed) · results of 24 Oct 10:42
            1 sign-off by Joji John
Decisions   DEC-001 (delivery dates come from the carrier, never guessed)

You write the top half, or ask your agent to. Dev Charter fills in the bottom half from the code and the test results.

Statuses: Idea → Agreed → Being built → Built → Proven → Live, plus At risk, Parked and Retired.

Promises are product-wide rules that apply to many features, such as "customers only ever see their own orders and details" or "the price shown is always the price charged". They get their own rows and their own checks.

How it works

Dev Charter has three layers. You can use the first two on their own.

  1. The Ledger: what and why. One short text file per feature, promise and decision, kept in your repository. People and agents write these.
  2. The Trace: where and how do we know. A one-line tag in each module (serves: F-014) and the feature's ID in each test's name (test_F014_b_text_sent) link code and tests back to features. Dev Charter scans your repositories, in any language, and reads test results in JUnit XML, which pytest and most test runners write (Jest and Go through a small add-on).
  3. The Workflow: how the agent works. Task cards that name the feature they serve, a plan → review → prove → build → ship loop, one list for parked ideas, and a handoff and a record of turns on each card.

Code that explains itself. The coding agent tags what it writes: # serves: F-014 — Track my order at the top of a file, and # serves: F-014.c — someone else's order asks them to sign in above the function that delivers that check. Every tag counts, the spreadsheet shows which file and line delivers each check, and with the plugin the agent is reminded the moment it changes a file that has no tag, so old code gets explained one change at a time.

dev-charter report combines all three into LEDGER.xlsx and a one-page status.html. They are rebuilt after every commit, on demand, and in CI, so they cannot drift from the truth. The only part anyone writes in is the spreadsheet's two yellow columns, for the product owner's decisions (below).

Built for Claude Code and Codex

Dev Charter's rules live in your repository, in AGENTS.md, which Claude Code and Codex read every time they open the project, so every teammate's sessions follow them, whichever agent they use. The full guide for each stage comes from the installed Dev Charter (dev-charter guide plan), so every project gets the same guides and upgrading Dev Charter upgrades them everywhere. One plugin, for both agents, adds the stage skills (/dev-charter:plan in Claude Code, $dev-charter:plan in Codex) and the guardrails: Strict mode, and a reminder to tag code right after each edit.

Codex runs a plugin's guardrails only once you trust them (type /hooks in Codex), and again after each update that changes them; until then, dev-charter status tells the agent they are not running. Start Codex in your product's root folder: in a product of several repositories, each child repository's AGENTS.md gets a short pointer to the root's rules, because Codex started inside one would not find them otherwise.

Taking turns. Have one agent plan a task card and the other review it, or the other way round. Each records its turn on the card (dev-charter card turn CARD-005 --did "review pass 2"), so the card shows which agent did which stage, and the review guide has the second agent write its pass from the plan and the code before it reads the first one's. One agent works at a time; two agents at once in one folder are not coordinated.

Other coding agents that read AGENTS.md follow the rules too, but are not tested, and the guardrails need Claude Code or Codex.

The spreadsheet

Tab What it shows
Summary Features by area and status, share proven, what changed this week
Features One row per feature, the main view
Promises Product-wide rules and their status
Code map Each module and the features it serves, linked to the file on GitHub; unexplained code flagged
Work in progress The open task cards on teammates' branches, before they merge
Decisions Every decision, plain English first
Ideas Everything parked for later

Decide in the spreadsheet

The Features and Promises tabs have two yellow columns that belong to you, the product owner:

  • My decision, a dropdown. Agree (Must), Agree (Should) or Agree (Could): build it, at that priority (Agree keeps the priority it has). Defer: not now. Cut: no longer planned; it stays on record as Retired. Not reviewed: leave it as it is. Each row opens showing the current decision.
  • My note, anything to change, in your words: "reword check c", "merge with F-012".

Save the file, then ask your coding agent to "import my review" (or run dev-charter import). Dev Charter applies only the decisions you changed, records who decided and when in charter/review-log.md, puts your notes in charter/review-notes.md for the agent to go through with you, and rebuilds the spreadsheet. Until you import, the rebuild after each commit leaves your copy alone. Using Google Sheets or Numbers? Save or download it as an Excel file and import that: dev-charter import ~/Downloads/LEDGER.xlsx.

Choose how strict to be

Mode When Dev Charter checks Best for
Light In CI, after work is merged Prototypes, adding Dev Charter to an existing project gradually, teams without AI agents
Standard Before each commit Everyday work where a person reviews and commits
Strict At every file change: the coding agent is kept to its task's files, away from sign-offs, states and Dev Charter's settings Long unattended agent runs, shared core code

Switch modes with one line in charter.toml (then dev-charter sync), or turn Strict on in your own clone for an unattended run with the plugin's strict skill or dev-charter strict on. Only a person turns it off again.

Working as a team

Every feature, promise, decision and task card is its own small file, so people on different branches rarely touch the same one, and Dev Charter takes care of the rest:

  • IDs never collide once you have fetched. A new ID comes after every ID ever used on any branch git knows about, and is never reused. If two people still pick the same one, dev-charter renumber F-017 moves one of them, with every reference to it, and the pull-request check refuses a reused ID before it reaches your main branch.
  • No merge conflicts in the charter. Each task card keeps its own handoff, and parked ideas merge line by line.
  • See work before it merges. The Work in progress tab, and dev-charter status, list the open task cards on every teammate's branch, so neither people nor agents start work someone else is already doing.
  • The product owner approves product changes. dev-charter init --owner @name makes any pull request that changes a feature, a promise or a decision need that person's approval (turn on GitHub's "Require review from Code Owners" for your main branch).
  • One ledger for the team. dev-charter ci writes a GitHub workflow that, on each pull request, posts a plain-English summary of what it changes in the product and stops it on a reused ID or untagged new code; and, after each merge, runs the tests and puts the team's LEDGER.xlsx and status.html on a ledger branch.

Joining a team: after cloning, run dev-charter sync once. It installs the commit checks in your clone (git does not copy them), and CI checks every pull request either way.

Upgrading: uv tool upgrade dev-charter, then dev-charter sync --upgrade in each project, which moves it to the new version and says what it changed; then update the plugin in each coding agent (in Codex, codex plugin marketplace upgrade, then trust the changed hooks in /hooks).

Getting started

1. Install Dev Charter (once per machine, in a terminal):

uv tool install dev-charter

2. Add the Dev Charter plugin (once per machine). Inside Claude Code:

/plugin marketplace add joji-opensource/charter
/plugin install dev-charter@dev-charter

For Codex, in a terminal, then type /hooks in Codex and trust Dev Charter's hooks:

codex plugin marketplace add joji-opensource/charter
codex plugin add dev-charter@dev-charter

3. Set up your project (open your agent in your product's root folder):

/dev-charter:init

(In Codex, $dev-charter:init.) The agent asks six questions (product name, areas, user roles, how strict to be, the branch work merges into, and who approves product changes) and sets everything up. Prefer the terminal? dev-charter init asks the same questions.

4. Work

/dev-charter:feature  As a customer I want to save products for later …
/dev-charter:status   where are we?

(In Codex, $dev-charter:feature and $dev-charter:status.)

LEDGER.xlsx and status.html are rebuilt after every commit; dev-charter report rebuilds them any time. For the team's view on GitHub, run dev-charter ci once and commit the workflow it writes.

So that statuses include your tests, have your test runner write JUnit XML (with pytest: pytest --junitxml=reports/junit.xml) and tell Dev Charter where, with results = ["reports/*.xml"] in charter.toml. Name each test after the check it proves: test_F014_b_text_sent.

Setting up adds only your product's own content to your project: a charter.toml settings file, a charter/ folder with your features, promises, decisions, ideas and task cards, a short marked section in AGENTS.md (and a pointer to it in each child repository's), a few lines in .gitignore and .gitattributes, and git hooks that check each commit and refresh the spreadsheet. It never overwrites a hook you already have. Framework code never lives in your repository; upgrading Dev Charter upgrades every project that uses it.

What Dev Charter is not

  • Not a task tracker. It does not replace Jira, Linear or ClickUp for scheduling work. It records what the product promises and whether each promise is kept.
  • Not a test framework. It reads the results of the tests you already run.
  • Not tied to a language, stack or cloud. Anything that can carry a comment and produce JUnit XML works.
  • Not an agent runner. It does not start, schedule or coordinate coding agents: you choose which agent works on a card, one at a time, and the card records each turn.

License

Apache License 2.0. See LICENSE and NOTICE.

If you redistribute Dev Charter or a modified version, keep the LICENSE file, the copyright notices and the NOTICE file, as the License requires.

Metadata

Release files for dev-charter 0.2.0

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

Source distribution (sdist)

Source distribution for dev-charter 0.2.0
File Size Uploaded Provenance Actions
dev_charter-0.2.0.tar.gz 170.8 kB With provenance Details for dev_charter-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dev-charter 0.2.0
File Interpreter ABI Platform Actions
dev_charter-0.2.0-py3-none-any.whl Python 3 none any Details for dev_charter-0.2.0-py3-none-any.whl

Total release size: 276.1 kB

Release files / dev_charter-0.2.0.tar.gz

Download URL dev_charter-0.2.0.tar.gz
Size 170.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6e92f8f05330497e6576fa379a77970348633212959df192da81093b016227d0
BLAKE2b-256 checksum
How to use checksums
a4a747be3649d1d0001827a9da2326a2ad9f8acece88e213977fe1c507161f00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

Release files / dev_charter-0.2.0-py3-none-any.whl

Download URL dev_charter-0.2.0-py3-none-any.whl
Size 105.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d0ef57392fcea99398fcabaa4b0b307bbd33fb73b925235735f2cbe85a1852f
BLAKE2b-256 checksum
How to use checksums
07b7c35c6b7feb3b5cd0bf3b55be9fed95c5b47f73a345900fecedfb927483b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 27, 2026.

Transparency log

Security for dev-charter 0.2.0

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dev_charter-0.2.0.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 Oct 27, 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