Clarify inspection access through load errors
This commit is contained in:
@@ -922,9 +922,11 @@ translated to a fixed safe error. There is no unredacted rendering option and
|
||||
ConfigKit performs no implicit logging.
|
||||
|
||||
`Result.Config` is the explicit trusted boundary and contains ordinary typed values,
|
||||
including secrets. Metadata records, diagnostics, and load errors contain no
|
||||
configuration values. Explanation snapshots deliberately expose non-secret
|
||||
configuration history after applying the redaction contract below. Applications
|
||||
including secrets. Metadata and diagnostics do not embed configuration snapshots.
|
||||
`LoadError.Error()` does not render diagnostic messages or input values. Explicitly
|
||||
requested inspection snapshots, including those obtained from a load error, can
|
||||
expose non-secret current and historical values under the same redaction rules.
|
||||
Applications
|
||||
must still keep source labels, resolution reasons, and diagnostic messages value-free
|
||||
because ConfigKit cannot infer and sanitize secrets embedded in arbitrary application
|
||||
prose.
|
||||
|
||||
@@ -175,7 +175,11 @@ both use the same corrected evidence.
|
||||
|
||||
## Finding 3 — Clarify the diagnostic-only statement about load errors
|
||||
|
||||
**Status:** Open. **Priority:** P3. **Affected stage:** 10.
|
||||
**Status:** Complete. Clarified the distinction between ordinary diagnostic/error
|
||||
reporting and explicit snapshot inspection in `docs/config.md`. Reviewed against
|
||||
the public error and inspection methods and checked whitespace.
|
||||
|
||||
**Priority:** P3. **Affected stage:** 10.
|
||||
|
||||
[docs/config.md](../config.md#classification-and-output-details), around line
|
||||
925, still states that metadata records, diagnostics and load errors contain
|
||||
|
||||
Reference in New Issue
Block a user