Keep raw runtime parameters out of early capture

This commit is contained in:
2026-11-28 16:12:52 +00:00
parent 63cdd7a7c5
commit 95d46c7da3
6 changed files with 127 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ and report delivery. See [preflight operation](../operations.md#preflight-lifecy
[Debug selection](../../internal/cli/run_debug.go) preserves native boolean and
supplied directory semantics independently of verbosity. Run and explicit preflight
calls [debug.Start](../../internal/framework/debug/recorder.go).
call [debug.Start](../../internal/framework/debug/recorder.go).
[Bundle allocation](../../internal/core/debugbundle/bundle.go) validates identity,
creates a new absolute per-run directory, and atomically updates a relative
latest link at start. Failure can return an available directory for explanation/
@@ -147,6 +147,10 @@ fallback directory. Available files are retained.
## Native And Application Evidence
Both invocation owners share early context capture. It records provider-parameter
override presence rather than raw maps; effective parameters remain in native
evidence with selected-target sensitivity marks applied.
[Run capture](../../internal/cli/run_capture.go) snapshots the original secret-aware
application/PromptKit configuration. The runner selects the explicit evidence
writer when provided, otherwise enabled debug, and writes original and parsed