Metadata-Version: 2.5
Name: rumo-cli
Version: 0.6.0
Summary: Your agent forgets, rumo doesn't: what each AI agent session did and what is left, in Markdown files and a terminal Timeline
Project-URL: Homepage, https://github.com/pedrobuzzi/rumo
Project-URL: Issues, https://github.com/pedrobuzzi/rumo/issues
Author: Pedro Buzzi
License-Expression: MIT
License-File: LICENSE
Keywords: ai-agents,claude-code,markdown,productivity,tasks,todo,tui,worklog
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business :: Scheduling
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Requires-Dist: textual>=1.0
Description-Content-Type: text/markdown

# rumo

**Your agent forgets. rumo doesn't.** rumo keeps what each AI agent session did and what is left, one
Markdown file per piece of work on your machine, through `/compact`, `/clear` and from one day to the
next. Run `rumo` to see it all as a Timeline and know what got done, what is left and who acts next,
without rereading a conversation.

![rumo Timeline](docs/timeline.svg)

- **Now**: what you are doing or waiting on, with the next step of each item.
- **Past**: what you finished, or decided not to do, in the last two weeks (answers "what did I do?" for a standup).
- **Later**: ideas and paused work, so nothing you meant to do gets lost. Each idea shows how many days
  it has sat untouched, and fades after 60.

Items can belong to a **group** (a project or initiative), shown as a label with its name on its
color; on titles and labels, color only ever means the group. One item is one line, plus its next open
steps (2 by default, `step_lines` in the config), each saying who acts: `manual`, `agent` or `waiting`, and
what git has left of its work (`git`). rumo shows
one horizon at a time (`h` steps Now, Later, Past), named in a banner atop the list, in four views: the **Timeline**,
**Projects** (one block per group), **Repos** (one block per repository of the item's latest
agent session) and **Tree** (the families: an item and the ideas and items that came from it). The interface is in English; the content (titles, notes, steps) is in your own
language.

Nothing leaves your machine. There is no server, no database and no sync with Jira or ClickUp
(ask your agent to update those if you want). The exceptions are `?` and `*`, which you start yourself:
`?` sends the item's text, and `*` the text of your ideas (with only the titles of the rest), to Claude
through your own Claude Code (`claude -p`). Nothing else does.

## Install

**1. The `rumo` command** (pick one):

```bash
uv tool install rumo-cli            # macOS, Linux, Windows (https://docs.astral.sh/uv/)
pipx install rumo-cli               # macOS, Linux, Windows
brew install pedrobuzzi/tap/rumo    # macOS, Linux
```

Then run `rumo`. The first run creates `~/rumo/` for your items and a config file with your
system language.

**2. Your AI agent** (optional, but this is where rumo shines):

- **Claude Code**, full experience (the agent keeps linked items up to date):

  ```
  /plugin marketplace add pedrobuzzi/rumo
  /plugin install rumo@rumo
  ```

  `/rumo` runs its `rumo` commands without asking. To let the agent run them without asking in later
  answers too (to link an item it offered to create, for example), add `"Bash(rumo:*)"` to
  `permissions.allow` in `~/.claude/settings.json`.

- **Codex, Gemini CLI, Cursor, GitHub Copilot and other agents** that read `SKILL.md` files,
  simple mode (create items and ideas, list and search them; no automatic updates):

  ```bash
  npx skills add pedrobuzzi/rumo
  ```

**Update**: `uv tool upgrade rumo-cli` (or `pipx upgrade rumo-cli`, `brew upgrade rumo`), and
`/plugin marketplace update rumo` in Claude Code, then `/reload-plugins` in sessions already open.
To get new plugin versions on their own, turn on auto-update for the `rumo` marketplace in `/plugin`
(Marketplaces tab); the `rumo` command updates with your package manager.

**Uninstall**: `/plugin uninstall rumo@rumo`, then `uv tool uninstall rumo-cli` (or
`pipx uninstall rumo-cli`, `brew uninstall rumo`). Your items in `~/rumo/` are never touched.

## Use

**In the terminal**: `rumo` opens the Timeline, and `rumo idea "<title>"` notes an idea from any shell
(`--group <key>` files it), naming up to three similar items it already knows, with the reason for
the ones you dropped.

| Key | Action |
|---|---|
| ↑ ↓ | move through the list |
| Tab | switch between the list, steps, PRs, family, explorations and sessions |
| `v` | next view: Timeline, Projects, Repos, Tree (`1` `2` `3` `4` go straight to one; rumo remembers it) |
| `h` | next horizon: Now, then Later, then Past, then Now again |
| `s` | change status (1-6 picks directly); `6` drops the item and asks why, in one line kept as its Left off |
| `g` | set the group or create one; inside, `r` renames, `c` recolors and `d` deletes the highlighted group (its items stay) |
| `t` | toggle tags |
| `n` | capture a new idea |
| `b` | branch: a new idea that comes from the selected item (same group and tags); Tab instead turns its next open step (the highlighted one, with the steps focused) into an item of its own, and that step checks itself when the new item is done |
| `?` | ask Claude about the item, in the background: a lens from the config, one of the next questions of its latest answer, or your own question. The answer lands under Explorations, and a notice says when |
| `*` | spark: Claude reads your ideas, paused and dropped items, oldest first, and brings 3 new ideas in a line each, with the direction it read in them. Throw any away with its number (or space), Enter adds the others to Later; Esc decides later. Sometimes it asks one or two short questions first |
| Enter | with the family focused: go to that item; with the explorations focused: read the answer (Esc goes back) |
| `e` | open the item in `$EDITOR` |
| `a` | add a step to the selected item, after its open steps (below the highlighted one when the steps have focus); in the dialog, Tab goes through `[agent]`, `[manual]` and `[waiting]` |
| Enter, shift+↑ ↓, `d`, space | with the steps focused: edit, move, delete (asks first) or check the highlighted step; Esc goes back |
| `x` | hide or show the done steps of every item (rumo remembers it) |
| `p` | add a PR link to the selected item (a title may follow the link); in the dialog, Tab switches the state |
| Enter, space, `e`, `d` | with the PRs focused: open the highlighted PR in the browser, change its state, edit it, or delete it (asks first) |
| `c` | copy the command that resumes the selected agent session |
| `/` | filter by title, tag, group or text (Esc clears) |
| `q` | quit |

**In an agent session**: type `/rumo` for a menu that fits the moment, or go straight to:

| Command | What it does |
|---|---|
| `/rumo new` | Track this session's work as an item. Looks for a similar idea first and offers to promote it. |
| `/rumo idea <text>` | Note something for later without leaving the topic. It comes from the linked item, and a similar idea you dropped is named with its reason. |
| `/rumo note <text>` | Keep a fact you learned (a conversation, a price, a number) under the item's Notes. |
| `/rumo link [item]` | Continue an existing item in this session. |
| `/rumo now` | List what is in progress, with the next step of each. |
| `/rumo find <text>` | Search past, current and future items. |
| `/rumo status` | Show where you left off on the linked item. |
| `/rumo step <text>` | Add a step to the linked item, or to the item it belongs to when none is linked. |
| `/rumo park [reason]` | Pause the item with an accurate "Left off" and stop updating it here. |
| `/rumo drop [reason]` | Drop the item for good, keeping why. |
| `/rumo done` | Finish the item (checks the steps, asks first, and offers what is left as ideas). |
| `/rumo ideas [30d]` | Review the ideas idle for a month: one plan to keep, drop, start or merge each, applied on your yes. |
| `/rumo unlink` | Stop updating the item from this session. |
| `/rumo sessions [7d]` | Catch up on the sessions open or active since the last review: create or update their items. |

`link`, `status`, `park`, `unlink` and `sessions` need Claude Code with the plugin, because they rely
on its session id and hook. Other agents get the rest.

`/rumo sessions` is for when you worked in several sessions without rumo. From any session, it reads
what each recent Claude Code session did (where it ran, what you asked, what it edited, the PRs it
opened) and matches it to an item: the one it is linked to, one that worked on the same branch, or one
about the same subject, before proposing a new item. Quick questions are proposed as ignored. You see
one short plan (update, link, create, ignore) and nothing is written until you say yes or adjust it.
Each review starts where the last one ended (3 days back the first time); `/rumo sessions 7d` looks
further back. Sessions run by scripts (`claude -p`) and in temporary folders are left out.

When you create an item or an idea, the agent checks whether it belongs to an existing group. If
other ungrouped items look like the same initiative, it suggests a new group (name and color) and
applies it only if you agree.

Steps are the heart of an item: while a session is linked, the agent checks off what got done, adds
what came up and keeps the next action as the first open step, after every response in which work
happened. If a turn did work and no linked item changed, the plugin reminds the agent before the turn
ends. Open steps are never deleted unless you ask, so half-done work stays in Now. One session can
follow several topics: when you start something no linked item covers, the agent asks once whether to
track it as a new item, add it as a step, or leave it out. Left off is one line and Context at most
three. After a compaction, even one in the middle of a turn, and when a session is resumed, the agent
gets its items back at once. `/clear` starts a new, unlinked session; `claude --resume <id>` picks the
old one up again.

Steps added or done since you last looked at an item are marked until you move on to another one:
`+2 ✓1` in the list, `new` and `done since you looked` in its detail. An answer from `?` that landed
says `1 answer`. An item that appeared since then says `new`. What you change yourself, in the
Timeline or with `e`, is never news.

`?` runs `claude -p` in the background, away from your CLAUDE.md, plugins and hooks, with web search
and nothing else, for up to 10 minutes; closing the Timeline does not stop it. The answer (about 350
words, citing its sources, in your language) ends with three next questions, which `?` offers the next
time. One question runs at a time per item; one that fails says why and can be asked again. With
`keep_digging` set in the config (a deep-research script called with `-q <question file> -o <folder>
-n <rounds>`), a `deep` lens runs it for up to 90 minutes, keeping its raw output in `research/<item>/`
next to your items.

`*` runs the same way, for up to 10 minutes, and a notice says when the ideas (or its questions) are
ready. Its ideas cross yours, move them somewhere else, or stay close to where you are heading, after
a quick web search that they answer a real need. A kept idea comes `from:` the idea it builds on, in
its group, with its one-line summary as Context, so `?`, `b` and `s` work on it like on any other. The
ones you throw away are remembered and never suggested again. All of it lives in `spark.json`, next
to your items.

You can add, edit, move, check and delete steps in the Timeline too. On your next message, a linked
session is told which steps changed since its last answer, so it neither redoes nor re-adds them, and
it starts none of them unless you ask. When the agent finishes a step and more remain, it ends with
the next one: an offer to start it, or a note that it is yours.

Each item lists its pull requests (GitHub, GitLab, Bitbucket or any other link) with their state:
open, draft, merged or closed. rumo finds them on its own: a PR a linked session opens (with
`gh pr create`, `glab mr create` or a tool that creates PRs) goes into its item at the end of the turn,
and while the Timeline is open, the GitHub CLI (`gh`, when installed and logged in) keeps their states
current and adds the PRs opened from the branches the item's sessions worked on. The agent updates a
state when it learns one, and you can add, edit, open and delete PRs in the Timeline too; a PR you
delete is never added back. The list shows how many PRs of each item are still open.

rumo also says what git has left of an item's work: files not committed and commits that no remote has,
in the repositories and branches its sessions worked on. While the Timeline is open, it checks every
few seconds and shows a `git` line under the item and in its detail (`web-app (main): 2 commits not
pushed · 1 file not committed`). When several items worked on one branch, it shows on the one updated
last. When you park or finish an item, the agent tells you too, and it never commits or pushes unless
you ask.

In a session without an item, the agent learns at the start what is in progress in that repository
(up to three items, with their next step), so it can answer "what is left?"; `rumo now` lists
everything in progress. Once that session edits files, the agent asks whether to track it. The first
time it also asks whether to keep asking in future sessions (`ask_to_track` in the config). If you
say no, it reminds you that the option exists every 15 days or 15 sessions.

## Item format

```markdown
---
title: Redirect after logout
status: doing
group: auth
tags: [bug, frontend]
created: 2026-10-11 10:08
updated: 2026-10-11 16:30
---

## Left off
Point the redirect to the home page; the e2e test is still missing.

## Context
Users land on a protected page after logging out.

## Steps
- [x] [agent] Fix the logout handler
- [ ] [manual] Ask for a PR review
- [ ] [waiting] Review from the team
- [ ] [agent] e2e test for logout

## PRs
- [open] https://github.com/you/web-app/pull/42 Redirect home after logout

## Sessions
- 2026-10-11 10:08 | web-app (main) | 7134aad0-4ba6-4583-9503-c08e98d28270 | /Users/you/repo/web-app
```

- Statuses: `idea`, `doing`, `waiting`, `paused`, `done`, `dropped`. `done: <date>` is set when an item is
  finished, `dropped: <date>` when it is dropped (its Left off says why).
- `from: <slug>` names the item this one came from. `## Notes` holds dated facts you learned
  (`- 2026-10-11 <text>`), `## Explorations` the answers from `?`, and a step that became an item reads
  `- [ ] [item] <text> → <slug>`. Files about an item (research) go in `research/<slug>/`.
- Steps say who acts: `[agent]` (the AI can do it), `[manual]` (you do it) or `[waiting]` (someone or
  something else must act first: a reviewer, the App Store, a client). When the first open step is
  `[waiting]`, the agent sets the item to `waiting`.
- PRs are one link per line, with the state in brackets (`open`, `draft`, `merged`, `closed`; none when
  unknown) and an optional title after the link.
- An idea can be just the frontmatter; it grows when you start working on it.
- A session line ending in `| closed` no longer updates the item.

## Config

`config.toml` lives in `~/.config/rumo/` on macOS and Linux (or `$XDG_CONFIG_HOME/rumo/`) and in
`%APPDATA%\rumo\` on Windows. `rumo index` prints its path.

```toml
folder = "~/rumo"
language = "pt-BR"     # language of the content the agent writes; defaults to your system language
tags = ["bug", "feature", "refactor", "research", "spike", "review",
        "infra", "deploy", "meeting", "docs", "support", "tech-debt"]
ask_to_track = true    # offer rumo in agent sessions without an item; unset until you first answer
step_lines = 2         # open steps shown under each item in the list, 1 to 6
explore_command = "claude"   # what `?` runs; a full path when claude is not on PATH
keep_digging = "~/bin/keep-digging"   # optional: enables the deep lens
deep_iterations = 3    # keep-digging rounds, 1 to 10

[lenses]               # what `?` offers, in this order (these are the defaults); write them in your language
open = "What is still unclear about this, and which of those doubts matters most?"
pessimistic = "Pessimistic scenario: how does this fail, and what would show it early?"
validate = "What is the cheapest real test to validate this in one week?"
competitors = "Who already does this, what do they charge, and where do they fail?"
smallest = "What is the smallest version that would still solve the problem?"

[groups.auth]
name = "Auth migration"
color = "blue"         # blue, green, yellow, orange, red, magenta, purple, cyan
```

Groups appear in the order of this file in every view. The last view, and when the agent last
asked about tracking, are remembered in `state.json`, next to `config.toml`; `explore.log`, next to
them, keeps what `?` and `*` run printed.

`RUMO_DIR` and `RUMO_CONFIG` override the folder and the config path.

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md) for the layout, tests, trying the plugin locally and how
releases work.

## License

[MIT](LICENSE)
