Repository navigation
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;
idpresent = 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 —
openordone -
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 byentries[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.Nmust strictly precede the referencing entry's own position. -
edges —
[{label, target}]; creates an edge from the item being written totarget(another item id).labelisblocks,relates, orexplains. 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: CLIouroboros 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).
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_minlower severity thanpriority_max, e.g. min=P2/max=P1) is an ERROR naming both bounds, not a silent empty result. -
status —
openordone -
component — subproject/plugin tag
-
limit — default 10, max 500
-
verbose — include notes (default false)
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
getabove -
status —
openordone - 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, andouroboros link/unlinkusage.