| 1 | # Infection Check Plugin DOX |
| 2 | |
| 3 | ## Purpose |
| 4 | |
| 5 | - Own prompt-injection safety checks over streamed reasoning/response content before tool execution. |
| 6 | |
| 7 | ## Ownership |
| 8 | |
| 9 | - `helpers/checker.py` owns safety analysis orchestration and gate behavior. |
| 10 | - `extensions/` owns stream collection and tool-execution blocking hooks. |
| 11 | - `default_config.yaml`, `plugin.yaml`, `README.md`, and `webui/` own settings, metadata, behavior notes, and config UI. |
| 12 | |
| 13 | ## Local Contracts |
| 14 | |
| 15 | - Preserve configured `thoughts` and `complete` analysis modes. |
| 16 | - Tool execution must wait for required safety verdicts. |
| 17 | - Do not log or expose chain-of-thought or sensitive prompt content beyond intended warning flows. |
| 18 | |
| 19 | ## Work Guidance |
| 20 | |
| 21 | - Keep termination and clarification loops bounded and explicit. |
| 22 | |
| 23 | ## Verification |
| 24 | |
| 25 | - Smoke-test ok, clarify, and terminate verdicts around tool execution after changes. |
| 26 | |
| 27 | ## Child DOX Index |
| 28 | |
| 29 | No child DOX files. |