Expand description
Distillation: builds the prompt with evidence (git + sessions) and calls the
LLM via a configurable command (default “claude -p”). Injectable command means
tests use cat and users can swap LLMs without changing code.
Enums§
- Confidence
- How well AI sessions align with git evidence for a branch.
Functions§
- build_
prompt - Builds the context-reconstruction prompt for an open loop.
- compute_
confidence - Derives a confidence level from matched session excerpts.
- format_
dry_ run - Shows git and session evidence that would feed distillation, without calling the LLM.
- run_llm
- Runs the LLM command with the prompt on stdin and returns stdout.
- with_
sources - Appends the
## Sourcessection to the LLM-generated document.