Repository navigation
Conversation
…fabric floor (P16a) The mechanical enforcement of the kernel/plugin boundary law: charly/'s non-test file list is pinned to the CORE-FABRIC allowlist (E/M/B/D-justified per entry, plus the C14 hardware-blocked GPU exceptions, documented). Authored RED at program T0 as the residue tracker — currently enumerating 255 non-fabric files; each in-flight cutover (P8b, P11-P15) shrinks the delta; merges LAST (P16), green, after which core is mechanically un-growable. Assisted-by: Claude (syntax check only) Claude-Session: https://claude.ai/code/session_01R8UGGr3ui1959oTb5JuSif
…er (RED, merges LAST)
The mechanical enforcement of the kernel/plugin boundary law (CLAUDE.md): charly/'s
non-test .go file set is pinned to the CORE-FABRIC allowlist (E/M/B/D per entry, plus
the C14 hardware-blocked GPU exception). The test FAILS today, listing every residue
file grouped by its owning cutover (P8b/P11/P12/P13/P14/P15; P15 absorbs the K1
loader-orchestration + K5 seam-death folds) — the failure message IS the living
tracker that sequences the rest of the core-minimization program. It merges LAST
(P16), GREEN, after which core is mechanically un-growable past the fabric floor.
Upgrades the prior session's 108-line regex allowlist to the contract deliverable:
- kernelFloor: 62-entry E/M/B/D allowlist, each entry carrying its boundary-law clause;
- residueOwner: 243-entry file→cutover map (the floor-vs-residue classification);
- a structured failure report (residue by owner + UNOWNED + stale-floor/stale-residue
guards) so the two tables are the ONLY edit surface as cutovers land (test logic fixed).
Rebased onto current main: P11/P12/P14-partial had landed between T0 and this update,
so 25 deleted residue files were pruned and 22 new host-side seam files (pod_lifecycle_*,
host_build_check_*, host_build_deploy_*, build_resolve_host/resolved_project_host/
intermediates_shim, oci_plugin, loader_driver, config_write_host, …) were classified —
the living-tracker evolution the plan prescribes. Current per-owner residue: P8b 41,
P11 63, P12 29, P13 17, P14 25, P15 68.
Verified on the rebased tree (submodules synced): gate runs RED as designed (FLOOR 62 /
RESIDUE 243 / 0 unowned / 0 stale); gofmt + golangci-lint clean on the test file;
go build ./... passes; all OTHER tests pass (the only non-gate failures traced via R1
to uninitialized box/* submodules in the fresh worktree — environmental, not code, not
this change). No runtime surface (test-only); SDD/ADE N/A.
Assisted-by: Claude (analysed on a live system)
…CalVer 2026.197.1934 pr-validator (V-133) PASSED: both gitlinks (plugins->070a834, pkg/arch->96ce37c) independently re-verified via live git ls-remote against genuinely-merged main HEADs; both CLAUDE.md one-line mandate sharpenings confirmed as pure sentence insertions with *Detail:* pointers resolving to real content in the merged plugins commit; markdown integrity + R5 self-test (zero deletions) + cross-PR sweep (zero overlap with #118) all clean. Renaming the placeholder CHANGELOG to its merge-time CalVer per the git-workflow skill's CalVer-generated-at-merge rule (self-verified per the same skill's own git-mv guard, landed by this very cutover). Assisted-by: Claude Code Claude Sonnet 5 (documentation reviewed)
Rebased the RED living-tracker gate onto main (~14 commits: W3 build- engine cone, the federated control plane, install-test matrix, K1 loader split). Pruned 59 stale residueOwner entries for files W3/K1/ P11/P12/P14 partial landings already deleted, and classified 10 new charly/*.go files the merge introduced: materialize.go and agent_target_cmd.go join kernelFloor (both genuine kind-blind M- mechanisms — materialize.go is the K1 walk/materialize split's MATERIALIZE half, successor of loader_driver.go; agent_target_cmd.go is the generic __agent-target serve wire-transport reentry). The remaining 8 (bundle_compile_seam.go, deploy_state_host.go, box_fetch_reentry.go, host_build_bake_plugins.go, host_build_render_seam.go, oci_step_emit.go, render_baked_metadata.go, render_prep.go) join residueOwner under P13/P15/P8b per their own self-documented cutover tags. Gate still reports RED by design (FLOOR 64 / RESIDUE 192) with 0 unowned / 0 stale-floor / 0 stale-residue. Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)
Consumes sdk#72 (F-CLI-NEST, merged as sdk `main` 3ea39b11 / tag v0.2026201.542) to restore nested CLI grammar for `charly check`/`charly box list` — two pre-existing `main` regressions that were blocking two in-flight cutovers' R10 gates. A `class="command"` capability may now declare a one-level-deep subcommand catalog over Describe (`sdk.ProvidedCapability.Subcommands`); when it does, the host builds a real nested Kong grammar instead of the opaque flat pass-through holder, restoring `charly check --help` subcommand fidelity and the `box.list.boxes` MCP tool leaf. Also fixes `main_freshness.go`'s stale-binary refusal guard, which the same grammar change would otherwise have silently scoped incorrectly for `check run`. Fresh pr-validator: independently rebuilt from source (zero go.work.sum drift), re-ran the full battery (go test/vet/gofmt/golangci-lint/cue:gen, all clean), cross-checked both disposable eval-bed summaries on disk against the PR's claims (check-sidecar-pod 12 steps/486s, check-charly-vm 8 steps/312s, both ok:true), re-drove the live CLI myself (--help, __cli-model, real dispatch), confirmed the plugin-http/plugin-port fakeCC failures are pre-existing and unrelated (identical on main HEAD, untouched by this diff), verified the architecture gate (no new alias/kit-import, all touched core files already on #118's kernel-manifest floor allowlist), and confirmed no duplication/workaround/cutover violations. Assisted-by: Claude Code (Anthropic Claude Sonnet 5; fully tested and validated)
pr-validator — coordination note (from validating #165)While independently validating #165's diff touches files this PR's
Your own PR body already anticipates exactly this kind of drift ("as each cutover lands, residue files vanish... or move to kernelFloor... the two tables are the ONLY edit surface") and your structured failure report has I did not judge whether the new Full #165 verdict: #165 (comment) Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system) |
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)
pr-validator — coordination note (non-blocking)While validating the dead-code radical-removal batch (
What you may want to check when this PR next rebases/lands (this PR merges LAST by design, so likely after Filed as a coordination note only — not a merge-order dependency, and not a finding against either PR. Assisted-by: Claude Code (Anthropic Claude Opus 4.8; analysed on a live system) |
pr-validator coordination note — canonical attribution policyWhile validating opencharly/marketplace#111, I verified that this intentionally RED long-lived PR is file-disjoint but still contains the retiring parenthesized provider/semicolon attribution form. plugins#111 establishes the operator-confirmed exact form This interaction is non-blocking for #111 and is posted so this branch does not encounter the policy change cold. Assisted-by: Codex OpenAI GPT-5.6 Sol (documentation reviewed) |
Cross-PR coordination note (from
|
| file | current residueOwner here |
|---|---|
check_image_preflight.go |
P12 |
container.go |
P12 |
host_build_settings.go |
P15 |
init_config.go |
P8b |
layer_capabilities.go |
P8b |
pod_lifecycle_resolve.go |
P11 |
privileged_runner.go |
P15 |
runtime_config_values.go |
P15 |
shell_profile.go |
P8b |
#188 does not introduce any new non-test charly/*.go files, so no new floor/residue classification is needed on your side — this is a pure prune (all 9 vanish from the directory, matching the "deleted → prune the stale residueOwner entry" rule already stated in your PR description).
Note: #188 itself is not yet merge-ready (I FAILed it separately, unrelated to this — a stale-documentation R5 finding in the settings/config cone), so there's no urgency; just flagging so your next reconciliation pass (whenever #188 does land) knows to prune these 9 entries rather than rediscovering them from scratch.
Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)
Cross-PR coordination note (from charly PR #188's fresh
|
| file | this PR's owner tag |
|---|---|
check_image_preflight.go |
P12 |
container.go |
P12 |
host_build_settings.go |
P15 |
init_config.go |
P8b |
layer_capabilities.go |
P8b |
privileged_runner.go |
P15 |
runtime_config_values.go |
P15 |
shell_profile.go |
P8b |
pod_lifecycle_resolve.go |
P11 |
(checkrun_charlybin_test.go and enc_mount_short_circuit_test.go are also deleted by #188 but are _test.go files, already outside this gate's scan per its own construction.)
After #188 lands on main, these 9 residueOwner entries will be stale (the gate's stale-residue guard will flag them) — the exact class of drift your prior reconciliation passes (2026-07-20/21) already handle routinely. This is not a blocker for #188 (verified independently — #188 is correct and complete without any coordination from this PR, and this PR is explicitly RED-by-design / "merges LAST" per its own body, so nothing here changes #188's mergeability). Flagging so your next origin/main reconciliation pass prunes these 9 entries (RESIDUE 156 → 147, P8b 28→25, P11 41→40, P12 18→16, P15 40→38) rather than discovering it cold.
Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)
…d roster The prior R10 section cited numbers not backed by fresh artifacts — check-builder-vm had never run, check-charly-vm's only run was 16 days stale (predating the #59 fix), and it falsely claimed check-k3s-vm green. Replaced with the real 2026-07-28 roster run against the final terminus binary: 9 green (each backed by an on-disk summary.yml), and check-k3s-vm honestly recorded as the pre-existing #61 k3s-kubeconfig-timeout failure (R2-separable, deploy mechanism proven, not a #118 regression). Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
… consumer leg B2 consumer leg: the sdk producer PR (opencharly/sdk#105) merged to sdk main at a11380625e04dbb3fa0c0392987edc8006db7611 (tag v0.2026209.2002), code-identical to the R10-tested feat head (only the CHANGELOG restamp differs). Bumps the sdk gitlink + charly/go.mod require to the merged tag. Rebuild + go build/vet/test ./... green against merged sdk; the #118 kernel-manifest floor gate still PASSES. Also cites the airtight fresh check-jupyter-pod re-run (13/13, calver 2026.209.1959, against the final terminus binary) for the #62 proof. Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
|
Superseded by #190. #118's original branch (feat/p16-kernel-manifest-gate) was a divergent-lineage RED living-tracker; the terminus work landed on feat/118-terminus and is now GREEN (RESIDUE 0) with the real artifact-backed terminal R10 roster. Closing in favor of #190 (the honest consumer leg, sdk producer opencharly/sdk#105 already merged at a113806 / v0.2026209.2002). |
…gelog (#190 review) Address the two remaining #190 pr-validator CHANGES-REQUESTED blockers. golangci-lint → 0 (delete dead code left by capability relocations): - check_venue.go DELETED whole-file (venueRunSilent/venueHasTool orphaned when the in-core check venue classifier retired to plugin-check, 13cf4c4); its floorEntry removed from kernel_manifest_floor_test.go (#118 gate stays green). - credential_plugin.go: drop unused resolveSecretBackend + now-orphaned kit import. - deploy_tree.go: drop unused stampBundleDescents (loop lives in loaderkit.StampBundleDescents) + now-orphaned loaderkit import. - node_childform_test.go: drop unused mustYAMLNode helper. - preempt.go: drop unused intersect + now-orphaned sort import. - registry_bootstrap.go: drop unused registerDedicatedBuiltin + its doc block; R5 sweep of the 2 stale comment refs (registry_bootstrap.go:21, registry_testsupport_test.go:10). - resolve_test_helpers_test.go: drop the always-"test" calver param from resolveAllBoxTest (unparam) + update 5 call sites. - R5 comment sweeps for the deleted symbols: bundle_add_cmd.go (check_venue.go drop from NestedContainerName consumer list), deploy_chain_test.go + loader_threaded.go (stampBundleDescents → loaderkit.StampBundleDescents). One changelog per squash: fold the K4 dispatch-kernel narrative (2026.206.1338.md, −153 core LOC) into the terminus changelog (2026.209.1900.md) and git rm the untagged K4 file. Folds in the sibling #190 review fixes staged in the tree: K3_HANDOFF.md / K47_HANDOFF.md removal + gofmt of bundle_members_test.go / plugin_executor_reverse.go. Verified: golangci-lint run ./... → 0 issues; gofmt -l . empty; go build/vet clean; go test ./... green; #118 gate TestKernelManifest_CoreIsPinnedToTheFabricFloor PASS (RESIDUE 0). Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated) Claude-Session: https://claude.ai/code/session_01FfmND2J6bJVyXoK47M3QTB
Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated) Claude-Session: https://claude.ai/code/session_01AhwUGnxK12LtYtH22xFvz6
…E/M/B/D fabric floor (RESIDUE 0) The terminus of the "everything is a plugin" core-minimization program (#118). Core is now a PLUGIN HOST: charly/ retains only the E/M/B/D fabric floor (plugin discovery/loading, provider registry + transports, CLI/kind prescan + word→plugin dispatch, the kind-decode materialize, the reverse-channel broker). Every capability resolves its config into a generic envelope an in-core mechanism consumes. The kernel-manifest floor gate TestKernelManifest_CoreIsPinnedToTheFabricFloor PASSES at RESIDUE 0. Consumer leg of the two-repo B2 landing: sdk gitlink → a11380625e04dbb3fa0c0392987edc8006db7611 (v0.2026209.2002, sdk#105 merged first). Net -3,064 charly/ core LOC. Terminal R10: 9 disposable beds green (artifact-backed, fresh-rebuild) — check-pod, check-builder-vm, check-charly-vm, check-jupyter-pod, check-substrate, check-group, check-structkind, check-preempt-local, check-commands-local. One R2-separable pre-existing fail (check-k3s-vm, #61 candy kubeconfig timeout), not a #118 regression. Three real bugs the roster caught (BuilderConfig/DistroDef on synthetic boxes, out-of-process check-verb connect) fixed + folded in. Review round 2 cleared: removed stray handoff notes, gofmt clean, golangci-lint 0 issues (dead relocation-orphaned helpers deleted), single changelog per squash. Validated by a fresh, independent pr-validator (RESIDUE-0 gate, go build/vet/test + golangci-lint 0 re-run, all 9 bed artifacts reconciled on disk, forward-gitlink verified) at CalVer 2026.209.2044. Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
…tness batch The `command:` check verb gains an `expect_non_zero` field (additive, optional) to assert a command SHOULD fail when the exact non-zero code is non-deterministic or irrelevant — the negative-expectation class that the base #Op exit_status matcher (one exact code) could not express. SDD: candy/plugin-command/schema/command.cue is the single source; task cue:gen regenerated params/cue_types_gen.go (reproducible no-op). RunVerb asserts exitCode != 0 when set and ignores exit_status; default false preserves the historic behaviour. Coverage: 3 unit tests (fail without the field) + a live check-expect-non-zero step in check-stack-layer, proven on check-pod 13/13 with exit=1 PASS in both fresh-rebuild phases. The post-#118 bed-robustness batch narrowed under RCA to this one genuine fix: #58 and #63 were already fixed on main, #60's described probe does not exist, and #61's stated root cause was refuted on a live bed (k3s healthy, kubeconfig present+readable) and reverted. CHANGELOG/2026.209.2249.md. Assisted-by: Claude Code Anthropic Claude Opus 4.8 (fully tested and validated)
…s) (#558) Consume the config:-verb wave: spec v0.2026250.957 (#117 config?/validate? contract, #118, #119 VerbCatalog, #120 InstallVerbs), sdk v0.2026250.948 (#237 emitter), plugin-box v0.2026250.1030 (#11 config rules), plugin-egress v0.2026250.951 (#3 crabbox-yaml egress schema). Add validate to the uniform-API genericConceptCollisions with justification (ops.OpValidate selector vs the config modifier — the venue precedent). Co-authored-by: atrawog <[email protected]>
What this is
The mechanical enforcement of CLAUDE.md's "The kernel/plugin boundary law": a new package-main test,
charly/kernel_manifest_floor_test.go, pinscharly/'s non-test.gofile set to the CORE-FABRIC allowlist (the E/M/B/D escapes — generic Envelope / kind-blind Mechanism / Bootstrap root / kind-recognition Data — plus the C14 hardware-blocked GPU exception). A file absent from the allowlist is an R-item (a concrete kind's schema / typed shape / validation / behaviour) that leaked into the kernel — an "incomplete seam" — and the test FAILS, listing every such residue grouped by its owning cutover. The failure message IS the living tracker that sequences the rest of the core-minimization program.This test is authored RED at program T0 and merges LAST (P16), GREEN, once every residue has folded into its owning cutover. It cannot pass branch protection today by design — it is the living tracker that guides/targets P8b/P11–P15. Do NOT route a pr-validator to merge it now. As each cutover lands, residue files vanish (deleted → prune the stale
residueOwnerentry) or move tokernelFloor(became fabric) — the residue count trends to zero and the test goes green. The two tables (kernelFloor+residueOwner) are the ONLY edit surface as cutovers land; the test logic is fixed.This PR supersedes the prior session's
feat/p16-kernel-manifestbranch (108-line regex allowlist, no owner map — that remote branch has no PR and is obsolete; safe to delete).Contract deliverable — the floor-vs-residue map
The upgrade from the prior 108-line regex allowlist to the contract deliverable:
kernelFloor: 64-entry E/M/B/D allowlist, each entry carrying its boundary-law clause (comment in the struct literal).residueOwner: 156-entry file→cutover map (the floor-vs-residue classification — this is the high-value sequencing map).UNOWNED+stale-floor/stale-residueguards) so adding/removing allowlist entries is the ONLY edit needed as cutovers land.FLOOR (64 files) — kind-AGNOSTIC fabric (stays core)
provider.go,provider_registry.go,provider_invoke.go,plugin_loader.go,plugin_prescan.go,plugin_grpc.go,plugin_transport.go,plugin_inproc.go,plugin_inproc_reverse.go,plugin_provider_common.go,plugins_generated.go,registry_bootstrap.goprovider_command.go,provider_command_external.go,provider_deploy.go,provider_step.go,provider_verb.go,provider_builder_external.go,provider_checkenv.go,provider_kind.go,provider_kind_invoke.go,plugin_command_prescan.goplugin_executor_reverse.go,plugin_checkcontext_reverse.go,plugin_dispatch_reverse.go,plugin_step_external.go,check_endpoint_resolve.go,deploy_target_external.go,deploy_target_unified.go,unified_targets.go,deploy_preresolve.go,deploy_substrate_lifecycle.go,substrate_lifecycle_grpc.go,host_build_cli.go,agent_target_cmd.gonode_build.go,node_bundle.go,node_bundle_venue.go,node_candy.go,node_desugar.go,node_normalize.go,node_parse.go,node_parsed.go,cue_loader.go,cue_normalize.go,cue_schema.go,materialize.gomain.go,main_repo.go,bootstrap_phase.go,reserved_registry.go,verb_builtins.go,step_builtins.go,deploy_builtins.go,cue_kind_candy.go,cue_kind_box.goversion.go,main_freshness.go,loader_threaded.go,cli_model_cmd.gogpu_shim.go,gpu_imply.go,gpu_allocate.go,devices.goRESIDUE (156 files) — tracked-for-removal by owning cutover
candy/plugin-build+ the #67 render α-fold (generate.go,tasks.go,build_resolve_host.go,resolved_project_host.go,intermediates_shim.go,host_build_render_seam.go,host_build_bake_plugins.go,oci_step_emit.go,render_prep.go,render_baked_metadata.go, …)plugin-deploy-pod+ substrates (config_write_host.go,pod_lifecycle_dispatch/resolve/verb.go,host_build_pod_disposable.go,host_build_pod_{config,config_seams}.go,host_build_pod_lifecycle_dispatch.go(the Cutover B-1 consolidated replacement for the 7 deletedhost_build_pod_{start,stop,shell,logs,update,service,remove}.gofiles),vm_deploy_state.go(renamed frombundle_add_cmd_vm.go),enc.go,volumes.go, …)plugin-check(check_cmd.go,host_build_check_bed/run.go,checkspec.go, …)command:bundle+ the K4-C deploy-dispatch walk-port's 6 newhost_build_deploy_{tree_resolve,node_dispatch,node_del_dispatch,del_resolve,members,config_save}.goseams + thedeploy.gostate-model fold (bundle_add_cmd.go,bundle_compile_seam.go,deploy_state_host.go,validate_preempt.go, …)oci_plugin.go,status_substrate_host.go,alias_collect.go,box_inspect_overlay.go, …)unified.go,validate.go,validate_project_host.go,credential_plugin.go,tunnel.go,box_fetch_reentry.go, …)Verification (test-only; SDD/ADE N/A)
Gate runs RED as designed:
FLOOR 64 / RESIDUE 156 / 0 unowned / 0 stale floor / 0 stale residue.gofmt+golangci-lint --new-from-rev=HEAD~1clean on the test file;go build ./charly/...passes.All OTHER tests pass on the rebased, submodule-synced tree (
go test ./...fromcharly/: onlyTestKernelManifest_CoreIsPinnedToTheFabricFloorfails, by design; see the R1 note below on one unrelated pre-existing failure).2026-07-20 reconciliation pass: merged
origin/main(~14 commits since T0 — the W3 build-engine cone, the federated control plane + agentkit, the kimi harness, the install-test matrix, the K1 loader walk/materialize split). Pruned 59 staleresidueOwnerentries for files those cutovers already deleted, and classified 10 newcharly/*.gofiles the merge introduced:materialize.goandagent_target_cmd.gojoinkernelFloor(both genuine kind-blind M-mechanisms). FLOOR grew 62→64, RESIDUE net-shrank 243→192.2026-07-20 reconciliation pass docs: bump plugins → pr-validator always comments on the PR #2 (post-Cutover-A
#168): mergedorigin/mainagain (1c0b91b, Cutover A — BUILD+CHECK+P13-KERNEL, the deploy-dispatch kernel hard-cutover exit). Pruned 32 staleresidueOwnerentries for files#168deleted or renamed away (bundle_cmd.go,bundle_add_cmd_{k8s,vm}.go,deploy_host_helpers.go, the old-formhost_build_deploy_{add,config,del}.go,quadlet*.go,provides.go,classification.go,agent_forward.go, all 11 dedicatedplugin_command_*.goshims, …) and classified 16 newcharly/*.gofiles#168introduced — all as residue, none as floor: the K4-C deploy-dispatch walk-port's 6host_build_deploy_{tree_resolve,node_dispatch,node_del_dispatch,del_resolve,members,config_save}.goseams → P13 (each calls back into concrete deploy-kind orchestration —ResolveTarget,runDeployNodeDispatch,resolveTreeRoot,bringUpMembers— not a kind-blind mechanism; the deploy-dispatch kernel is tracked K4 residue per the operator's prior boundary-law overrule of a "cannot cross the process boundary" STAYS-CORE claim on this exact cone), the P13-KERNEL pod-command direction-flip's 9host_build_pod_{config,config_seams,logs,remove,service,shell,start,stop,update}.goseams → P11 (each forwards to a concretepod*Cmd.Run()orchestration —host_build_pod_start.go's own header now explicitly declines to treat its siblinghost_build_pod_*.gofiles as "settled precedent" for a STAYS-CORE claim, citing this exact deploy-dispatch precedent), and the renamedvm_deploy_state.go(ex-bundle_add_cmd_vm.go) → P11 (its surviving content is the charly.yml config-persist half of VM deploy-add, the same substrate-persistence theme as the other P11vm_*.go/config_write_host.goentries). RESIDUE net-shrank 192→176. R1 note: the prior update's escalatedcandy/plugin-http/candy/plugin-portfakeCC/kit.CheckContextbuild failure is no longer reproducible on the current merged tree (go build/go vet/go test -run xxall clean on both candies) — resolved upstream by one of the merged commits; the stale escalation note is removed.2026-07-21 reconciliation pass docs: adopt PR templates across submodules + pr-validator security hardening #3 (this update, post-Cutover-B-1
#169): mergedorigin/mainagain (c78ac6a, tagv2026.202.0130— Cutover B-1: pod-lifecycle-dispatch + bundle-remainder + kernel-B), folding#169's own fresh-validator coordination note but re-deriving every classification from the actual tree, never the note or any file's own header comment. Pruned 15 staleresidueOwnerentries for files#169deleted or moved:android_spec.go(P11, dead doc-comment-only file),labels.go(P8b, its 8 OCI-label type aliases dissolved — ZERO-ALIASES),libvirt.go(P11, deadCollectLibvirtSnippets),reconcile.go/reconcile_test.go(P15, moved tocandy/plugin-box— R063/R092 renames),service.go/shell.go/start.go/tunnel_plugin.go(all P11/P15, CLI grammar moved tocommand:*plugin candies), and the 7 supersededhost_build_pod_{logs,remove,service,shell,start,stop,update}.goP11 seam files. Classified the 1 new file#169introduced —host_build_pod_lifecycle_dispatch.go, the CONSOLIDATED replacement for those 7 seams — as P11 residue: every handler only CALLS a floor Mechanism (dispatchLifecycleTarget→unified_targets.go'sResolveTarget) or P15 residue (releaseResourceClaim,arbiter_host.go— itself residue, not floor, directly contradicting the file's own "stays core" framing of its arbiter bracket) — the defines-vs-calls test makes it an R-item, matching the identical precedent this PR's prior reconciliation pass already set for its 7 predecessor files (whose own header explicitly declines "settled STAYS-CORE precedent" status, citing the deploy-dispatch boundary-law overrule — memorydeploy-resolution-67-gated-cone.md). No STOP-and-escalate was needed. FLOOR unchanged at 64; RESIDUE net-shrank 176→162 (P8b 30→29, P11 54→43, P15 43→41; P12/P13/P14 unchanged). R1 finding (escalated, out of this PR's scope):go test .surfaced one unrelated pre-existing failure,TestCandySourceDirs_OverrideAnchorsRemoteApk—box/cachyos'scharly.ymlis stampedversion: 2026.186.2323whilesdk/schema/version.cue's#SchemaVersion(bumped to2026.202.0105by an sdk commit that landed before Cutover B-1) now requires it; thebox/cachyosgitlink itself is byte-identical between this PR's pre-B-1 base and post-B-1main(confirmed viagit diff --submodule), so this is a genuine, pre-existingmainschema-vs-submodule-pin drift, not anything this reconciliation or Cutover B-1 introduced or that this test-only change can fix (needs its ownbox/cachyosre-stamp cutover per the git-workflow skill's B7 "box/ re-stamp" step). Flagged to the orchestrator for its own batch; not fixed here.2026-07-21 reconciliation pass refactor(charly): P1 lint/dead/dup rewrite + concurrency & correctness fixes #4 (this update, post-FINAL/K5-unit-6
#171, merge SHAd35a0fd): mergedorigin/mainagain (also picking up5512225, the 5-distro gitlink schema-2026.202.0105 restamp — this closes the R1 finding the prior pass flagged:go test .now shows only the intentionally-RED gate test failing,TestCandySourceDirs_OverrideAnchorsRemoteApkis gone). Folded#171's own fresh-validator cross-PR coordination note as the starting hypothesis but re-derived every classification from the actual tree, never the note or any file's own header comment (standing policy).Pruned 5 stale
residueOwnerentries for files#171deleted outright:android_deploy_cmd.go(P11 — body split betweencandy/plugin-adband the newdeploy-entity-resolveseam),android_deploy_preresolve.go(P11 — moved tocandy/plugin-adb/preresolve.go),k8s_deploy_preresolve.go(P11 — moved tocandy/plugin-kube/preresolve.go),vm_snapshot_client.go(P11 — confirmed dead code, no replacement needed),ephemeral_lifecycle.go(P11 — body moved tocandy/plugin-bundle/ephemeral.go).Classified 4 new
charly/*.gofiles:host_build_deploy_entity_resolve.go→ P13 (deploy-dispatch seam family). Its own header claims itsLoadUnifiedcall is "a kernel Mechanism, R-E2 stands: it never moves wholesale" — not taken at face value (never trust code comments):LoadUnified's own defining file,unified.go, is itself tracked P15 residue in this same table, so a header asserting permanence for a call target this table already tracks as residue is exactly the incomplete-seam trap. Applying the defines-vs-calls test instead: the default/"bundle" case callsresolveTreeRoot(deploy_tree.go, P13) and the file's own "deploy-entity-resolve" HostBuild-kind naming directly parallels the K4-Chost_build_deploy_{tree_resolve,node_dispatch,node_del_dispatch,del_resolve,members,config_save}.goseams this PR's prior passes already classified P13 under the deploy-dispatch boundary-law precedent (memory:deploy-resolution-67-gated-cone.md) — no re-escalation needed.host_build_k8s_generate.go→ P11, matching its deletedk8s_deploy_preresolve.go(P11) predecessor whoseTreeRootcomputation it explicitly mirrors, and wrappingk8s_generate.go'sGenerateK8sKustomize(P11).host_build_ephemeral_register.go+ephemeral_dispatch.go→ P11, the split of the deletedephemeral_lifecycle.go(P11): the register/teardown body moved tocandy/plugin-bundle, leaving a thin HostBuild seam + a host→plugin dispatch. Both stay in the "ephemeral" cross-substrate lifecycle family — the same family as the still-presentvalidate_ephemeral.go(P11), whose scope P11's own description explicitly names ("lifecycle") — rather than following the P13 shape their own comments compare themselves to (bundle_compile_seam.go's dispatch pattern): the family a seam SERVES governs over incidental mechanism-shape similarity to a P13 sibling.No STOP-and-escalate was needed — nothing in this batch presented a genuine E/M/B/D floor case; every new file calls a mechanism rather than being one.
#172, merge SHA4fe1909): mergedorigin/mainagain (FLOOR-SLIM Wave 1 — a mechanical batch + the Config restructure + the check envelope + the installstep envelope). The merge was a clean auto-merge (no conflicts —kernel_manifest_floor_test.gois branch-only, untouched by main). Refreshed submodule pins to the merge's recorded pointers (sdk→a4f14bd,plugins→beb2eda) viagit submodule update --init sdk plugins. Wave 1 deleted 5 tracked residue files outright (each already had aresidueOwnerentry, now pruned):candy_chain.go(was P8b),capabilities.go(was P14),description_collect.go(was P12),graph_shim.go(was P15),vnc_helpers.go(was P12) — plus their_test.gosiblings (test files are outside the gate's scope). Wave 1 also added 2 newcharly/*.gofiles, both tests (plugin_installstep_envelope_parity_test.go,stderr_capture_test.go) — excluded from the gate by construction (it only scans non-_test.gofiles), so no new classification was needed. No STOP-and-escalate was needed — nothing in this batch presented a genuine E/M/B/D floor case or an unowned file; the design-phase register items the orchestrator flagged for special attention (k3s_post.go, the bundle-selection-widening files, the check-dispatch seam endgame triocheck_kit_adapter.go/planrun_adapter.go/checkrun_act.go, and the K1 loader-validation-redesign remainderunified.go) were all already correctly classified in the existing table and untouched by this wave — re-verified against the tree, not assumed. FLOOR unchanged at 64; RESIDUE net-shrank 161→156 (P8b 29→28, P12 20→18, P14 11→10, P15 41→40; P11/P13 unchanged).Gate output (verbatim, post-reconcile, current HEAD — see commit below):
By owner: P8b 28 / P11 41 / P12 18 / P13 19 / P14 10 / P15 40 (sum 156, matches). Still intentionally RED — do not route a pr-validator to merge.
New core LOC (
charly/*.goexcluding_test.go, post-merge): 36,935 lines across 220 files.Also verified (this update):
git merge origin/mainclean, no conflicts;git submodule update --init sdk pluginssynced to the merge's recorded pins;go build ./...clean;go vet ./...clean;gofmt -l kernel_manifest_floor_test.goclean;golangci-lint run --new-from-rev=f213b2d ./...→ 0 issues;go test .(packagecharly, full suite, ~137s) — onlyTestKernelManifest_CoreIsPinnedToTheFabricFloorfails, by design; no other regressions from the FLOOR-SLIM Wave 1 merge.Merged
origin/main(4fe1909) into a merge commit, then pushed the reconciliation commit fast-forward:f213b2d→488586c. PR body counts updated to match.Assisted-by: Claude Code (Anthropic Claude Sonnet 5; analysed on a live system)