Rewrite the debug path to provide raw LLM prompt and response artifacts
This commit is contained in:
@@ -138,12 +138,12 @@ checkpointing does not write debug output.
|
||||
Debug artifacts include framework-boundary inputs and outputs for source,
|
||||
chunk, extract, merge, normalize, and output work, structured LLM request and
|
||||
response data from Notarius contracts, validator requests and results, timing,
|
||||
and retry attempt metadata. Canonical LLM call artifacts are written under
|
||||
`llm/call-000N.json`; LLM calls made inside a retry or validator attempt are
|
||||
also copied under that attempt directory and linked from the attempt
|
||||
`llm_calls` array. LLM response content in those artifacts is written as raw
|
||||
text for inspection. Debug artifacts may contain source material, reference
|
||||
material, prompt inputs, model outputs, and other sensitive data. Obvious
|
||||
and retry attempt metadata. LLM calls made inside a retry or validator attempt
|
||||
write paired `prompt-000N.json` and `response-000N.json` files under that
|
||||
attempt directory and are linked from the attempt `llm_calls` array. Prompt and
|
||||
response content in those artifacts is written as raw text for inspection.
|
||||
Debug artifacts may contain source material, reference material, prompt inputs,
|
||||
model outputs, and other sensitive data. API keys are not written, and obvious
|
||||
credential-shaped values and sensitive map keys are redacted in framework
|
||||
envelopes, but debug directories should still be protected as sensitive local
|
||||
state.
|
||||
|
||||
Reference in New Issue
Block a user