Repository navigation
Conversation
Adopt sdk v0.2026270.1147 + spec v0.2026270.938 in the charly host and delete every reader of the removed schema-version surface. The source sweep is complete and compiles/vets green against the merged contracts when the two un-landed plugin consumer legs are supplied locally (a `replace` spike, not committed). Core: - charly/version.go: delete the LatestSchemaVersion() shim (and the calver import). - Bump the compiled-plugin pins that landed: plugin-service, plugin-package, plugin-build, plugin-migrate, plugin-fleet, plugin-enc. Test sweep (the removed version stamp / schema gate): - Delete the version-gate test (migrate_calver_gate_core_test.go) and the test-only latestSchemaVersion alias (migrate_testsupport_test.go). - Drop the ~90 fixture `version:` stamps across the loader/validate/resolver suites; re-vehicle the F9 bootstrap test off `defaults.registry`; drop the UnifiedFile.Version and InlineCandy.Version assertions; delete the spec.Packaging.Config test (#PackagingConfig removed). BLOCKED — do NOT open a PR for this branch yet: - `go build ./...` fails at exactly `plugin-box` (spec ResolvedBox/ResolvedBoxView .Version, kit.ScaffoldCandy 3->2) and `plugin-fleet` (spec Deploy/DeployNode .Version, kit.CandyRecord.Version). plugin-fleet's fix is opencharly/plugin-fleet#25; plugin-box's is UNLANDED (its inputless PR plugin-box#16 was auto-closed at 5 BLOCKs). - Even with those two fixed, `go test ./...` panics at init (`registerCompiledPlugin: ... plugin ships NO CUE schema`) because sdk v0.2026270.1147 includes sdk#314 (the inputless contract): every compiled-in plugin must ship a schema, and the inputless sweep (charly#712) is incomplete (16+ PRs open). Tracking: #714. Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
…oning The charly host leg of the schema-versioning-removal cutover (#714). Adopt sdk v0.2026270.1147 + spec v0.2026270.938 and delete the whole removed schema-version surface. `go build`/`go vet`/`go test` are green against the real merged tags (no go.work, no replace). Contracts + pins: - sdk v0.2026270.1024 -> v0.2026270.1147; spec v0.2026269.2150 -> v0.2026270.938. - Bump every compiled-in plugin whose pinned version was schema-less to its merge-time CalVer tag (the sdk#314 inputless contract), plus the version-removal consumer legs: plugin-box v0.2026270.1652, plugin-fleet v0.2026270.1554, plugin-migrate v0.2026270.1359, plugin-build v0.2026270.1414, plugin-service/package v0.2026270.1351, and the inputless wave (example-command/-bootstrap, egress, k8sgen, gpu, preempt, enc, substrate, candy-kind, ssh, cmd, clean, settings, loader, refs, candy, cache, doctor, feature, pod, alias, authoring, oci, status, ollama). Host source (hard cutover — no fallbacks): - charly/version.go: delete the LatestSchemaVersion() shim (and the calver import). - Delete the version-gate test (migrate_calver_gate_core_test.go) and the test-only latestSchemaVersion alias (migrate_testsupport_test.go). - Sweep the ~90 fixture `version:` stamps (Go strings + testdata/check/packaging YAML); the version gate, the UnifiedFile.Version / InlineCandy.Version assertions, and the spec.Packaging.Config test are gone. - Remove the retired `packaging.config:` section from packaging/charly.yml and the version stamps from every manifest this repo ships. - tooling: `tools/golden-compile` clears the removed wire `Version`; the compile-parity golden is regenerated. - Re-vehicle the F9 bootstrap test off `defaults.registry`; repoint the CUETighten and validate tests off the deleted mandatory-CalVer rule. `charly migrate` remains the ONE path for an old config (the rekey-legacy-vm rule: twin `vm:` overlay dropped, orphan `vm:` hard-fails); VM/pod nesting is untouched. Refs #714. Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
plugin-migrate v0.2026270.1917 strips the top-level version stamp from every candidate doc (candy/<name>/charly.yml too), which the remote-cache auto-migration needs so an imported candy manifest passes the #NodeDoc gate. Refs #714. Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
…chema
TestCandyCUESchema_Rejects used the RETIRED bare `candy:` child-node wrapper, which
the loader rejects as a shape error ("no kind discriminator") — so every case passed
vacuously. Rewrite the fixtures in the current node-form (`<name>: {candy: {...}}`)
so each case rejects for its stated constraint, and DELETE the `missing version` case:
with `version:` gone from #Candy a version-less candy is valid (asserted by
cue_tighten_test.go's "candy missing version accepted").
Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
…oject Address the last two validator findings on the host leg (#716): - cue_tighten_test.go: the "candy/box bad version format rejected" cases asserted the DELETED CalVer rule; a leftover `version:` is now rejected by CLOSEDNESS (an unknown field), not a format rule. Rename them accordingly, drop the stale "cutover #9: CalVer format" comment, and keep the "missing version accepted" case. - packaging/charly.yml: the removed `packaging.config` section (#PackagingConfig, spec#183) was what shipped /etc/charly/charly.yml — the system-wide project the charly-mcp systemd units resolve via WorkingDirectory=/etc/charly. Replace it with the surviving mechanism: a packaging plan run-step that writes the file (with its plugin-mcp candy ref) into the package/install. Add TestPackagingShipsSystemProject to pin it (replacing the deleted TestPackagingConfigDeclared). Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
…box pins Assemble the host leg's final tree: - bump github.com/opencharly/sdk to the merged arbiter tag v0.2026271.738 (PickCandyVersion no longer warns on a re-tag of byte-identical content); - advance the six box/ gitlink pins to the merged distro version-strip commits (the removed entity/project version: surface deleted in their owning repos); - advance the six @github distro import pins to their merge-time tags. The box/*.gitlinks + import pins point at MERGED distro mains (no hand-pin); the submodule strategy resolves them for CI's TestCueBox_Corpus.
# Conflicts: # charly/go.mod # charly/go.sum
…sweep The schema-version removal sweep (#716) edited these test fixtures and left no-op `"" +` / `+ ""` concatenations where the removed `version:` line had been. Delete the empty fragments — the concatenated manifest bytes are byte-identical; gofmt clean, the affected tests pass. Finding 4 (B18) of the final #716 validator verdict at head `2069ab7a`. Assisted-by: OpenCode DeepSeek V4.1 Flash (syntax check only)
The final #716 validator verdict (Block 3) flagged that the merge of current main left plugin-vm at v0.2026270.402 — a DOWNGRADE from the v0.2026271.404 this branch carried, unaccounted in the pin list. Restore the .404 pin; the module builds clean (go build ./... rc=0). Finding 3 of the final #716 validator verdict at head 2069ab7. Assisted-by: OpenCode DeepSeek V4.1 Flash (syntax check only)
The `go` CI job's tools-module sweep failed on `TestContractPinsMatchShared`: tools/generate-packages, tools/golden-cloudinit, and tools/golden-compile still required sdk v0.2026270.1024 + spec v0.2026269.2150 while the shared pin is now sdk v0.2026271.738 + spec v0.2026270.938. Adopted the shared pins via the sanctioned `charly task mods-tidy`; the gomod-canonical contract test and the three tools modules build clean. Assisted-by: OpenCode DeepSeek V4.1 Flash (syntax check only)
…ree newest (#717) plugin-cstream, plugin-example-builder, plugin-kube, plugin-mcp, plugin-ollama, plugin-spice -> newest tags (their old module versions carried the retired entity version: stamp). Result: charly box validate: OK — 0 warnings, 0 errors (from 12) go build ./...: rc=0
…ED /etc/charly/charly.yml (non-vacuous) The prior test only string-matched the run-step command. It now extracts the heredoc body, de-indents it, and parses it as a charly project (repo: + candy: @github:<tag> refs) — so a malformed emitted file (wrong root shape, bad ref) FAILS. Verified with a negative control (wrongroot -> FAIL).
… CLOSED CUE schema requireProjectLoader().CueDocFromYAML now parses the emitted heredoc through the real closed schema, so a wrong root shape (e.g. the retired plugins: form) FAILS — verified with a negative control. Replaces the loose struct-key assertion.
Review — BLOCKHead SHA: Change class: host source + config + generated fixture (61 files) — charly core ( Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…/charly.yml; assert the repo IDENTITY The shipped system project identified as github.com/opencharly/opencharly (the umbrella/ docs repo) instead of this repo (opencharly/charly), so a systemd-started server would resolve/freshness-check the wrong project. Fix the value, and make TestPackagingShipsSystemProject assert proj.Repo == github.com/opencharly/charly (the negative control now exercises the VALUE, not only the schema).
Review — BLOCKHead SHA: Change class: host source + config + generated fixture (61 files) — Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…/etc/charly/charly.yml f249ce2 wrote github.com/opencharly/opencharly (the umbrella repo); the system project must identify as THIS repo. Tree now matches the assertion in the previous commit.
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. The ENGINE sent no generation bound ( Durable remedy.
A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Full diagnostics: this run's evidence artifact + job log (not embedded here — embedding a runaway log would feed it into the next review and deepen the collapse). |
|
STATUS — the validator returned INCONCLUSIVE (provider/engine class), not a code finding. The head The change itself is measured complete: |
|
CLOSED — superseded by a fresh PR (clean thread). #744's head run returned |
Summary
The charly host leg of the schema-versioning-removal cutover (
#714) plus the complete#717/#739composition + pin sweep — carried forward as a clean thread from#733.charly box validateis now0 warnings, 0 errors.What changes (61 files):
(
charly/version.go: theLatestSchemaVersion()shim; the version-gate tests + test-onlyalias; the entity
Versionreads), and re-adopt the merged contracts:sdk v0.2026271.738,spec v0.2026270.938acrosscharly/go.mod,tools/generate-packages,tools/golden-cloudinit,tools/golden-compile.tools/golden-compile/main.goclears theremoved wire
Version(plan.Version = "") so the golden stays a faithful ground truth.#717/#739). The sixbox/*submodule gitlinks(
box/arch,box/cachyos,box/debian,box/fedora,box/omarchy,box/ubuntu) → themerged distro mains;
charly.yml+packaging/charly.ymlrefs:the six distro
import:refs → newest merged one-source mains (distro-arch v2026.273.0909,cachyos v2026.272.0857,debian v2026.273.0834,fedora v2026.273.1236,ubuntu v2026.273.0824,omarchy v2026.272.0008); the shared@githubcandy refs(
plugin-*/layer-*/pod-*) → newest stamp-free tags.#717).charly/go.mod:version:stamp→ their newest:
plugin-cstream v0.2026272.722,plugin-example-builder v0.2026272.107,plugin-kube v0.2026272.236,plugin-mcp v0.2026272.329,plugin-ollama v0.2026272.330,plugin-spice v0.2026272.430;plugin-box v0.2026270.1607→v0.2026270.1652,plugin-build,plugin-fleet,plugin-migrate,plugin-package,plugin-service(the merged host-leg pins).packaging/charly.yml: the emitted/etc/charly/charly.ymlidentifies asrepo: github.com/opencharly/charly(fixed from the wrong…/opencharly); the retired declarativeconfig:section (the shipping/etc/charly/charly.yml) is replaced by a plan run-step that ships the system-wide charlyMCP project (
/etc/charly/charly.yml) the charly-mcp systemd units resolve viaWorkingDirectory=/etc/charly.How tested
Executed at the head
b94765d8ef85288a4d02aa807decfc27a68fcb58(sanctioned binarycharly 2026.273.x, Go 1.2x).The assembled R10 bed (
check-commands-local, this change) — the#739acceptance:0 warnings, 0 errorsonbox validateand0 advisories,ok: trueon the bed — the#717/#739acceptance, from 12box validateerrors and 72 bed advisories.Rulebook compliance
/charly-internals:go+/charly-internals:git-workflow.version:; thecomposition referenced pre-fix distro boxes — both fixed at source (newer stamp-free tags;
merged distro mains; the module bump).
go getpin; no ad-hoc command, no sleep/retry/magic-number.charlyCLI gap;charly check run/box validate/go build|testused.box validateis clean.go build(all 4 modules),go test, the generator run,box validate, and the bedrun + summary are all pasted above.
deploy_compile_parity_golden.jsonunchanged);
plugins_refs_generated.goderives from each plugin'splugin:block.box validate:0 warnings, 0 errors; the bed:errors: 0, warnings: 0, advisories: 0,ok: true.Change classification
Host source + config + generated fixture (61 files). Gate:
go build(every module) +go testcheck-commands-localR10 bed (0 diagnostics) +box validate(0 warnings) —all pasted. Tier:
fully tested and validated.Agent:
coder-box-alignment· sessionses_f26225bfffferfo4tnJQw1ePqMAssisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Gate coverage — the compiled-in plugin module pins
The diff bumps six compiled-in plugin modules (direct
requires of the charly binary):plugin-box v0.2026270.1607→v0.2026270.1652,plugin-build,plugin-fleet,plugin-migrate,plugin-package,plugin-service— merged refs already validated in their own repos (eachplugin repo's candy gate + its bed), adopted here as the host leg's pins; they are not newly
authored in this PR. The composition refs the assembled bed can exercise (
plugin-clean,plugin-settings,plugin-candy,plugin-box,plugin-authoring,plugin-status,plugin-substrate) run incheck-commands-local(0 diagnostics, pasted). The remainingconsumers (
deploy:buildviaplugin-build,charly migrateviaplugin-migrate, etc.) arecovered by their plugins' own beds, not re-run here (they require a build/migrate venue); by
charly/go.modthey are the same merged tags those repos already gate.Agent:
coder-box-alignment· sessionses_f26225bfffferfo4tnJQw1ePqMAssisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)