Skip to content

feat(deploykit): adopt sdk/deploykit step vocabulary (P4-unit-3 consumer) - #33

Merged
atrawog merged 2 commits into
mainfrom
feat/sdk-deploykit-steps
Jul 8, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/sdk-deploykit-steps

Conversation

@atrawog

@atrawog atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Consumer of P4-unit-3 (producer: sdk v0.2026189.1805, merged 0106208). The InstallPlan step vocabulary (13 step structs + RepoSpec/CacheMountSpec/ArtifactRef + OpStepScope/PathIsSystemScoped) lives in sdk/deploykit now; charly:

  • deletes their definitions from install_plan.go (163-938) + install_build.go (opStepScope);
  • re-exports them via deploykit_aliases.go (zero-churn — the compiler, step_view, and deploy targets construct them via the aliases);
  • keeps InstallPlan + wireView + ResolveHome charly-side (they reference the aliased structs; P4-unit-4 moves them);
  • bumps sdk → 0106208 + go.mod → v0.2026189.1805.

Change class

charly Go (step-vocab adoption) + submodule/go.mod bump.

How R10-tested

  • Verbatim move; go build/golden go test ./... green (compiler/targets construct via aliases).
  • Beds on final code (merged sdk 0106208, fresh binary, source frozen): check-builder-local PASS 4/4 + check-local PASS 4/4, golangci 0, zero warnings.

Attribution tier

fully tested and validated

Compliance

  • R5: git grep 'type SystemPackagesStep struct|type RepoSpec struct' -- charly/ returns none (defs in sdk/deploykit; charly aliases only). R3: one importable home. Producer-first. CHANGELOG 2026.189.1741.md.

Assisted-by: Claude (fully tested and validated)

atrawog added 2 commits July 8, 2026 20:23
…mer)

Consumer of P4-unit-3 (producer: sdk v0.2026189.1805). The InstallPlan step vocabulary
(13 step structs + RepoSpec/CacheMountSpec/ArtifactRef + OpStepScope/PathIsSystemScoped)
lives in sdk/deploykit now; charly deletes their definitions from install_plan.go +
install_build.go and re-exports them via deploykit_aliases.go (zero-churn). InstallPlan +
wireView + ResolveHome stay charly-side (reference the aliased structs). Bumps sdk →
v0.2026189.1805. Behavior-neutral; golden tests + check-builder-local + check-local beds green.

Assisted-by: Claude (fully tested and validated)
@atrawog

atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: charly/sdk Go (IR step-vocabulary adoption) + submodule/go.mod bump

Independently re-derived from main's CLAUDE.md + skills (no author inheritance). Every rule re-verified from the diff + my own re-run:

  • [PASS] 0. Security/anti-tampering (T1–T4): No touch to CLAUDE.md, the validator spec, hooks, or branch-protection. Description↔code match exact (785 lines of struct/helper defs deleted from install_plan.go/install_build.go, re-exported via 33-line deploykit_aliases.go). No secrets/exfil/network. Supply chain: sdk bump is the merged+tagged producer — gitlink 01062089 == sdk main HEAD == v0.2026189.1805 peeled target; replace => ../sdk at same commit. No embedded instructions to the validator.
  • [PASS] 1. Description complete: Filled template — Summary accounts for every file, How-R10 names the beds/tier/fresh-rebuild/results, tier justified, compliance section supplied. Claims independently re-verified true.
  • [PASS] 2. Change-class gate: Runtime Go change → go test + task build:charly (R9) + the deploy beds that construct the moved step types. No dry-run / rebuild-alone.
  • [PASS] 3. Attribution tier fully tested and validated: The moved step types executed live (deploy + fresh update) on both beds; I re-ran them. Tier justified, not inflated.
  • [PASS] 4. R0 skills (/charly-internals:plugin + :go + :install-plan): the InstallPlan step vocab is the generic #Step/IR Envelope — moving it to the sdk/deploykit library is correct placement, not a leak.
  • [PASS] 5. R1: Zero warnings / failures in any re-run; nothing to RCA.
  • [PASS] 6. R2: No pre-existing/out-of-scope split; P4-unit-4 (InstallPlan move) is the next planned forward-motion unit, not parked work.
  • [PASS] 7. R3: De-duplication is the change — one importable home; aliases are re-exports, not copies.
  • [PASS] 8. R4: No sleep/retry/magic-number/ad-hoc-podman.
  • [PASS] 9. R5: git grep for every deleted struct/func def in charly/ → NONE; symbols resolve via aliases. externalStep/externalStepKindPrefix/isExternalStepKind retained. No transitional/dual-mode path.
  • [PASS] 10. R6/R8/R9: Non-destructive git restore of build-touched pkg/arch; binary rebuilt via task build:charly, charly version matches, binary newer than all charly/*.go; no new runtime OS dep.
  • [PASS] 11. R10: Both disposable: true beds ran fresh (the update step = fresh charly update rebuild), zero warnings, PASS 4/4; existing golden tests + beds exercise the moved types (would fail if aliases were wrong).
  • [PASS] 12. RDD/ADE/SDD: Composition proven on beds; no candy plan change; no .cue/_gen.go touched (no SDD drift).
  • [PASS] 13. Concurrency + anti-cheat: Ran BOTH beds concurrently (launched simultaneously) — both PASS. No idle/serial/flake framing needed (no failures).
  • [PASS] 14. Hard cutover: ONE atomic change commit (a77e859); only the Phase-3 version-stamp commit added by me. No Phase-2/TODO.
  • [PASS] 15. Kernel/plugin boundary: No concrete-kind leak; generic IR envelope extracted to the SDK — strengthens the boundary.
  • [PASS] 16. Disposable-only autonomy: destroy/rebuild only on the disposable: true beds.
  • [PASS] 17. Clean architecture + Go gates: gofmt -l empty · golangci-lint run ./... = 0 issues (v2.12.2) · go vet clean · go test ./... green · deprecated defs fully removed.
  • [PASS] 18. CHANGELOG: present, finalized to the merge-time CalVer below.

Re-run evidence (mine, fresh):

  • go build/vet/test ./... green; gofmt -l . empty; golangci-lint run ./... → 0 issues.
  • check-builder-local summary.yml: 4 steps (deploy-add/check-live/update/cleanup) all ok: true, ok: true.
  • check-local summary.yml: 4 steps all ok: true, ok: true (check-live: 3 passed / 0 failed / 0 skipped).

Decision: All 18 checklist items + the security screen PASS. Verbatim step-vocab move with byte-identical runtime behavior, proven by fresh-rebuild beds + full Go gates. Finalized merge-time CalVer 2026.189.1845, merging --rebase and tagging v2026.189.1845.

Assisted-by: Claude (fully tested and validated)

@atrawog
atrawog merged commit 62b859b into main Jul 8, 2026
@atrawog
atrawog deleted the feat/sdk-deploykit-steps branch July 8, 2026 18:47
atrawog added a commit that referenced this pull request Jul 12, 2026
…station into disposable VMs (#79)

Operator directive: keep read-only local: check beds host-local; move the host-MUTATING ones off the operator's workstation into disposable VMs.

MOVED (4): check-local → check-local-vm (guest-as-host, own domain charly-eval-host-vm, preserves ShellExecutor+HostDeployTarget off the operator host); check-builder-local → check-builder-vm; check-substrate; check-structkind → per-bed vm:{from: eval-vm} beds with local: members nested via kit.NestedExecutor. KEEP (8) read-only command/probe beds; check-preempt-local trimmed to status-only (the live restore step reads the operator's global lease ledger). New pruned guest project check/eval-host-project/; R5 doc sweeps.

pr-validator (T-P14b, independent): 4/4 VM beds re-run on a fresh per-tree binary — check-substrate PASS(9,166s), check-structkind PASS(5,248s), check-local-vm PASS(7,305s), check-builder-vm PASS(9,167s); each marker confined to the disposable GUEST, absent on the operator host. box validate rc=0 zero-warnings, gofmt/golangci-lint/go vet clean. Serial eval-vm-domain characteristic tracked as a follow-up (#33).

Assisted-by: Claude (fully tested and validated)
atrawog added a commit that referenced this pull request Jul 12, 2026
…reflect P8b drive-in-candy (#81)

Bumps the plugins submodule gitlink 118a4e74 -> b527c3f (opencharly/marketplace#36 merged, plus the already-merged all-docs #32/#33/#34). The full submodule old..new range is 100% documentation (SKILL.md + CHANGELOG), so the pointer bump is the Documentation-only change class.

Carries the R5 claim-keyed correction of the stale box-build "engine stays host-side behind HostBuild(image/containerfiles)" claim: the box-build podman DRIVE now lives in candy/plugin-build (P8b) and the pure-compute helpers in the sdk libraries (#24). Verified independently: forward bump (old is an ancestor of new), range all-documentation, skills load cleanly (valid frontmatter, no manifest change).

Assisted-by: Claude (documentation reviewed)
atrawog added a commit that referenced this pull request Jul 13, 2026
…ter (all GREEN)

Replaces the 2-bed R10 reference with the verbatim 4-bed concurrent roster (check-builder-vm + check-substrate + the 3-level-nested check-group + check-structkind, all from: eval-vm, run SIMULTANEOUSLY against a fresh per-tree binary) — the deep-nesting coverage the round-1 roster lacked, exercising the nested-vm-member per-deploy domain + the nested-child SSH hop (the round-1 failure seam), now GREEN. Evidence-only; no code change.

Assisted-by: Claude (fully tested and validated)
Claude-Session: https://claude.ai/code/session_01K8sisEzaiAnFuMBRVfQ7P5
atrawog added a commit that referenced this pull request Jul 13, 2026
pr-validator version stamp for #33 superproject runtime half (per-deploy VM domain + qcow2-overlay isolation).

Assisted-by: Claude (fully tested and validated)
atrawog added a commit that referenced this pull request Jul 13, 2026
…-free eval VM beds (#33)

The superproject runtime half of #33 — the libvirt domain (and every per-domain resource: state dir, NVRAM, ssh key, seed ISO, ssh alias, ssh port, cloud-init instance-id) is keyed by the DEPLOY name (vmshared.VmDomainIdentity), not the shared kind:vm entity, with a per-deploy qcow2 overlay over a read-only entity base. Sibling beds sharing one entity via from: get distinct charly-<deploy> domains — collision-free by construction — so the long VM beds run CONCURRENTLY.

- --domain flag on charly vm create/start/stop/destroy/console; destroy-by-domain.
- Read side per-deploy (bedVmDomains / checkVmTarget / Runner.vmTargetName) so the libvirt:/spice: check verbs address charly-<deploy>.
- Base-build FLOCK (acquireVmBuildLock) + content-signature idempotent skip-if-fresh makes the concurrent vm build <entity> preflight safe (RDD-proven; the concurrent roster never rewrites a base a live per-domain overlay backs onto).
- Fixes the nested-child SSH-alias seam (deploykit.VmChildExecutor caller → 2-arg) the concurrent R10 caught.
- R2 fold-ins: plugin-vm (14) + plugin-preempt (3) tabwriter-errcheck + dead-code lint cleanup.

Submodule pointers: sdk → 2977d5c (v0.2026194.659, #35 merged); plugins → 55800b2 (v2026.194.0707, #41 merged). charly/go.mod require → v0.2026194.659.

BREAKING CHANGE: deploykit.VmChildExecutor drops the *BundleNode param; the sole caller (charly/bundle_add_cmd.go) is updated here.

R10: the FULL 4-bed concurrent eval-vm roster (fresh per-tree binary v2026.194.0736, all calver 2026.194.0741, simultaneous) — check-builder-vm PASS 9/210s, check-substrate PASS 9/187s, check-group PASS 5/263s (3-level group→vm→local), check-structkind PASS 5/265s (3-level structkind→vm→local); 4 distinct per-deploy domains + keys + seeds (validator-corroborated on disk), both deep-bed nested-member SSH seams GREEN, clean teardown (0 leftover domains). Validator re-ran gofmt/vet/build clean, golangci 0, go test green.

Assisted-by: Claude (fully tested and validated)
github-actions Bot pushed a commit that referenced this pull request Sep 10, 2026
… seam (#579)

The namespace-qualified (git-linked) entity reference seam (the RCA'd
divergence between the load-time validator and the runtime resolver):

- sdk v0.2026251.531 → v0.2026253.1714 (ResolveEntityRef #246 + the
  namespace-aware runtime resolution #247)
- spec v0.2026251.1735 → v0.2026253.1700 (the deploy from: regex allows the
  ns.entity form, #127)
- plugin-vm v0.2026253.830 → v0.2026253.1802 (the namespace-qualified vm
  entity resolution #31 + the clone-drive leaf #32 + the entity-keyed leaf
  paths #33)

Effect: EVERYTHING in charly is referenceable — locally AND via git-linked
imports (ns.entity) — validated once, resolved everywhere. The X3 spike
(from: omarchy.check-charly-omarchy-vm:golden) proves it end to end.
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