Upgrade prototype to ConfigKit 0.4.0

This commit is contained in:
2026-09-24 00:15:27 +00:00
parent c97a6fa70a
commit 2c55bf5f1e
5 changed files with 16 additions and 5 deletions

View File

@@ -46,7 +46,8 @@ prefix below. Root `go test ./...` does not cover this nested module.
## Stage 1: Upgrade the Prototype Dependency
**Status:** Pending. **Depends on:** nothing.
**Status:** Complete (2026-09-24). **Depends on:** nothing. ConfigKit v0.4.0 pinned;
the nested offline tests and demonstration passed with the expected 1/4/0/2 result.
Read the prototype README, `go.mod`, `go.sum`, and the current ConfigKit roadmap.
Confirm the working tree and run the existing nested-module tests once as a

View File

@@ -13,12 +13,19 @@ evidence; they do not establish overlay integration.
## Selected Boundary
The prototype lives in [examples/library-adoption](../../examples/library-adoption/README.md),
a separate Go module using published ConfigKit v0.3.1, PromptKit v0.11.0, and
a separate Go module now using published ConfigKit v0.4.0, PromptKit v0.11.0, and
Audita v1.1.0. The Audita dependency lets this consumer reuse actual internal domain
helpers through its Audita module namespace without a local replacement. It does
not make those internal packages a new public API. Remove this dependency along
with the prototype when equivalent production integration tests exist.
The initial prototype results below were recorded with ConfigKit v0.3.1. On
2026-09-24, upgrading only its ConfigKit pin and sums to v0.4.0 required no source
changes. With Go 1.26.8 on linux/amd64, the nested offline `go test ./...` passed
and `go run .` still reported one accepted correction, four attempts, zero
transient retries, and two structural repairs. This verifies the dependency
upgrade, not selected-overlay behavior.
ConfigKit owns loading, presence, explicit overrides, secret resolution, and
redacted effective settings. PromptKit owns profile parsing, rendering, provider
execution, transient retries, structural repair, and backend admission. Audita

View File

@@ -4,6 +4,9 @@ This experimental executable exercises Audita's ConfigKit/PromptKit boundary. It
is a standalone nested Go module, not a production Audita command. Its configuration
and profile files are accepted by this prototype only. Design decisions, limitations,
and migration status belong to the [findings](../../docs/roadmap/library-boundary-findings.md).
The current prototype pins ConfigKit v0.4.0; the original v0.3.1 results remain
historical evidence in the findings. Selected overlays are not wired into this
executable yet.
From this directory, acquire dependencies once (network access required):

View File

@@ -2,7 +2,7 @@ module gitea.maximumdirect.net/eric/audita/examples/library-adoption
go 1.25.5
require gitea.maximumdirect.net/eric/ConfigKit v0.3.1
require gitea.maximumdirect.net/eric/ConfigKit v0.4.0
require (
gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v2 v2.20260922.1 // indirect

View File

@@ -1,5 +1,5 @@
gitea.maximumdirect.net/eric/ConfigKit v0.3.1 h1:etfTI/dxO3NnS18La0V6IeUh/Iv+3PjVfEyaN8hTuOM=
gitea.maximumdirect.net/eric/ConfigKit v0.3.1/go.mod h1:tYWpsrbLyu05r8+1MapWp5fN6ZrX9I8hU2xEPedYmYk=
gitea.maximumdirect.net/eric/ConfigKit v0.4.0 h1:fo+vKff3zTGeWqJIA38NtT84b6OUP//9ZmBH3lFuKgk=
gitea.maximumdirect.net/eric/ConfigKit v0.4.0/go.mod h1:tYWpsrbLyu05r8+1MapWp5fN6ZrX9I8hU2xEPedYmYk=
gitea.maximumdirect.net/eric/audita v1.1.0 h1:RHhrmIgH99onYXrgVYsjVs1ViHWV2+MYzadibPwra+g=
gitea.maximumdirect.net/eric/audita v1.1.0/go.mod h1:eHfdnCgg2CBgiSWKSFivJp0KNKXHdfNBx9rlmyyNLMc=
gitea.maximumdirect.net/eric/promptkit v0.11.0 h1:x7JguOUiInPVXK0GEitjyoRFqqvcuSTjYUvqJ+whtik=