Skip to content

Roadmap

Jae Gangemi edited this page Jul 29, 2026 · 8 revisions

roadmap

Mutate per-project roadmap (singleton). Roadmaps organize work into six sections: now (active), next (planned), deferred, parked (blocked), dropped, and done (completed). Each item carries two single-valued grouping axes — component (structural) and epic (optional; an epic IS a backlog item, per the EPIC: title convention) — plus an optional sort position within its section. Reads via get/search with domain: roadmap; writes via the roadmap tool.

roadmap(op, project, section?, to?, id?, title?, body?, component?, epic?, why?, resume_trigger?, kb?[], ticket?[], blocked_by?[], position?)

Operations

  • op (required) — add, update, move, reorder, done, or remove
  • project (required) — project name (roadmap is a per-project singleton)

Add

Create a new roadmap item in a section.

roadmap(op="add", project, section, title, body?, component?, epic?, why?, resume_trigger?, kb?[], ticket?[], blocked_by?[], position?)
  • section — now, next, deferred, parked, dropped, or done
  • title — item title (required)
  • body — item description
  • component — structural grouping tag, single-valued
  • epic — the id of the epic backlog item this item belongs to, single-valued (e.g. "BB-707")
  • why — reason for parking (parked/deferred sections)
  • resume_trigger — condition to resume (parked/deferred sections)
  • kb — array of related KB doc IDs
  • ticket — array of ticket references (e.g., ["AC-1", "GH-42"])
  • blocked_by — array of cross-project blockers: {project, ref, note?} (e.g., [{project: "breadboard", ref: "bb#523"}])
  • position — sort position within the section, ascending (unset/0 sorts by add order)

Passing a list/array for component or epic is rejected — both axes are single-valued.

A roadmap caps at 500 items total across all sections (done items count). At the cap, add/seed are rejected with an actionable error — archive or remove done items (op="remove") to free room. Update/move/reorder/remove/done are never blocked by the cap.

Returns: {id, section}

Update

Update an item's fields (all optional; only changed fields need to be specified).

roadmap(op="update", project, id, title?, body?, component?, epic?, why?, resume_trigger?, kb?[], ticket?[], blocked_by?[])
  • id — item ID (required)
  • title, body, component, epic — fields to update (component/epic single-valued)
  • why, resume_trigger — parked/deferred item details
  • kb, ticket, blocked_by — replace existing arrays

Returns: {id}

Move

Move an item to a different section, optionally setting its position in the new section.

roadmap(op="move", project, id, to, position?)
  • id — item ID (required)
  • to — target section (required)
  • position — sort position in the target section

Returns: {id, section}

Reorder

Set an item's sort position within its current section.

roadmap(op="reorder", project, id, position)
  • id — item ID (required)
  • position — sort position (required)

Returns: {id, position}

Done

Mark an item complete (moves to done section).

roadmap(op="done", project, id)
  • id — item ID (required)

Returns: {id, section: "done"}

Remove

Delete an item.

roadmap(op="remove", project, id)
  • id — item ID (required)

Returns: {id, removed: true}

get

Retrieve a roadmap by project. Returns structured JSON (default), Markdown, or a rich HTML fragment. Requires domain: "roadmap".

get(domain="roadmap", projects?[], format?, by?, component?, epic?, verbose?)
  • projects — array with project name; projects[0] is required
  • format — structured (default, JSON), md (Markdown render), or html (self-contained HTML fragment render)
  • by — grouping axis: component (default) or epic; the other axis renders as an inline chip on each item (format=md|html only)
  • component — filter items to this component (structured, md, and html output)
  • epic — filter items to this epic backlog item id (structured, md, and html output); combines with component when both are set
  • verbose — include notes (default false)

When grouping by epic, each epic's group header resolves to the referenced backlog item's title (its leading EPIC: prefix stripped); an epic id with no matching backlog item falls back to the raw id. An epic group header additionally carries a ⛔ marker when the epic backlog item is itself the target of an incoming blocks edge (see Knowledge-Base for edges).

format=html renders a self-contained, dependency-free fragment (<title> + inline <style> + a .wrap container — no <!doctype>/<html>/<head>, so it's embeddable as-is) with a generic/brand-neutral theme (CSS custom properties, prefers-color-scheme default, data-theme="dark"/"light" overrides). Items render as cards grouped by lane: a title, a state badge (In flight/Next/Deferred/Parked/Dropped/Shipped), the other axis + kb/ticket as chips, a blocked_by ⛔ callout, and a why/resume_trigger gate on parked items.

Example — fetch roadmap as Markdown, grouped by epic:

{
  "domain": "roadmap",
  "projects": ["acme-corp"],
  "format": "md",
  "by": "epic"
}

search

Full-text search across roadmap documents (type=roadmap, indexed by project). Requires domain: "roadmap".

search(domain="roadmap", query, projects?[], limit?)
  • query — search string over item titles and bodies; see Knowledge-Base#search for the AND-with-OR-fallback matching semantics (shared with kb/backlog search) — a widened result carries relaxed: true per document, same as kb.
  • projects — array of project names to filter
  • limit — default 10, max 500

Example:

{
  "domain": "roadmap",
  "query": "async telemetry",
  "projects": ["breadboard"]
}

Note: ouroboros roadmap show <project> [--by component|epic] [--component X] [--epic <id>] renders the roadmap as Markdown from the CLI; add --html to render the HTML fragment instead, and -o <file> to write it wrapped in a minimal standalone <!doctype html> document that opens directly in a browser (without -o, the bare fragment prints to stdout). Use roadmap add/update/move/reorder/done/remove to mutate from the command line — see ouroboros roadmap --help for full usage.

Seed (CLI-only)

Bulk-populate the roadmap from filtered backlog items — the "auto-build" op. CLI-only (not an MCP roadmap op), per the narrow-MCP-surface rule.

ouroboros roadmap seed <project> --backlog [--priority P0..P6] [--component X] [--status open|done] [--replace]
  • --backlog — required, selects backlog as the source
  • --priority — max priority to include (e.g. P2 includes P0-P2); default no cap. This is a cap, not the exact-match filter backlog list --priority uses — the two commands' --priority flags have different semantics despite sharing a name.
  • --component — filter to one component
  • --status — open (default) or done
  • --replace — re-sync already-seeded items instead of skipping them

Bucketing: status=done → Shipped; open P0 → In flight (now); open P1/P2 → Next; open P3+ or no priority → Parked. Each fetched item's component/epic copy onto the new roadmap item, and its backlog id becomes the item's ticket ref.

Dedup: additive by default — a backlog id already present as a ticket ref on some roadmap item is skipped, so re-running is idempotent. --replace removes and re-adds only the items matching a fetched backlog id (re-bucketing on a changed priority/status); roadmap items with no matching backlog id (manual entries) are never touched. Note --replace only re-syncs items matching the CURRENT --priority/--component/--status filter/fetch — a previously-seeded item now excluded by a narrower filter is left as-is in its old bucket, not removed.

Prints a summary: seeded <project>: added N, skipped M, replaced K.

Clone this wiki locally