Add reporting and debug settings with context-aware CLI selection
This commit is contained in:
@@ -589,6 +589,16 @@ focused runner/runtime race tests when those packages are testable.
|
||||
|
||||
## Stage 7 — Add Reporting and Debug Settings and CLI Selection
|
||||
|
||||
**Completed 2026-09-24.** Version-2 settings now resolve reporting and debug
|
||||
independently, with typed visited boolean overrides and destination selection
|
||||
only for enabled reports. The old JSON-report and retention flags/settings were
|
||||
removed; CLI entry points now carry a context from interrupt/SIGTERM handling.
|
||||
ConfigKit tests and focused CLI parser tests cover defaults, overlay false
|
||||
overrides, bare booleans, destination selection, and removed flags. `go test
|
||||
./internal/core/config`, `go test internal/cli/config_input.go
|
||||
internal/cli/config_input_test.go`, and `git diff --check` passed. Whole CLI tests
|
||||
remain unavailable until Stage 8 replaces the report builder's warning fields.
|
||||
|
||||
**Work:** Implement A in `core/config/config.go`, `cli/config_input.go`, invocation
|
||||
state, and usage text. Add boolean flags with visited-value overrides and update
|
||||
safe effective-setting/provenance output. Remove the old external JSON report flag
|
||||
|
||||
Reference in New Issue
Block a user