Repository navigation
Description
Finding (RCA, R1) — the docs site cannot be regenerated at all, and the cause is a dead ref in this repo's pin closure
opencharly/docs' deploy has been RED on main since 2026-11-10, and it fails in the generation step, not
in the gate:
deploy 2026-11-10T07:11:29Z charly docs: resolve @github.com/opencharly/pod-crabbox:v2026.274.0652:
resolving github.com/opencharly/pod-crabbox:v2026.274.0652: could not resolve ref "v2026.274.0652"
in https://github.com/opencharly/pod-crabbox.git
##[error]Process completed with exit code 1.
I reproduced it locally, byte-for-byte, with the pins that repo records (CHARLY_PIN be7a505f,
plugin-docs v2026.289.0814, UMBRELLA_PIN 1c88fcf, the marketplace gitlink at f46285f, a cold
refs.RepoCacheDir — CI-equivalent):
$ git clone https://github.com/opencharly/charly.git /tmp/docsgen/charly && git -C … checkout be7a505f
$ git -C … submodule update --init --recursive # 6 submodules, as CI does
$ python3 build_wiring.py .github/docs-corpus/pins.tsv /tmp/docsgen/charly/candy/docs-corpus/charly.yml
$ cd /tmp/docsgen/charly && CHARLY_REPO_CACHE=/tmp/docsgen/refs-cache /tmp/plugin-docs-bin generate \
--root /tmp/docsgen/charly --narrative /tmp/docsgen/umbrella \
--plugins <docs>/marketplace --out <docs>/src/content/docs
charly docs: walking 7 repo root(s): superproject, arch, cachyos, debian, fedora, omarchy, ubuntu
…
charly docs: resolve @github.com/opencharly/pod-crabbox:v2026.274.0652: … could not resolve ref
rc=1 (nothing written: the abort happens during catalog assembly)
The chain, ref by ref
- This repo's tree pins a July-era tag —
charly.yml:3276(atbe7a505, and still onmainafter:
$ git -C /tmp/docsgen/charly show origin/main:charly.yml | grep -n 'layer-agentteams:'
3276: - '@github.com/opencharly/layer-agentteams:v2026.274.2144'
(a generated refs list inside a box repeats it: box/fedora/candy/charly-marketplace/charly.yml:135).
The marketplace corpus pins the same repo at v2026.292.2338, so 274.2144 is simply stale here.)
-
That tag's closure reaches
[email protected]—refs-cache/github.com/opencharly/ [email protected]/box/cachyos-base/charly.yml:32pins
distro-cachyos/candy/cachyos-base-check:v2026.274.2120. -
That tree pins the dead ref —
[email protected]'s
box/crabbox-e2e/charly.yml:9:- '@github.com/opencharly/pod-crabbox:v2026.274.0652'. -
pod-crabboxdid not exist on that date. The repo was created 2026-11-01, and it serves four
tags, none older than day 307:
$ gh repo view opencharly/pod-crabbox --json createdAt → "2026-11-01T20:54:50Z"
$ git ls-remote --tags https://github.com/opencharly/pod-crabbox.git
v2026.307.1759 v2026.307.1828 v2026.309.1143 v2026.309.1841
The docs generator resolves every @github ref in every walked tree (CollectEntitiesRemote → the closure),
so a transitively dead ref — four hops from anything the site actually documents — aborts the whole
site build.
Missed control. Nothing validates a tree's TRANSITIVE ref closure: this repo's own gates read its
direct pins (check-root-refs.mjs, the pin-currency control), and a pin whose closure is unresolvable
passes every one of them. The one pipeline that walks the closure is the docs deploy, and its drift gate
only runs when the deploy runs — which has been RED since the docs CHARLY_PIN advanced to be7a505 on
2026-11-10, so the failure has been self-concealing: the site has been frozen at its 2026-10-29 state for
six days while every check on this repo stays green.
Blast radius. The published site cannot advance at all — not one skill, candy, box or plugin page can
land, because generation aborts before it writes. Concretely it blocks opencharly/docs#211 (the
build/secrets page still teaches CHARLY_VNC_PASSWORD, the hex generateRandomHex(32) token and a
keyring_collection_label that pins reads only), and it will block every other queued docs landing.
Root fix — two halves, and the first is an owner decision
- Clean the closure (this repo, needs an owner decision).
layer-agentteamsmust move off
v2026.274.2144— the value is a judgement about the agentteams box's build surface (the marketplace
corpus saysv2026.292.2338; this repo's submodule pin is a commit), and it needs its own change-class
gate. I have not changed it: picking a tag for a box I have no bed for would be a guess, and minting
or restoring a tag inpod-crabboxis out of bounds (tags are add-only and owner-minted). - Do not let a transitive dead ref kill the site (opencharly/plugin-docs, the robustness half). A
closure ref that does not resolve should be REPORTED — named, counted, visible in the run summary — and
the walk should continue; the build should still FAIL when something the site actually documents is
unresolvable (askill:owner, a release/extra repo, a compiled plugin). Today a museum tag in a
box manifest four hops away is as fatal as a missing source, which is why six days of the site went
missing rather than one page.
Both halves are needed: (1) unblocks today, (2) keeps the next stale pin in a corner of the closure from
freezing the site again.
Evidence provenance
Measured 2026-11-16: the CI failure from run 42772683718 (the failing step is "Regenerate the generated
content from the pinned charly"); the local reproduction at the pins above; the ref strings and file:line
from the pinned charly tree and its refs cache; the pod-crabbox creation date and tag list from GitHub.
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
Activity
aitrawog commentedon Nov 16, 2026
The value to advance to is documented upstream, so this is a one-line change with an already-probed answer.
[email protected]'s own manifest carries the post-mortem for this exact failure(
box/cachyos-base/charly.yml:32):and it now pins
distro-cachyos/candy/cachyos-base-check:v2026.319.0820.So the recommendation is
charly.yml:3276→@github.com/opencharly/layer-agentteams:v2026.319.1239,which is the tag that carries that fix. Two of the four tags in between do NOT clear it — measured just
now against the API:
v2026.292.2338andv2026.314.0704both still pindistro-cachyos…:v2026.274.2120,so a "bump it a little" advance would leave this open. The repo serves
v2026.274.2144 → v2026.278.1213 → v2026.292.2338 → v2026.314.0704 → v2026.319.1239, and only the lastone is clean.
opencharly/marketplace#613is the CLOSED sibling of this: the same museum tree, reached through thecorpus's refs list, fixed there by this layer edit. This issue is the DOCS entry point into the same tree,
which #613 did not touch —
charly.ymlstill names the pre-fix tag, and the docs generator walks THISrepo's closure. That is why the site stayed red five days after the corpus recovered.
And there is a second, independent red on the same workflow: opencharly/docs#143 (open since
2026-10-30) — "regeneration drops plugin-docs/pipeline/review — catalog membership is undeclared and the
gate is not required". So clearing this one is necessary but may not be sufficient for a green docs deploy;
whoever takes the docs landing should read #143 before promising one.
Why I did not push the one-liner myself: advancing a candy ref changes the agentteams box's build
surface, and R10 for it is a fresh rebuild + live run on that box's
disposable: truebed(
check-agentteams-vm) — a VM stack bed that is not mine to spend on a pin this repo's owner shouldchoose. The value above is evidence-backed, not a guess: the same edit was RDD-probed with the generator
in the layer repo.
Agent: charly
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Nov 16, 2026
Correction + extension to my previous comment: the recommendation there is necessary but NOT
sufficient. The dead ref has a SECOND carrier, and it is one the agentteams advance does not touch.
Measured just now, at
b18015b(which includes #1159):box/fedorais thedistro-fedoracheckout, and charly pins it atv2026.281.1250a few lines abovethe agentteams pin. That tag's tree embeds a GENERATED
candy/charly-marketplace/charly.yml— aprojection of the marketplace corpus from day 281 — which still names
layer-agentteams:v2026.274.2144.The documentation walk resolves it (
charly docs: walking 7 repo root(s): superproject, arch, cachyos, debian, fedora, omarchy, ubuntu), so the same four-hop chain is reached again:Proof that #1159 alone did not clear it — generation at
b18015bwith the docs repo's own corpus gitlink(
f46285f), the exact CI recipe:The shape of this is the finding, not the one ref. Every
box/<distro>pin in this file is aday-274/281 tag —
arch v2026.274.1256,cachyos v2026.318.1213,debian v2026.274.0746,fedora v2026.281.1250,ubuntu v2026.274.0752— and each of those trees embeds a generatedcharly-marketplacerefs list from its own era. The documentation walk resolves the closure of ALL ofthem, so a single stale generated list anywhere in that museum freezes the site. Advancing one ref is
whack-a-mole; the durable fix is the generator half (skip-and-report a TRANSITIVELY unresolvable ref,
still failing on a directly-documented source), plus a sweep of the box pins that carry stale generated
lists.
Revised answer for this issue. Either:
closure ref and continues; the build still fails when a source the site documents cannot resolve. That
turns a six-day site outage into a named warning — and fix(loader): flat imports must not abort the plugin prescan #613, this issue, and the next museum tag all
stop being outages.
charly-marketplacelist) so no stale generated list is reachable. Larger, per-repo, and needs eachbox's own gate.
I am not pushing either here: (1) is plugin-docs', (2) is a multi-repo build-surface cutover whose pins
need their own beds. What I can add on request is the census — the full list of closure refs that fail to
resolve today, generated by walking every pinned tree in the cache — so (2) is sized before anyone starts.
Agent: charly
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
aitrawog commentedon Nov 16, 2026
RESOLVED — landed as #1163 (squash
1ceff9a?), advancingbox/fedorato distro-fedorav2026.319.1306(commit5c22f36, a clean descendant of the recorded5134cb2) and the matchingfedora:import ref.
Two corrections to what this issue carried before, both measured:
box/*checkouts, sobox/fedora's owncandy/charly-marketplace/charly.yml— a generated list from day 281 pinninglayer-agentteams:v2026.274.2144— kept the path alive after fix(agentteams): compose layer-agentteams v2026.319.1239 off the deleted crabbox era #1159. Generation atb18015bstill diedat
pod-crabbox:v2026.274.0652.@githubref the walk canreach (593 repo/tag pairs across 358 repos, from every cached manifest plus the run's resolution log) and
checked each against its repo's real tag list: exactly 1 dead ref, carried by exactly 1 tree. So
the fix was a single drained gitlink, not a sweep.
Proof on the committed tree, with the pinned generator (
plugin-docs v2026.289.0814) and the CI recipe'swiring candy:
Gate:
bootstrap-charly.sh(binary2026.319.2204) +charly box build fedora.fedora(rc=0, buildsfedora-nonfreeandfedora-builder) + its ADE (8 steps: 7 passed, 0 failed, 1 skipped) +charly box validate(547 candies, 106 boxes, 50 deploys; 0 warnings, 0 errors).The docs mirror landing (opencharly/docs#211) now follows producer-first: CHARLY_PIN → this merge commit,
the
marketplacegitlink →8a4ff69, and the regenerated pages. That leg carries ~264 pages from this pinadvance plus the two hand-authored concept pages whose
/reference/candy/…link slug changes with the pinnedref — its own gate is the docs drift gate + the link gate, and it is next.
The robustness half (a transitively unresolvable ref should be REPORTED and skipped instead of aborting the
whole site, while a directly-documented source still fails the build) is not fixed by this and should not be
closed with it — it is the control that would have turned a six-day site outage into one line of output.
Agent: charly
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
aitrawog commentedon Nov 16, 2026
Correction to my RESOLVED comment: I wrote the squash id with a question mark — it is
302cb8de(charly main, CHANGELOG commit4c9a79e5), taggedv2026.320.0227. A commit id isquoted as the command's own output or not at all; the "?" was neither.
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)