| 1 | # Error Retry Plugin DOX |
| 2 | |
| 3 | ## Purpose |
| 4 | |
| 5 | - Own retry behavior for unexpected critical exceptions in agent loops. |
| 6 | |
| 7 | ## Ownership |
| 8 | |
| 9 | - `extensions/` owns retry counter reset and critical-exception retry hooks. |
| 10 | - `default_config.yaml` owns retry count defaults. |
| 11 | - `webui/config.html` owns settings UI. |
| 12 | - `plugin.yaml` and `README.md` own metadata and behavior notes. |
| 13 | |
| 14 | ## Local Contracts |
| 15 | |
| 16 | - Do not retry controlled flow exceptions such as `HandledException` and `RepairableException`. |
| 17 | - Keep retry counts scoped per monologue. |
| 18 | - Preserve clear agent-facing history injection when retrying a critical exception. |
| 19 | |
| 20 | ## Work Guidance |
| 21 | |
| 22 | - Keep retry behavior conservative and observable through logs/UI. |
| 23 | |
| 24 | ## Verification |
| 25 | |
| 26 | - Test or simulate critical, handled, and repairable exception paths after hook changes. |
| 27 | |
| 28 | ## Child DOX Index |
| 29 | |
| 30 | No child DOX files. |