Skip to content

feat(design): the os owns every conversion, as section 16.4 says (batch 53) - #910

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/design-batch53
Nov 6, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/design-batch53

Conversation

@aitrawog

@aitrawog aitrawog commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

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:distro was ruled a gap,
not a narrowing.

#Os gains ten fields, each with a named struct (S1):

field what it is
inherit / inherit_package the os words this one extends, and the packages every build gets
bootstrap (#OsBootstrap) how the root filesystem is made: the install command, the package it installs, the cache_mount kept between runs
workaround a known defect of this os, and what the build does about it
format (#OsFormat, keyed by package manager) the validate rules a rendered unit must pass, and the local_package only this os supplies
base_user the account an image adopts rather than creates
bootstrapper (#OsBootstrapper) the from-scratch tool: pacstrap, debootstrap or alpine
bootloader the bootloader an installer writes
disk_layout (#OsDiskLayout) the partitions an installer creates
installer (#OsInstaller) the answer file an unattended install reads, and the volume it is served on

The section 16.4 field table grows with them, and the Fedora os: example exercises all ten.

file what changed
DESIGN.cue #Os plus #OsBootstrap, #OsFormat, #OsBootstrapper, #OsDiskLayout, #OsInstaller
DESIGN.md the section 16.4 field table, and the Fedora example
design/dulling.tsv kind:distro becomes sharp
design/dulling-disposition.md regenerated; the header now reads 180 sharp, 81 dulled (57 settled, 24 owed)

How tested

The owning gate, on the committed tree this body describes:

$ git rev-parse HEAD
a14c6273892aa6532d2c9e0adf48b4a04a737261
$ bash scripts/design-check.sh

== 1/4 toolchain
cue version v0.18.0-rc.1

== 2/4 DESIGN.md ↔ DESIGN.cue
consistency: tables, table shape, word lists, rule tags, ids and § references, vocabulary, grammar — all agree

== 3/4 examples and negative cases
examples: 14 validated
negatives: 106 checked

== 4/4 the capability ledger
design-ledger: 264 rows vs 264 parity capabilities; citations resolve and name their subject; enums hold

design-check: all controls pass

The settled row and the generated counts, pasted from this tree:

$ grep -n "kind:distro" design/dulling.tsv
107:kind:distro	`distro:` is the 16-field per-distro build vocabulary: inherits/inherit_packages, version, bootstrap (install_cmd, packages, cache mounts), workaround, the per-manager format templates with validate rules and local_pkg, base_user, pacstrap/debootstrap/alpine_bootstrap, bootloader, disk_layout, dnf, and the installer answers-volume format	§16.4; §14.2; D-KIND-2; D-FORM-1	the `os:` node owns the whole per-distro build vocabulary: `inherit`/`inherit_package`, `bootstrap` (its `install` command, `package` and `cache_mount`), `workaround`, the per-manager `format` render with its `validate` rules and `local_package`, `base_user`, `bootstrapper`, `bootloader`, `disk_layout` and the `installer` answers, beside `family`/`version`/`package_manager`/`init`/`boot`	sharp	—	plugin-distro/candy/plugin-distro/schema/distro.cue:32-47; DESIGN.cue:#Os; DESIGN.md:D-FORM-1; DESIGN.md:D-KIND-2; DESIGN.md:§14.2; DESIGN.md:§16.4	none

$ sed -n '6p' design/dulling-disposition.md
**264 capabilities:** 180 sharp, 81 dulled (57 settled, 24 owed), 3 forbidden, 0 unknown.

Every new field is exercised by the Fedora example, so removing any one fails validation.

  • Disposable target / fresh rebuild: N/A -- nothing is deployed by this change.
  • Changed code path executed live: N/A -- schema, prose and ledger data; all executed by the gate's
    consistency checks, example loader and negative suite.

Rulebook compliance

  • R0 -- the dispatched skills were loaded before the first action, including
    /charly-internals:git-workflow before any git/gh step.
  • R1 -- round 1 reviewed this batch and its finding is fixed: gh pr update-branch moved the head, so
    the pasted gate output was for the previous tree. Re-derived on a14c627 below. Before that, Three findings were caught before the commit or push: section
    16.4's field table did not yet list what #Os defines; my commit message carried unbalanced quotes the
    pre-push gate refused; and the same for the push command itself, which had to run on its own.
  • R2 -- one #Os; each group gets one named struct, and format is keyed by the existing package-manager
    word rather than a second spelling.
  • R3 -- no sleep, retry or fallback.
  • R4 -- the schema now matches the prose that promised it, which is the ruling.
  • R5 -- no stale field list survives: section 16.4 names every field #Os defines, enforced by the
    consistency check.
  • R6 -- clean tree at branch time; nothing self-merged.
  • R7 -- all ten fields are exercised by the example; the table and vocabulary controls resolve them; the
    self-test is unchanged at 17 mutations.
  • R8 -- N/A: no live service is crossed.
  • R9 -- N/A: no binary is rebuilt.
  • R10 -- change class: design schema, prose and ledger data; non-runtime. The owning gate passed 4/4.

Change classification

  • Change class: design schema, prose and ledger data; non-runtime.
  • Verification gate: bash scripts/design-check.sh (4/4) on a14c627.
  • Attribution tier: fully tested and validated -- the diff changes DESIGN.cue, and every changed path
    executed in the gate above.
  • Compatibility: no ! marker. Additive: ten optional fields accept documents that were previously rejected
    and 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)

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)
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 4e6ca86a322ddc668a2eee62cc3823eefff8b442 (branch: feat/design-batch53)

Security screen: PASS — no embedded directives, secrets, egress, guardrail changes, or scope mismatch; the diff matches the summary exactly (10 #Os fields + 5 named structs, the §16.4 table rows, the Fedora example, and the one-row ledger move).
Checklist: All applicable rules PASS or NA. Cross-checks: the 4 files are all accounted for in the body; grep/sed pasted output reconciles line-by-line against the diffs (dulling.tsv line 107, disposition line 6, 179→180 sharp / 82→81 dulled / 25→24 owed); each new field maps to a table row and a struct field and is exercised by the Fedora example; ledger count 264/264 is coherent; change class is non-runtime design so bed/fresh-rebuild are correctly NA and the design-check.sh 4/4 gate is the owning gate; attribution fully tested and validated is justified because the changed schema/example paths are executed by the gate. No comments to disposition (thread empty).

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 6, 2026 21:12
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: a14c6273892aa6532d2c9e0adf48b4a04a737261 (branch: feat/design-batch53)

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 #Os fields + 5 named structs, the §16.4 table rows, the Fedora example exercising all ten, and the one-row ledger move). No security finding.

Blocks

  1. R10 / A1 — the owning-gate evidence is for a stale tree, not the head. The body's "How tested" pastes git rev-parse HEAD → 4e6ca86a322ddc668a2eee62cc3823eefff8b442 and says the gate ran "on the committed tree this body describes". But the PR head is a14c6273892a…, which is a Merge branch 'main' into feat/design-batch53 commit — i.e. the tree the body describes is not the tree that would ship. bash scripts/design-check.sh has therefore not been shown to pass on the head (a14c627); a merge of main changes the tree the gate must validate. Re-run bash scripts/design-check.sh on the current head and paste that output, and correct the body's git rev-parse HEAD claim to match the actual head.

Comment disposition

  • @github-actions[bot] comment 6695683861 — stale-superseded: it PASSes head 4e6ca86, which is no longer the head (a14c627); its verdict cannot be imported. Its substantive cross-checks (dulling.tsv line 107, disposition line 6, 179→180 sharp / 82→81 dulled / 25→24 owed) do still reconcile against the current diff, so nothing else is outstanding from it.

Verdict: BLOCK


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: a14c6273892aa6532d2c9e0adf48b4a04a737261 (branch: feat/design-batch53)

Security screen: PASS
Checklist: All applicable rules PASS or NA (design schema/prose/ledger; non-runtime, so bed/fresh-rebuild/DISP/R8/R9 are correctly NA).
Comment disposition: comment 6695683861 (PASS on 4e6ca86) — stale-superseded, head has moved and its cross-checks still reconcile; comment 6696075572 (BLOCK: stale-tree evidence) — resolved, the current body pastes git rev-parse HEAD = a14c627… with gate output that reconciles line-for-line against the diffs (dulling.tsv line 107, disposition line 6, 179→180 sharp / 82→81 dulled / 25→24 owed, 264/264 ledger), and R1 carries the fresh RCA for the update-branch staleness.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot merged commit bb3b399 into main Nov 6, 2026
5 of 6 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 6, 2026
github-actions Bot pushed a commit that referenced this pull request Nov 11, 2026
… 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]>
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