Repository navigation
feat(design): the os owns every conversion, as section 16.4 says (batch 53) - #910
Conversation
Batch 53 of the DESIGN amendments (refs #838), implementing the operator ruling on #838: where section 16.4 says the os of the stack's source owns every conversion, the schema must carry fields for it. This is that amendment. `#Os` gains the ten fields the per-distro build vocabulary needed, each with a named struct: inherit, inherit_package, bootstrap (#OsBootstrap: install, package, cache_mount), workaround, format (per package manager, #OsFormat: validate, local_package), base_user, bootstrapper (#OsBootstrapper), bootloader, disk_layout (#OsDiskLayout), installer (#OsInstaller: answer, volume) The section 16.4 field table grows with them, and the Fedora example exercises all ten. `kind:distro` becomes sharp. Refs #838 Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
Review — PASSHead SHA: Security screen: PASS — no embedded directives, secrets, egress, guardrail changes, or scope mismatch; the diff matches the summary exactly (10 Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: design schema + prose + ledger data (non-runtime). Security screen: PASS — no embedded directives, secrets, egress, guardrail changes, or scope mismatch; the diff matches the summary exactly (10 Blocks
Comment disposition
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
… resolved (#984) * docs(design): TODO.md records 12.7 as done, and 7.1's premise already resolved `kube:` carries observation methods only: `opencharly/plugin-kube` PR #33 (merge `d19e95d1cad420f152a1e983430d437269b9f8d3`, tag `v2026.315.0153`) removes `apply`, `delete`, their `manifest` field, `runApply`/`runDelete`, `readYamlDocs`, `gvrForObject` and `kindToPluralResource`, and the served `#KubeInput` refuses both words while admitting the eleven observation methods. The evidence is read at plugin-kube's own `origin/main` `db0392301c533cb78de35e475d3bcff432bf1dcd`, which is 4 merged commits ahead of the umbrella gitlink `df962299eaeedc4dd83e99ca1e18aef0f4ad203c`; that advance is the deferred pin wave #983. Status: section 12 `2/10/3` -> `3/9/3`. The item's premise measures true and its blast radius empty: 0 authored uses of either word across the 430 submodule `origin/HEAD` tips present on 2026-11-11, in all three authored spellings (the map `method:` key, the `kube: <word>` scalar sugar, a nested key), with the predicates calibrated on live `nodes` uses (4 map-form and 3 scalar-form hits). The live arm is the plugin PR's: byte-identical `nodes`/`pods` verdicts against a reachable k3s cluster before and after, and `unknown kube method` for the two removed words. Item 7.1 also resolves, by measurement rather than by this change: sdk `b77c8a54` (tag `v0.2026287.1747`, PR #389) keys the plugin build cache by D-STORE-4's whole input set and charly `125a910988` (tag `v2026.288.0051`, PR #910) deletes the loader's path-keyed cluster, while the build tests take a test-local root (`$CHARLY_CACHE_DIR` as the sole cache-root override), so what the row describes as 19 GB / 2 025 binaries / 1 762 test stubs is the OLD root's residue, which the migration leaves to its own phase 5. Status: section 7 `0/3/0` -> `1/2/0`. Totals `107 items / 5 done / 89 open / 13 moved` -> `107 / 7 / 87 / 13`. Refs #950, #945 and #983. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed) * docs(design): 7.1's row carries its verdict, and its residue figures are re-measured The first round's BLOCK named three findings, all in the `7.1` Done entry: - the old-root sweep was asserted, not pasted. "No code reads `~/.cache/charly/plugins`" and "the `/usr/lib/charly/plugins` references are the baked dir" now rest on two `git -C <repo> grep` sweeps, both of which exit 1 with no output for the old root's literal in `charly` and `sdk`, plus the fact that `/usr/lib/charly/plugins` is a DIFFERENT path (the packaged plugin dir). - the entry quoted the row's 19 GB / 2 025 / 1 762 as the residue while the body measured 35 GB / 5 126 / 1 083. The figures now name their source — the row's *Current* cell — with today's measurement stated beside them. - `7.1`'s detail row was unannotated while `12.7`'s carried its verdict. It now carries its own "Answered 2026-11-11": the two proving commits, their tags and PRs, the D-STORE-8 test root, and the residue that `7.3` owns. Status arithmetic unchanged: `107 / 7 / 87 / 13`. Refs #984, #983 and #950. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed) --------- Co-authored-by: aitrawog <[email protected]>
Summary
Implements the operator ruling recorded on #838: where section 16.4 says the os of the stack's source owns
every conversion, the schema must carry fields for it. This is that amendment --
kind:distrowas ruled a gap,not a narrowing.
#Osgains ten fields, each with a named struct (S1):inherit/inherit_packageoswords this one extends, and the packages every build getsbootstrap(#OsBootstrap)installcommand, thepackageit installs, thecache_mountkept between runsworkaroundformat(#OsFormat, keyed by package manager)validaterules a rendered unit must pass, and thelocal_packageonly this os suppliesbase_userbootstrapper(#OsBootstrapper)pacstrap,debootstraporalpinebootloaderdisk_layout(#OsDiskLayout)installer(#OsInstaller)The section 16.4 field table grows with them, and the Fedora
os:example exercises all ten.DESIGN.cue#Osplus#OsBootstrap,#OsFormat,#OsBootstrapper,#OsDiskLayout,#OsInstallerDESIGN.mddesign/dulling.tsvkind:distrobecomes sharpdesign/dulling-disposition.mdHow tested
The owning gate, on the committed tree this body describes:
The settled row and the generated counts, pasted from this tree:
Every new field is exercised by the Fedora example, so removing any one fails validation.
consistency checks, example loader and negative suite.
Rulebook compliance
/charly-internals:git-workflowbefore any git/gh step.gh pr update-branchmoved the head, sothe pasted gate output was for the previous tree. Re-derived on
a14c627below. Before that, Three findings were caught before the commit or push: section16.4's field table did not yet list what
#Osdefines; my commit message carried unbalanced quotes thepre-push gate refused; and the same for the push command itself, which had to run on its own.
#Os; each group gets one named struct, andformatis keyed by the existing package-managerword rather than a second spelling.
#Osdefines, enforced by theconsistency check.
self-test is unchanged at 17 mutations.
Change classification
bash scripts/design-check.sh(4/4) ona14c627.fully tested and validated-- the diff changesDESIGN.cue, and every changed pathexecuted in the gate above.
!marker. Additive: ten optional fields accept documents that were previously rejectedand reject none that were accepted. Rollback is
git revert.Filed issues
None from this change. Open from earlier rounds: #839 and #841.
Ref #838 -- the tracking issue.
Agent: lead (DeepSeek Harness, deepseek-v4.1-flash)
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)