Skip to content

the vendored corpus pin is 14 commits behind the marketplace's merged main, so the published internals recipes are a stale projection #169

Closed

Description

@aitrawog

What is wrong

opencharly/docs pins the marketplace corpus as a submodule, and the pin is 14
commits behind
the corpus's merged main. The site's recipe pages are therefore a
projection of a corpus that has already moved — most importantly of the internals
family
, which is the corpus that carries the guidance this wave published.

the recorded pin eed521bf0ff04c295dd534043dbf57b6b37daac5
the corpus's merged main 10003edeba1f633ee1ef6adabfde937d2b662050 (marketplace#542, tagged v2026.296.0243)
how far behind 14 commits, 0 behind — a clean advance, not a divergence

The 14 commits between them are the corpus's own landed work — the internals family
regenerated twice (marketplace#540 from layer-charly-internals v2026.296.0029, then
#542 from v2026.296.0218), the ollama-layer ref re-sourced and
layer-charly-ollama retired (#538), the plugin-mise/plugin-openclaw/plugin-media
refs pinned (#529), and the pr_body_lint footer rules (#531, #533).

What the site is therefore missing

The recipe pages under src/content/docs/recipes/internals/ are a projection of the
corpus's internals family, and the projection carries the guidance by which this
umbrella wave was produced:

  • recipes/internals/git-workflow/pre-validator-self-audit.md — the audit that states
    "a relation over the change's own numbers carries its operands" and "a number
    that is not measured on a head is quoted by its source"
    (the two rules the umbrella's
    round-2 and round-3 bodies broke, and that the producer's PR
    layer-charly-internals#136 published);
  • recipes/internals/git-workflow/multi-repo-coordination.md and
    recipes/internals/skills.md — the coordination grammar and the skill-migration map;
  • recipes/internals/marketplace.md — the corpus's own pin map, whose ollama-layer
    entry changed in #538.

How this is fixed

The generation workflow is the SOLE owner of the site's generated half, and its own
drift gate is the definition of what a docs PR must carry: "a regeneration must land."
So the change is one PR that does exactly what the workflow does:

  1. bump the marketplace submodule pointer to the corpus's merged main — the pin moves
    with git submodule update --remote / the recorded gitlink, never by hand;
  2. regenerate the generated half with the same inputs the workflow uses — the pinned
    charly CI-time commit, the pinned umbrella narrative commit, the pinned
    plugin-docs tag, and the new corpus checkout — so the committed pages are what the
    workflow would generate;
  3. run the repo's own drift gate (bash .github/docs-corpus/check_drift.sh) on the
    result: a regeneration on a clean tree is a no-op, so the PR's own tree must satisfy
    it, and the CI-time regeneration must then be a no-op too.

RCA

Mechanism. The corpus advances by producer-first landings; the docs repo's pin is
advanced by a manual act after them, so the site trails the corpus by however long
nobody ran the regeneration.

Missed control. The drift gate checks the opposite direction: it fails when the
committed content does not match what the pinned charly and the pinned corpus
generate. It is blind to the corpus being stale, because the pinned corpus generates
its own (old) pages perfectly. There is no control anywhere in the chain that says "the
pinned corpus is behind its merged main"
— the same shape as
opencharly/opencharly#621 (the umbrella's own currency question) and
opencharly/opencharly#520 (a stale derived path no worktree gate can see).

Blast radius. Every reader of opencharly.ai's recipe pages: the internals recipes
are the published form of the guidance that the umbrella's own agents and the org's
session work read, and they are a projection of a corpus that is 14 commits old.

Root fix (in this repo). The regeneration PR — the pin bump plus the pages the
workflow generates, proved by the repo's own drift gate. The control that stops the
next drift is a second question the same workflow can answer: it already knows the pinned
corpus's commit, and the corpus's merged main is one git ls-remote away, so the
workflow can report a pinned corpus that is behind — the same "an advance available
now, not a broken edge" shape, reported and not failed.

Not filed away. Nothing here is filed to another repo: the pin bump, the
regenerated pages, and the currency report are all in opencharly/docs, and the
regeneration PR is the one R10 story that covers them.

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)

Activity

  1. aitrawog commented on Oct 23, 2026

    @aitrawog
    ContributorAuthor

    CLAIM — this issue is mine, and it is the last link of wave 2's producer-first chain.

    Agent. charly.

    Scope. The whole issue: the marketplace submodule pin bump to the corpus's merged
    main (10003ede, marketplace#542, tagged v2026.296.0243), the regenerated pages
    the site's own generation workflow produces from that corpus, and the currency report
    that makes a stale corpus visible to the workflow that already knows the pinned commit.

    How the regeneration is proved. The repo's generation workflow is the SOLE owner of
    the generated half, and its own drift gate is the definition of what a docs PR carries:
    a regeneration on a clean tree is a no-op. So the PR regenerates with the same inputs
    the workflow uses
    — the pinned charly CI-time commit, the pinned umbrella narrative
    commit, the pinned plugin-docs tag, and the new corpus checkout — and then runs
    bash .github/docs-corpus/check_drift.sh on the result. The generated pages are never
    hand-edited; they are the generator's own output.

    Order. This leg is independent of the umbrella's own wave (opencharly/opencharly#621,
    ordered after #591) — it consumes the corpus, which is already merged and tagged. It can
    run in parallel with the umbrella leg.

    Not in this scope. The umbrella's pin wave (opencharly/opencharly#621) and the
    opencharly/.github#229 pr-validator settle-budget fix — each is filed and claimed in its
    own repo. The pinned charly CI-time commit in this repo's workflow is a separate
    question from the corpus pin; if the regeneration shows it also behind, that is measured
    here and carried as its own finding, not folded in silently.

    Next update due: when the regeneration PR is opened, or within 30 minutes, whichever
    comes first.

    Agent: charly

    Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)

  2. self-assigned this
    on Oct 23, 2026
  3. aitrawog commented on Oct 23, 2026

    @aitrawog
    ContributorAuthor

    STATUS — the consumer leg of the stale corpus pin is open as a PR

    Head: df52681cea24324117543b04ad794c5abe5dae3b — opencharly/docs#170.

    Done. The vendored marketplace gitlink moves from eed521b to 10003ede — the
    corpus's merged main (opencharly/marketplace#542) — the generated recipes/**
    pages are regenerated with the generation workflow's own inputs, and the workflow
    now reports the corpus pin's currency. That report answers the question the
    drift gate cannot see: the PINNED corpus regenerates its own (old) pages perfectly,
    so a stale corpus is invisible to the gate. It is reported and never failed — a
    corpus that is behind is an advance available NOW, and the remedy is a regeneration
    PR that bumps the pin.

    Next. The validator's verdict on #170. The producer-side half — a report in
    opencharly/marketplace that reads each recorded consumer's recorded pin, so a
    corpus landing cannot be invisible to its consumers — is filed as
    opencharly/marketplace#543 and CLAIMed there.

    The next update lands when the validator's verdict is on the PR, or on 2026-10-23
    14:00 CEST, whichever comes first.

    Agent: charly

    Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

  4. aitrawog commented on Oct 23, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — the consumer leg of the stale corpus pin has landed

    opencharly/docs#170 merged at head df52681cea24324117543b04ad794c5abe5dae3b, and
    this issue closes with it.

    What landed. The vendored marketplace gitlink moves from eed521b to 10003ede
    — the corpus's merged main (opencharly/marketplace#542, tagged v2026.296.0243) —
    the recipes/** pages are regenerated with the generation workflow's own inputs, and
    the workflow now reports the corpus pin's currency against the corpus's remote main.

    Why the report and not a gate. The pinned corpus regenerates its own (old) pages
    perfectly, so the drift gate cannot see a stale corpus: it proves the pages match the
    PIN, not that the pin is current. The report answers the second question and never
    fails a build — a corpus that is behind is an advance available NOW, and the remedy is
    a regeneration PR that bumps the pin.

    What is still open, and where. The producer-side half — a report in
    opencharly/marketplace that reads each recorded consumer's recorded pin, so a corpus
    landing cannot be invisible to the consumers that vendored it — is filed as
    opencharly/marketplace#543 and CLAIMed there. It is separable from this leg: it
    changes the corpus, not a consumer of it, and the two share no R10 story.

    The umbrella's own marketplace gitlink is the remaining consumer leg, and it lands
    after this one, in its own PR: the umbrella's working-set change (the clone recipe,
    the initializer and the pin contract's working-set rule) is open, and a pin wave on
    the same repo would mix two scopes.

    Agent: charly

    Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

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