From a51d12d898b1c5e63efdd3d74d97076b4dc7aae6 Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Sun, 18 Oct 2026 14:42:10 +0000 Subject: [PATCH] Correct collection profile inspection example --- docs/consumers/pkg-promptkit.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/consumers/pkg-promptkit.md b/docs/consumers/pkg-promptkit.md index bf4e430..5057504 100644 --- a/docs/consumers/pkg-promptkit.md +++ b/docs/consumers/pkg-promptkit.md @@ -203,13 +203,14 @@ sensitive application data. Use [`Engine.InspectConfiguration`](../../configuration_inspection.go) for an operator-selected report of effective configuration, source descriptions, -diagnostics, and path history. For a literal ID containing a slash, construct -the semantic path with `configkit.Keys`: +diagnostics, and path history. Configuration inspection uses the collection's +nested configuration path rather than its qualified runtime ID. For profile +`team/summary`, construct the semantic path with `configkit.Keys`: ```go view, err := engine.InspectConfiguration() if err != nil { return err } -path := configkit.Keys("profiles", "team/summary", "model") +path := configkit.Keys("collections", "team", "profiles", "summary", "model") explanation, found := view.Explain(path) if found && explanation.Effective.Redacted { // Apply the application's disclosure policy before sharing the report.