record_learning
Record team decisions on findings to prevent re-suggesting declined improvements in future squad runs.
Instructions
Append a team decision (accept | reject) on a finding to .squad/learnings.jsonl. Future runs of the squad will inject the most recent entries into agent / consolidator prompts so the squad stops re-suggesting things the team has already declined (with reason). Side-effecting — writes to disk. Caller (skill or CLI) is responsible for user confirmation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_root": "<workspace_root>",
"agent": "<agent>",
"decision": "<decision>"
},
"name": "record_learning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_root | Yes | ||
| agent | Yes | ||
| finding | No | ||
| lesson | No | ||
| trigger | No | ||
| evidence | No | ||
| decision | Yes | ||
| severity | No | ||
| reason | No | ||
| pr | No | ||
| branch | No | ||
| scope | No |