ledger_check_approaches
Retrieve recorded dead ends, no-gos, and works for a task to avoid re-attempting known failed approaches before retrying or re-planning.
Instructions
Call this BEFORE retrying or re-planning a task. Never re-attempt an approach listed in dead_ends or no_gos unless you have new information that invalidates its reason.
Args: task (str): The exact task string used with ledger_log_approach.
Returns: dict: { "task": str, "dead_ends": [{"approach": str, "reason": str, "ts": str}, ...], "no_gos": [{"approach": str, "reason": str, "ts": str}, ...], "works": [{"approach": str, "reason": str, "ts": str}, ...], "total": int } Each list is ordered newest first. Empty lists when nothing has been recorded for the task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||