Repository navigation
feat(spec): adopt sdk/spec InstallPlan IR enums (P4-unit-1 consumer) - #31
Conversation
Consumer of P4-unit-1 (producer: sdk v0.2026189.1556). The IR discriminator enums Venue/Phase/StepKind/Gate live in sdk/spec now; charly deletes their definitions from install_plan.go and re-exports them via type + const aliases (mirroring the existing Scope = spec.Scope alias block in the same file) — zero-churn across the whole deploy/step/build surface. Bumps sdk → v0.2026189.1556. Behavior-neutral; golden tests + check-builder-local + check-local beds green. Assisted-by: Claude (fully tested and validated)
… sdk/spec IR enums consumer) Validator-finalized the CHANGELOG placeholder to the merge-time CalVer. Pure CHANGELOG rename; the runtime cutover (charly install_plan.go enum type-def deletion + type/const alias re-export mirroring the Scope block + sdk -> v0.2026189.1556) rides the author commit 2f35605, certified fully tested and validated (go build/vet/test/gofmt/golangci-lint 0-issue clean + check-builder-local PASS 4/4 + check-local PASS 4/4 fresh-rebuild disposable beds run concurrently, zero warnings). Assisted-by: Claude (documentation reviewed) Claude-Session: https://claude.ai/code/session_01WW2VeHbqQ5h2FUzj9h3jai
pr-validator — APPROVED ✅Change class: charly/sdk Go (IR-enum adoption: type/const alias relocation) + submodule/go.mod bump. Security screen (T1–T4): PASS. No self/security-machinery edit (spec, CLAUDE.md, hooks, branch-protection untouched); description↔code match exactly (enum relocation, nothing more); no secrets/exfiltration/network/new deps; Checklist (independently re-derived, not taken on the author's word):
Bed evidence (my fresh run
Decision: Byte-for-byte behavior-neutral relocation of the InstallPlan IR discriminator enums to Assisted-by: Claude (fully tested and validated) |
…ge model (#67) Documentation-only. The superproject half of the two-gate merge-authorization correction (producer plugins #31 merged first, B2 order). - CLAUDE.md Post-Execution point 3: corrected to the proven two-gate model. Keeps the landing-authorization POLICY; removes the false "steers the classifier / NEITHER Self-Approval NOR Merge Without Review" framing. States the operative mechanism accurately: permissions.allow clears the success STATUS POST only; the classifier's Merge-Without-Review gate is cleared solely by an operator autoMode.allow rule in USER/MANAGED settings (never CLAUDE.md prose, never permissions.allow, never an agent self-grant). Points at git-workflow B5. - plugins gitlink 04316ce6 -> 118a4e7 (plugins #31, all-*.md). - CHANGELOG/2026.193.0931.md. Assisted-by: Claude (documentation reviewed)
… redesign marshal (#67) feat(deploy)!: K5-Unit-1 Option A — clean kit of R-item, shrink seam, redesign marshal (#67) The K5-Unit-1 cutover moves the deploy state-model body from `charly/` core into `sdk/deploykit` (a kind-blind mechanism kit). The original move contaminated the kind-blind kit with a deploy-kind-specific transform (`MarshalBundleNodeLegacy`) and threaded FOUR core-coupled ops through the `DeployStateHost` seam. Option A fixes that incomplete-seam violation. SDK leg (sdk PR #55, merged 9ec6940, tag v0.2026196.1147): - Removes `MarshalBundleNodeLegacy` from `sdk/deploykit` — the R-item that contaminated the kind-blind kit. - Removes `MigrateDeployEntity` + `LatestSchemaVersion` + `AcquireDeployConfigLock` from the `StateHostMechanisms` seam. - Collapses `LatestSchemaVersion` → `kit.LatestSchemaVersion()` directly; `AcquireDeployConfigLock` → `kit.AcquireFileLock(path+".lock", true)` directly. - Redesigns `SaveBundleConfig` as a kind-blind shell taking a `marshalNode` callback (version-stamp + provides-marshal + write-temp-rename + fail-safe re-check). - Shrinks the seam from 4 ops to 1 op (`LoadUnifiedBundleConfig` — K1-gated, dies when K1 relocates LoadUnified to loaderkit, task #31). Super leg (this PR): - Fuses `MarshalBundleNodeLegacy` + `migrateDeployEntity` into ONE clean canonical `marshalBundleNode` in `charly/deploy_nodeform.go`. - Adds `saveBundleConfigNodeForm(dc)` — the ONE `charly/` helper (R3) supplying `marshalDeployNode` as the callback. - Updates ~12 `charly/` `SaveBundleConfig` call sites → `saveBundleConfigNodeForm`. - Registers ONLY `LoadUnifiedBundleConfig` in `deploy_state_host.go` init (1-op seam). - Deletes `migrateDeployEntity` (dead after fusion — R5). - Bumps the `sdk` gitlink to the merged Option A sdk commit `9ec6940` + `charly/go.mod` require `v0.2026196.1147`. Net core-LOC NEGATIVE (494 insertions, 1027 deletions). IMPORT-PURITY preserved (`deploy_nodeform.go` imports spec+yaml.v3 only; `deploy_state_host.go` uses the pre-existing `deploykit` import directly — body-move exception). ZERO-ALIASES preserved (the alias file shrank; no new `charly/*_aliases.go`). The marshal + helper + ~12 deploy-lifecycle consumers live in `charly/` core until K4 moves them to their plugin homes (plugin-bundle / plugin-deploy-pod / plugin-check) — tracked K4-exit inventory (task #52), not permanent residue. R10: 5 disposable beds CONCURRENTLY (check-sidecar-pod, check-charly-vm, check-structkind, check-substrate, check-group) — all exit 0, zero warnings, fresh-rebuild (`update` step) on each. The changed deploy state-model paths executed live on every bed's deploy-add → config → update route. Delta re-gate after merging main (#123): go build/vet/gofmt/test/lint all clean, file overlap EMPTY. Assisted-by: Claude GLM 5.2 Cloud (fully tested and validated)
… 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.
…hread bound) (#726) main welds v2026.271.0852 (the #31 gate-notice exclusion). v2026.271.0909 also carries #32 — the assembler BOUNDS the comment thread (the measured ~80% amplifier of the INCONCLUSIVE collapse: the same review over a trimmed thread returns a clean verdict). Advance the weld so the engine has BOTH fixes. Refs #712.
Summary
Consumer of P4-unit-1 (producer: sdk
v0.2026189.1556, mergede4a9598). The IR discriminator enumsVenue/Phase/StepKind/Gatelive insdk/specnow; charly:install_plan.go;Scope = spec.Scopealias block already in the same file (zero-churn across the whole deploy/step/build surface);sdk→e4a9598+ go.mod →v0.2026189.1556.Change class
charly Go (IR-enum adoption) + submodule/go.mod bump.
How R10-tested
go test ./...green (zero-churn aliases prove behavior-neutral).e4a9598, fresh binary, source frozen):check-builder-localPASS 4/4 +check-localPASS 4/4, golangci-lint 0, zero warnings.Attribution tier
fully tested and validated
Compliance
git grep 'type Venue int|type StepKind string' -- charly/returns none (defs in sdk/spec; charly aliases only). R3: one importable home. Producer-first. CHANGELOG2026.189.1401.md.Assisted-by: Claude (fully tested and validated)