Repository navigation
chore(box): re-vendor distro-omarchy to main (1bc53b7) - #529
Merged
Merged
Conversation
box/omarchy recorded fb7bf641 (pre-#25); advance to distro-omarchy main so the omarchy box catalog carries the current suite-base + keeper/twin steps (OMARCHY_PATH env, record-lane layers)
Contributor
Review — PASSHead SHA: Security screen: PASS — single sanctioned gitlink bump ( Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 15, 2026
…lugin modules (#1157) * feat(loader)!: thread the served kind gates, and advance sdk/spec + plugin modules Advances the sdk to the release that makes `candywalk` skip-and-warn on an unresolvable ref (sdk 0.2026319.1356, PR #529 — the fix for the org-wide corpus abort tracked as opencharly/marketplace#613), and carries the API migrations that release requires. Pins advanced (every target exists on its producer's module tags): sdk v0.2026317.2240 -> v0.2026319.1356 spec v0.2026317.2143 -> v0.2026319.152 plugin-vm/candy/plugin-vm v0.2026287.2356 -> v0.2026319.925 plugin-box/candy/plugin-box v0.2026301.1542 -> v0.2026317.2259 plugin-candy-kind/… v0.2026271.2319 -> v0.2026318.2233 plugin-check/candy/plugin-check v0.2026317.1844 -> v0.2026318.1756 plugin-k8sgen/candy/plugin-k8sgen v0.2026272.235 -> v0.2026318.330 plugin-loader/candy/plugin-loader v0.2026272.233 -> v0.2026319.1242 plugin-substrate/… v0.2026317.614 -> v0.2026319.1527 Migrations: - `spec.StandaloneLoad` lost `Deploy`/`Template`/`Box`/`Candy` and now carries `Body RawBody`; its four sites in provider_kind_invoke.go marshal the node at the seam. - `spec.StructuralKindLoadEnv.Members` is `map[string]RawBody`; each member is marshalled. - `loaderThreaded()` now populates `spec.Threaded.KindGates` from the SERVED plugin schemas (`pluginSchemaSet.defSources`, populated at registerPluginUnitSchema), which is what `ApplyCueDefaults` resolves a kind's def through — a plugin-owned body is reachable only that way (sdk 0.2026319.104). Words with no served def keep the base-schema resolution. - `cue_defaults_test.go` passes the threaded gates (the new 3-arg call). - `cue_tighten_test.go`: the new `#Vm` REQUIRES autostart/backend/firmware with no default machinery (spec vm.cue:963), so the ACCEPT cases now model the FILLED body (the load path fills them before validation); REJECT cases are untouched, so each still rejects for its own reason. Gate on the final tree: go build ./... rc=0 go vet ./... rc=0 go test ./... rc=0 GOTMPDIR=~/.cache/go-tmp TMPDIR=/tmp/cs (the sandboxed-tmp discipline) Refs: opencharly/marketplace#613 Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) * fix(loader): fill KindGate.WireDef, and key the accept-fill on the authored value Round fixes on top of the merge. - spec -> v0.2026319.1619, the release that defines KindGate.WireDef, and kindGates() fills it from the unit's #<Word>Value twin when the unit declares one - the contract main's TestLoaderThreadedCarriesTheAuthoredAndWireShapes pins (Def = #Vm, WireDef = #VmValue). - cue_tighten_test.go: the accept-case fill now keys on the AUTHORED key with a line-anchored regexp instead of a plain substring, and fills with the schema's own defaults (autostart: false, backend: auto, firmware: bios) - the substring form missed the no-space form and then injected a conflicting qemu. Gate on this tree: go build = 0, go vet = 0, go test ./... = 0. Refs: opencharly/marketplace#613 Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) * fix(loader): fill defSources only after the def-name collision gate Review finding 7 (QUAL): defSources was written right after topLevelDefNames, before the replay check and before the def-name collision gate whose own contract is that it runs BEFORE this unit's schema is committed. A unit that failed the gate therefore left a def -> source mapping behind, which kindGates() would serve as the kind's schema source. The fill now happens after the gate has passed, so a rejected unit cannot pollute the gate table. go build = 0; the loader/kind-gate/member-marshal tests pass. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) * test(loader): prove the kind gates DRIVE the fill, not just populate a map Review finding 3: the new behaviour had no test that fails without it. This adds the two-arm seam test - with the threaded gate the probe kind's served def resolves through ApplyCueDefaults, and with an EMPTY spec.Threaded the same call cannot resolve a plugin-owned kind, so the test cannot pass on a regression that stops serving the served schema. It also asserts the gate carries the authored def in Def and the wire twin in WireDef (main's TestLoaderThreadedCarriesTheAuthoredAndWireShapes already pins the vm instance of that split). go vet = 0, go test ./... = 0. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) * test(loader): fill a REAL vm body through the served gates, and derive the harness values Review findings (R1 + R10/R7): the real-kind fill was untested and the tightening harness hand-injected its defaults, so the suite stayed green if the fill stopped working. - TestKindGatesFillTheRealVmKind: fills a real vm body (concrete cloud_image source) through ApplyCueDefaults("vm", &v, loaderThreaded()) and asserts the SERVED schema's defaults land (firmware=bios, backend=auto, autostart=false). Its NEGATIVE arm runs the same fill with an empty spec.Threaded and requires an error, so the test cannot pass if the gate stops serving the served def. - cue_tighten_test.go: the ACCEPT-case fill is now DERIVED from that same seam - it calls ApplyCueDefaults and prepends the values the fill produced - instead of writing literals, so a broken fill fails the harness rather than being masked by a literal. go vet = 0, go test ./... = 0. Refs: #1158, opencharly/marketplace#613 Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) * fix(tools): advance the tools modules to the shared sdk/spec pins CI's TestContractPinsMatchShared (tools/gomod-canonical) failed: the tools modules still pinned sdk v0.2026319.1126 and spec v0.2026319.1226 while the main module advanced to v0.2026319.1356 and v0.2026319.1619, and that test exists precisely to keep them equal. Bumped with go get, then GOWORK=off go test ./... in each: tools/generate-packages tools/golden-cloudinit tools/golden-compile tools/gomod-canonical tools/ledger-validate carries no dependencies at all and was left untouched - a blanket go get there only polluted it with an indirect block, which was reverted. GOWORK=off go test ./... in tools/gomod-canonical: ok. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) * style(loader): gofmt the kind-gates change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
box/omarchy gitlink advanced fb7bf641 → 1bc53b7 (distro-omarchy main: #28 OMARCHY_PATH env on keeper/twin steps + #29 suite-base record-lane layers). Policy-B sync of the distro pin.
How tested
Rulebook compliance
Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)