Skip to content

Backlog

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

backlog

Create, update, or delete backlog items (write-only).

backlog(entries?[], delete_ids?[])

Modes:

  • delete_ids=[] — batch delete items by ID
  • entries=[{...}] — batch create/update; id present = update, absent = create

Create entry fields: {project, priority, title, description?, notes?, component?, epic?, edges?[]} Update entry fields: {id, priority?, title?, description?, notes?, status?, component?, epic?, edges?[]}

  • priority — P0 (critical/blocking) through P6 (someday/maybe)
  • status — open or done
  • component — subproject/plugin tag (e.g., ouroboros-mcp)
  • epic — epic backlog item id, single-valued; must resolve to an existing item (alias-aware) or the write errors, empty clears it. May also be "$N": a back-reference to the item created/updated by entries[N] earlier in this same batch, so a child can reference its not-yet-created (server-assigned) epic parent, or an existing item can be re-parented onto a brand-new epic in one call. N must strictly precede the referencing entry's own position.
  • edges — [{label, target}]; creates an edge from the item being written to target (another item id). label is blocks, relates, or explains. This is the primary, inline way to record edges — link at creation time, when the reason ("filing this because X is blocked on it") is in hand. Retrofits: CLI ouroboros link/ouroboros unlink (see CLI).

A batch write's entries[] share one transaction: any entry's failure (including a bad epic value) rolls back the whole call — nothing partially applied.

Item IDs: auto-generated as <project-prefix>-<seq> (e.g., AC-1, AC-2)

Deleting an item cascade-removes every edge referencing it (as source or target).

get

Retrieve items by ID or filters. Returns summaries by default. Requires domain: "backlog".

get(domain, ids?[], projects?[], priority_min?, priority_max?, status?, component?, limit?, verbose?)

Modes:

  • ids=[] — batch fetch full items by ID (omits misses)

  • Filters — list summaries

  • projects — array of project names to filter

  • priority_min / priority_max — filter range, ordered P0 (highest severity) .. P6 (lowest) — e.g. priority_min: "P0", priority_max: "P2" returns P0-P2. Supplying an inverted range (priority_min lower severity than priority_max, e.g. min=P2/max=P1) is an ERROR naming both bounds, not a silent empty result.

  • status — open or done

  • component — subproject/plugin tag

  • limit — default 10, max 500

  • verbose — include notes (default false)

search

Full-text search across item titles, descriptions, and notes. Requires domain: "backlog".

search(domain, query, projects?[], priority_min?, priority_max?, status?, component?, limit?)
  • query — search string over title/description/notes; see Knowledge-Base#search for the AND-with-OR-fallback matching semantics shared across all three FTS domains. Backlog signals a widened query by prefixing the response text with (relaxed: no exact match, widened query terms to OR) rather than a per-row field.
  • projects — array of project names to filter
  • priority_min / priority_max — filter range, same P0-highest..P6-lowest ordering and inverted-range error as get above
  • status — open or done
  • component — subproject/plugin tag
  • limit — default 10, max 500

get with verbose: true includes an edges array sidecar (every edge touching the item, as source or target) alongside notes; omitted when verbose is false.

Note: Project, plan, and config management are CLI-only. See CLI for ouroboros project, ouroboros plan, ouroboros config, and ouroboros link/unlink usage.

Clone this wiki locally