Load shared PromptKit settings with native secrets bootstrap
This commit is contained in:
@@ -89,6 +89,19 @@ Build failures from removed schema APIs or old fixtures are expected at this poi
|
||||
|
||||
## Stage 2 — Replace The Configuration Schema And Loader
|
||||
|
||||
**Status: Complete.** Embedded native PromptKit settings and composed its
|
||||
definition with application validation and normalization. Configuration loading
|
||||
now bootstraps the selected source once, retains its native report and typed
|
||||
errors, and performs one layered load with the bundled underlay. Retired fields
|
||||
and raw backend/profile keys are rejected at their effective paths; native
|
||||
sensitivity is composed with the application raw-key boundary.
|
||||
|
||||
The offline configuration package tests pass on Go 1.27.4, covering native
|
||||
extensions, diagnostics, discovery, overrides, server normalization, and
|
||||
configured bootstrap preservation, overwrite, exhaustion, and failure effects.
|
||||
The old conversion and callers remain temporarily for the next stage, so the
|
||||
assembled application is not yet expected to compile or pass its full suite.
|
||||
|
||||
**Files:** `internal/config/document.go`, `load.go`, their tests,
|
||||
`internal/defaults/defaults.go`; remove obsolete settings definitions when callers
|
||||
are migrated in Stage 3.
|
||||
|
||||
Reference in New Issue
Block a user