brindley

v6.0.0
brindley Checked 1 day ago Published 7 days ago

Design 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.

ParameterTypeDescription
path *stringFolder relative to the repo root, e.g. "docs/initiatives/LOCK-42/slot-booking"
agentstringRepo workflow agent file for this collection
aliasesarrayShort names for references, e.g. ["lgm"] for "lgm#22"
columnsREADME table columns: { active: [...], completed: [...] }. null removes.
dimensionsScoring dimensions: name → { values (first ranks first), required?, default? } or a list of values. null removes.
docsarrayGlobs of project docs this collection usually affects
foldersOpt 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).
graphDependency graph settings: direction, arrows, related, show, external, themes, enabled. null removes.
ignorearrayPaths or globs relative to the collection folder to ignore, e.g. ["code-review/", "completed/24-*-rationale.md"]
linkstringExternal ticket/epic URL
namestringName used in references (name#n); defaults to the folder name
ownerstring
statusesobjectThis collection's own status words mapped to core statuses
summarystring
tagsobjectTags (themes) with one-line descriptions
titlestring
typesarrayInitiative types this collection uses; others are flagged
worktreestringThe 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).

ParameterTypeDescription
collection *stringCollection name, alias or folder path
agentstringRepo workflow agent file for this collection
aliasesarrayReplace the explicit aliases
columnsREADME table columns: { active: [...], completed: [...] }. null removes.
dimensionsScoring dimensions: name → { values (first ranks first), required?, default? } or a list of values. null removes.
docsarrayGlobs of project docs this collection usually affects
foldersOpt 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).
graphDependency graph settings: direction, arrows, related, show, external, themes, enabled. null removes.
ignorearrayPaths or globs relative to the collection folder to ignore, e.g. ["code-review/", "completed/24-*-rationale.md"]
linkstringExternal ticket/epic URL
ownerstring
statusstring
statusesobjectThis collection's own status words mapped to core statuses
summarystring
tagsobjectTags (themes) with one-line descriptions
titlestring
typesarrayInitiative types this collection uses; others are flagged
worktreestringThe 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.

ParameterTypeDescription
collection *stringCollection name or folder path
addarray
dry_runboolean
removearray
worktreestringThe 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.

ParameterTypeDescription
worktreestringThe 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.

ParameterTypeDescription
collectionstring
refstring | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
worktreestringThe 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.

ParameterTypeDescription
collectionstring
order_byarrayScoring 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.
ownerstring
readyboolean
statusstring
tagstring
typestring
whereobjectScoring 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.
worktreestringThe 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.

ParameterTypeDescription
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
collectionstring
worktreestringThe 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).

ParameterTypeDescription
collectionstring
typestring
worktreestringThe 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.

ParameterTypeDescription
branchesBranches to count in-progress work on, as globs ("!" excludes); false for none. Default: all.
collectionstringJust one collection.
modestringWhere the page's light/dark switch starts (default auto: the viewer's setting).
outstringOutput file, relative to the repository root.
palettestringsea (default), plum, forest, fire, teal, slate — or a .json / .css palette file.
sincestringStart 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.
untilstringReport as of a tag, date or window; default the latest commit.
worktreestringThe 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…
worktreesAlso 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.

ParameterTypeDescription
arrowsstringfrom: edges point at what an initiative needs (X depends on Y → X --> Y); to: the reverse.
collectionstring
directionstringWhere the do-first work goes: left-to-right, right-to-left, top-to-bottom, bottom-to-top.
externalbooleanfalse leaves out external dependencies and other collections' initiatives.
include_doneboolean
milestonesbooleanMark each node with the icons of the milestones it counts towards.
refstring | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
relatedbooleanDraw ## Related links as dotted edges.
showarrayStatuses to include as nodes beyond active work, e.g. ["done"].
tagstring
themesShow themes: "box", "icon", "label" (or true), or a list such as ["box", "icon"].
worktreestringThe 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`.

ParameterTypeDescription
collectionstring
include_implementationboolean
refstring | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
worktreestringThe 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.

ParameterTypeDescription
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
afterstringA question label, e.g. "Q3": return the first open question labelled after it.
collectionstring
worktreestringThe 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>`).

ParameterTypeDescription
worktreestringThe 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.

ParameterTypeDescription
milestonestring
worktreestringThe 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.

ParameterTypeDescription
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
collectionstring
worktreestringThe 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.

ParameterTypeDescription
collectionstring
docsbooleanAlso lint project docs
rulesarrayOnly these rules, e.g. ["status-not-in-folder", "status-prose-mismatch"]
worktreestringThe 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.

ParameterTypeDescription
pathsarray
worktreestringThe 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`.

ParameterTypeDescription
collection *stringCollection name, or a folder path
title *string
depends_onarrayInitiatives (e.g. "lgm#22", 23) or ticket URLs to link under ## Dependencies
goalstring
ownerstring
relatedarrayInitiatives or URLs to link under ## Related (non-blocking)
tagsarray
typestringfeature, bug, refactor, perf, docs, chore, spike, …
whystringWhy the dependencies are needed (appended to each depends_on bullet; related links get no note — add one with set_dependencies)
worktreestringThe 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`.

ParameterTypeDescription
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
collectionstring
contentstringThe section's body, without its heading (a leading heading naming the section is dropped).
dimensionsobjectScoring dimension values to set, e.g. { "priority": "high" }; each must be one of the dimension's values. null clears one.
docsarray
ownerstring
reasonstringWith `status`: why it was abandoned, superseded or deferred, if known.
sectionstringName of the "## " section to replace, or add if missing.
statusstringRecord 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_notestring
tagsarray
titlestring
typestring
worktreestringThe 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.

ParameterTypeDescription
collectionstring
dry_runboolean
worktreestringThe 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.

ParameterTypeDescription
collection *string
to *stringThe new folder, relative to the repo root.
dry_runboolean
worktreestringThe 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.

ParameterTypeDescription
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
collectionstring
dry_runboolean
tointegerThe new number; default: the next free one.
worktreestringThe 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.

ParameterTypeDescription
collection *string
dry_runboolean
worktreestringThe 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.

ParameterTypeDescription
collection *string
dry_runbooleanDefault true: plan only.
widthintegerDigits to pad to; default: the width most of the collection's files use.
worktreestringThe 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`.

ParameterTypeDescription
entries *array
dry_runboolean
worktreestringThe 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`.

ParameterTypeDescription
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
status *stringOne of draft, designed, in-progress, deferred, done, abandoned, superseded (common aliases and the collection's own status words are accepted)
branchstringStarting work (in-progress): the branch it is built on, if not the one checked out here — recorded so others can see it.
collectionstring
forceboolean
outcomestringThe fuller account (what was learned, what replaced it), written into ## Outcome.
reasonstringWhy — 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_bystring | number
worktreestringThe 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.

ParameterTypeDescription
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
text *string
collectionstring
implementationboolean
worktreestringThe 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.

ParameterTypeDescription
into *arrayThe separate questions, in order (at least two).
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
collectionstring
idstringThe question's label, e.g. "Q3" (as `get`, `questions` and `next_question` report it).
matchstring
modestring
record_instring
worktreestringThe 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".

ParameterTypeDescription
answer *string
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
collectionstring
idstringThe question's label, e.g. "Q3" (as `get`, `questions` and `next_question` report it).
matchstring
modestring
record_instring
worktreestringThe 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.

ParameterTypeDescription
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
addarray
collectionstring
related_addarray
related_removearray
removearray
whystringWhy the added dependency is needed (appended to each new bullet)
worktreestringThe 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`).

ParameterTypeDescription
ref *string | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
collectionstring
docs_impactProject 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).
worktreestringThe 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).

ParameterTypeDescription
checkboolean
collectionstring
worktreestringThe 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.

ParameterTypeDescription
workflow *string
collectionstringtriage: just this collection
refstring | numberInitiative (ticket/issue): "collection#n" (e.g. "lgm#22"), a bare number, or a path.
worktreestringThe 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…