Align contributor documentation with shared configuration
This commit is contained in:
@@ -2,23 +2,22 @@
|
||||
|
||||
This document covers application acquisition and the restricted HTTP artifact
|
||||
reader. [Configuration](../config.md) owns field/discovery/composition contracts;
|
||||
the [PromptKit formats](https://forge.maximumdirect.net/base-layer/promptkit/src/commit/804a4d32b23aa2e7973400bb0a322a7016574c9f/docs/formats.md)
|
||||
the [PromptKit formats](https://forge.maximumdirect.net/base-layer/promptkit/src/commit/207677e9948dc5699073a4d6620d21139033c72d/docs/formats.md)
|
||||
own framework resources and execution semantics.
|
||||
|
||||
## Application Boundary And Engine Construction
|
||||
|
||||
`internal/config.Load` selects an explicit File or the ordered native SearchConfig
|
||||
presets and performs one ConfigKit load with imports, overlay selection, and
|
||||
explicit overrides. It returns the actual Result with native inspection evidence.
|
||||
presets, prepares the selected source with native secrets bootstrap, and performs
|
||||
one layered ConfigKit load with imports, overlay selection, explicit overrides,
|
||||
and the bundled underlay. It returns the actual Result and bootstrap report.
|
||||
Definition callbacks supply application defaults, record actual path/address
|
||||
normalizations through ConfigKit, and validate retry/HTTP-size domains. Settings
|
||||
conversion consumes completed values without another merge or normalization pass.
|
||||
normalizations through ConfigKit, and validate retry/HTTP-size domains. PromptKit
|
||||
composes its settings rules into the same typed definition.
|
||||
|
||||
The typed application PromptKit section selects acquisition only. In
|
||||
`engine.go`, a nonempty resolved configuration path becomes an import-enabled
|
||||
main Input; an empty path leaves Main nil. The schema base and retry default are
|
||||
passed directly, retaining the bundled underlay. There is no source-list parser,
|
||||
directory classification/expansion, or one-underlay-per-selector algorithm.
|
||||
`engine.go` passes the completed result to PromptKit's `NewFromConfig` along
|
||||
with the application retry setting and any runtime options. It performs no
|
||||
second load, projection, or source-list expansion.
|
||||
|
||||
Framework imports resolve within the native source context. Message resources
|
||||
are captured from their defining contexts at engine construction. Schema and
|
||||
@@ -27,11 +26,10 @@ Independent collection checkouts are discovered by native file import globs,
|
||||
not application traversal. New invocations reload normally; a server retains
|
||||
its single engine until restart.
|
||||
|
||||
Application-only inspection uses its completed result without framework
|
||||
acquisition. Framework inspection exposes the native captured view separately.
|
||||
Diagnostic decoration in the [CLI adapter](adapters.md) carries application
|
||||
messages without combining evidence trees or effective documents. There is no
|
||||
per-invocation engine/config cache or cross-invocation snapshot guarantee.
|
||||
Both configuration scopes inspect the completed shared document without
|
||||
constructing an engine. The focused view retains native whole-load evidence.
|
||||
The [CLI adapter](adapters.md) forwards bootstrap reports separately; there is
|
||||
no per-invocation engine/config cache or cross-invocation snapshot guarantee.
|
||||
|
||||
## Restricted HTTP Artifact Reader
|
||||
|
||||
|
||||
Reference in New Issue
Block a user