brindley
v6.0.0Design fully before anyone digs — in-repo Markdown initiatives for AI-agent workflows, plus an MCP server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_collection
Mark a folder as a collection: adds `brindley: 1` and the given details to its README.md front-matter, creating the folder and README if needed. Works on a folder that already holds numbered initiative files. The first collection in a repo also returns the agent-instructions snippet for AGENTS.md / CLAUDE.md.
| Parameter | Type | Description |
|---|---|---|
path * | string | Folder relative to the repo root, e.g. "docs/initiatives/LOCK-42/slot-booking" |
agent | string | Repo workflow agent file for this collection |
aliases | array | Short names for references, e.g. ["lgm"] for "lgm#22" |
columns | README table columns: { active: [...], completed: [...] }. null removes. | |
dimensions | Scoring dimensions: name → { values (first ranks first), required?, default? } or a list of values. null removes. | |
docs | array | Globs of project docs this collection usually affects |
folders | Opt in to status folders: status → folder name, e.g. { done: done }. Status changes then move files; run tidy for existing ones. null removes (files stay where they are). | |
graph | Dependency graph settings: direction, arrows, related, show, external, themes, enabled. null removes. | |
ignore | array | Paths or globs relative to the collection folder to ignore, e.g. ["code-review/", "completed/24-*-rationale.md"] |
link | string | External ticket/epic URL |
name | string | Name used in references (name#n); defaults to the folder name |
owner | string | |
statuses | object | This collection's own status words mapped to core statuses |
summary | string | |
tags | object | Tags (themes) with one-line descriptions |
title | string | |
types | array | Initiative types this collection uses; others are flagged |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
update_collection
Edit a collection README's details, including its status (active | done | abandoned).
| Parameter | Type | Description |
|---|---|---|
collection * | string | Collection name, alias or folder path |
agent | string | Repo workflow agent file for this collection |
aliases | array | Replace the explicit aliases |
columns | README table columns: { active: [...], completed: [...] }. null removes. | |
dimensions | Scoring dimensions: name → { values (first ranks first), required?, default? } or a list of values. null removes. | |
docs | array | Globs of project docs this collection usually affects |
folders | Opt in to status folders: status → folder name, e.g. { done: done }. Status changes then move files; run tidy for existing ones. null removes (files stay where they are). | |
graph | Dependency graph settings: direction, arrows, related, show, external, themes, enabled. null removes. | |
ignore | array | Paths or globs relative to the collection folder to ignore, e.g. ["code-review/", "completed/24-*-rationale.md"] |
link | string | External ticket/epic URL |
owner | string | |
status | string | |
statuses | object | This collection's own status words mapped to core statuses |
summary | string | |
tags | object | Tags (themes) with one-line descriptions |
title | string | |
types | array | Initiative types this collection uses; others are flagged |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
version
The Brindley server's version (computed from git tags + Conventional Commits) and build commit.
ignore
Add or remove a collection's `ignore:` patterns — numbered files that are not initiatives (companion notes, reviews). .gitignore semantics, relative to the collection folder: `#` comments, `!` re-includes, leading `/` anchors, trailing `/` = folder, no `/` = any depth. Use dry_run to preview which files a change would ignore. Ignored numbers are still never reused.
| Parameter | Type | Description |
|---|---|---|
collection * | string | Collection name or folder path |
add | array | |
dry_run | boolean | |
remove | array | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
collections
Every collection with its details, counts by initiative status, and number ready.
| Parameter | Type | Description |
|---|---|---|
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
fields
Every front-matter field an initiative (ticket/issue) can have in a collection, and the values each accepts: statuses and their aliases, types, tags, scoring dimensions (in ranking order, with any default and whether required), and the free-text fields — with the tool that sets each. Give a `collection` or an initiative `ref`; with neither, every collection.
| Parameter | Type | Description |
|---|---|---|
collection | string | |
ref | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
list
List initiatives (a.k.a. tickets or issues) across the repo, or in one `collection`, optionally filtered.
| Parameter | Type | Description |
|---|---|---|
collection | string | |
order_by | array | Scoring dimensions to order by, e.g. ["priority", "impact"]: each by its declared order (first value first), later ones breaking ties, then by number. Unset values use the default, else sort last. |
owner | string | |
ready | boolean | |
status | string | |
tag | string | |
type | string | |
where | object | Scoring dimensions to filter by: permitted values per dimension, e.g. { "priority": ["critical", "high"] }. An unset value counts as the dimension's default, if it has one. |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
get
Full detail of one initiative (ticket/issue), including its dependency report (each dependency classified satisfied / blocking / external / missing), dependants, open questions and acceptance criteria.
| Parameter | Type | Description |
|---|---|---|
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
collection | string | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
ready
Initiatives (tickets/issues) that are designed with nothing blocking — what an agent can pick up now — in suggested order (prerequisites first).
| Parameter | Type | Description |
|---|---|---|
collection | string | |
type | string | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
report
Write a one-page progress report for people outside the team — a self-contained HTML file (default build/brindley-report.html) — from the collections and their git history: headline figures, work complete against scope over time, what was delivered, added and taken out this period, workstreams, and what needs attention. Returns the file's path and the figures. Changes no initiative.
| Parameter | Type | Description |
|---|---|---|
branches | Branches to count in-progress work on, as globs ("!" excludes); false for none. Default: all. | |
collection | string | Just one collection. |
mode | string | Where the page's light/dark switch starts (default auto: the viewer's setting). |
out | string | Output file, relative to the repository root. |
palette | string | sea (default), plum, forest, fire, teal, slate — or a .json / .css palette file. |
since | string | Start of "this period": a tag (v1.2.0), a date (2026-09-01) or a window (4w, 30d, 3m). Default: the latest release that something changed after. |
until | string | Report as of a tag, date or window; default the latest commit. |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
worktrees | Also count other worktrees' uncommitted work: true for all, or globs. Default: none. |
graph
Dependency graph as an adjacency list plus Mermaid: a collection's active work, one initiative's neighbourhood, or a tag (theme) across collections.
| Parameter | Type | Description |
|---|---|---|
arrows | string | from: edges point at what an initiative needs (X depends on Y → X --> Y); to: the reverse. |
collection | string | |
direction | string | Where the do-first work goes: left-to-right, right-to-left, top-to-bottom, bottom-to-top. |
external | boolean | false leaves out external dependencies and other collections' initiatives. |
include_done | boolean | |
milestones | boolean | Mark each node with the icons of the milestones it counts towards. |
ref | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
related | boolean | Draw ## Related links as dotted edges. |
show | array | Statuses to include as nodes beyond active work, e.g. ["done"]. |
tag | string | |
themes | Show themes: "box", "icon", "label" (or true), or a list such as ["box", "icon"]. | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
questions
Unresolved open questions, grouped by initiative. Abandoned and superseded initiatives are left out — dropping the work settles them — unless asked for by `ref`.
| Parameter | Type | Description |
|---|---|---|
collection | string | |
include_implementation | boolean | |
ref | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
next_question
The next unresolved blocking question in one initiative (the first labelled after `after`, if given), with its label (`id`) and the count remaining. Drives the design-review conversation.
| Parameter | Type | Description |
|---|---|---|
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
after | string | A question label, e.g. "Q3": return the first open question labelled after it. |
collection | string | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
tags
Every tag in use plus declared-but-unused ones, with descriptions, counts by status, and the theme overview doc if one exists (a doc whose front-matter says `theme: <tag>`).
| Parameter | Type | Description |
|---|---|---|
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
milestones
Every milestone (a doc with `milestone: <slug>` front-matter) and where it stands: reached, not reached or unspecified; done against counted members; what is still to do (initiatives and included milestones); unconfirmed external members; and when it was reached, from git history. Give `milestone` (a slug) for just one, with its members.
| Parameter | Type | Description |
|---|---|---|
milestone | string | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
check_ready
Is this initiative (ticket/issue) complete and ready to work on? Runs the preflight the implement and spike briefs start with: status, dependencies, blocking open questions, acceptance criteria (or ## Measures for a spike), validation errors. `ready: false` means stop and report, don't start.
| Parameter | Type | Description |
|---|---|---|
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
collection | string | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
validate
Check initiatives and collection structure: missing or unknown statuses, status vs folder vs body-prose disagreements, files not in their collection's status folder, duplicate numbers, dangling references, cycles, broken links (with where a moved file now lives), stale READMEs. Returns errors and warnings with file and line.
| Parameter | Type | Description |
|---|---|---|
collection | string | |
docs | boolean | Also lint project docs |
rules | array | Only these rules, e.g. ["status-not-in-folder", "status-prose-mismatch"] |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
check_docs
Lint project docs for history phrasing, design debate and links into initiatives (docs must describe only what the code is). Defaults to docs changed vs HEAD.
| Parameter | Type | Description |
|---|---|---|
paths | array | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
create
Create a new initiative (ticket/issue). The number is coined automatically by scanning the working tree, other worktrees, branches and history. A folder path that isn't a collection yet is marked as one. A milestone this reaches, or stops being reached, is reported under `milestones`.
| Parameter | Type | Description |
|---|---|---|
collection * | string | Collection name, or a folder path |
title * | string | |
depends_on | array | Initiatives (e.g. "lgm#22", 23) or ticket URLs to link under ## Dependencies |
goal | string | |
owner | string | |
related | array | Initiatives or URLs to link under ## Related (non-blocking) |
tags | array | |
type | string | feature, bug, refactor, perf, docs, chore, spike, … |
why | string | Why the dependencies are needed (appended to each depends_on bullet; related links get no note — add one with set_dependencies) |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
update
Edit an initiative's (ticket's/issue's) front-matter fields or H1, or replace a named body section — including on a done initiative, which is how settled work is refined (no status change needed). `status` records the status an initiative already has when its front-matter has none (no lifecycle checks); to change a recorded status, use set_status. Cannot change its number or filename. A milestone this reaches, or stops being reached, is reported under `milestones`.
| Parameter | Type | Description |
|---|---|---|
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
collection | string | |
content | string | The section's body, without its heading (a leading heading naming the section is dropped). |
dimensions | object | Scoring dimension values to set, e.g. { "priority": "high" }; each must be one of the dimension's values. null clears one. |
docs | array | |
owner | string | |
reason | string | With `status`: why it was abandoned, superseded or deferred, if known. |
section | string | Name of the "## " section to replace, or add if missing. |
status | string | Record the status this initiative already has, when its front-matter has none (e.g. backfilling an adopted folder). Refused if a status is recorded: use set_status. |
status_note | string | |
tags | array | |
title | string | |
type | string | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
fix
Repair the validate findings that have one obvious fix, editing text in place (never renaming or moving a file): a broken link whose filename matches exactly one initiative in its collection, `depends_on` / `related` front-matter (turned into links under ## Dependencies / ## Related), and open questions without a label (given the labels they are reported with). Anything ambiguous is listed in `unfixed`. Dry run by default: returns each edit (file, line, before, after); pass dry_run: false to write. Padding is fixed by repad, numbers by renumber.
| Parameter | Type | Description |
|---|---|---|
collection | string | |
dry_run | boolean | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
rename_collection
Move a collection to a new folder, rewriting every relative link into it from anywhere in the repo and out of it from inside. If its name comes from its folder (no `name:` in its README), the name changes too and "<name>#<n>" references by the old name, path or automatic alias are rewritten; explicit aliases are kept. Refuses a destination that exists or is inside another collection, and a new name another collection uses. `dry_run: true` returns the plan.
| Parameter | Type | Description |
|---|---|---|
collection * | string | |
to * | string | The new folder, relative to the repo root. |
dry_run | boolean | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
renumber
Give an initiative a new number — fixing a number collision after a merge. Renames its file and asset folder (keeping the slug, padded to the collection's width) and rewrites every link and "<collection>#<n>" reference to it across the repo. `to` defaults to the next number, coined as `create` does. For one file of a duplicate-number pair, pass `ref` as its path. `dry_run: true` returns the plan without writing.
| Parameter | Type | Description |
|---|---|---|
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
collection | string | |
dry_run | boolean | |
to | integer | The new number; default: the next free one. |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
tidy
For a collection that declares `folders:` (status → folder), move every initiative to where its status belongs — its folder, or the top of the collection — with its asset folder, rewriting every link to them. Dry run by default: returns each move and link rewrite; pass dry_run: false to apply. Status changes keep things in step after that; tidy is for files already out of place.
| Parameter | Type | Description |
|---|---|---|
collection * | string | |
dry_run | boolean | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
repad
Pad every initiative number in a collection to one width (`01-`, `001-`) — the given `width`, or the width most of its files use — renaming the files and their asset folders and rewriting every link to them across the repo. Dry run by default: returns each rename and link rewrite; pass dry_run: false to apply. Refuses a width too small for the highest number.
| Parameter | Type | Description |
|---|---|---|
collection * | string | |
dry_run | boolean | Default true: plan only. |
width | integer | Digits to pad to; default: the width most of the collection's files use. |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
batch_update
Apply update-style changes to many initiatives (tickets/issues) in one call — e.g. recording statuses across an adopted folder. Each entry is a ref plus any of status, reason, type, owner, tags, status_note, docs, dimensions; `status: "from-text"` takes the status from the initiative's **Status:** line or ## Status section. Every entry is checked first: if any fails, nothing is written and every failure is returned. `dry_run: true` shows what each file would get. A milestone this reaches, or stops being reached, is reported under `milestones`.
| Parameter | Type | Description |
|---|---|---|
entries * | array | |
dry_run | boolean | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
set_status
Change an initiative's (ticket's/issue's) status, enforcing the lifecycle: designed needs no blocking open questions; in-progress needs ready; done goes through `complete`. Abandoning needs a `reason`; abandoned, superseded and deferred work gets a callout under its title saying so, which is removed when it is reopened. A milestone this reaches, or stops being reached, is reported under `milestones`.
| Parameter | Type | Description |
|---|---|---|
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
status * | string | One of draft, designed, in-progress, deferred, done, abandoned, superseded (common aliases and the collection's own status words are accepted) |
branch | string | Starting work (in-progress): the branch it is built on, if not the one checked out here — recorded so others can see it. |
collection | string | |
force | boolean | |
outcome | string | The fuller account (what was learned, what replaced it), written into ## Outcome. |
reason | string | Why — required to abandon, optional to supersede or defer. Kept as status_note and shown in a callout under the initiative's title and in the README. |
superseded_by | string | number | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
add_question
Add an open question — one decision per question: pose several as separate questions (warns when the text looks like more than one). It is labelled with the next free label (returned as `id`); don't write one yourself. A blocking question moves a designed initiative back to draft. Use implementation=true for questions deliberately left to the implementer.
| Parameter | Type | Description |
|---|---|---|
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
text * | string | |
collection | string | |
implementation | boolean | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
split_question
Split an open question that poses several decisions into one question per decision, in its place and order, in one write. Each part is text or { text, implementation?, answer? }: parts inherit the question's (implementation) marker unless they set their own, and a part with an `answer` is settled as it is written — recorded in `record_in` (default "Decisions"), or kept ticked with mode "tick", as resolve_question does. Parts are labelled under the question's label (Q3 → Q3.1, Q3.2), and Q3 stops existing. Returns the parts left open with their labels.
| Parameter | Type | Description |
|---|---|---|
into * | array | The separate questions, in order (at least two). |
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
collection | string | |
id | string | The question's label, e.g. "Q3" (as `get`, `questions` and `next_question` report it). |
match | string | |
mode | string | |
record_in | string | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
resolve_question
Resolve an open question, named by its label (`id`, e.g. "Q3") or `match`. Default mode "remove": delete it and record the decision under its label in `record_in` (default "Decisions", e.g. "Agreed direction"). Mode "tick": keep it as "- [x] **Q3** … — answer".
| Parameter | Type | Description |
|---|---|---|
answer * | string | |
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
collection | string | |
id | string | The question's label, e.g. "Q3" (as `get`, `questions` and `next_question` report it). |
match | string | |
mode | string | |
record_in | string | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
set_dependencies
Add or remove dependency links. Dependencies are the links under an initiative's `## Dependencies` heading (blocking); `## Related` links are non-blocking. Adds a bullet with a relative link (and optional `why`); removes the bullet(s) linking to the target — bullets only: a link inside a paragraph is left in place and reported with its line, to edit by hand. Refuses unknown initiatives and cycles.
| Parameter | Type | Description |
|---|---|---|
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
add | array | |
collection | string | |
related_add | array | |
related_remove | array | |
remove | array | |
why | string | Why the added dependency is needed (appended to each new bullet) |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
complete
Mark an initiative (ticket/issue) done — "close" it. `docs_impact` is required: the project doc paths updated in this change, or "none: <reason>". Reports which initiatives became ready, and any milestone it reaches (`milestones`).
| Parameter | Type | Description |
|---|---|---|
ref * | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
collection | string | |
docs_impact | Project doc paths updated in this change, relative to the repository root (bare paths, no notes) — not initiative files; or "none: <reason>". Required, except for spikes (defaults to none). | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
regenerate_readmes
Rebuild the generated README blocks (tables + Mermaid). check=true only reports what is stale (for CI).
| Parameter | Type | Description |
|---|---|---|
check | boolean | |
collection | string | |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |
brief
The brief for one of Brindley's workflows — the text of the prompt of the same name, for agents and skills that cannot fetch MCP prompts: `design-review` (work through an initiative's open questions with the user), `implement` (hand-off brief for implementing one initiative), `spike` (build and measure a spike) or `triage` (review the initiatives). `ref` is required except for `triage`, which takes an optional `collection`. Follow the brief it returns.
| Parameter | Type | Description |
|---|---|---|
workflow * | string | |
collection | string | triage: just this collection |
ref | string | number | Initiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path. |
worktree | string | The checkout to work on: the path of the git worktree you are working in (absolute, or relative to the checkout this server started in), or "." for that checkout (the default). While other worktrees e… |