Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<!-- BEGIN auto-count:Codex-headline -->
roam-code is a local codebase intelligence CLI for developers and AI coding agents.
It pre-indexes symbols, call graphs, dependencies, architecture, and git history into
a local SQLite DB. **267 commands · 243 MCP tools (16 in the default `core` preset) · 28 languages · 100% local · zero API keys.**
a local SQLite DB. **268 commands · 243 MCP tools (16 in the default `core` preset) · 28 languages · 100% local · zero API keys.**
<!-- END auto-count:Codex-headline -->

<!-- BEGIN auto-count:Codex-authoritative -->
Authoritative counts (AST-derived, env-independent): `command_count: 267 · canonical_count: 260 · category_count: 7 · mcp tools registered: 243 · mcp tools in core preset: 16`. The `roam surface --json` envelope additionally exposes `mcp_tool_count_by_preset` for per-preset counts.
Authoritative counts (AST-derived, env-independent): `command_count: 268 · canonical_count: 261 · category_count: 7 · mcp tools registered: 243 · mcp tools in core preset: 16`. The `roam surface --json` envelope additionally exposes `mcp_tool_count_by_preset` for per-preset counts.
<!-- END auto-count:Codex-authoritative -->

**Package:** `roam-code` on PyPI. Entry point: `roam.cli:cli`.
Expand Down Expand Up @@ -151,7 +151,7 @@ roam health

```
src/roam/
cli.py # Click CLI entry point — LazyGroup, _COMMANDS dict, _CATEGORIES. 267 command names (260 canonical + 7 aliases).
cli.py # Click CLI entry point — LazyGroup, _COMMANDS dict, _CATEGORIES. 268 command names (261 canonical + 7 aliases).
mcp_server.py # FastMCP server (16 tools in core preset; 243 in `full`) + `roam mcp` CLI command
mcp_extras/ # MCP-native enhancements: sampling, watcher, session, progress, completions
sampling.py # Sampling-driven result compression (summarize=True) via Context.sample
Expand Down Expand Up @@ -711,7 +711,7 @@ Index-aware text search (added on top of grep / refs):
- `roam delete-check [--source working|staged|pr|head] [--ci]` — gates the diff on surviving references; exits 5 on BREAK-RISK with `--ci`.
- `roam history-grep <pattern> [--polarity]` — git pickaxe (-S/-G) with author/date and introduced/removed annotation.

Run `roam --help` for the 5-verb core; `roam --help-all` for all 267 command names; `roam surface --json` for the machine-readable inventory. Use `roam --json <cmd>` for structured output.
Run `roam --help` for the 5-verb core; `roam --help-all` for all 268 command names; `roam surface --json` for the machine-readable inventory. Use `roam --json <cmd>` for structured output.
Use `roam --sarif health` for CI integration (SARIF 2.1.0).

## Compiler tooling (2026-06-02 wave)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<sub>Credential-free · 100% local by default (opt-in `metrics-push` is the only outbound surface) · tamper-evident `ChangeEvidence` packets · Apache 2.0 · runs entirely on your machine</sub>

<!-- BEGIN auto-count:readme-headline-counts -->
<sub>267 commands · 243 MCP tools (16 in the default `core` preset) · 28 languages</sub>
<sub>268 commands · 243 MCP tools (16 in the default `core` preset) · 28 languages</sub>
<!-- END auto-count:readme-headline-counts -->

![roam terminal demo](docs/assets/roam-terminal-demo.gif)
Expand Down Expand Up @@ -378,7 +378,7 @@ Full release notes in [CHANGELOG.md](CHANGELOG.md).
## Core commands

<!-- BEGIN auto-count:readme-canonical-mention -->
**Lead with the 5 verbs.** The [5 core commands](#core-commands) cover ~80% of agent workflows: `understand`, `context`, `retrieve`, `preflight`, `critique`. The remaining ~262 commands are detail surface for specialised workflows (taint, fleet, cga, oracle, eval, …) — they're called by agents on demand, not memorised. This is intentional design; under the hood the canonical surface is **267 commands (260 canonical + 7 aliases) organised into 7 categories** (aliases for muscle memory: `math` → `algo`, `churn` → `weather`, `digest` / `snapshot` / `trend` → `trends`, `onboard` → `understand`, `refs` → `uses`), but you don't need to know that to start.
**Lead with the 5 verbs.** The [5 core commands](#core-commands) cover ~80% of agent workflows: `understand`, `context`, `retrieve`, `preflight`, `critique`. The remaining ~263 commands are detail surface for specialised workflows (taint, fleet, cga, oracle, eval, …) — they're called by agents on demand, not memorised. This is intentional design; under the hood the canonical surface is **268 commands (261 canonical + 7 aliases) organised into 7 categories** (aliases for muscle memory: `math` → `algo`, `churn` → `weather`, `digest` / `snapshot` / `trend` → `trends`, `onboard` → `understand`, `refs` → `uses`), but you don't need to know that to start.
<!-- END auto-count:readme-canonical-mention -->

| Verb | What it does |
Expand All @@ -393,7 +393,7 @@ The full surface spans **7 categories** — Getting Started, Daily Workflow, Cod

<details>
<!-- BEGIN auto-count:readme-cli-command-list-summary -->
<summary><strong>Full command reference — canonical command list (all 260)</strong></summary>
<summary><strong>Full command reference — canonical command list (all 261)</strong></summary>
<!-- END auto-count:readme-cli-command-list-summary -->

The complete, always-current list with flags and examples lives in the [Command Reference](https://roam-code.com/docs/command-reference).
Expand Down
2 changes: 1 addition & 1 deletion docs/ci-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Any roam command can be passed via the `commands` input. Common choices:
| `breaking` | Detect breaking API changes |
| `conventions` | Naming convention violations |

Run `roam --help` for all 267 commands.
Run `roam --help` for all 268 commands.

## Exit Codes

Expand Down
4 changes: 2 additions & 2 deletions llms-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ roam-code is the local CLI that runs pre-change gates before every agent edit
and compiles tamper-evident, content-hashed evidence packets after every change.
100% local, no API keys, no telemetry.
<!-- BEGIN auto-count:llms-install-headline -->
267 commands, 243 MCP tools, 28 languages, 100% local, zero API keys.
268 commands, 243 MCP tools, 28 languages, 100% local, zero API keys.
<!-- END auto-count:llms-install-headline -->

## Cross-references
Expand Down Expand Up @@ -262,5 +262,5 @@ and `roam surface --json` for the machine-readable inventory.
<https://github.com/Cranot/roam-code/discussions/37#discussioncomment-16967163>

<!-- BEGIN auto-count:llms-install-footer -->
Run `roam --help` for all 267 commands (+ alias pairs).
Run `roam --help` for all 268 commands (+ alias pairs).
<!-- END auto-count:llms-install-footer -->
2 changes: 1 addition & 1 deletion skills/roam/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ roam minimap --update # update sentinel block in CLAUDE.md

## Discovering More Commands

This skill covers the most common commands, but roam has 267 commands.
This skill covers the most common commands, but roam has 268 commands.
To explore what's available:

```bash
Expand Down
2 changes: 2 additions & 0 deletions src/roam/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def _deprecation_record(name: str) -> dict | None:
"permit": ("roam.commands.cmd_permit", "permit_cmd"),
"postmortem": ("roam.commands.cmd_postmortem", "postmortem_cmd"),
"pr-replay": ("roam.commands.cmd_pr_replay", "pr_replay_cmd"),
"service-report": ("roam.commands.cmd_service_report", "service_report_cmd"),
"article-12-check": ("roam.commands.cmd_article_12_check", "article_12_check_cmd"),
"capabilities": ("roam.commands.cmd_capabilities", "capabilities_cmd"),
"skill-generate": ("roam.commands.cmd_skill_generate", "skill_generate_cmd"),
Expand Down Expand Up @@ -492,6 +493,7 @@ def _deprecation_record(name: str) -> dict | None:
"permit",
"postmortem",
"pr-replay",
"service-report",
"guard",
# Roam Guard family (Wave 11-20): the PR-gating surface.
"guard-pr",
Expand Down
Loading
Loading