Confidence badges
The "ashlr confidence" footer on compressed tool output — when it appears, how the tier is computed, and how to recover full fidelity.
When an ashlr tool shortens its output, it appends a one-line confidence footer that says how much of the original survived:
The footer names the tier, the raw and returned sizes, and how to get the full output back. It comes from confidenceBadge in servers/_summarize.ts, which the tools that compress output share, including ashlr__read, ashlr__grep, ashlr__bash, ashlr__diff, ashlr__logs, ashlr__sql, ashlr__http and ashlr__webfetch.
When it appears
- When the output was shortened (fewer bytes returned than the raw output had) and the raw output was at least 512 bytes. Small or verbatim results carry no footer.
- Always when the LLM summarizer failed and the tool fell back to truncation, or when a command exited non-zero and output was elided. Both are reported as
low, whatever the size.
Tiers
The tier is the ratio of returned bytes to raw bytes:
| Tier | Condition |
|---|---|
high | Returned output is at least 1/3 of the raw size. |
medium | Returned output is at least 1/8 of the raw size. |
low | Less than 1/8 survived, nothing survived, the LLM summarizer fell back to truncation, or a command exited non-zero with output elided. |
The footer stays within 80 characters. When the full line would be longer, the byte sizes are dropped first.
What to do with it
high: most of the output is present.medium: a large part was elided or summarized. Before a targeted edit, check the exact lines.low: most of the output is gone. Re-run the call withbypassSummary: true, as the footer says, or narrow the request.
Compressed output is a navigation aid. Omitted content is not absent; retrieve it before editing or verifying behavior.