Feladatok · MCP

Record a Decision

record_decision is one of the 32 MCP tools in Weft, the AI task manager you run by talking to Claude, Cursor, Codex or ChatGPT through one MCP endpoint. One tool, two uses, one table of record. (1) Relay a verdict you gave in conversation about finished work waiting on you — approved, send it back, drop it, later — clearing the card from the review queue; the entry is stored as relayed rather than as you acting in the app, and that difference is kept visible on purpose. (2) Record a standalone decision worth remembering — 'chose Neon over Supabase', a lesson learned — as an immutable MADR-lite record with the options weighed and the condition to revisit under. Records are never edited: a new decision with supersedesId replaces an old one, and the old one stays readable as what it said the day it was made. These records are what get_context serves back to every agent next week.

A Weft az AI-feladatkezelő egyszemélyes alapítóknak és kis csapatoknak.

Az eszközreferenciát angolul tartjuk karban: az eszközök nevei, argumentumai és példái minden nyelven azonosak.

Argumentumok

NévTípusKötelezőLeírás
iduuidnemVerdict relay: task id the decision is about.
decision'accepted' | 'rework' | 'dropped' | 'deferred'nemVerdict relay: what you said.
notestringnemYour words — needed in substance for rework, since the executor acts on it.
titlestringnemStandalone record: the decision, named. Required with outcome.
outcomestringnemStandalone record: the choice, stated as a sentence.
kind'madr' | 'lesson'nemDefaults to 'madr'; 'lesson' for a lesson learned.
status'proposed' | 'accepted' | 'rejected' | 'deprecated'nemDefaults to 'accepted'.
contextstringnemWhat was true that forced a choice.
options{ title, pros?, cons? }[]nemThe options actually weighed — not a retrofit.
consequencesstringnemWhat follows from the choice, good and bad.
confirmationstringnemThe condition under which to revisit this decision.
supersedesIduuidnemA prior decision this one replaces. The old record stays, marked superseded.
projectstringnemProject this decision belongs to — name or id.
taskIduuidnemA task a standalone decision is about, if any.

Visszatérési érték

The verdict path: the task with the decision recorded and the queue size after it. The record path: the immutable decision entry.

Annotációk

Alapértelmezett író eszköz. Az eszköz módosítja az állapotot; az MCP-kliensek szabadon meghívhatják, amint tudják, mit szeretne a felhasználó. Hogy a kliens kér-e megerősítést, az a kliens döntése; a Model Context Protocol specifikációja azt ajánlja, hogy maradjon ember a folyamatban, aki megtagadhatja az eszközhívásokat.

Példa

Amit a felhasználó mond:

"We're going with Neon over Supabase — write that down with the reasoning."

Kapcsolódó