decision_list
Search recorded decisions by affected path or text query to avoid duplicating prior choices before recording new ones. Results are paginated, newest first, and support filtering by path or case-insensitive terms.
Instructions
List recorded decisions, filtered by an affected path or a case-insensitive text query over title, decision and rationale, newest first. Use before decision_record so nothing is decided twice; a claim's brief already carries the decisions for the paths it claims. 20 rows per page; pass next_before as before for older rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Only decisions affecting this path. | |
| agent | Yes | Your stable agent name. | |
| limit | No | Rows to return (default 20, max 200), newest first. | |
| query | No | Case-insensitive text to search for. | |
| before | No | Only decisions recorded before this cursor: an RFC 3339 timestamp or a previous response's `next_before`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Rows in this response. | |
| total | No | Rows that matched, across all pages. | |
| status | Yes | ok. invalid: bad input. | |
| message | No | Human-readable detail, on most outcomes other than ok. | |
| decisions | No | Newest first: id, title, decision, rationale, alternatives, affects_paths, recorded_by, recorded_at. | |
| truncated | No | True when older rows were left out. | |
| next_before | No | Present when truncated: pass it back as before for the next older page. |