todoer

pre-1.0for people and AI agents

Todos and pull requests, as plain files in your git repo.

todoer is one binary. Agents and people work on the todos in git worktrees, and review the pull requests on the command line. No database, no server, no account.

~/code/my-project
todo3
fix-the-login-crash .todoer/todos/fix-the-login-crash.md open
write-the-api-docs .todoer/todos/write-the-api-docs.md open
add-rate-limiting .todoer/todos/add-rate-limiting.md open
pull request0
done0
main 83f9b44 Plan the auth work
agent 1writes the code, submits and updates the pull request agent 2reviews the pull request with you and adds your comments youyou run it, or ask an agent to. Agents run commands as you: todoer and git use your git email
// everything is a file

Nothing to host. It is all in git.

A todo is a file in .todoer/todos/. Its name is its id. A pull request is a folder in .todoer/prs/, on the branch that it goes into. todoer never commits: you do. There is no settings file. A person and an agent can read every file, and git history keeps every change.

.todoer/todos/fix-the-login-crash.md

A todo. The file name is its id and its title. The file is plain markdown: what to do and how to check it. A todo has no assignee and no state.

Steps to reproduce: sign in with an expired token.
The app stops after the third retry.
// the board

Plan the work, do the work, review the work.

Each step uses git and the files above. The help text, todoer help, shows every command on one screen.

plan3

A todo is a file with a name

add writes .todoer/todos/<name>.md. The text can come on stdin. show prints all the data of a todo. ls shows the open pull request of each todo.

todoer add fix-the-login-crash

The todos go with the work

The agent runs done in its worktree. The patch removes the todo file, and the merge removes the todo on your branch. A new todo of the work goes into the pull request too.

todoer done fix-the-login-crash

Feature branches with their own todos

Agents submit into a feature branch. When you submit the feature branch into main, its patch carries every todo change of the feature: done todos, new todos and open pull requests.

todoer pr submit --branch feature-x -n feature-x
work3

Any branch, your commits

todoer knows no main branch, and it never commits. It changes the files in your working tree, and you decide what to commit. Give an agent one todo or a list.

Agents work in worktrees

One command in your checkout: pr submit --branch <the branch of the work> -n <name> squashes every commit since the work started from your branch into one, and writes the pull request in your working tree. There is no hosting service.

One command makes it a skill

skill --init writes the workflow as a SKILL.md for Claude Code, Codex and Cursor, in the repository, or outside a repository in your home folder. todoer skill prints it.

review4

A pull request is a patch

The pull request lands on your branch, so you review and merge it there. pr apply --merge applies the patch, removes the pull request and its todos, and stages it all. An edit of the todo on your branch does not stop the merge. You commit it as todoer: merge <name>. On a conflict, nothing changes.

A merge is the approval

There is no approve and no verdict. A committed review asks for changes. pr submit -n <pr> --update writes the whole pull request again and removes the review. pr apply --merge stops while the review has a comment.

Try a pull request of anyone

On a branch of your own, pr apply <pr> puts the patch in your working tree, with no commit. Run the code, or change it and update the pull request with -n <pr> --update. On a conflict, you resolve the markers, and the update moves the base forward.

Code areas in the summary

Name the parts of the code in .todoer/areas, such as security or e2e-tests. pr show --summary shows how many files and lines each area changes. -a security shows only these files. -x unit-tests hides the tests.

// review in the terminal

Comment on a line, a file, a folder or the whole thing.

Ask a second agent, not the one that wrote the code, to explain the patch and to add your comments. It runs pr show and pr comment. Or read it yourself with todoer pr show <pr>. When the review is done, commit review.md. Select a target:

A target can also name a file that the pull request does not change, to point to code that must change too.

$ todoer pr comment fix-the-login-crash src/auth.rs:2 "Add a test for the retry path."
// the workflow

From a todo to a merge.

You plan and decide. Agents write the code, submit and update. todoer never commits: you commit each step on your branch, and push it when you want.

$ cd ~/code/my-project
$ todoer skill --init
wrote .agents/skills/todoer/SKILL.md  (Codex, Cursor)
wrote .claude/skills/todoer/SKILL.md  (Claude Code, Cursor)
$ todoer add fix-the-login-crash "Steps to reproduce: ..."
.todoer/todos/fix-the-login-crash.md

Step by step, with what to tell your agent: read the guide.

  1. Implement in a worktreeTell your agent: “implement fix-the-login-crash in a worktree”, or give a list of todos. The agent makes a new branch from your branch, writes the code, runs todoer done and commits.
  2. Submit into your branchOne command in your checkout: todoer pr submit --branch fix-login -n <name>. It squashes every commit of fix-login since it started from your branch into one, and writes the pull request in your working tree. Commit it.
  3. ReviewAsk another agent to explain the patch and to add your comments with todoer pr comment. Then commit the review.
  4. UpdateAsk an agent to do the comments. It restores the patch in a new worktree, so the first branch can be gone. Then it runs todoer pr submit --branch <its branch> -n <pr> --update in your checkout, which writes the whole pull request again and removes the review.
  5. Mergetodoer pr apply <pr> --merge. There is no approve: a merge accepts the pull request and closes it. Without --merge, pr apply only puts the changes in your working tree, for follow-up work. It stages the merge for one commit, todoer: merge <pr>, and stops while the review has comments.

Install

curl -fsSL adam.sobaniec.com/todoer/install.sh | bash

The script installs todoer to /usr/local/bin, for all users. If that folder is not writable, the script stops with an error. Then run it with sudo:

curl -fsSL adam.sobaniec.com/todoer/install.sh | sudo bash

Or pick your own folder with INSTALL_DIR. It must be a folder on your PATH:

curl -fsSL adam.sobaniec.com/todoer/install.sh | INSTALL_DIR=~/.local/bin bash

A single binary for Linux and macOS (x64 and arm64), no runtime needed. Update it any time with todoer update. Run todoer help to see every command. todoer is not released yet: until version 1.0.0, any part of it can change.