Collapse multiple jq/grep/sed invocations into single passes: - post-compact-state-inject: 7 jq calls → 1 (-51%) - session-start: 6 sed/grep → 1 sed pipeline (-37%) - user-prompt-context-inject: 2 jq → 1 (-33%) - pre-compact-state-save: 3 tail|grep → 1 awk (-42%) - post-tool-benchmark-capture: 3 jq → 1 (-23%) - stop-optimization-gate: 3 tail|grep → 1 awk - pre-compact: fix macOS-incompatible sed newline escaping |
||
|---|---|---|
| .. | ||
| post-compact-state-inject.sh | ||
| post-tool-benchmark-capture.sh | ||
| pre-compact-state-save.sh | ||
| stop-optimization-gate.sh | ||
| user-prompt-context-inject.sh | ||