Move integration code into optional modules

This commit is contained in:
2026-10-11 01:06:21 +00:00
parent 0d23676144
commit 476e98a463
28 changed files with 348 additions and 285 deletions

View File

@@ -1,6 +1,6 @@
# Implement the optional integration modules and captured registration API
Status: decision-complete plan for the module/API transition; implementation pending.
Status: implementation in progress. Stage 1 is complete; subsequent work follows the ordered roadmap.
Execute the stages in order. Each stage is sized as a separate Luna coding-agent
assignment. This document authorizes no publication or changes to sibling
repositories.
@@ -150,8 +150,17 @@ compatibility relocation layer.
tidy partially refactored packages or add temporary root re-exports. Final
manifests and sums are reviewed after their owners compile.
**Completion evidence:** inspect source/test/example ownership and the three module
declarations. Explain any shared test split. Compilation is not required here.
**Completion evidence — complete:** configuration source/tests/benchmarks and the
simple example now belong to `integrations/ckconfig`; PromptKit source/tests/
benchmarks and the composed example belong to `integrations/ckprompt`. The root
contains the core package and generic dispatch metadata refresh test, with no
optional-library consumer. The three declarations use the selected module paths
and Go 1.26.0. The two configuration cancellation cases and three configuration
benchmarks moved to ckconfig; PromptKit cancellation and report benchmark moved
to ckp; the mixed registration/help refresh test moved to ckp while the generic
core refresh test remains in root. No compatibility relocation layer was added.
As specified, compilation is not required for this ownership step; manifests and
sums remain for review after the owners compile.
## Stage 2: Implement core-owned values and immutable declarations