chimera_log_compress
Compress build/test/install logs by removing redundant lines while keeping every error, warning, and traceback. Retains head and tail for context, reducing log size 80-95% without losing diagnostic information.
Instructions
Compress build/test/install logs while preserving every error, warning, and traceback line verbatim. Keeps head + tail windows for context. Typical reduction 80-95% on noisy logs with zero loss of diagnostic signal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw log output. | |
| keep_patterns | No | Case-insensitive substrings; lines containing any of these are kept verbatim. Defaults to error/warn/fail/exception/traceback patterns. | |
| head_lines | No | ||
| tail_lines | No | ||
| context_lines | No | Number of lines to keep on each side of every matched line. | |
| auto_track | No | Record token savings to chimera_dashboard. | |
| model | No | claude-sonnet-4-6 | |
| namespace | No | default |