list_decisions
List decisions from the knowledge base with filters (date, file, session, tags, protected). Retrieve compact summaries or full records to review what was remembered across sessions.
Instructions
v2.1.2 Item 11: enumerate decisions with filters (since_date, file_pattern, protected_only, session_id, tags). Closes the gap that 'codevira can remember things across sessions, but can't list what it remembers.' Default (E1): compact rows — one-line decision summary + key fields; full=true (or CODEVIRA_DECISION_DETAIL=full) for untruncated records, expand(ids=[...]) to fetch specific decisions in full.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Untruncated decision text | |
| tags | No | Filter to rows matching ALL these tags (v2.1.2 Item 27) | |
| limit | No | Max rows (default 20, max 200) | |
| session_id | No | Filter to one session | |
| since_date | No | ISO 8601 timestamp or YYYY-MM-DD | |
| file_pattern | No | SQL LIKE pattern on file_path | |
| summary_only | No | Smallest payload — only {id, summary, do_not_revert} per row (parity with search_decisions). Takes precedence over full. | |
| protected_only | No | Only do_not_revert=true rows | |
| include_superseded | No | Include soft-deleted rows (v2.1.2 Item 26) |