Skip to content

the docs site cannot be regenerated: charly.yml pins layer-agentteams v2026.274.2144, whose closure reaches a pod-crabbox tag the repo (created 2026-11-01) never had — deploy red since 2026-11-10 #1160

Closed

Description

@aitrawog

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

  1. This repo's tree pins a July-era tag — charly.yml:3276 (at be7a505, and still on main after:
$ 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.)

  1. That tag's closure reaches [email protected] — refs-cache/github.com/opencharly/ [email protected]/box/cachyos-base/charly.yml:32 pins
    distro-cachyos/candy/cachyos-base-check:v2026.274.2120.

  2. That tree pins the dead ref — [email protected]'s
    box/crabbox-e2e/charly.yml:9: - '@github.com/opencharly/pod-crabbox:v2026.274.0652'.

  3. pod-crabbox did 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

  1. Clean the closure (this repo, needs an owner decision). layer-agentteams must move off
    v2026.274.2144 — the value is a judgement about the agentteams box's build surface (the marketplace
    corpus says v2026.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 in pod-crabbox is out of bounds (tags are add-only and owner-minted).
  2. 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 (a skill: 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

  1. self-assigned this
    on Nov 16, 2026
  2. aitrawog commented on Nov 16, 2026

    @aitrawog
    ContributorAuthor

    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):

    Keep this candy ref on a distro-cachyos tag NEWER than the crabbox fix (2026.293.1743).
    v2026.274.2120 was the tag whose tree still carried box/crabbox-e2e pinning
    pod-crabbox:v2026.274.0652 — a DELETED tag whose commit no longer exists — so resolving this box
    aborted the marketplace corpus generation org-wide (opencharly/marketplace#613). RDD-probed before this
    edit with the generator: the same ref at v2026.274.2120 fails, at v2026.319.0820 it generates clean.

    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.2338 and v2026.314.0704 both still pin distro-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 last
    one is clean.

    opencharly/marketplace#613 is the CLOSED sibling of this: the same museum tree, reached through the
    corpus'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.yml still names the pre-fix tag, and the docs generator walks THIS
    repo'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: true bed
    (check-agentteams-vm) — a VM stack bed that is not mine to spend on a pin this repo's owner should
    choose. 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)

  3. aitrawog commented on Nov 16, 2026

    @aitrawog
    ContributorAuthor

    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):

    $ grep -rn "layer-agentteams:v2026.274.2144" --include=*.yml /tmp/docsgen/charly | grep -v CHANGELOG
    ./box/fedora/candy/charly-marketplace/charly.yml:135: - '@github.com/opencharly/layer-agentteams:v2026.274.2144'
    

    box/fedora is the distro-fedora checkout, and charly pins it at v2026.281.1250 a few lines above
    the agentteams pin. That tag's tree embeds a GENERATED candy/charly-marketplace/charly.yml — a
    projection 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:

    [email protected]/candy/charly-marketplace/charly.yml:135
      → [email protected]
        → distro-cachyos/candy/cachyos-base-check:v2026.274.2120
          → [email protected]/box/crabbox-e2e/charly.yml:9
            → pod-crabbox:v2026.274.0652   (repo created 2026-11-01; four tags, all ≥ day 307)
    

    Proof that #1159 alone did not clear it — generation at b18015b with the docs repo's own corpus gitlink
    (f46285f), the exact CI recipe:

    $ git -C /tmp/docsgen/charly checkout b18015b && git -C … submodule update --init --recursive
    $ … plugin-docs-bin generate --root /tmp/docsgen/charly --narrative … --plugins <docs>/marketplace \
          --out <docs>/src/content/docs
    charly: resolving github.com/opencharly/pod-crabbox:v2026.274.0652 (594 resolved, 548 queued)
    charly docs: resolve @github.com/opencharly/pod-crabbox:v2026.274.0652: … could not resolve ref
    rc=1      (594 resolved now vs 582 before: the pin advance moved the queue, it did not remove the entry)
    

    The shape of this is the finding, not the one ref. Every box/<distro> pin in this file is a
    day-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 generated
    charly-marketplace refs list from its own era. The documentation walk resolves the closure of ALL of
    them, 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:

    1. Generator robustness (recommended, one repo): opencharly/plugin-docs reports an unresolvable
      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.
    2. Pin sweep (this repo + each distro repo): advance the box pins (or regenerate each box's embedded
      charly-marketplace list) so no stale generated list is reachable. Larger, per-repo, and needs each
      box'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)

  4. aitrawog commented on Nov 16, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — landed as #1163 (squash 1ceff9a?), advancing box/fedora to distro-fedora
    v2026.319.1306 (commit 5c22f36, a clean descendant of the recorded 5134cb2) and the matching fedora:
    import ref.

    Two corrections to what this issue carried before, both measured:

    1. The agentteams ref advance was NOT enough. The walk starts from the LOCAL box/* checkouts, so
      box/fedora's own candy/charly-marketplace/charly.yml — a generated list from day 281 pinning
      layer-agentteams:v2026.274.2144 — kept the path alive after fix(agentteams): compose layer-agentteams v2026.319.1239 off the deleted crabbox era #1159. Generation at b18015b still died
      at pod-crabbox:v2026.274.0652.
    2. The closure census says it is ONE hole, not a museum. I enumerated every @github ref the walk can
      reach (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's
    wiring candy:

    $ plugin-docs-bin generate --root <charly worktree> --narrative <umbrella> --plugins <docs/marketplace> \
        --out <docs>/src/content/docs
    charly docs: walking 6 repo root(s): superproject, arch, cachyos, debian, fedora, ubuntu
    charly docs: 394 recipe pages, 190 plugin pages (200 provider words), 80 cli pages,
                 758 candy pages, 157 box pages (1726 generated pages cleared before regeneration)
    rc=0
    

    Gate: bootstrap-charly.sh (binary 2026.319.2204) + charly box build fedora.fedora (rc=0, builds
    fedora-nonfree and fedora-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 marketplace gitlink → 8a4ff69, and the regenerated pages. That leg carries ~264 pages from this pin
    advance plus the two hand-authored concept pages whose /reference/candy/… link slug changes with the pinned
    ref — 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)

  5. aitrawog commented on Nov 16, 2026

    @aitrawog
    ContributorAuthor

    Correction to my RESOLVED comment: I wrote the squash id with a question mark — it is
    302cb8de (charly main, CHANGELOG commit 4c9a79e5), tagged v2026.320.0227. A commit id is
    quoted 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions