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.
Weft は、ひとり創業者と小さなチームのための AI タスク管理です。
ツールリファレンスは英語で管理しています。ツール名、引数、例はどの言語でも同一です。
引数
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| id | uuid | いいえ | Verdict relay: task id the decision is about. |
| decision | 'accepted' | 'rework' | 'dropped' | 'deferred' | いいえ | Verdict relay: what you said. |
| note | string | いいえ | Your words — needed in substance for rework, since the executor acts on it. |
| title | string | いいえ | Standalone record: the decision, named. Required with outcome. |
| outcome | string | いいえ | Standalone record: the choice, stated as a sentence. |
| kind | 'madr' | 'lesson' | いいえ | Defaults to 'madr'; 'lesson' for a lesson learned. |
| status | 'proposed' | 'accepted' | 'rejected' | 'deprecated' | いいえ | Defaults to 'accepted'. |
| context | string | いいえ | What was true that forced a choice. |
| options | { title, pros?, cons? }[] | いいえ | The options actually weighed — not a retrofit. |
| consequences | string | いいえ | What follows from the choice, good and bad. |
| confirmation | string | いいえ | The condition under which to revisit this decision. |
| supersedesId | uuid | いいえ | A prior decision this one replaces. The old record stays, marked superseded. |
| project | string | いいえ | Project this decision belongs to — name or id. |
| taskId | uuid | いいえ | A task a standalone decision is about, if any. |
戻り値
The verdict path: the task with the decision recorded and the queue size after it. The record path: the immutable decision entry.
注釈
通常の書き込みツールです。状態を変更しますが、ユーザーの意図が分かっていれば MCP クライアントは自由に呼び出せます。確認を求めるかどうかはクライアント次第です。Model Context Protocol の仕様は、ツールの呼び出しを拒否できる形で人間が関与し続けることを推奨しています。
例
ユーザーの発言:
"We're going with Neon over Supabase — write that down with the reasoning."関連
- 32個の MCP ツール一覧 — カタログ表示。
- Shuttle — AI クライアントがこれらのツールをどう使うか。
- 自分のクライアントからこのツールを呼び出す: セットアップガイドを見る、または
https://letsweft.com/api/mcpに直接アクセスしてください。