Repository navigation
feat(cutover-c): land the distro conversion wave — converted import tags + box pointers + spec 200 / sdk 417 re-pins - #552
Conversation
…provider drop, seven-contract re-pin (Cutover C task 1, charly half)
…provider drop, seven-contract re-pin (Cutover C task 1, charly half)
…— the shape classifier missed the Fleet gate exemption RCA (2026-09-07 runtime envelope drop): the canonical imageless agent_provisioned pod (agent_provisioned: true + iterate:, no image:/from:, no resource-member sibling) VANISHED from the resolved-project envelope Deploy map — every build:project consumer saw no-entity. Root cause: foldSubstrateKind classified deploy vs template via pl.IsDeployShape(pn) (from:/image: bodies only) || ResourceChildren — the agent_provisioned spelling the Fleet gate (spec.ValidateDeploymentTree → ValidateDeployRequiresBox) exempts from the box requirement matched NEITHER arm, so the node folded as a standalone TEMPLATE (acc.PluginKinds[pod]) and never entered acc.Fleet. The plugin-build #9 in-repo tests missed it because every test doc carries a watcher: sibling feeding the ResourceChildren arm. Fix: extend the foldSubstrateKind predicate with agentProvisionedBody(rawBody) so the classifier stays in lockstep with the gate exemption. TDD: substrate_imageless_deploy_test.go reproduces the drop pre-fix (acc.Fleet empty, node in the template map) and locks the discriminator (plain imageless pod stays a template; watcher-sibling shape unaffected).
…sdk ledger-lock decoupling + build/substrate advance (Cutover C task 1, charly half, follow-up) Completes the seven-contract re-pin the group-removal conversion commit (dbf8e2a) started, to the settled CC-1 wave ledger: - spec v0.2026249.2215 -> v0.2026250.158: the refs WarmUp prefetch-warm fix (spec #109) — a persisted latest_tags entry is now PREFETCH-warm, killing the on-demand LatestTag strict re-probe O(n) network storm and the deterministic "fetching git metadata for 194 repo(s)" hang. - sdk v0.2026249.2239 -> v0.2026250.154: carries BOTH the contract floor (sdk #226) AND the fleet-del self-deadlock fix (sdk #227: kit.AcquireLedgerLock moved off charly.yml.lock onto the dedicated <config>.ledger.lock). Folded from sibling commit 3867f71e (feat/fleet-del-deadlock-pin-bump) — its bump is absorbed here rather than cherry-picked to avoid a broken intermediate sdk pin (the conversion commit's tree carried v0.2026250.17 uncommitted). - plugin-build v0.2026243.1627 -> v0.2026249.2311 and plugin-substrate v0.2026241.1038 -> v0.2026249.2326 (the substrate imageless agent_provisioned fold fix a857bd5 consumes). - plugin-check 2119 / plugin-preempt 2116 / plugin-fleet 2126 / plugin-migrate 2144 were already advanced by dbf8e2a — unchanged. - plugin-deploy-vm (v0.2026249.2224) / plugin-deploy-pod (v0.2026249.2212) are @github refs resolved at runtime to their latest tags — no go.mod require exists by design (externalized deploy substrates, provider_deploy.go). Verified: go build ./... and go vet ./... exit 0; go test -count=1 ./... fails ONLY the two distro-gated tests (TestCueKinds_Corpus and TestMaterializeSeam_RealFixtureDeterministic — both read the pre-conversion ../box/{arch,fedora,cachyos} submodule trees, the pending distro conversion wave's dependency, independent of this go.mod/go.sum-only diff); task build:binary exit 0, bin/charly version 2026.250.0054. The own-tree bed R10s + box validate are blocked at project resolve by the same pre-conversion distro import pins (arch v2026.241.1429 first) — they run when the distro conversion PRs land and the import pins bump (coordinated separately). Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)
…stro import tags + box pointers + spec v0.2026250.200 + sdk v0.2026250.417 + the structkind plugin re-pin
Review — BLOCKHead SHA: Change class: dependency/pin wave + config (charly.yml, go.mod/go.sum, submodule gitlinks) + Go code (loader_threaded.go) + bed-shape unrolls (group: → vm:/pod:/local:). Blocks
Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
…/R10 findings addressed; named batch #553)
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (body accounts for the Go loader change, bed unrolls, and pin wave), no secrets/exfiltration, no weakened guardrails, no self-modifying security changes. Re-pins are to merged tags on owning repos. Checklist: All applicable rules PASS or NA. The prior
Independent verification of the current state: body↔diff consistency holds — distro import re-pins (arch 250.0229, cachyos 250.0307, fedora 250.0253, omarchy 250.0359) match the diff; go.mod re-pins (spec 250.200, sdk 250.417, build 2311, substrate 2326, check 2119, preempt 2116, fleet 2126, migrate 2144, structkind 249.2023) match; plugin-group removed from Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
Summary
The charly half of the Cutover C group-kind removal landing wave (branch feat/drop-group-kind, 6 commits), ATOMIC with the distro conversions:
Schema cutover (Go + schema):
group:kind is REMOVED from charly — unroll migration (plugin-migrate group-rewrite), provider drop, provider_deploy.go minus-group special case deleted (commits 10bc28d/dbf8e2ad/a857bd51).DeployDeclaredFieldsfeed — snapshots each deploy-substrate word's registered input-schema body FIELD names (the #Deploy-schema twin of theStructuralDeclaredFieldsfeed) so a substrate body's DECLARED fields stay data even when their value shape would classify as an in-substrate member (the ADE iterate-bed regression: a pod body'siterate:carrying theagent:kind-word key). Includes the sharedregisteredInputDefFieldsextraction primitive (R3) and the newThreadedstruct field.Bed-shape unrolls (
group:→ primary-substrate + deploy-level siblings, six beds): check-k8s-deploy, check-group, charly-cli, default, scaffolding-selftest, check-preflight-local (+ the structkind F5 witness retained as an external structural kind).Pins (this PR's head commit):
How tested
Bed R10 on the final committed tree, fresh binary — check-group (unrolled shape) FULL MATRIX PASS, 11/11 steps, EXIT=0, re-proven on both the pre- and post-sdk-417 binaries:
vm-build 5.32s | vm-create 5.53s | deploy-add 24.14s | bring-up-members 9.44s | check-live 9.78s | rebuild-members-down 6.40s | update 1m11.54s | re-bring-up-members 7.77s | check-live-rebuild 7.39s | cleanup 7.05s | cleanup-members 6.07s
Residual bed dispositions (all with RCA):
charly fleet add check-sandbox <ref> --disposable && charly start check-sandboxwith the host overlay ref, then re-run.Rulebook compliance
Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)