Repository navigation
feat(config,check,build,deploy)!: FLOOR-SLIM Wave 1 — mechanical batch + Config restructure + check envelope + installstep envelope - #172
Conversation
…ared/deploykit) FLOOR-SLIM Unit 3 (P13/K4-C bundle-dispatch): vm_deploy_state.go's pure helpers (vmNameFromDeployName, splitVmAddress, resolveVmSshPort, pruneStaleVmDottedTwin, vmDeployEntryKeys) moved to sdk/vmshared + sdk/deploykit (see the sdk submodule commit for the split rationale — a deploykit<->vmshared import-cycle constraint the scoping map's "all five to vmshared" framing missed). charly/vm_deploy_state.go keeps only the pluginPrimaries-registry-coupled write path (saveVmDeployState/ removeVmDeployEntry). All three external call sites repointed (bundle_add_cmd.go, check_cmd.go, host_build_deploy_node_del_dispatch.go). Tests relocated with their functions; charly/vm_ssh_port_test.go deleted (fully superseded by sdk/deploykit's TestResolveVmSshPort). R5 stale-reference sweep clean. Bumps the sdk gitlink to 0b436b9 (adds the relocated helpers + tests). Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
… data move Corrects the FLOOR-SLIM scoping map's Cluster-2 estimate for the CHECK-ENVELOPE + FAMILY unit after independent call-chain verification of every assigned file: most of the "MOVE" verdicts in that map do not survive direct code inspection (check_kit_adapter.go/planrun_adapter.go/checkrun_act.go's bulk are core registry-adapter glue; host_build_check_run.go's business logic is K1-blocked via LoadUnified; cue_kind_check.go/cue_kind_k8s.go are core kind-recognition D-clause data; description_collect.go is blocked on a different unit's config.go move; agent_config.go's only caller is itself K1-blocked). This lands the confirmed-safe slice; the rest is reported back to the orchestrator for a corrected unit scope. Purely internal Go refactoring — no YAML/CLI/OCI-label surface changes, so no breaking-change marker. - Delete charly/capabilities.go's `Capabilities` alias (ZERO-ALIASES residue) and its label-completeness machinery — moved to sdk/deploykit/ capabilities.go (pure over spec.BoxMetadata + deploykit.ExtractMetadata, zero registry/LoadUnified coupling). Repoint the 3 real consumers (host_build_k8s_generate.go, k8s_generate.go, k8s_deploy_from_box.go) to spec.BoxMetadata / deploykit.CapabilitiesFromLabels directly. - Split checkspec.go: the pure per-verb metadata DATA (VerbSpec/VerbCatalog/ installVerbs) moves to sdk/spec/verb_context.go, alongside the DoMode/ ExecContext enums it is built from. The registry-coupled FUNCTIONS (opActsInBuildDeploy/opEffectiveDo/opEffectiveContexts/opInContext) stay — they dispatch through providerRegistry.ResolveVerb/ResolveStep, a package-main-private mechanism no separate module can reach. - Delete checkrun_act.go's shQuoteArg (a 1-line kit.ShQuoteArg re-export); repoint its 2 call sites in deploy_target_external.go directly. - Fold vnc_helpers.go's resolveVNCPassword into check_endpoint_resolve.go (its sole caller's file) — in-core consolidation, not a plugin move (the out-of-process plugin cannot reach the credential store). charly/ core non-test LOC: 38,944 → 38,643 (-301). go test ./... / go vet ./... / golangci-lint run ./... all clean in charly and sdk (GOWORK=off standalone); sdk/spec TestGenReproducible clean (verb_context.go is hand-written, not CUE-generated, so no regen drift). Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
…letion, axis-A kit-import drops
FLOOR-SLIM K5 mechanical batch (charly core-minimization program), the
MECHANICAL BATCH = scoping map §c Units 1+2+5:
1. Dead code (orchestrator-verified):
- charly/distro.go: deleted InstallHint() (dead — zero charly-core callers;
candy/plugin-vm has its own independent InstallHint). installHints var
kept (live via host_build_hostprobe.go:96).
- charly/tunnel.go: deleted ValidPublicPorts (zero refs anywhere; the file's
own header falsely claimed it was consulted — fixed in the same change,
R1). Moved the pure resolution fns (ResolveTunnelConfig/
TunnelConfigFromMetadata/parseHostPorts/buildPortMapping/resolveProto) to
sdk/deploykit/tunnel_resolve.go; charly/tunnel.go now aliases the two
entry points. Test moved to sdk/deploykit/tunnel_resolve_test.go.
2. charly/graph_shim.go: DELETED (a pure P8-transitional wrapper shim). Its 8
callers (candy_chain.go, bundle_compile_seam.go, engine.go,
render_baked_metadata.go, build.go, build_resolve_host.go,
resolved_project_host.go, render_prep.go) now call
deploykit.ResolveCandyOrder/ResolveBoxOrder/ResolveBoxLevels/
CandyProvidedByBox/BoxDirectDeps directly. graph_test.go's candy-
composition/bootstrap-builder/image-level coverage relocated to
sdk/deploykit/graph_shim_relocated_test.go (deploykit's own graph_test.go
didn't already cover these scenarios). Fixed a stale "Mirrors
graph_shim.go" comment in intermediates_shim.go (R5).
3. vmshared_aliases.go: deleted the 12 zero-usage names (AliasYAML,
CandyCapabilities, DataYAML, DecrementSnapshotRefcount, ExtractYAML,
IncrementSnapshotRefcount, ResolveKeyInjectionChannels, SecretYAML,
SnapshotCreateOpts, SnapshotEntry, StepKeyword, WriteSeedISO) —
grep-verified zero usage. cleanup.go (RegisterShutdownHook/
RegisterTempCleanup/UnregisterTempCleanup/InstallSignalHandler/
SweepStaleTemps) does NOT relocate into charly — verified that
RegisterTempCleanup/UnregisterTempCleanup/InstallSignalHandler are called
DIRECTLY (not via any charly alias) from candy/plugin-enc, candy/plugin-oci,
candy/plugin-vm, candy/plugin-secrets, and sdk/deploykit/localpkg.go — a
genuinely shared library, not a main.go-only dependency. See orchestrator
report for full evidence.
5. Axis-A mechanical (drop kit import via sdk/spec promotion, zero logic
change):
- plugin_provider_common.go: deploykit.ScopeFromName -> spec.ScopeFromName;
dropped the deploykit import entirely.
- materialize.go, node_build.go, cue_normalize.go: kit.ScalarNode/
kit.ClassifyDoc/kit.DocShapeNode/kit.MappingRoot -> spec.* directly;
dropped the kit import in all three (kit.* aliases kept for every other
existing consumer — sdk/loaderkit, candy/plugin-migrate, charly's
validate.go/unified.go — zero call-site churn there).
- plugin_inproc.go: kit.RefsDownloader -> spec.RefsDownloader (the interface
contract; kit.DefaultDownloader, the concrete git-fetch impl, stays in
kit); dropped the kit import.
- NOT moved (verified architecturally unsuitable, not mechanical): kit.
DoHTTPRequest/HTTPRequest (plugin_checkcontext_reverse.go — genuine
network-I/O mechanism, not spec material); kit.CalVer/ParseCalVer/
LatestSchemaVersion (version.go — blocked by an EXISTING spec.CalVer=
string collision, explicitly documented in the source); kit.
LoadProcessDotenv (main.go — stateful host-env-mutation mechanism tied to
unexported package state in kit/envfile.go, not a pure data-shaping fn).
K1-proper (unified.go) and the cleanup.go relocation were investigated per the
brief's required traces and NOT executed this batch — see the orchestrator
report (ApplyDiscover/applyDiscoveredManifest trace, the discovered
candy/plugin-loader WalkProject/ParseDoc seam architecture, and the
IMPORT-PURITY conflict a naive unified.go->loaderkit move would create).
go test ./... (charly + sdk standalone), go vet, and golangci-lint run: clean.
task build:binary: clean.
Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
…eanup.go consumer repoint
Two orchestrator corrections to the prior FLOOR-SLIM mechanical-batch commit:
1. tunnel.go: the prior commit left a declaration-form alias block
(`var ResolveTunnelConfig = deploykit.ResolveTunnelConfig` /
`var TunnelConfigFromMetadata = deploykit.TunnelConfigFromMetadata`) — a
NO-NEW-ALIASES violation (an alias is a mislocated call site, never a
landing spot). Fixed: deleted the alias block; the 3 real charly-side
callers (box_inspect_overlay.go, host_build_pod_config_seams.go,
pod_lifecycle_resolve.go) now call deploykit.ResolveTunnelConfig /
deploykit.TunnelConfigFromMetadata directly. The pre-existing type
aliases (TunnelPort/TunnelConfig = spec.*, predating this batch) are
untouched — out of this fix's scope.
2. cleanup.go consumers: repointed every charly-side call site
(builder_venue.go, privileged_runner.go, main.go) plus every plugin
consumer (candy/plugin-enc, candy/plugin-oci, candy/plugin-secrets,
candy/plugin-vm) from vmshared.{Register,Unregister}TempCleanup /
InstallSignalHandler / RegisterShutdownHook / SweepStaleTemps to
sdk/proclifecycle's new home (sdk PR: the carve-out commit). charly/
vmshared_aliases.go: deleted the 5 now-dead alias lines; the genuinely
VM-ish remainder (pollUntil/RenderCloudInit/ParseLibvirtURI/
DetectHostDistro/DetectHostGlibc/ErrPollFatal/NewSSHTunnel) is
untouched, per the orchestrator's explicit "do not touch" scope.
charly/main.go imports sdk/proclifecycle directly (a stdlib-only leaf,
not a mechanism kit — IMPORT-PURITY-compatible).
sdk gitlink bumped to 502b32b (the proclifecycle carve-out).
go build/test/vet (charly + sdk standalone) and golangci-lint run: clean.
task build:binary: clean. Also built + tested candy/plugin-enc,
candy/plugin-oci, candy/plugin-vm (workspace members) and
candy/plugin-secrets (standalone, not a go.work member) individually: clean.
Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
FLOOR-SLIM K1-proper mechanical batch (per the map's own required trace, reported separately: ApplyDiscover/applyDiscoveredManifest callers are both core K1-coupled sites, not "K3 candy-scan" as speculated — NOT moved this batch; canonicalRef is already correctly threaded into the compiled-in candy/plugin-loader's WalkSeams as ResolveRef — NOT movable; ProjectConfig/ ProjectCandies are *UnifiedFile methods returning host types — NOT movable without a redesign). unified.go's validateDeploymentTree/validateDeployRequiresBox/ validateDeploymentChildren/validateDeploymentName deleted — pure structural validation over map[string]spec.BundleNode with zero registry/host coupling, relocated to sdk/spec/deploy_tree_validate.go (exported). Callers repointed: unified.go's LoadUnified (the sole validateDeploymentTree call) and bundle_members.go's peer-member validation (the sole validateDeploymentName call outside unified.go) now call spec.* directly. Test + comment references updated (deploy_node_test.go, deploy_save_test.go, substrate_lifecycle_grpc.go, vm_deploy_state.go). sdk gitlink bumped to f2a9e58. go build/test/vet (charly + sdk standalone) and golangci-lint run: clean. task build:binary: clean. Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
….CheckResult
Completes the CheckResult wire-envelope split (sdk submodule bump to
ff51afb): deletes charly/checkrun.go's package-main CheckStatus/CheckResult/
TestPass/TestFail/TestSkip aliases entirely. Every registry-coupled floor
file that constructs or reads a check verdict now references
spec.CheckResult / spec.StatusPass/StatusFail/StatusSkip directly:
- provider_verb.go: the CheckVerbProvider interface's RunVerb now returns
spec.CheckResult.
- verb_builtins.go, check_kit_adapter.go: pluginVerb.RunVerb / kitVerbAdapter.
RunVerb updated to match.
- planrun_adapter.go: hostVerbResolver.RunVerb/RunProvisionAct now satisfy
kit.VerbResolver's spec.CheckResult-returning signature (the sdk-side
interface change that makes this repoint possible).
- checkrun_act.go: runProvisionAct updated to match; its skipf/failf/passf
calls already returned spec.CheckResult (checkrun.go).
- provider_checkenv.go: runPluginVerb/invokeVerbProvider construct/return
spec.CheckResult; res.Status assignments repointed to spec.StatusPass/Fail/
Skip.
- unified_targets.go: the one bare .Status comparison repointed to
spec.StatusFail.
- checkrun.go: passf/failf/skipf now build spec.CheckResult directly.
Zero new sdk/kit import lands on any of these floor files.
candy/plugin-check/check_cmd_test.go: the one kit.CheckResult{...} composite
literal in the whole candy/ tree updated to the embedded-field literal form
(kit.CheckResult{CheckResult: spec.CheckResult{...}}) — everything else in
candy/ already went through kit.Pass/Fail/Skip (kit.Result, unaffected) or
kit.CheckResult by selector, not literal.
~22 charly/ test files mechanically repointed (TestPass/TestFail/TestSkip ->
spec.StatusPass/StatusFail/StatusSkip, CheckStatus -> spec.Status, bare
CheckResult -> spec.CheckResult where the value is a plain verdict; one
kit.CheckResult-typed channel in poll_probe_neverhang_test.go correctly kept
as kit.CheckResult since it holds kit.Runner.Run()'s actual return type).
plugins submodule bump (9421ff8): R5 sweep of /charly-internals:go's SDD
section, which described kit.CheckResult as wholesale hand-written — updated
to describe the narrower current split (documentation-only, `documentation
reviewed` tier on that leg).
Verification: task build:binary clean; go vet ./... clean; go test ./...
clean (137s) in charly/; golangci-lint run ./... 0 issues in charly/ and
candy/plugin-check (workspace + GOWORK=off standalone).
Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
All-documentation submodule bump (comment-only sdk change, zero behavior change) -- gitlink f2a9e58 -> fbb570c. Assisted-by: Claude Code (Anthropic Claude Sonnet 5; documentation reviewed)
…ldkit+deploykit
FLOOR-SLIM Unit 5 (P13/K4-C bundle-dispatch): Config (charly/config.go +
uf_box_generic.go + candy_chain.go + namespace.go) moves to sdk — the
Config TYPE + spec-typed methods to sdk/spec, buildkit-typed resolvers to
sdk/buildkit as free functions, the candy-chain walkers (whose real
dependency is deploykit.ResolveCandyOrder) to sdk/deploykit. See the sdk
submodule commit for the full split rationale, including 2 corrections to
the originally-proposed placement (the WalkBaseChain family and the candy-
chain walkers) both verified via actual import-direction analysis to avoid
inverting the spec→buildkit→deploykit dependency graph.
`Config = spec.Config` is now a type alias — package main defines NO
methods on it anymore. What stays in charly/config.go: LoadConfig/
LoadConfigRaw (the LoadUnified-coupled load entry points) + thin
ResolveBox/ResolveAllBox wrappers that fill the ONE remaining LoadUnified-
coupled fallback (loading the project's distro:/builder: vocabulary when
the caller didn't supply it) before delegating to buildkit's pure
resolvers. charly's own ResolveOpts stays a FLAT (non-embedding) struct —
embedding buildkit.ResolveOpts would have broken all ~20 existing
`ResolveOpts{Field: ...}` composite-literal call sites across the
codebase (Go forbids keyed-literal init of a promoted field).
Every external call site updated: method-call syntax (cfg.Foo(...)) stays
unchanged where the method moved to spec (just capitalized where it had no
prior external caller — ResolveBoxRef, FindBoxByLeaf, AllBoxNames, EachBox,
WalkBaseChain*); free-function syntax (Foo(cfg, ...)) where the function
moved to buildkit/deploykit (ResolveBox, ResolveAllBox, BoxCandyChain,
BoxDirectCandies, ResolveEffectiveBuilder, EffectiveBuilderForBox).
resolveLocalRef stays charly-side (as a free function) since it dispatches
to the registry-coupled resolveLocalViaPlugin, not a relocation candidate.
Includes 3 mechanical renames in refs.go (AllBoxNames/ResolveBoxRef/
EffectiveBuilderForBox + one new buildkit import) — flagged to the
orchestrator as this file was outside this teammate's original scope;
applied under practical necessity since the whole package cannot build or
be verified without them. Pure identifier renames, zero logic change.
Also: simplified resolveIntPtr's signature (dropped two parameters that
were unparam findings once its only remaining charly-side callers were
isolated — every one passes a nil fallback and a 0 default) and removed
the now-dead keepImagesFallback/keepCheckRunsFallback constants it
orphaned (retention.go).
candy_chain.go deleted (fully relocated to deploykit.BoxCandyChain/
BoxDirectCandies). namespace.go shrinks to just the one function that
stays (resolveLocalRefFor).
Bumps the sdk gitlink to dac421e (adds spec/config.go,
buildkit/config_resolve.go, deploykit/config_candy_chain.go + tests).
Verified: go build/vet/test clean (full suite, 142s) and golangci-lint 0
issues, in both charly/ and sdk (spec/buildkit/deploykit).
Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
…cription_collect.go move Merges origin/feat/floorslim-bundle (fs-bundle's Config/namespace/ uf_box_generic/vm_deploy_state K1 relocation to sdk/spec+buildkit+deploykit, own cutover, own commit history — not re-described here) and completes the LAST held piece of Unit 4 on top of it: - Deletes charly/description_collect.go entirely (CollectDescriptions + bakeableSteps), now sdk/deploykit/description_collect.go (CollectDescriptions/BakeableSteps). Repoints its 3 real callers: render_baked_metadata.go, resolved_project_host.go (fillBoxPlans), check_cmd.go (candyDirsFromScan) -> deploykit.CollectDescriptions / deploykit.BakeableSteps. - Deletes checkspec.go's stampStepIntentDo: an R1/R3 catch made during this move — its sole caller (description_collect.go's bakeableSteps) moved to deploykit (which gets its OWN copy, since the logic is 100% pure over spec.Step), leaving the checkspec.go definition an orphaned duplicate. - sdk gitlink -> a22819e (the deploykit move + the merged bundle commits). Resolved as a submodule merge conflict (git's naive 3-way couldn't see b013e24 as a descendant of fs-bundle's dac421e) — confirmed via merge-base --is-ancestor before taking this branch's side, per the descendant-wins protocol. Destination note (see CHANGELOG for the full reasoning): sdk/deploykit, not sdk/spec as originally proposed — the file calls deploykit.BoxCandyChain, and spec must never import deploykit. Verification: task build:binary clean; go vet ./... clean; go test ./... clean (107s) in charly/; golangci-lint run ./... 0 issues. This closes FLOOR-SLIM Unit 4 — no further holds. Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
# Conflicts: # charly/candy_chain.go # charly/vm_deploy_state.go # sdk
…ointers Wave 1 integration IOU: 3 comments still named charly/unified.go's validateDeploymentName, which relocated to sdk/spec/deploy_tree_validate.go's ValidateDeploymentName as part of the FLOOR-SLIM mechanical batch merged into this wave. Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
…tep-emit off the step-emit round trip onto resolved-project
candy/plugin-installstep's 4 HOST-COUPLED words (system-packages/builder/
local-pkg-install/op) no longer call back HostBuild("step-emit") for their
Containerfile fragment. Instead the plugin fetches the "resolved-project"
envelope ONCE per project dir (HostBuild("resolved-project"), cached) and
builds its OWN *deploykit.Generator via the SAME deploykit.NewRenderGeneratorFromProject
helper candy/plugin-build and candy/plugin-deploy-pod already use, then renders
each fragment directly (dg.EmitTasks / dg.BuildStageContext / kit.BuilderResolve /
deploykit.RenderLocalPkgImageInstall) — no per-render host round-trip. The few
per-invocation scalars a resolved-project snapshot can't carry (which box, a
dev-bed build, an Op step's inline-content staging dir) ride the class:step
OpEmit's existing spec.BuildEnv (op.Env), extended with DevLocalPkg/
ImageBuildDir/ContextRelPrefix (sdk change, same wave).
charly/step_emit_hostbuild.go's 4 host-coupled emitters (stepEmitSystemPackages/
stepEmitBuilder/stepEmitLocalPkgInstall/stepEmitOp) are deleted — the seam keeps
only "oci-emit-step" (the pod-overlay candy's own per-step render request, which
genuinely needs the full core provider-registry dispatch). The generic-only
seam header/doc comments across provider_step.go/step_builtins.go/checkrun_act.go/
localpkg_test.go are swept to match (R5). The core Generator.emitTasks /
.buildStageContext shims (charly/tasks.go, charly/generate.go) are deleted too —
they had zero remaining callers once stepEmitOp/stepEmitBuilder were gone.
charly/resolved_project_host.go's generic "resolved-project" seam now also
populates ExternalizedBuilders (mirroring the build-prep/overlay seams), closing
the one gap that left the plugin's own resolved-project-driven Generator
unable to distinguish an externalized detection builder from a project-custom one.
Parity proof: charly/plugin_installstep_envelope_parity_test.go (adapted from
the throwaway K3-envelope RDD spike, its one skip closed — a plugin:-verb candy
now compares too) proves the envelope-driven Generator renders EmitTasks/
BuildStageContext/BakedMetadata byte-identical to the box-build's live-core
Generator across 4 real box/fedora shapes + 1 hermetic plugin-verb fixture (5
EmitTasks comparisons, 4 carrying a plugin: verb, 1 BuildStageContext
comparison — non-vacuous).
charly/ non-test LOC: 38944 -> 38717 (-227).
Assisted-by: Claude Code (Anthropic Claude Sonnet 5; syntax check only)
# Conflicts: # sdk
… narrative; bump sdk gitlink Assisted-by: Claude Code (Anthropic Claude Fable 5; documentation reviewed) Claude-Session: https://claude.ai/code/session_015CXB8CkzwZeXPzbqKjsuYj
…+ plugins to merged beb2eda (v2026.202.1526); bump sdk require Assisted-by: Claude Code (Anthropic Claude Fable 5; analysed on a live system) Claude-Session: https://claude.ai/code/session_015CXB8CkzwZeXPzbqKjsuYj
pr-validator — APPROVED ✅Change class: charly/sdk Go — cross-repo consumer leg (superproject; sdk#84 and plugins#98 already merged and gitlink-pinned). Checklist
Comments consideredNone — PR carries zero comments ( Cross-PR interactions considered
DecisionIndependently re-derived and verified, not trusted from the author's narrative: rebuilt the binary from the exact PR head in the prepared integration worktree, re-ran Assisted-by: Claude Code (Anthropic Claude Opus 4.5; fully tested and validated) |
pr-validator: rename the placeholder CHANGELOG entry to the merge-time CalVer stamp. Assisted-by: Claude Code (Anthropic Claude Opus 4.5; fully tested and validated)
Merge origin/main (FLOOR-SLIM Wave 1, #172, SHA 4fe1909) and prune 5 stale residueOwner entries for files the wave deleted outright (candy_chain.go, capabilities.go, description_collect.go, graph_shim.go, vnc_helpers.go). The wave's 2 new charly/*.go files are both tests, outside the gate's scope by construction. FLOOR stays 64; RESIDUE net-shrinks 161->156 (P8b 29->28, P12 20->18, P14 11->10, P15 41->40; P11/P13 unchanged). Gate stays intentionally RED: 0 unowned, 0 stale floor, 0 stale residue. Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)
Summary of changes
The superproject leg of FLOOR-SLIM Wave 1 (core-minimization program): four
implementation units consolidated on
feat/floorslim-wave1, landing with thealready-merged sdk leg (sdk#84 → a4f14bd,
v0.2026202.1522) and plugins docsleg (plugins#98 → beb2eda,
v2026.202.1526) via gitlink repoints. Net:charly/core non-test LOC 38,944 → 36,935 (−2,009); axis-A kit-importfiles 130 → 128; alias files still 1 (
vmshared_aliases.go, −17 names).Full narrative:
CHANGELOG/2026.202.1500.md(placeholder CalVer).InstallHint()+ValidPublicPortsdeleted (+false-header fix);
graph_shim.goDELETED (8 callers → deploykit directly);17 vmshared alias names deleted; process-lifecycle plumbing consumers →
the new
sdk/proclifecycleleaf (main.go imports it directly); axis-Aspec-promotions drop kit imports in 5 files;
validateDeploymentTreefamily →spec/deploy_tree_validate.go.type Config = spec.Config; buildkit-typedresolvers now
buildkit.*free functions;candy_chain.goDELETED(→
deploykit.BoxCandyChain);namespace.goreduced to registry-coupledresidue;
config.gokeeps LoadConfig + thin fallback wrappers;ResolveOptsstays flat with
toBuildkitOpts(); ~27 consumer files repointed; 5 purevm-deploy-state fns → sdk.
checkrun.goalias block DELETED — floor filesreference
spec.CheckResult/spec.Status*directly (zero new kit imports);breaking (
!)--format json/TAP key rename (Op→op,Verb→verb,Status→status,Message→message,Elapsed→elapsed);capabilities.gomachinery +description_collect.go→ deploykit;checkspec.goVerbCatalog data → spec;vnc_helpers.gofolded into itscaller.
from an envelope-built
deploykit.Generator(production-provenNewRenderGeneratorFromProject);step_emit_hostbuild.go385 → 137 LOC;dead
Generator.emitTasks/.buildStageContextshims deleted; the"resolved-project" seam now populates
ExternalizedBuilders.k3s_post.go+ the check-dispatch seam endgame → thevenue-scoped-executor-session design phase;
host_build_check_run.gobusiness logic K1-blocked (documented).
Change class
charly-or-sdk Go — cross-repo consumer leg. Repos + landing order:
sdk#84 (MERGED a4f14bd) → plugins#98 (MERGED beb2eda) → this PR (last).
How R10-tested — exact gate, commands, and pasted output
build change → the concurrent disposable-bed roster +
go test+ per-worktreerebuild; plus a live
--format jsonprobe for the breaking wire change.charly version= 2026.202.1429, shared run-calver.check/<bed>/2026.202.1437/, launched CONCURRENTLY in one batch of six):task build:binaryon the integrated tree (binary2026.202.1429 for the roster; rebuilt again post-gitlink-repoint as
2026.202.1503 with
go build/vet/fullgo testre-run green — the repointdelta is the two squash SHAs whose content byte-matches the already-gated
branches plus CHANGELOG renames).
--format jsonprobe(fresh image 2026.202.1448 built + baked plan run) shows the new snake_case
keys; check-builder-vm exercised the envelope-driven emit; check-charly-vm
exercised the packaged path incl. proclifecycle; every bed drives the
restructured Config resolvers.
concurrent run (shared podman store + arbiter + loader). Zero concurrency
defects.
Attribution tier
fully tested and validated— the changed code paths executed live againstfresh rebuilds (roster + probe above); the post-repoint delta re-gate re-ran
build+vet+test green.
Harness rulebook compliance — state HOW each is satisfied (or
N/A — <reason>)build/generate, deploy/install-plan per unit) loaded by every implementing
teammate + the orchestrator; rulings R-FS1..R-FS11 recorded.
uninitialized box/fedora fixture submodule; sdk round-1 gofmt; a cross-test
provider-registration pollution → snapshotProviderState swap-restore). Zero
warnings on 5 beds; check-k8s-deploy's plugin-protocol warning RCA'd with
evidence as PRE-EXISTING environmental (host opencharly-git 2026.196 predates
the 2026-07-19 ProtocolVersion 1→2 landing 76df6c0 — untouched here;
check-charly-vm's fresh-package path is warning-free at v2). Fresh package
built (
dist/opencharly-git-2026.202.1140-1); install is operator-gated(root).
dead exports, stale comment pointers in candy/plugin-bundle +
plugin-deploy-vm, seam.cue regen drift) or registered with NAMED landing
units (design-phase register; go-quality batch for pre-existing sdk lint).
shared Generator constructor; the dead
stampStepIntentDo+pruneStaleVmDottedTwinduplicates caught and deleted at integration.graph_shim, charly-sideboxCandyChain, checkrun aliases,ValidPublicPorts,InstallHintfunc, 17vmshared alias names,
vmshared/cleanup.go,Generator.emitTasks/.buildStageContext) grep-verified — only CHANGELOG/historical contextremains; the false tunnel.go header and the stale P12 claims swept; ZERO
transitional/dual-mode paths in the final code (the roster ran against it).
branches; the one submodule-gitlink conflict resolved descendant-verified
(
merge-base --is-ancestor), one detached-HEAD slip recovered fast-forwardwith no data loss (documented).
go test).emitted fragments +
BakedMetadata(the OCI-label wire form) byte-for-byte,incl. plugin:-verb candies; check-builder-vm + a real
charly box buildexercised generation live.
task build:binary;charly versionmatches at every stage (2026.202.1429 roster / 2026.202.1503post-repoint); no new runtime OS deps (proclifecycle is stdlib-only).
disposable: truebeds only; new coveragethat fails without the change: wire-parity goldens (sdk), the envelope parity
test (charly), relocated fn tests; fresh rebuilds inside every bed.
unit (found the mechanism already production-proven); high-risk claims
bed-proven throughout. ADE — no candy plan/description surface changed
(
charly box validategreen inside the beds). SDD —spec.CheckResultCUE-sourced;
TestGenReproduciblegreen; BuildEnv extension registered asCUE-conversion debt with in-file markers.
is the third); no Phase-2/TODO; the wave scope executed with every deviation
ruled and recorded; transitional-free final code gated.
plugins+kits (installstep emitters, check family, Config resolvers); what
stays is E/M/B/D or has a NAMED K-wave/design exit (no silent floor
additions — floor-list changes await the operator's FLOOR-SLIM ruling on
feat(gate): RED kernel-manifest floor gate — the C15 residue tracker (merges LAST) #118);
specimports neither buildkit nor deploykit (verified).disposable: truebeds.
gofmt -lempty (post sdk round-1 fix),golangci-lint run0 issues (charly + touched sdk/plugin modules),go vetclean,
go test ./...green — on the final integrated tree.CHANGELOG/2026.202.1500.mdstaged (placeholder — finalize atmerge; tag
v<YYYY.DDD.HHMM>).Assisted-by: Claude Code (Anthropic Claude Sonnet 5; fully tested and validated)
https://claude.ai/code/session_015CXB8CkzwZeXPzbqKjsuYj