Skip to content

refactor(core)!: #55 Cone V — charly + in-tree candies off sdk/deploykit for the deploy value-vocabulary - #199

Merged
atrawog merged 3 commits into
mainfrom
feat/55-coneV-deploy-values
Jul 30, 2026
Merged

atrawog merged 3 commits into
mainfrom
feat/55-coneV-deploy-values

Conversation

@atrawog

@atrawog atrawog commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

#55 Cone V — superproject leg (import-purity, B2)

Continues the deploykit relocation (after step-4's InstallStep IR). charly core + in-tree candy plugins now reference the deploy value-vocabulary (deploy-key helpers + OCIEmitStepParams/SaveDeployStateInput + VolumeMount) from spec instead of the sdk/deploykit alias. Consumes merged spec v0.2026211.549 + sdk v0.2026211.606 (producer-first B2).

What lands

  • charly: 21 files repoint deploykit.{DeployKey,ParseDeployKey,BundleDelArgv,DeriveDeploymentName,OCIEmitStepParams,SaveDeployStateInput,VolumeMount}→spec.X; 5 files fully drop sdk/deploykit (refs.go, host_build_pod_lifecycle_dispatch.go, bundle_from_box_cmd.go, oci_step_emit.go, step_emit_hostbuild.go). Import-purity 38 → 33.
  • in-tree candies: 58 refs across 9 modules (plugin-bundle/check/deploy-pod/deploy-vm/installstep/pod/status/substrate/vm) canonical-repointed → spec.X (refactor(scaffold): consume the box-new engine from sdk/kit (P15 sub-unit) #72/step-4 parity — zero in-tree refs left on the deploykit alias for a moved symbol); they keep deploykit for unmoved behaviour (BundleConfig/.Bundle/LoadBundleConfig/Generator/OCITarget). +4 bonus candy full-drops.
  • Gitlinks: spec→436cdc0b (v0.2026211.549), sdk→f2db6850 (v0.2026211.606). Requires: charly (spec→549, sdk→606) + 85 candies (spec→549).

Boundary law (RDD-verified exclusions → K4, #76)

  • BundleConfig: 5 methods call sdk/kit → moving to spec = mechanism→base inversion. Stays deploykit.
  • HostContext: carries BuilderContext (in-proc build pre-pass) → in-proc IR. Stays deploykit.

Verification (final assembled tree)

  • go build ./... 0 · go test ./charly/... ok (196s) · all 85 candies GOWORK=off build 0 · box validate 0 · gofmt clean · go.work regen NO-OP · no go.sum churn.
  • Gates: TestPluginsGenReproducible / TestNoSinglePluginAPISurface / TestKernelManifest pass.
  • R5 whole-tree both directions: zero live deploykit.{6 moved names} refs in charly/candy; retained deploykit aliases additive.
  • R10 fresh-rebuild: check-pod 13/13 (249s — deploy config/state/overlay where these thread) + check-builder-vm 10/10 (381s).

Non-blocking (parked): install-plan skill symbol-count drift → #75; sdk deploykit dupl + spec/.golangci.yml → #14 lint-config batch.

Producer-first B2: spec (v0.2026211.549) → sdk (v0.2026211.606) → this superproject leg.

Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)

…kit for the deploy value-vocabulary

charly core + in-tree candy plugins reference the deploy value-vocabulary (deploy-key
helpers DeployKey/ParseDeployKey/BundleDelArgv/DeriveDeploymentName + the wire structs
OCIEmitStepParams/SaveDeployStateInput + VolumeMount) from spec instead of the deploykit
alias. charly files importing sdk/deploykit: 38 → 33 (5 fully drop); 58 in-tree candy
refs canonical-repointed → spec.X across 9 modules (they keep deploykit for behaviour).
BundleConfig/HostContext correctly EXCLUDED (kit-coupled / in-proc IR → K4). Consumes
merged spec v0.2026211.549 + sdk v0.2026211.606.

Gitlinks: spec→436cdc0b, sdk→f2db6850. Requires: charly spec→549/sdk→606, 85 candies spec→549.

Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
@atrawog

atrawog commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: charly Go + in-tree candy repoints + go.mod require-bumps + sdk/spec gitlink bumps (runtime)

Independently re-derived at head 082cf7a4 (fresh context; trusted no author claim).

# Rule Verdict
0 Security/anti-tampering (T1–T4) PASS — pure deploykit→spec alias repoint; diff matches description; no exfiltration/scope-mismatch/weakened-gate/supply-chain; no manipulation text
1 Description complete + pasted evidence PASS — template filled; per-file account; pasted verification + fresh-rebuild bed results
2 Change-class gate matches evidence (R7/R10) PASS — runtime class; fresh-rebuild beds pasted; no dry-run/rebuild-alone fraud
3 Attribution tier justified PASS — fully tested and validated: changed deploy paths executed live on fresh-rebuild beds
4 R0 skills honored PASS — git-workflow/go/plugin/strict-policy; boundary-law exclusions RDD-verified
5 R1 RCA / zero warnings PASS — build/test/lint/validate all clean, zero warnings
6 R2 no pre-existing split PASS — non-blocking items named to registered batches (#75, #14)
7 R3 no duplication PASS — repoint consolidates onto single spec source
8 R4 no ad-hoc workaround N/A — no sync/retry/magic-number surface touched
9 R5 hard cutover + grep PASS — 6 moved value names: zero live deploykit. refs (re-grepped both ways); retained deploykit aliases additive (out-of-tree)
10 R6/R8/R9 artifact integrity PASS — gitlinks/requires coherent; no Containerfile/label/binary-dep surface
11 R10 disposable+fresh+coverage PASS — check-pod 13/13 (249s) + check-builder-vm 10/10 (381s), on-disk summaries confirmed, calver 2026.211.0535 concurrent roster; alias-repoint = compile-identical → runtime-neutral vs tested state
12 RDD/ADE/SDD PASS — zero spec CUE/schema touched this leg; no *_gen.go hand-edit; pluginsgen reproducible
13 Concurrency + anti-cheat PASS — no forbidden framing; no dead-code-in-touched-module; no unadvanced parking; sweep claims re-executed true
14 Hard cutover — one atomic commit PASS — single commit; plan-as-contract; no Phase-2/TODO
15 ARCHITECTURE GATE PASS — placement: CORRECT
16 Disposable-only autonomy PASS — beds on disposable targets
17 Clean arch + Go gates PASS — gofmt/golangci(0)/vet/test all clean on charly + touched candies
18 CHANGELOG present PASS — CHANGELOG/2026.211.0000.md placeholder (finalized at merge)

Architecture placement: CORRECT. This repoint moves charly core + in-tree candies off the sdk/deploykit alias onto the canonical spec value-vocabulary — advancing import-purity (charly non-test deploykit imports 38 → 33, verified). The 33 residual imports use deploykit behaviour (BundleConfig/.Bundle/LoadBundleConfig/Generator/OCITarget/deploy-walk) → tracked K4 slices, not leaks. Per-item trace over staged charly/*.go: no charly/*_aliases.go present or added (glob empty); no new sdk-kit import (9 deploykit imports removed, incl. 5 full-drops: refs.go/host_build_pod_lifecycle_dispatch.go/bundle_from_box_cmd.go/oci_step_emit.go/step_emit_hostbuild.go); all new/moved core code is E/M value-vocabulary consumption via a kind-blind spec function, no per-kind branch introduced. No *Legacy* relocation smell.

Independent verification highlights (re-run, not trusted):

  • 6 Cone-V-moved symbols (DeployKey/ParseDeployKey/BundleDelArgv/DeriveDeploymentName/OCIEmitStepParams/SaveDeployStateInput) are newly in spec at 436cdc0b and absent from the old pin — genuine this-cone scope; zero retained deploykit. refs.
  • refs.go renames (deploykit.IsRemoteCandyRef→spec.IsRemoteCandyRefString, deploykit.BareRef→spec.BareCandyRef) confirmed semantically identical (deploykit now delegates to the spec funcs).
  • deploykit.VolumeMount retained refs = pre-existing (VolumeMount already lived in spec at the old pin 617b96e5; prior-cone tracked debt; type VolumeMount = spec.VolumeMount alias, same type) — non-blocking, orthogonal to this cone.
  • All 85 candy go.mod on spec v0.2026211.549; both submodule tags present on origin.

Comments considered: none (PR carried no comments).

Cross-PR interactions considered: none-found — PR #199 is the only open PR across opencharly/charly, /spec, /sdk.

Decision: PASS. Every applicable rule verified from the diff + independent re-run. The change is a compile-identical alias-repoint proven runtime-neutral against a green fresh-rebuild bed roster; import-purity advances; no rule violation. Finalizing merge-time CalVer, merging (squash), and tagging.

Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)

atrawog added 2 commits July 30, 2026 08:32
Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
@atrawog
atrawog merged commit c3a4da7 into main Jul 30, 2026
@atrawog
atrawog deleted the feat/55-coneV-deploy-values branch July 30, 2026 06:33
atrawog added a commit that referenced this pull request Aug 17, 2026
…ection 5

plugins  67219d44 -> 204ff55c  (v2026.229.2258, plugins#197, #199)
docs     a93dd3d4 -> ee925e79  (v2026.229.2318, docs#74, #76)
box/cachyos synced to the pin main's update-branch brought.

DOCS_REF re-pinned to ee925e79 at both sites. The lockstep check compared the
COMMITTED gitlink against the candy pin and reported "already in lockstep" —
both were the old value. The pair that matters is the candy pin against the tree
being committed, not against the tree being replaced. Fifth occurrence of this
regression, first where the check itself was aimed at the wrong pair.

Section 5's final-tree claim is re-stamped:

  charly box validate      EXIT 0
  charly marketplace drift EXIT 1 — 14 stale
  charly docs generate     8 pages drift

The gate is red and the reason is owned elsewhere: all fourteen stale artifacts
are exactly the fourteen files plugins#198 changed — set comparison against that
merge, zero unattributed. They are stale because plugins/main is AHEAD of
charly/main for them, #198's projection having landed while its superproject
leg, charly#297, is still open. Regenerating them here would revert another
cutover's landed prose.

That is the projection-first window pointing the other way: not a projection
outliving its source, but a projection preceding it.

Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)
github-actions Bot pushed a commit that referenced this pull request Nov 19, 2026
…er-drop heads (#1219)

`./bin/charly task sync` — this repo's own pin verb, which advances EVERY pin
this repo declares — moved the two `box/*` gitlinks that were behind the ref
their own `.gitmodules` entries name:

    box/cachyos  7f0c6c15fe5d -> ba2c187a1626   (distro-cachyos main: #209's CDI VM-driver drop,
                                                #199, #211 and #212's pod-comfyui offload pins)
    box/fedora   01887aee5c9a -> e9696d3e85f8   (distro-fedora main: #129 and #131, the same
                                                VM-driver drop on the Fedora side)

The other three (`box/arch`, `box/debian`, `box/ubuntu`) were already at the
tips their `.gitmodules` declare. Both advances are fast-forwards onto merged
heads (`git -C box/cachyos merge-base --is-ancestor 7f0c6c15fe5d ba2c187a1626`
-> rc=0, and the same for fedora), so there is nothing to reconcile.

Control after the wave:

    currency: 0 of 5 pin(s) NOT current [5 cur]

What the `box/*` gitlinks actually govern here, measured rather than assumed
(#1218): the `cachyos` namespace is composed by the @github
TAG pin (`charly.yml:30`), so `charly box list boxes` exposes the tag's box
names and not one `-cdi` box — the distro beds are NOT what this moves. The
gitlink is what this repo's OWN gate reads: `charly/cue_kinds_corpus_test.go`
(the `../box/*/box/*/charly.yml` corpus), `charly/refs_sweep_test.go` and
`charly/build_test.go` (`LoadBuildConfigForBox` over this repo's production
box/cachyos distro config). That is where the corpus was run, and it passes on
the moved trees.

This is the hop that lets the umbrella's `charly:box/cachyos` and
`charly:box/fedora` edges become current — until it lands, both report
`blocked-by charly:box/...` (behind).

Agent: `edge-1182` · DeepSeek Harness session `a8d6ae4d-d0e0-4b37-8e6c-58081b9e6040`
Assisted-by: DeepSeek Harness ollama-cloud deepseek-v4.1-flash (fully tested and validated)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant