log_sanitize
Sanitizes build, test, and terminal output by removing ANSI noise, condensing routine compiler messages, and isolating failure stack traces to prevent token flooding in AI context windows.
Instructions
Sanitize build, test, or terminal command outputs. Strips ANSI noise, collapses routine compiler stdout, and isolates actionable failure stack traces to protect context window from token flooding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exitCode | No | ||
| maxChars | No | ||
| rawOutput | Yes | ||
| includeStructured | No |