From 2c55bf5f1e0b1245b7c74bb3551253de24dd13cf Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Thu, 24 Sep 2026 00:15:27 +0000 Subject: [PATCH] Upgrade prototype to ConfigKit 0.4.0 --- docs/roadmap/implementation.md | 3 ++- docs/roadmap/library-boundary-findings.md | 9 ++++++++- examples/library-adoption/README.md | 3 +++ examples/library-adoption/go.mod | 2 +- examples/library-adoption/go.sum | 4 ++-- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/docs/roadmap/implementation.md b/docs/roadmap/implementation.md index f4b833d..4816708 100644 --- a/docs/roadmap/implementation.md +++ b/docs/roadmap/implementation.md @@ -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 diff --git a/docs/roadmap/library-boundary-findings.md b/docs/roadmap/library-boundary-findings.md index 9066f14..225dde5 100644 --- a/docs/roadmap/library-boundary-findings.md +++ b/docs/roadmap/library-boundary-findings.md @@ -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 diff --git a/examples/library-adoption/README.md b/examples/library-adoption/README.md index 0d2c437..9ea60bf 100644 --- a/examples/library-adoption/README.md +++ b/examples/library-adoption/README.md @@ -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): diff --git a/examples/library-adoption/go.mod b/examples/library-adoption/go.mod index 983d2ea..a78ef1a 100644 --- a/examples/library-adoption/go.mod +++ b/examples/library-adoption/go.mod @@ -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 diff --git a/examples/library-adoption/go.sum b/examples/library-adoption/go.sum index 5344752..8a0b38c 100644 --- a/examples/library-adoption/go.sum +++ b/examples/library-adoption/go.sum @@ -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=