pre-1.0for people and AI agents
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.
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.
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.
A todo that waits for another todo says so in its text. The agent runs todoer done in its worktree, so the patch of the pull request removes the file. todoer pr apply --merge removes it on your branch.
Limit the sign-in attempts for each account. Do this after fix-the-login-crash.
The pull request. The folder name is its id and its title. pr.md holds the author and the base. It names no branch: the branch that holds the folder is the branch that it goes into. The todos of the pull request are the todo files that its patch removes. --update writes the whole file again, and keeps the old description when you do not give a new one.
--- author: [email protected] base: f9582bb76d212ae8cfec79eeb2ced593240cf464 --- Use the retry constant. Add a test.
The latest submit as one squashed commit. It holds all the work, also the removed todo file. Only the folder of the pull request is not in it. todoer pr apply --merge applies it to the working tree of the current branch with git apply --3way. todoer pr show reads its diff for the review.
From 5a49e712aa8c0b763a4057f2910c84ea08044048 Mon Sep 17 00:00:00 2001 From: You <[email protected]> Subject: [PATCH] todoer: merge fix-the-login-crash diff --git a/.todoer/todos/fix-the-login-crash.md b/.todoer/todos/fix-the-login-crash.md deleted file mode 100644 --- a/.todoer/todos/fix-the-login-crash.md +++ /dev/null @@ -1,2 +0,0 @@ -Steps to reproduce: sign in with an expired token. -The app stops after the third retry. diff --git a/src/auth.rs b/src/auth.rs --- a/src/auth.rs +++ b/src/auth.rs @@ -1,4 +1,4 @@ fn login() { - let retries = 3; + let retries = MAX_RETRIES; connect(retries); }
The review of the latest patch: only the comments. pr comment writes the file, and you commit it when the review is done. There is no verdict: a merge accepts the pull request.
### c1 `src/auth.rs:2` [email protected] > let retries = MAX_RETRIES; Add a test for the retry path.
The areas of the code. The patterns use the gitignore rules. The last pattern that matches a path wins. pr show --summary shows how many files and lines each area changes. -a security shows the diff of these areas only. -x e2e-tests,unit-tests hides them.
security: /src/api/auth tests: /tests e2e-tests: /tests/e2e unit-tests: *.test.js
Each step uses git and the files above. The help text, todoer help, shows every command on one screen.
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 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
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.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.todoer pr comment. Then commit the review.todoer pr submit --branch <its branch> -n <pr> --update in your checkout, which writes the whole pull request again and removes the review.todoer 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.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.