read_learnings
Retrieve past team decisions filtered by reviewer, verdict, or file scope to inform future code reviews and avoid repeating prior discussions.
Instructions
Read recent team decisions from .squad/learnings.jsonl (path overridable via .squad.yaml.learnings.path). Returns the filtered entries plus a pre-rendered markdown block ready to inject into agent / consolidator prompts. Filters: agent, decision (accept|reject), changed_files (matches scoped entries against these paths). Used by the /squad:review skill in Phase 5 (advisory) and Phase 10 (consolidation) to make the squad less repetitive over time.
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>"
},
"name": "read_learnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_root | Yes | ||
| limit | No | ||
| agent | No | ||
| decision | No | ||
| changed_files | No | ||
| include_rendered | No | ||
| include_archived | No | ||
| include_summary | No |