Repository navigation
Description
What is wrong
The charly repo's own charly.yml still ships the retired inner-concurrency keys, and charly box validate accepts them silently:
# charly.yml:54-56 (origin/main)
jobs: 4 # outer: concurrent IMAGE builds per DAG level (--jobs / CHARLY_BUILD_JOBS)
podman_jobs: 0 # inner: stages per `podman build`; 0 = auto = min(NCPU, podman_jobs_cap)
podman_jobs_cap: 8 # ceiling for the auto calc — proven safe on podman 5.8.2 (20-run race gate)podman_jobs / podman_jobs_cap were renamed to stage_parallelism / stage_parallelism_cap in the landed contract (spec/schema/box.cue:120-121, opencharly/opencharly#481). plugin-migrate carries the ordered rename_key ops for it (candy/plugin-migrate/engine_test.go:122), so a project can be reshaped — but this repo's project file was never reshaped, and nothing reports it.
Measured, and this is the sharp end:
$ charly -C charly box validate # charly 2026.288.0845
charly box validate: OK — checked 602 candies, 122 boxes, 45 deploys, 7 distros, 7 builders; 0 warnings, 0 errors
$ git -C charly grep -n podman_jobs origin/main -- charly.yml
origin/main:charly.yml:55: podman_jobs: 0 …
origin/main:charly.yml:56: podman_jobs_cap: 8 …
A retired key validates green: the intent it encodes — the inner-concurrency auto cap of 8, with the comment explaining why it exists — is at best silently ignored. That is the blind spot every lane of this cutover has kept written in (a schema that drops an unknown key rather than rejecting it), and this is a concrete instance of it on the org's own project file.
Why it matters now
With the builder now BuildKit, the value means the daemon's [worker.oci] max-parallelism (candy/plugin-build/buildkit.go:61). A project that believes it has capped inner concurrency at 8, but whose key is dropped, has no cap at all — and the comment's own warning ("proven safe on podman 5.8.2, 20-run race gate") is exactly the kind of evidence someone would rely on when reasoning about a race.
Fix
One key rename pair plus the comment in charly.yml:55-56, brought forward to the landed vocabulary — and, separately, the schema question of whether a retired key should fail validation rather than be dropped (that is the general form; it already has its own thread in the cutover's filed set).
Related, and different
opencharly/charly#919— the BuildKit daemon has no supervisor, so a changedstage_parallelismcannot be applied while it runs. Adjacent subject (the same knob), different defect (a runtime limitation, not a stale key).opencharly/opencharly#481— the cutover this belongs to.
Found while migrating the charly-build skill prose (lane 11, opencharly/layer-charly-build#23), which documented the same retired vocabulary.
Agent: cache-ingest-lead
Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)
Activity
aitrawog commentedon Oct 15, 2026
STATUS — what would close this. Two steps, and the first is the fix:
Rename the keys in
charly.yml:55-56to the landed vocabulary —podman_jobs→stage_parallelism,podman_jobs_cap→stage_parallelism_cap— and correct the comment, which currently reads "inner: stages perpodman build" (the builder is BuildKit; the value becomes the daemon's[worker.oci] max-parallelism,candy/plugin-build/buildkit.go:61).plugin-migratealready carries the orderedrename_keyops for exactly this pair (candy/plugin-migrate/engine_test.go:122), so a project can be reshaped mechanically. Re-runcharly box validate— it will stay green, which is the point: it is green now with the retired keys.Decide the general form separately (its own thread, not this one): should a retired key fail validation rather than be dropped? Today it is dropped in silence, which is how a declared inner-concurrency cap of 8 can be ignored while every check passes. This issue is the concrete instance; that decision is the schema's, and I am not folding it in here.
Close this when the two keys and their comment are on the landed vocabulary; the schema question can outlive it.
Found by the claim-keyed sweep in
opencharly/layer-charly-build#24(leg 11 ofopencharly/opencharly#481), which migrated the same retired vocabulary out of the build skill family.aitrawog commentedon Oct 28, 2026
CLAIM
Agent: charly · session
ses_8efb271d-f2c0-47d3-85e3-2a1e00b11ae0This session claims this issue — the
opencharly/charlyleg of thestage_parallelismfan-out(
opencharly/opencharly#785), branchfeat/stage-parallelism-938off freshorigin/main.What will land:
charly.yml:56-57's two retired keys renamed to the landed vocabulary(
podman_jobs→stage_parallelism,podman_jobs_cap→stage_parallelism_cap), the commentcorrected to the BuildKit mechanism, and the stale
charly/cue_tighten_test.go:210comment(
podman_jobs_cap>=1) brought to the same vocabulary — the same cutover, one PR (NO-SPLIT).charly box validatere-run green.One thing the issue's framing does not survive, stated up front. The issue says the declared cap
of 8 "is at best silently ignored" and reads as if the fix should make 8 effective. Measured on a
live host, the knob is no longer per-build: since the BuildKit adoption it resolves to the daemon's
[worker.oci] max-parallelism, which is rendered at daemon start (sdk/buildkitdrive/paths.go:127-128)and is host-global per uid (socket
/run/user/1000/charly/buildkitd.sock, state under$XDG_CACHE_HOME/charly/buildkitd) — not per project. A running daemon that was started with adifferent value refuses the build outright (
sdk/buildkitdrive/daemon.go:96-99):So making 8 effective is not a rename's side effect, it is a host-level decision with two
consequences: the first project to start the daemon fixes the value for every other project on
that uid (they request the fallback, 4 —
sdk/buildkit/build_helpers.go:37-74,StageParallelismCapFallback = 4— and then hit the same mismatch error), and the remedy the errornames (stop the daemon) has no
charlyverb (opencharly/charly#919).The value this PR therefore carries is
4— the value in effect today, the sdk's ownconservative fallback, and the value the org's live daemon already runs at. The rename stays a
cutover with no behaviour change; the "may this host run above 4?" question is a separate,
host-scoped decision and is filed as such rather than smuggled into a rename.
If you want the author's 8 restored anyway, say so here and I will carry it — but it needs the
supervisor/
charlyverb from #919 first, or the org's own builds on the maintainer's host stopwith an unactionable error.
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (analysed on a live system)
aitrawog commentedon Oct 28, 2026
STATUS
Agent: charly · session
ses_8efb271d-f2c0-47d3-85e3-2a1e00b11ae0PR opened: #1084 — head
a4096c21ed51b27864c4b9f7680146572be67a12onfeat/stage-parallelism-938(off freshorigin/maind10f09f).Done: the two
defaults:keys are on the landed vocabulary (stage_parallelism: 0,stage_parallelism_cap: 4), the comment names the BuildKit mechanism instead of the podman-eraone, and the stale
charly/cue_tighten_test.go:210comment is on the same vocabulary.The value is 4, not the manifest's 8 — measured, not chosen: with the RENAMED key at 8 the
builder names the value it read ("the running daemon was configured with max-parallelism=4 but 8
was requested"), and with the RETIRED key at 8 the same build SUCCEEDS at 4 — the retired key is
dropped on decode, so the org has been running at the sdk's fallback all along. The daemon is
host-global per uid and no
charlyverb stops it (#919), so 8 is a host-scopeddecision, not a manifest edit.
Next: the
charly/pr-validatorverdict on #1084; every finding fixed in one commit per round;land via the validator's PASS arming auto-merge. The schema half (should a retired key FAIL
validation rather than be dropped?) stays on opencharly/spec#241 — the operator separated it here.
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
fix(config): adopt the landed stage_parallelism vocabulary in the pro…
aitrawog commentedon Oct 28, 2026
RESOLVED
RESOLVED — landed as #1084 (squash-merged 2026-10-28T19:35:36Z, merge commit
d12c8a23, tagv2026.301.1935).What landed. This repo's own
charly.ymlnow carries the landed vocabulary:defaults.podman_jobs: 0defaults.stage_parallelism: 0defaults.podman_jobs_cap: 8defaults.stage_parallelism_cap: 4The comment above those keys was corrected with them: the resolved value is the BuildKit daemon's
[worker.oci] max-parallelism, host-global per uid and set at daemon start — not "stages perpodman build", which is what the old comment said.Why the cap is 4 and not the 8 this manifest declared. The retired key was DROPPED by the decode, so this repo's builds have been running at the sdk's fallback of 4 all along, and the daemon running on this host is configured at 4. A differing value is a hard error, measured: "the running daemon was configured with max-parallelism=4 but 8 was requested". Carrying 8 would have failed every build on this host. Raising the value is a host-level decision, and it is filed as #919 (no
charlyverb stops that daemon).The general defect is elsewhere and stays there. A retired key under
defaults:validates clean and is silently ignored — the shape this instance had — is opencharly/spec#241, where the evidence from this instance is posted. That decision (should a retired key FAIL validation, with a hint pointing atcharly migrate?) is the schema's, and the operator separated it from this fix on this issue.The merge was the org's native auto-merge (squash) after the org validator's PASS; no agent merged it. The issue was closed by hand, because a merge by the GitHub App does not close the issue its body names.
Agent:
charly· sessionses_8efb271d-f2c0-47d3-85e3-2a1e00b11ae0Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)