From df7e0eaec54d0927571afd35671ba6f3f821e68f Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Sat, 5 Dec 2026 17:11:42 +0000 Subject: [PATCH] Clarify inspection access through load errors --- docs/config.md | 8 +++++--- docs/roadmap/remediation.md | 6 +++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/config.md b/docs/config.md index f0bf193..2ec578f 100644 --- a/docs/config.md +++ b/docs/config.md @@ -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. diff --git a/docs/roadmap/remediation.md b/docs/roadmap/remediation.md index 3bfdb3f..7c85cbb 100644 --- a/docs/roadmap/remediation.md +++ b/docs/roadmap/remediation.md @@ -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