Add a Compress operation to the free monad that finds shorter prompts preserving output behavior.
Iterative compression: shorten prompt, verify outputs are 'close enough', repeat. Not rate-distortion optimal, but practically useful for cost reduction.
1. Add Compress constructor to OpF with distortion bound parameter 2. Implement compression strategies:
3. Verification: run both prompts, compare outputs
Need to define 'close enough' carefully. For tool-calling agents, maybe exact same tool sequence? For generation, embedding similarity?
Pipeline scheduler: started run=pipeline-omni-agent-prompt-compile-hs-t-395-1771559886 domain=Omni/Agent/Prompt/Compile.hs
Pipeline scheduler: run=pipeline-omni-agent-prompt-compile-hs-t-395-1771559886 domain=Omni/Agent/Prompt/Compile.hs status=failed cost=0c error=OAuth login failed: OAuth login requires an interactive terminal. Please run this command in a terminal session, not in headless mode. (fund-spend=failed)
Reopened: prior Review transition came from pipeline auth failure, not successful task execution. Re-queued for normal processing.
Pipeline scheduler: started run=pipeline-omni-agent-prompt-compile-hs-t-395-1771560258 domain=Omni/Agent/Prompt/Compile.hs
Pipeline scheduler: run=pipeline-omni-agent-prompt-compile-hs-t-395-1771560258 domain=Omni/Agent/Prompt/Compile.hs status=done cost=49c (fund-spend=failed)
Ava triage: pipeline auto-run reached status=done but the agent made NO git commits and reported blockers (missing files, path mismatches, or need clarification). This task is not actually in review — there's nothing to review. Resetting status to Open so it can be re-scoped.
Pipeline: agent died without producing a commit, resetting