Doc system test

Secret redaction

How headless errors are kept from echoing a supplied answer, so a password never reaches the JSON envelope.

Meta block front matter of this doc
namespaces
  • durian.cloud/cyanprint/prompting
type
algorithm
code
  • sulfone.iridium/cyanprompt/src/domain/services/template/redact.rs
  • sulfone.iridium/cyanprompt/src/domain/services/template/engine.rs

Every supplied answer value is tracked while it is in a request. If an error message contains one (raw, JSON-escaped, or URL-encoded), the message is dropped and only the question id is reported.

Where it lives

  • sulfone.iridium/cyanprompt/src/domain/services/template/redact.rs
  • sulfone.iridium/cyanprompt/src/domain/services/template/engine.rs

Stub: summary only.