Documentation
¶
Overview ¶
llm_pipeline.go — v0.3.0 glue between the v0.2 heuristic scorer and the optional Ollama rerank. Both `excise suggest --llm` and `excise pick --llm` enter through rankCandidates, which decides whether to invoke the LLM and degrades to the heuristic result on any failure.
The Reranker is injected via a package-level factory so tests can swap in a stub without spinning up an HTTP server. Production code always uses ollamaRerankerFactory which wires through internal/llm.
Command excise — surgical context editing for coding-agent transcripts.
Usage examples:
excise # auto-discover newest Claude session, open TUI excise list # render the turn table (no edits) excise pick <path> # open the TUI on a specific session excise cut 5-7,9 <path> # non-interactive cut by 1-based turn index excise rollback --list excise rollback <snapshot-id>
See the README for the full primitive description and asciinema demo.
suggest.go — v0.2.0 `excise suggest` subcommand.
Read-only: runs the heuristic scorer (internal/suggest) on a session, prints the top-K candidate turns. Never mutates the file.