mindpm

v3.2.0
io.github.umitkavala/mindpm Checked 3 days ago Published 2 months ago

Project memory and a control plane for AI coding agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_project Create Project

Create a new project to track. Use this when starting a new project or when a user mentions a project that doesn't exist yet.

ParameterTypeDescription
name *stringProject name (unique)
conventionsstringShort coding conventions, included in every task brief
descriptionstringWhat this project is about
repo_pathstringPath to the project repository
tech_stackarrayTechnologies used, e.g. ["FastAPI", "React", "PostgreSQL"]
verification_defaultsobjectVerification commands keyed by kind, e.g. {"build": "dotnet build", "unit": "dotnet test tests/unit"}

list_projects List Projects

List all tracked projects. Filter by status to see active, paused, completed, or archived projects.

ParameterTypeDescription
statusstringFilter by project status

get_project_status Get Project Status

Get a full overview of a project: active tasks, recent decisions, blockers, and last session summary. Great for getting up to speed.

ParameterTypeDescription
project *stringProject name or ID

set_project_repo_path Set Project Repo Path

Set or update the local git repository path for a project. Required for the session brief to include git activity (commits, branch, working-tree state) since the last session.

ParameterTypeDescription
project *stringProject name or ID
repo_path *stringAbsolute path to the project repository (must contain a .git directory)

set_execution_defaults Set Execution Defaults

Set the coding conventions and verification commands (build, unit, integration, lint) that go into every task brief for this project. Tasks can override individual commands with their own verification. These are hints for the executor: the verifier never runs them. It runs only the checks a human configures in the Kanban UI (Verifiers tab), which the brief lists as verifier_checks.

ParameterTypeDescription
project *stringProject name or ID
conventionsstringShort coding conventions
verification_defaultsobjectVerification commands keyed by kind, e.g. {"build": "dotnet build", "unit": "dotnet test tests/unit"}

create_task Create Task

Create a new task in a project. Proactively use this when the user mentions something that needs to be done, a bug to fix, or a feature to build. Link it to a spec (spec_id) to make it executable by an agent: it then starts in backlog until the spec is approved.

ParameterTypeDescription
title *stringShort task title
actorstringWho is creating the task, e.g. human:umit or agent:architect
blocked_byarrayTask IDs that must be done before this one can start
branchstringExpected branch, e.g. feature/T-142-timeout
criteriaarrayAcceptance criteria this task is responsible for (ids or keys like "AC-12.1"). Defaults to all criteria of the spec
descriptionstringDetailed description of the task
parent_task_idstringParent task ID for sub-tasks
prioritystringTask priority (default: medium)
projectstringProject name or ID (defaults to most recent active project)
spec_idstringSpec this task implements (spec id or key like "SPEC-12")
tagsarrayTags like "backend", "auth", "bug"
verificationobjectVerification commands keyed by kind (build, unit, integration, lint). Overrides project defaults per key

update_task Update Task

Update fields of a task. Proactively use this when priorities shift or new information comes in. Changing status directly is reserved for humans (actor human:*); agents move tasks with claim_task, submit_task, report_failure, escalate and release_task.

ParameterTypeDescription
task_id *stringTask ID to update (hex ID or short ID like "zrdt-180")
actorstringWho is making the change, e.g. human:umit, or your own agent id with on_behalf_of. Required for status changes
addBlockedByarrayTask IDs that block this task (appended to existing list)
blocked_byarrayTask IDs that block this task (replaces existing list)
branchstringExpected branch
criteriaarrayAcceptance criteria this task is responsible for (replaces the list). Must belong to the task's spec
descriptionstringNew description
on_behalf_ofstringWhen a human explicitly asked you (an agent) to change status: their id, e.g. human:umit. Recorded with your agent id
prioritystringNew priority
statusstringNew status (backlog, ready, claimed, blocked, needs_verification, verified, needs_human, done, cancelled). Requires a human actor
tagsarrayNew tags (replaces existing)
titlestringNew title
verificationobjectVerification commands keyed by kind (build, unit, integration, lint). Overrides project defaults per key

list_tasks List Tasks

List tasks with filters. Defaults to showing non-completed tasks for the most recent active project.

ParameterTypeDescription
include_donebooleanInclude completed tasks (default: false)
limitintegerMax tasks to return (default: 50)
offsetintegerNumber of tasks to skip for pagination (default: 0)
prioritystringFilter by priority
projectstringProject name or ID
statusstringFilter by status
tagstringFilter by tag

get_task Get Task

Get full detail for a specific task including sub-tasks, related notes, its spec criteria and its attempts.

ParameterTypeDescription
task_id *stringTask ID (hex ID or short ID like "zrdt-180")

get_next_tasks Get Next Tasks

Planning view: what should be worked on next? Returns the highest priority ready or claimed tasks for a project. Executor agents use pick_task instead.

ParameterTypeDescription
limitnumberMax number of tasks to return (default: 5)
projectstringProject name or ID

log_decision Log Decision

Record a decision with reasoning and alternatives considered. Proactively use this when the user makes a technical decision, chooses between options, or settles a debate.

ParameterTypeDescription
decision *stringWhat was decided
title *stringShort title for the decision
alternativesarrayRejected alternatives
projectstringProject name or ID
reasoningstringWhy this was decided
spec_idstringSpec this decision shaped (id or key like "SPEC-12"). Linked decisions appear in task briefs
supersedesstringDecision id this one replaces. The old one is marked superseded and never appears in a brief
tagsarrayTags like "architecture", "database", "api"
task_idstringTask ID to associate this decision with (omit for project-level)

list_decisions List Decisions

List decisions for a project. Filter by tags to find specific decisions.

ParameterTypeDescription
limitnumberMax number of decisions to return (default: 20)
projectstringProject name or ID
tagstringFilter by tag

add_note Add Note

Add a note to a project or task. Proactively use this when the user shares context about architecture, bugs, ideas, research findings, or any important information worth remembering. Always specify the project parameter when you know which project is active.

ParameterTypeDescription
content *stringThe note content
categorystringNote category (default: general)
projectstringProject name or ID (always pass this when known — omitting may target the wrong project)
tagsarrayTags for categorization
task_idstringLink this note to a specific task (hex ID or short ID like "zrdt-180")

search_notes Search Notes

Full-text search across notes for a project.

ParameterTypeDescription
query *stringSearch query
categorystringFilter by category
projectstringProject name or ID

set_context Set Context

Set a key-value context pair for a project (upsert). Proactively use this when the user shares important project context like architecture decisions, config values, conventions, or constraints.

ParameterTypeDescription
key *stringContext key, e.g. "auth_approach", "deployment_target", "api_base_url"
value *stringContext value
categorystringCategory like "architecture", "config", "convention", "constraint"
projectstringProject name or ID

get_context Get Context

Get context by key or list all context for a project.

ParameterTypeDescription
keystringSpecific context key to retrieve. If omitted, returns all context.
projectstringProject name or ID

start_session Start Session

Begin a work session for a project. Returns the full project overview including last session's next_steps, active tasks, blockers, and recent decisions. Call this at the start of every conversation. For multi-project conversations, call once per project — after that, pass `project` explicitly on every tool call. IMPORTANT: Always show the kanban_url to the user as a clickable link so they can open the Kanban board.

ParameterTypeDescription
briefbooleanInclude the session brief: what changed since the last session ended (commits, branch/working-tree state, task status changes, new decisions and notes). Default: true.
projectstringProject name or ID

end_session End Session

End a work session with a summary of what was accomplished and what to do next. Call this when the user is done working.

ParameterTypeDescription
summary *stringSummary of what was accomplished this session
decisions_madearrayDecision IDs that were made
next_stepsstringWhat to do next time
projectstringProject name or ID
tasks_worked_onarrayTask IDs that were worked on

get_session_brief Get Session Brief

Read-only: what changed since the last session ended — commits, branch and working-tree state, task status changes, new blockers, decisions, and notes. Unlike start_session, this does not open a session or mark one as started.

ParameterTypeDescription
projectstringProject name or ID

query Query Database

Execute a read-only SQL query against the database. Only SELECT statements are allowed. Use this for custom queries not covered by other tools.

ParameterTypeDescription
sql *stringSQL SELECT query to execute

get_project_summary Get Project Summary

High-level summary of a project: total tasks by status, recent activity, open blockers, and upcoming priorities.

ParameterTypeDescription
projectstringProject name or ID

get_blockers Get Blockers

List all blocked tasks with what's blocking them.

ParameterTypeDescription
projectstringProject name or ID

get_agent_instructions Get Agent Instructions

Returns the recommended instructions for using mindpm effectively. Call this once if you are unsure how to use mindpm, or share it with the user to paste into other LLM clients.

get_delivery_metrics Get Delivery Metrics

DORA-inspired delivery metrics for a project: throughput, lead time, flow efficiency, and performance tier. Use to understand delivery health and trends.

ParameterTypeDescription
daysintegerTime window in days (default: 30)
projectstringProject name or ID (defaults to most recent active project)

create_spec Create Spec

Define a spec: the objective, why it matters, the chosen approach, constraints and acceptance criteria an executor agent works against. Created as a draft; approve_spec makes its tasks workable. Architect or human only.

ParameterTypeDescription
actor *stringhuman:<name> or agent:architect
criteria *arrayAt least one acceptance criterion
objective *stringWhat outcome, one paragraph
risk_level *stringlow, medium or high. Medium and high need a human to approve and accept
title *string
why *stringProblem it solves, why now
approachstringChosen approach, short
constraintsarray
out_of_scopearray
projectstringProject name or ID

update_spec Update Spec

Edit a spec. Pass the version you read as expected_version; a stale version fails with version_conflict. Editing an approved spec republishes it: the version bumps and agents working on its tasks see spec_changed on their next heartbeat.

ParameterTypeDescription
actor *string
expected_version *integerThe version you last read
spec_id *stringSpec id or key like "SPEC-12"
approachstring
constraintsarray
criteria_removearrayCriterion numbers (seq) to remove
criteria_upsertarray
objectivestring
on_behalf_ofstringWhen a human explicitly asked you (an agent) to do this: their id, e.g. human:umit. You cannot approve a spec you authored
out_of_scopearray
projectstringProject, needed only when a spec key exists in several projects
risk_levelstring
titlestring
whystring

approve_spec Approve Spec

Approve a draft spec so agents can work on its tasks. Medium and high risk need human:*; low risk also allows agent:architect. Moves linked backlog tasks with no open blockers to ready and writes specs/SPEC-<n>.md into the repo (a human commits it).

ParameterTypeDescription
actor *string
spec_id *string
on_behalf_ofstringWhen a human explicitly asked you (an agent) to do this: their id, e.g. human:umit. You cannot approve a spec you authored
projectstring

supersede_spec Supersede Spec

Replace a spec with another one. Cancels the old spec's unfinished tasks; any live claim on them ends.

ParameterTypeDescription
actor *string
reason *string
replacement_spec_id *string
spec_id *string
on_behalf_ofstringWhen a human explicitly asked you (an agent) to do this: their id, e.g. human:umit. You cannot approve a spec you authored
projectstring

get_spec Get Spec

A spec with its acceptance criteria, linked tasks (status and attempts) and the active decisions that shaped it.

ParameterTypeDescription
spec_id *string
projectstring

pick_task Pick Task

Executor: return the next task to work on: ready, spec approved (or no spec), all blockers done, no live lease. Ordered by priority, then oldest. Does not claim; call claim_task next.

ParameterTypeDescription
actor *stringYour actor id, e.g. agent:cli-7f3a
projectstringProject name or ID

claim_task Claim Task

Executor: take exclusive ownership of a ready task. Returns a claim_token that authorizes every later write, the lease expiry, and the task brief. Heartbeat before the lease runs out or the claim expires and counts as a used attempt.

ParameterTypeDescription
actor *stringYour actor id, e.g. agent:cli-7f3a
task_id *stringTask id or key
lease_minutesintegerLease length (default 30, max 120)

get_task_brief Get Task Brief

Everything needed to execute a task in one read: task, spec and acceptance criteria, project conventions, verification commands, relevant decisions, dependencies and what previous attempts learned.

ParameterTypeDescription
task_id *stringTask id or key

heartbeat Heartbeat

Executor: extend your lease by its original length and log the phase you are in. If spec_changed comes back true, the spec was revised since you claimed: re-read it with get_task_brief before continuing.

ParameterTypeDescription
claim_token *string
notestring
phasestring

submit_task Submit Task

Executor: hand finished work over for verification. Requires the branch, head commit SHA, files touched, a summary, and a result for every acceptance criterion on the task. Moves the task to needs_verification.

ParameterTypeDescription
branch *string
claim_token *string
criteria_results *array
files_touched *array
head_sha *string
summary *string

report_failure Report Failure

Executor: end your attempt as failed, with a root cause and notes the next attempt will see in its brief. spec_gap and design_conflict go to a human. dependency goes to blocked (name the blocking tasks in blocked_by so it unblocks itself). Anything else returns the task to ready, or to a human once attempts are exhausted.

ParameterTypeDescription
claim_token *string
failure_type *string
root_cause *stringWhat actually went wrong, specific enough to act on
blocked_byarrayFor dependency failures: ids or keys of the tasks that must finish first
branchstring
files_touchedarray
head_shastring
notesstringWhat was tried and what to avoid next time

escalate Escalate

Executor: stop and ask a human, for example when the spec is ambiguous. Ends the attempt as abandoned (it does not use up an attempt) and moves the task to needs_human with your question attached.

ParameterTypeDescription
claim_token *string
question *string
optionsarrayPossible answers you see, if any

release_task Release Task

Executor: give the task back voluntarily, for example when your run budget is spent. Does not use up an attempt.

ParameterTypeDescription
claim_token *string
reason *string

review_task Review Task (deprecated)

Deprecated: a verifier now checks submitted work (see `mindpm verify`), and a human accepts it. accept behaves like accept_tasks for one task: only verified, low-risk work, never your own submission. reject is no longer possible here: failed verification returns work to the executor, and a human reopens verified work in the Kanban UI.

ParameterTypeDescription
actor *string
decision *string
task_id *string
findingsstring
on_behalf_ofstringWhen a human explicitly asked you (an agent) to accept: their id

resolve_needs_human Resolve Needs Human

Human only: answer a task waiting in needs_human. requeue returns it to the queue (granting one more attempt if the budget is spent); cancel ends it; revise_spec sends it to backlog and returns its spec to draft until the revised spec is approved again; reverify hands a submission whose verification kept erroring back to the verifier, once the verifier is fixed.

ParameterTypeDescription
action *string
actor *string
note *stringThe answer or reason. Recorded in the task history
task_id *string
on_behalf_ofstringWhen a human explicitly gave you (an agent) this answer: their id

pending_verifications Pending Verifications

Verifier: tasks in needs_verification with a submitted commit and no run in progress, in projects your key covers, oldest submission first.

ParameterTypeDescription
verifier_key *stringYour verifier key (MINDPM_VERIFIER_KEY or MINDPM_REVIEWER_KEY). Never pass it to an executor
projectstringProject name or ID

start_verification Start Verification

Local verifier: open a run on a task's submitted head_sha. Returns the run id, the SHA to check out, the checks to run and the criteria to judge. The run lease is 30 minutes; every record_* call extends it. Check out exactly head_sha in a clean worktree, never the executor's working tree.

ParameterTypeDescription
task_id *stringTask id or key
verifier_key *stringYour verifier key (MINDPM_VERIFIER_KEY or MINDPM_REVIEWER_KEY). Never pass it to an executor

record_checks Record Checks

Local verifier: record what was executed in the run. Re-recording a check name replaces it.

ParameterTypeDescription
checks *array
run_id *string
verifier_key *stringYour verifier key (MINDPM_VERIFIER_KEY or MINDPM_REVIEWER_KEY). Never pass it to an executor
head_shastringThe commit these results are for. Rejected unless it is the run's head_sha

record_criteria Record Criteria

Verifier: record a result and evidence for acceptance criteria. test and command criteria need a local key, review criteria a reviewer key. A criterion passes only on positive evidence: a skipped or unmatched test is missing.

ParameterTypeDescription
results *array
run_id *string
verifier_key *stringYour verifier key (MINDPM_VERIFIER_KEY or MINDPM_REVIEWER_KEY). Never pass it to an executor
head_shastringThe commit these results are for. Rejected unless it is the run's head_sha

finish_verification Finish Verification

Local verifier: end the run. The server computes the outcome: passed only if every check exited 0 and every criterion is pass (task → verified); otherwise failed (task → ready with findings, attempt used). Pass error_reason when the check itself broke (checkout, timeout, missing report): the task stays in needs_verification and no attempt is used.

ParameterTypeDescription
run_id *string
verifier_key *stringYour verifier key (MINDPM_VERIFIER_KEY or MINDPM_REVIEWER_KEY). Never pass it to an executor
environmentobjectos, runtime versions
error_reasonstring

accept_tasks Accept Tasks

Move low-risk verified tasks to done (or submitted ones in needs_verification, when the project's verification is off), only when the user explicitly asked: act as yourself with on_behalf_of: "human:<their name>". Medium and high risk are refused: they are accepted in the Kanban UI only. You cannot accept work you submitted. Each task is accepted or refused on its own.

ParameterTypeDescription
actor *stringYour own agent id, e.g. agent:assistant
task_ids *arrayTask ids or keys
on_behalf_ofstringThe human who asked, e.g. human:umit