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.
Annotation
เครื่องมือแบบเขียนตามค่าเริ่มต้น เครื่องมือนี้เปลี่ยนแปลงสถานะ ไคลเอนต์ MCP เรียกใช้ได้เลยเมื่อรู้ว่าผู้ใช้ต้องการอะไร ส่วนจะขอการยืนยันหรือไม่นั้นขึ้นอยู่กับไคลเอนต์ ทั้งนี้ ข้อกำหนดของ Model Context Protocol แนะนำให้มีมนุษย์อยู่ในวงจรเสมอ โดยสามารถปฏิเสธการเรียกใช้เครื่องมือได้
ตัวอย่าง
สิ่งที่ผู้ใช้พูด:
"We're going with Neon over Supabase — write that down with the reasoning."ที่เกี่ยวข้อง
- เครื่องมือ MCP ทั้ง 32 รายการ — มุมมองแบบแคตตาล็อก
- กระสวย — วิธีที่ไคลเอนต์ AI ใช้เครื่องมือเหล่านี้
- เรียกใช้เครื่องมือนี้ผ่านไคลเอนต์ของคุณเอง: ดูคู่มือการตั้งค่า หรือเรียก
https://letsweft.com/api/mcpโดยตรง