Skip to content

refactor(core)!: pod-overlay build off charly-core NewGenerator (#55 step 3-II) - #196

Merged
atrawog merged 6 commits into
mainfrom
feat/55-step3-II-render-cluster
Jul 29, 2026
Merged

atrawog merged 6 commits into
mainfrom
feat/55-step3-II-render-cluster

Conversation

@atrawog

@atrawog atrawog commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

#55 step 3-II — pod-overlay build off charly-core NewGenerator

The overlay-relocation cutover: the pod add_candy: overlay build stops reconstructing a host-side *buildkit.Generator in charly core and reuses the plugin-side build-resolve pipeline; core's full NewGenerator is DELETED. Consumes merged spec 1fdb481 (v0.2026210.1634 — the ExtraCandyRefs field, spec#5). Full narrative: CHANGELOG/2026.210.1750.md. 4 commits (squash folds them).

What lands

  • build:generate gains a no-write OpResolve variant (plugin-build): runs resolveBuildEngine verbatim (full render-prep) + returns spec.BuildResolveReply without Containerfile write. Threads the new spec.BuildRequest.ExtraCandyRefs (replacing hardcoded nil).
  • plugin-deploy-pod overlay → InvokeProvider("build","generate",OpResolve,{Boxes:[baseName],ExtraCandyRefs,Dir}); per-candy security in-plugin from wire-carried spec.CandyModel.Security.
  • NewGenerator DELETED from charly/generate.go (zero production callers); loadRenderGen fallback → cheap newCandyScanGenerator.
  • hostBuildOverlay shrunk to host-only bits (BaseUser/BaseSecurity/BaseRegistry via live-executor podman inspect + ParentVolumes + live-plans re-attach).

R1 fix (caught in R10 code review, empirically confirmed)

hostBuildOverlay initially sourced overlay DistroDef from detectHostContext().Distro (the operator HOST's distro) not the base image's — a live cross-distro bug (host is Arch/CachyOS, base is Fedora → arch [aur pac] formats leaking into a fedora-base overlay). Fixed via resolveOverlayBaseDistroDef (base box's wire-clean Distro tag, mirroring the deleted NewGenerator); detectHostContext() is fallback-only. Regression test TestResolveOverlayBaseDistroDef_UsesBaseImageDistroNotHost + reproduced empirically (reverting the fix → the test fails with arch formats). The functional bed PASSED on the buggy binary — only code-reading caught it.

Deferred (named exits)

resolved_project_host.go slims but doesn't fully delete — fillNamespacedBoxes still live via hostBuildNamespaced (loader-cone-tied) → step 5; overlay's caller of the wrapper IS gone. buildkit TYPES → spec → step 3-III (#72); builder_venue → step 4 (#66). All named in file headers.

R10 — fresh ./bin/charly 2026.210.1749

  • check-pod-overlay 13/13 (706s, fresh-rebuild) — the add_candy overlay gate; the overlay Containerfile renders dnf install (Fedora/rpm — base image's distro, NOT the arch host), live-proving the DistroDef fix. .check/check-pod-overlay/2026.210.1750/summary.yml.
  • check-builder-vm 10/10 (350s) — the build engine (the new OpResolve variant + ExtraCandyRefs).
  • go build ./... 0-fail; go test ./charly/... 0-fail; all-85 GOWORK=off go vet; gofmt empty; TestPluginsGenReproducible+TestNoSinglePluginAPISurface+TestKernelManifest; box validate exit 0. R5 both grep directions clean.

Producer-first B2: spec#5 (merged+tagged) → this super leg.

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

atrawog added 4 commits July 29, 2026 19:16
…te resolved-project host wrapper's overlay caller (#55 step3-II)

Relocates the pod-overlay build's resolved-project envelope construction off
charly-core's NewGenerator onto candy/plugin-build's render-prepped resolve
pipeline, reused via a new resolve-only Op on build:generate
(word=="generate" && Op==OpResolve, plugin.go/resolve.go), completing the
seam-death 3b/3-I started:

- spec: ExtraCandyRefs threaded into #BuildRequest (spec leg, already landed
  by team-lead at spec main 1fdb481).
- candy/plugin-deploy-pod: podPrepareVenue fetches its own render-prepped
  envelope via InvokeProvider("build","generate",OpResolve,...) before calling
  the shrunk HostBuild("overlay") seam; overlay.go computes per-candy security
  in-plugin via candyByName(dg.Candies,name).Security() (spec.CandyModel.Security
  is wire-carried — no host-only dependency).
- charly/build_overlay.go: hostBuildOverlay shrinks to BaseUser/BaseSecurity/
  BaseRegistry (live podman inspect) + ParentVolumes + live-plans re-attach;
  the render-prepped envelope, per-candy security, and init-system resolution
  no longer come from this seam.
- charly/generate.go: NewGenerator deleted (proven fully dead — its last
  production caller, the overlay seam, now reaches the same recipe
  plugin-side); loadRenderGen's cache-miss fallback switches to the cheap
  newCandyScanGenerator. Two tests that depended on NewGenerator as a
  comparison/parity baseline (render_seam_cache_test.go,
  plugin_installstep_envelope_parity_test.go) are rewritten with a test-only
  reproduction of its former recipe, matching the pattern
  resolved_project_namespace_test.go already uses for a prior deleted wrapper.
- charly/resolved_project_host.go: kept (not deleted in full) — RDD finding
  during implementation: host_build_buildengine.go's hostBuildNamespaced still
  calls fillNamespacedBoxes directly for plugin-build's own namespaced-box
  resolution, a separate, still-live production concern unrelated to the
  overlay envelope. Only the now production-dead projectResolvedProjectWithBoxes
  wrapper (zero callers outside two tests) is flagged; the file's header
  documents the corrected full-deletion story for a future cutover.
- charly/bundle_add_cmd.go: named #66 exit comment on the deploy-only residue
  (deriveChildExecutorForPath/deployDelCmd/resolveDelNode/
  podDeploymentArtifactExists), confirmed build-shared trio unchanged.
- Confirm-not-moved comments added to builder_preresolve.go,
  host_build_box_ref_resolve.go, host_build_render_seam.go (out of this
  cutover's scope).
- kernel_manifest_floor_test.go: floor-justification strings for generate.go
  and build_overlay.go updated to match their shrunk contents (R1 doc fix).
- candy/plugin-deploy-pod: 2 pre-existing golangci-lint findings in the
  touched module fixed (config_setup.go conditional-assignment merge,
  sidecar_resolve.go extraneous-space directive comment) — required by the
  commit hook's per-module lint gate; the remaining findings in other
  candy/plugin-* modules stay in task #14's thematic batch.

Gates run: go build/vet clean (charly + candy/plugin-build + candy/plugin-deploy-pod,
including all 85 candy modules standalone GOWORK=off), gofmt -l clean,
go test ./charly/... 0-fail (194.9s), TestPluginsGenReproducible +
TestNoSinglePluginAPISurface pass, box validate exit 0 (root + box/fedora),
fresh task build:binary clean, golangci-lint 0 issues (candy/plugin-deploy-pod).
R10 disposable-bed verification (check-pod-overlay + check-builder-vm) routes
to team-lead per the dispatch plan.

Assisted-by: Claude Code Sonnet 4.5 (analysed on a live system)
…, not the operator host (#55 step3-II)

BLOCKING R1 regression caught by team-lead's code reading before landing: my
3-II shrink of hostBuildOverlay sourced the pod-overlay's per-step
DistroCfg from detectHostContext() (the operator host's own distro) instead
of the base image's resolved distro tag. This host is Arch/CachyOS while
check-pod-overlay's base is Fedora — a live cross-distro bug, not merely
latent, confirmed empirically: temporarily reverting to the buggy code and
running the new regression test reproduces exactly the wrong format set
([aur pac] instead of [rpm]).

Fix: resolveOverlayBaseDistroDef (charly/build_overlay.go) does a cheap,
standalone buildkit.ResolveBox for JUST the base box name (no candy scan, no
ExtraCandyRefs — a box's own distro: list is independent of which candies
later get overlaid onto it), mirroring exactly what the deleted NewGenerator's
gen.Boxes[base].Distro gave the OLD code. detectHostContext() is now ONLY a
last-resort fallback if that lightweight resolve fails.

Traced (and documented in the file header) that build.DistroCfg itself has
no confirmed reader on the current step-emit path — the step-emit words that
care about distro/format read it off their OWN candy-side envelope's
box.DistroDef (derived from the box's wire-carried .Distro tag), not from
this host struct — but the podDistroDef VALUE it carries must still be
correct regardless, both to match team-lead's "pure relocation, byte-
identical to old behavior" bar and to remove a landmine for any future
reader.

New regression test: TestResolveOverlayBaseDistroDef_UsesBaseImageDistroNotHost
(charly/deploy_target_pod_test.go) — resolves box/fedora's "fedora" base and
asserts the def carries the "rpm" format while NOT carrying "pac"/"aur"
(this host's own format), which fails on the buggy code and passes on the
fix (verified both ways). Also fixed a stale doc comment on
TestCreateRemoteCandyCopies_StagesRemoteCandySource (hostBuildOverlay no
longer calls createRemoteCandyCopies itself — R1 doc divergence).

Also deletes applySelfSuperprojectOverride (charly/refs.go), a dead wrapper
with zero callers (its env-mutation pattern is duplicated/inlined at its
real call site, host_build_check_bed.go) — surfaced by golangci-lint's
per-module gate on this same commit and unrelated to but blocking it.

Gates re-run: go build/vet clean, gofmt -l clean, go test ./charly/...
0-fail (200.9s), all 85 candy modules vet clean standalone (GOWORK=off),
workspace vet clean, box validate exit 0 (root + box/fedora), fresh
task build:binary clean.

NOTE: 86 candy+charly go.mod files' github.com/opencharly/spec require pin
also drifted (v0.2026210.1533 -> v0.2026210.1634, Go's own module-consistency
mechanism reconciling to the ALREADY-LANDED spec commit 1fdb481) while
re-running the all-85 GOWORK=off vet gate, but are LEFT UNCOMMITTED here:
golangci-lint on the charly module specifically cannot resolve its
~85 compiled-in candy imports under GOWORK=off (no local replace directives
for them, unlike sdk/spec — a structural, pre-existing limitation, not a
real finding), so including charly/go.mod trips the commit hook on an
unrelated, unfixable-in-scope environmental failure. Flagged to team-lead
to decide whether/how to land that reconciliation separately.

Assisted-by: Claude Code Sonnet 4.5 (analysed on a live system)
…all modules (#55 step3-II)

86 go.mod files (charly + all 85 candy/plugin-* modules) had their
github.com/opencharly/spec require-version pin bumped from v0.2026210.1533
to v0.2026210.1634, reconciling to the ALREADY-LANDED spec leg (commit
1fdb481, "ExtraCandyRefs on #BuildRequest") this cutover's gitlink bump
already reflects. Surfaced mechanically by Go's own module-consistency
check while re-running the mandatory all-85 GOWORK=off vet gate; every one
of the 86 diffs is this exact single-line version bump, nothing else
(verified via diff inspection before staging). No source-code change.

Assisted-by: Claude Code Sonnet 4.5 (analysed on a live system)
…R1 fix + R10 (check-pod-overlay 13/13)

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

atrawog commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — CHANGES REQUESTED ❌

Change class: charly Go + plugins + build engine + spec-field consumer (runtime class)
Head validated: 2786ceb54394782c90d61e4f998b2628a896b38e

This is a well-executed cutover — the architecture is right, the R1 DistroDef fix is real and correctly tested, and the full runtime gate re-verifies. It is blocked by one issue: an incomplete R5 sweep of the deleted NewGenerator identifier (a hard-rule gap, small to fix).

Checklist

# Rule Verdict
0 Security & anti-tampering (T1–T4) PASS — diff matches description; spec-pin bumps are legitimate reconciliation; no exfiltration/scope-mismatch/weakened-gate/supply-chain; no manipulation text
1 Description complete (template, pasted evidence) PASS
2 Change-class gate matches evidence (R7/R10) PASS — runtime class; fresh-rebuild beds pasted + on disk
3 Attribution tier justified PASS (tier fully tested and validated supported by the fresh-rebuild bed; moot under FAIL)
4 R0 skills honored PASS — plugin boundary-law, go/SDD, build, check
5 R1 RCA / zero warnings / no flake framing FAIL — see finding (a stale doc-divergence created by this cutover, unswept)
6 R2 no pre-existing/out-of-scope split PASS — deferrals (#66/#71/#72/step-5) are named, forward-motion exits
7 R3 no duplication PASS — plans decoded once + passed (no double-decode); shared NewRenderGeneratorFromProject
8 R4 no ad-hoc workaround PASS
9 R5 hard cutover + grep self-test FAIL — NewGenerator deleted but ~7 present-tense comments still name it live (below)
10 R6/R8/R9 artifact + binary integrity PASS
11 R10 disposable-only, fresh-rebuild, coverage PASS — check-pod-overlay 13/13 (706s, fresh-rebuild artifact genuine on disk) + check-builder-vm 10/10 (350s); regression test ships
12 RDD / ADE / SDD @100% PASS — no generated/wire/params files hand-edited; OpResolve reuses already-CUE-sourced spec.BuildRequest/BuildResolveReply; TestPluginsGenReproducible green
13 Concurrency + anti-cheat PASS — no idle/serial dodge; no dead-code-parked; touched non-compliant surfaces not extended
14 Hard cutover — one atomic, no Phase-2 PASS — 4 commits squash to one; deferrals named, not in-scope work
15 ARCHITECTURE GATE PASS — see below
16 Disposable-only autonomy PASS — beds disposable: true
17 Clean architecture + Go gates PASS — go build (charly + touched candies) 0-fail; go test ./charly/... ok 204.6s; all-85 GOWORK=off go vet 0-fail; gofmt -l empty
18 CHANGELOG present PASS — CHANGELOG/2026.210.1750.md, valid CalVer, H1 byte-matches filename, no collision on main

placement: CORRECT — the pod-overlay render-prep moves outward (core → plugin) via the class-generic build:generate+sdk.OpResolve seam (F11 uniform-Invoke, dispatched by word+Op, no per-kind branch). Core removes a loaderkit import (host_build_render_seam.go) → import-purity improves; net core LOC drops (generate.go −105, build_overlay.go −37 net). TestKernelManifest_CoreIsPinnedToTheFabricFloor passes (P16 floor gate).
per-item trace (staged charly/*.go): build_overlay.go → no alias, no new kit import, M-seam SHRUNK (CORRECT); generate.go → NewGenerator DELETED, newCandyScanGenerator M-floor remains (CORRECT); host_build_render_seam.go → drops loaderkit import, fallback NewGenerator→newCandyScanGenerator (CORRECT, purity ↑); builder_preresolve/bundle_add_cmd/host_build_box_ref_resolve/host_build_buildengine/resolved_project_host → comment-only residue docs (CORRECT); no new/grown *_aliases.go; no *Legacy* relocation smell.

Gitlinks / gates I re-ran independently

  • spec 1fdb481 == spec main == tag v0.2026210.1634 (deref ✓); sdk 00a21a42 unchanged; plugins dc9dd974 == plugins main (not orphaned). All 86 go.mod on opencharly/spec v0.2026210.1634.
  • R1 DistroDef fix verified at code + test: resolveOverlayBaseDistroDef sources the base box's Distro (standalone buildkit.ResolveBox), detectHostContext() fallback-only. TestResolveOverlayBaseDistroDef_UsesBaseImageDistroNotHost PASS (asserts rpm present, pac/aur absent — the live cross-distro bug).
  • func NewGenerator gone from generate.go; projectResolvedProjectWithBoxes production-dead but retained as the shared harness for two genuine tests (namespace projection + envelope parity), R3-justified with a named full-deletion exit — acceptable, not dead code.
  • R10 artifact .check/check-pod-overlay/2026.210.1750/summary.yml genuine: 13 steps all ok: true, total_seconds: 706, fresh-rebuild (update→check-live-rebuild→feature-run-rebuild).

❌ BLOCKING — R5 incomplete sweep of the deleted NewGenerator (R5 / R1)

This cutover deletes func NewGenerator but leaves it named present-tense, as a live locus, in ~7 source comments. git grep NewGenerator therefore returns live-source hits, not only CHANGELOG/ context — the R5 grep self-test fails for this identifier. The PR body's "R5 both grep directions clean" is accurate only for the resolved-project identifiers (those are clean — verified); the NewGenerator deletion was not included in the self-test. This is the same false-sweep class flagged in the sibling incident #195 today: the sweep for a deleted/relocated identifier must be whole-tree, including untouched sibling files.

Stale references (all present-tense, naming NewGenerator as if it still exists):

File:line Text Touched by PR?
charly/generate.go:42 "…is still computed in NewGenerator regardless — only the per-box emission loop is scoped." yes
charly/generate.go:73 "…Candies/Boxes are stable post-NewGenerator." yes
charly/generate.go:199 "Skips the build-time plugin connect + pre-build validate NewGenerator also runs…" yes
charly/resolved_project_host.go:183 "…mirroring NewGenerator+RenderPrepAll's two-phase shape…" yes
charly/validate_project_host.go:287 "…so charly box build/generate (NewGenerator) no longer calls Validate()" no (sibling)
charly/tasks.go:174 "…seam in NewGenerator), with NO package-main concrete-type assert." no (sibling)
charly/plugin_loader.go:781 "…NewGenerator's build-time connect seam)." no (sibling)

Two of the affected files (generate.go, resolved_project_host.go) are actively edited here — the "touching a surface obligates curing it" standing directive applies directly. The correct form is the one the author already used elsewhere in this very diff (build_overlay.go, host_build_render_seam.go, host_build_buildengine.go all say "the deleted NewGenerator" / "…is DELETED") — those are accurate and fine.

Fix: sweep the ~7 comments above to past-tense/deleted-marked, or re-point them at the current locus (newCandyScanGenerator for the cheap path; plugin-side resolveBuildEngine / test-side testFullResolveGenerator for the full-resolve recipe). Append a fix commit, push fast-forward (status resets), and this re-runs — everything else is green, so it should pass immediately.

Comments considered: none (PR carried no comments).
Cross-PR interactions considered: only #196 open in opencharly/charly (no file overlap risk). opencharly/plugins #110 (docs) + #113 (attribution policy) open — neither touches this PR's files; none-found blocking.

Decision: CHANGES REQUESTED — one blocking R5/R1 doc-divergence (deleted NewGenerator unswept across 5 files). Not merged. Fix in place and re-push.

Assisted-by: Claude Code Anthropic Claude Opus 4.8 (analysed on a live system)

…ctResolvedProjectWithBoxes wrapper (#55 step3-II)

Validator CHANGES-REQUESTED on PR #196 (head 2786ceb): the R5 self-test for
the deleted NewGenerator only covered the resolved-project identifiers, not
NewGenerator itself. Fixes both blocking findings in one commit:

1. Whole-tree grep sweep of stale present-tense "NewGenerator is/does X"
   claims across every file touched by the deletion AND untouched siblings
   that named it (claim-keyed, not file-keyed, per R5):
   - charly/generate.go (comments on RequestedBoxes/dkGen/
     newCandyScanGenerator's doc)
   - charly/resolved_project_host.go, charly/validate_project_host.go,
     charly/tasks.go, charly/plugin_loader.go (untouched siblings the
     validator named)
   - charly/host_build_render_seam.go, charly/build_emit_test.go,
     charly/deploy_target_pod_test.go (further hits the sweep caught)
   - candy/plugin-build/charly.yml + resolve.go (from the K3 cutover, #49 —
     predates this cutover but carried the same "NewGenerator stays host"
     claim, now false)
   - candy/plugin-example-builder/plugin.go, candy/plugin-example-step/
     plugin.go (named a since-deleted generate.go connect seam +
     emitExternalBuilderStages/emitExternalBuilderArtifacts)
   Self-test: `git grep -n 'NewGenerator' -- charly/ candy/ ':!CHANGELOG/'`
   now returns ONLY historical/deleted-marked mentions — verified.

2. Deleted projectResolvedProjectWithBoxes (charly/resolved_project_host.go):
   production-dead once 3-II's own commit (6bc7b38) relocated its last
   production caller (the pod-overlay seam) plugin-side — the validator
   correctly flagged this as radical-dead-code-removal territory rather than
   an acceptable "R3 test harness". fillNamespacedBoxes stays (a genuinely
   live production capability via host_build_buildengine.go's
   hostBuildNamespaced). The two former test callers are repointed:
   - resolved_project_namespace_test.go's namespaced-box test now drives the
     LIVE hostBuildNamespaced directly (a better test target than the dead
     wrapper — it's the actual production function).
   - resolved_project_host_test.go's + plugin_installstep_envelope_parity_
     test.go's generic-envelope-projection use (no live production
     equivalent left in charly core — the real replacement, candy/plugin-
     build's resolveBuildEngine, is a different Go module) now share ONE
     test-local reproduction, testProjectResolvedProjectWithBoxes
     (resolved_project_host_test.go), matching the established
     test-only-reproduction pattern this cutover already uses elsewhere
     (R3 — one helper, not two duplicated copies).
   Also caught + fixed two more stale references to the deleted wrapper
   surfaced by the same grep: candy/plugin-bundle/candy_select.go (repointed
   to the wrapper's real underlying mechanism, sdk/loaderkit's
   ProjectResolvedProject) and charly/validate_project_host.go (repointed
   the "overlay seam calls this fail-fast" claim to the actual current
   fail-fast caller, hostBuildNamespaced).

Gates re-run: go build/vet clean (charly + candy/plugin-build +
candy/plugin-bundle), all 85 candy modules build+vet clean standalone
(GOWORK=off), gofmt -l clean tree-wide, go test ./charly/... 0-fail
(194.4s) including the repointed namespace/parity/projection tests,
TestPluginsGenReproducible PASS, box validate exit 0 (root + box/fedora),
fresh task build:binary clean. No runtime behavior change (comments +
test-only code), so no bed re-run required per the R10 gate-by-change-class
matrix.

Assisted-by: Claude Code Sonnet 4.5 (analysed on a live system)
@atrawog

atrawog commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: charly Go + plugins + build engine + spec-field consumer (runtime class)
Head validated: 18d9f18648209ba34c6f7a72fc8c43a95e1601c1
Fresh, independent re-validation (round 2). The round-1 blocker — the incomplete R5 sweep of the deleted NewGenerator identifier — is fixed at this head; I re-derived every gate from scratch and it passes clean.

Checklist

# Rule Verdict
0 Security & anti-tampering (T1–T4) PASS — pure refactor matching the description; the only gitlink bump is spec (forward descendant, merged+tagged v0.2026210.1634); no exfiltration/secrets/weakened-gate/supply-chain; no manipulation text
1 Description complete (template, pasted evidence) PASS
2 Change-class gate matches evidence (R7/R10) PASS — runtime class; runtime code R10'd at the tested state; the 18d9f186 delta is comment + production-dead-code only (proven runtime-neutral, below)
3 Attribution tier justified PASS — fully tested and validated: the changed overlay branch executed live against the fresh rebuild (Fedora dnf rendered, DistroDef fix proven)
4 R0 skills honored PASS — git-workflow, go/SDD, plugin boundary-law, build, check
5 R1 RCA / zero warnings / no flake PASS — round-1 doc-divergence swept; DistroDef R1 fix is a real root-cause fix w/ regression test; zero warnings
6 R2 no pre-existing/out-of-scope split PASS — deferrals (#66/#71/#72/step-5) are named forward-motion exits
7 R3 no duplication PASS — test-local testProjectResolvedProjectWithBoxes is the R3-justified shared harness (vs duplicating ~15 lines into two test files)
8 R4 no ad-hoc workaround PASS
9 R5 hard cutover + grep self-test PASS (fixed) — func NewGenerator GONE; all ~33 whole-tree NewGenerator hits are past-tense/deleted-marked or live newCandyScanGenerator/NewRenderGeneratorFromProject; projectResolvedProjectWithBoxes has no live production symbol. Re-ran both directions at HEAD myself
10 R6/R8/R9 artifact + binary integrity PASS — no destructive git action; no generation/label logic change beyond the already-R10'd relocation; bed rebuilt fresh binary 2026.210.1749/1750
11 R10 disposable-only, fresh-rebuild, coverage PASS — check-pod-overlay 13/13 (706s, fresh-rebuild, genuine on disk) + check-builder-vm 10/10 (350s); TestResolveOverlayBaseDistroDef_UsesBaseImageDistroNotHost would FAIL without the fix
12 RDD / ADE / SDD @100% PASS — zero schema/generated/wire/proto/params/go.work edits, none added; consumes already-CUE-sourced spec.BuildRequest.ExtraCandyRefs; TestPluginsGenReproducible PASS
13 Concurrency + anti-cheat PASS — no idle/serial dodge; dead wrapper DELETED (not parked); touched surface threads a CUE-sourced field (not a new hand-written wire); every sweep claim re-executed at HEAD
14 Hard cutover — one atomic, no Phase-2 PASS — 5 feat commits squash to one; deferrals named, not in-scope work
15 ARCHITECTURE GATE PASS — see below
16 Disposable-only autonomy PASS — beds disposable: true
17 Clean architecture + Go gates PASS — gofmt -l empty; golangci-lint charly 0 issues + touched candies 0; charly in-workspace go vet 0; sdk+spec+85 candies GOWORK=off go vet 0; go build 0; go test ./charly/... ok 199.6s
18 CHANGELOG present PASS — CHANGELOG/2026.210.1750.md, valid CalVer, H1 byte-matches filename, no collision on origin/main

placement: CORRECT — the pod-overlay render-prep moves outward (core → plugin) via the class-generic InvokeProvider("build","generate",sdk.OpResolve,…) seam (F11 uniform-Invoke, dispatched by word+Op, no per-kind branch; lifecycle.go:347). Net core (non-test charly/*.go) LOC −149; TestKernelManifest_CoreIsPinnedToTheFabricFloor PASS (P16 floor).
per-item trace (staged charly/*.go): build_overlay.go → no alias, no new kit import, M-seam SHRUNK (CORRECT); generate.go → NewGenerator DELETED, newCandyScanGenerator M-floor remains (CORRECT); host_build_render_seam.go → DROPS its loaderkit import (verified per-file: origin/main had buildkit+deploykit+loaderkit → HEAD buildkit+deploykit), import-purity ↑ (CORRECT); resolved_project_host.go → dead projectResolvedProjectWithBoxes wrapper DELETED, fillNamespacedBoxes floor remains w/ named step-5 exit (CORRECT); builder_preresolve/bundle_add_cmd/host_build_box_ref_resolve/host_build_buildengine/tasks/validate_project_host/plugin_loader → comment-only residue (CORRECT); no new/grown charly/*_aliases.go; no net-new core kit import; no *Legacy* relocation smell.

Gates / facts I re-ran independently

  • Delta since tested state (2786ceb5..18d9f186) is runtime-neutral: the docs commit added CHANGELOG only (570233fa..2786ceb5 = CHANGELOG-only); the 18d9f186 non-test .go delta is (a) comment sweeps and (b) deletion of projectResolvedProjectWithBoxes, which had ZERO production callers at the tested state (its only callers whole-tree were two *_test.go files) → deleting it does not change runtime behavior, so re-running the beds is correctly unnecessary.
  • Gitlinks vs real origin/main (9793a31): feat is directly on top of current origin/main (merge-base == origin/main HEAD). Only spec bumps 172027b2 → 1fdb481 (forward descendant; the single spec#5 ExtraCandyRefs commit; on spec origin/main; tag v0.2026210.1634 derefs to it). sdk (00a21a42) and plugins (dc9dd974) unchanged vs origin/main and both reachable on their remote mains. All 86 go.mod on opencharly/spec v0.2026210.1634.
  • R10 artifacts genuine on disk: .check/check-pod-overlay/2026.210.1750/summary.yml — 13 steps all ok: true, total_seconds: 706, fresh-rebuild (update→check-live-rebuild→feature-run-rebuild); .check/check-builder-vm/2026.210.1720/summary.yml — ok: true, 350s.
  • DistroDef R1 fix present + tested: resolveOverlayBaseDistroDef sources the base box's Distro tag, detectHostContext() fallback-only; regression test PASS.

Comments considered: 1 — the round-1 pr-validator CHANGES-REQUESTED (incomplete NewGenerator R5 sweep). Disposition: verified-resolved — I independently re-ran the whole-tree R5 grep at head 18d9f186; every flagged reference is now past-tense/deleted-marked and func NewGenerator is gone.
Cross-PR interactions considered: only #196 open in opencharly/charly (no overlap). opencharly/plugins #110 (docs) + #113 (attribution policy) open — neither touches this PR's files; none-found blocking. Note: the one golangci-lint finding (plugin-bundle/deploy_from_box_test.go:41 SA1012) is pre-existing on origin/main in a file this PR does not touch, already routed to the tracked candy-lint batch (task #14) — not introduced here, non-blocking.

Decision: APPROVED — every rule verified from scratch; the round-1 R5 blocker is fixed. Proceeding to finalize the merge-time CalVer, merge (squash), and tag.

Assisted-by: Claude Code Anthropic Claude Opus 4.8 (analysed on a live system)

Evaluator version-stamp: rename CHANGELOG placeholder 2026.210.1750 -> 2026.210.1858
and rewrite its H1 to the merge-time CalVer. No schema bump (no .cue change).

Assisted-by: Claude Code Anthropic Claude Opus 4.8 (analysed on a live system)
Claude-Session: https://claude.ai/code/session_01WU7Ew3dq4d1MJzseLuxt3r
@atrawog
atrawog merged commit 347be9e into main Jul 29, 2026
@atrawog
atrawog deleted the feat/55-step3-II-render-cluster branch July 29, 2026 18:59
@atrawog

atrawog commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — landed ✅

  • success status posted on head 210c0c9e (the version-stamp commit).
  • Merge-time CalVer finalized: CHANGELOG/2026.210.1750.md → CHANGELOG/2026.210.1858.md (H1 rewritten + self-verified byte-correct).
  • Squash-merged to main as 347be9e3 — one commit; feat/55-step3-II-render-cluster deleted.
  • Tagged v2026.210.1858 (annotated) on the merged HEAD; verified on remote.
  • Super main now pins spec 1fdb481 (v0.2026210.1634); sdk/plugins unchanged. spec#5 was already merged+tagged (producer-first) — no other repo tag needed this landing.

Assisted-by: Claude Code Anthropic Claude Opus 4.8 (analysed on a live system)

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