Adopt native configuration discovery and a single PromptKit entry file

This commit is contained in:
2026-11-20 04:26:17 +00:00
parent adbe62a1e9
commit 733540f936
16 changed files with 585 additions and 697 deletions

View File

@@ -239,13 +239,23 @@ paths against the selected commits. Final composed behavior is checked in Stage
## Stage 2: Adapt Authoritative Application Loading And Shared Selectors
**Status: In progress; override decision resolved.** Adopt ConfigKit v1.2.1's
native conflict behavior; no upstream change or dependency upgrade is required.
The former named-selector/`--set` precedence test is obsolete: configuration
commands no longer expose named application overrides. Cover native override
conflicts directly and HTTP named overrides on `serve`. Previously reported
configuration and metadata/selection-error checks do not establish completion
of these revised requirements.
**Status: Complete.** Application loading uses the selected native directory
presets, strict nested `promptkit` acquisition settings, and ConfigKit's native
override/conflict handling. The shared engine uses one optional import-enabled
main file and retains the bundled underlay. Removed the render default,
source/schema bindings, source classification, and parser-owned application
override collector. HTTP bindings retain explicit presence and `int64` limits.
Verified on Go 1.27.4: configuration package tests and race checks, plus focused
native composition/loading/engine tests and race checks using the new source
files directly. Coverage includes discovery order and filenames, optional search
exhaustion isolated from host system configuration, explicit-empty selections,
imports/overlays, duplicate and overlapping override evidence, normalization,
HTTP empty/zero/full-width values, fresh loads, cancellation, removed flags, and
collection-relative message resources. Full-package compilation is intentionally
deferred: the unreachable old CLI files/tests still reference retired settings
and helpers and will be removed/replaced in Stage 8. Do not interpret the focused
checks as an assembled-application validation; finish that in Stage 9.
**Discovery and source decisions: Settled.** Implement the ordered native search
and single external framework entry file specified above. Remove source/schema