Design ref: llama-conductor patterns for log retrieval cascade + provenance tracking #59
Labels
No labels
compliance
demo
deployment
docs
enhancement
parser
patterns
performance
security
ux
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/turnstone#59
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reference project
GitHub: https://github.com/BobbyLLM/llama-conductor
License: AGPL-3.0 — do NOT incorporate code; patterns only
Relevant patterns for Turnstone
Retrieval cascade ordering
llama-conductor enforces a strict source priority before falling back to model inference:
For Turnstone the equivalent would be:
The key principle: model inference only fires after deterministic sources are exhausted. This prevents the LLM from hallucinating a diagnosis when a real log pattern already exists.
Provenance footer on every response
Every llama-conductor answer includes:
Confidence: <tier> | Source: <path>Turnstone should surface the same — when a diagnosis is returned, the UI should show:
This is directly aligned with the Human Approval step in the CF pipeline and reduces blind trust in LLM output.
Explicit refusal when evidence is absent
llama-conductor refuses to answer rather than speculate when no grounding evidence exists. Turnstone should do the same: if the log pattern is not in the index and the LLM confidence is below threshold, return "insufficient evidence" rather than a low-confidence guess.
Next steps
sourceandconfidence_tierfields to diagnosis response schemaexact_match,pattern_match,llm_inferred,insufficient_evidence