Skip to content

plugins/main carries an ollama skill corpus with no superproject source — a producer orphaned by projection-first ordering #291

Closed

Description

@atrawog

plugins/main carries a generated skill whose superproject source does not exist anywhere — not on main, not on any pushed branch, and not in the one open charly PR. The plugins half of a cutover landed and the charly half was never proposed.

Measured

plugins/main HAS   ollama/skills/ollama-cli/SKILL.md      (landed by plugins#191, 11:15:36Z)
                   ollama/skills/ollama-layer/SKILL.md
                   ollama/skills/ollama/SKILL.md

charly/main  candy/plugin-ollama/charly.yml   ABSENT
charly/main  candy/ollama-cli/charly.yml      ABSENT
open charly PRs                               289 only (unrelated)
remote branches matching 'ollama'             none
any remote branch carrying candy/plugin-ollama  none

Why this is a distinct hazard rather than an ordinary missing commit

The project's ordering law requires the projection to merge before the source that pins it — a pin needs a merged target, and docs/main must be a fixed point over landed inputs. That guarantees a window in which plugins/main carries prose charly/main cannot reproduce. The window is normal and closes when the superproject leg lands.

Here the superproject leg was never proposed, so the window never closes. The result is a producer orphaned by the projection-first ordering:

  • charly marketplace generate run from charly/main will delete all three files, correctly — no source projects them.
  • Every future docs regeneration meets the same three pages and must decline them, because committing them asserts content the committer does not own.
  • Nothing detects it: generate faithfully emits what the source it was given projects, and a reviewer looking at plugins/main sees three well-formed generated files with valid headers.

docs#68 hit this and correctly reverted the three recipes/ollama/* pages, having first checked for an owning leg and found none.

What closes it

Land the charly leg carrying candy/plugin-ollama/charly.yml (and whatever else plugins#191 projected from). Until then the three files are unreproducible from main, and every neighbouring cutover pays a revert step.

If the source is not going to be landed, the correct remedy is the reverse: remove the orphaned projection from plugins, so main states nothing it cannot regenerate.

Related

Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)

Activity

  1. atrawog commented on Aug 17, 2026

    @atrawog
    ContributorAuthor

    Escalation: this now blocks TWO superproject legs, and neither can land green

    Measured 2026-08-17 ~19:20Z. This issue has stopped being a latent inconsistency and become the gating blocker for both open charly legs.

    The mechanism

    plugins/main merge order:
      01e44b9  #188        8ea7eeb  #190
      591a551  #191   <- the three ollama SKILL.md files enter here, sourceless
      cc22d9d  #193        afa69e7  #194
      c061fee  #195   <- 28 files whose superproject leg is charly#296 (open)
      9ee9f93  #196
    
    charly/main pins plugins at  c00a4ca8  — which does NOT carry the ollama files
    

    So main is green today, and whichever superproject leg bumps the plugins pin is the commit that turns it red.

    • charly#289 must pin ≥ 9ee9f93 to carry its own projections (#188, #190, #193, #194, #196). Every such pin is downstream of 591a551. Its validator measured drift exiting 1 with 31 stale artifacts: the 3 here plus #195's 28.
    • charly#296 must also pin ≥ 9ee9f93 (its current pin 4d63f91b is plugins#195's unmerged head — see the comment on that PR). Same inheritance.

    There is no pin that carries either leg's own projections and excludes these three files. The merge order forecloses it.

    Why this is blocking rather than routable

    candy/charly-internals/charly.yml on main — prose this repo publishes:

    Repair ownership, when main goes red from someone else's half-landed cutover: it is blocking for your own landing, not a separable cleanup. "Already red on main" and "belongs to that PR's author" are exactly the framings R2 names, and a validator will not put a release tag on a tree whose gate exits 1.

    That rule is not being invoked against this issue's owner; it binds the legs that would bump the pin. Neither can honestly land while these three files are on plugins/main without a producer.

    Recommended exit: the second one, already stated above

    Land a small plugins PR deleting ollama/skills/{ollama-cli,ollama-layer,ollama}/SKILL.md, citing this issue, with a fresh validator.

    • It is three file deletions, no regeneration, no candy change.
    • It is not authoring another cutover's work — it removes something that landed without its other half.
    • Nothing is lost. If the charly producer is later landed, charly marketplace generate restores all three from source; that is what "generated" means.
    • It unblocks both superproject legs at once, which is why it is the highest-leverage action currently available in this repo.

    Re-verified at escalation time, not carried forward

    candy/plugin-ollama/charly.yml on charly/main      ABSENT
    candy/ollama-cli/charly.yml on charly/main         ABSENT
    any remote charly branch matching 'ollama'         none
    open charly PRs                                    289, 296 — neither carries the source
    ollama SKILL.md files on plugins/main              3
    

    If the owning session returns and intends to land the source imminently, say so here and the legs can wait instead. Silence for another few hours should be read as the first exit not arriving, and the second exit taken.

    Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)

  2. atrawog commented on Aug 17, 2026

    @atrawog
    ContributorAuthor

    Correction to my own escalation: it is ONE orphan, not three — and the generator already handles it

    My comment above said "three ollama SKILL.md files, sourceless" and recommended a hand-written deletion PR for all three. That was wrong on both counts. Measured on charly/main at ca76c354:

    candy/ollama/charly.yml           EXISTS      (declares ollama-skill: name: ollama, family: ollama)
    candy/charly-ollama/charly.yml    EXISTS
    candy/plugin-ollama/charly.yml    ABSENT
    
    declaring candy entities on main, per artifact:
      ollama/skills/ollama/SKILL.md         4
      ollama/skills/ollama-layer/SKILL.md   1
      ollama/skills/ollama-cli/SKILL.md     0   <- the only genuine orphan
    

    Two of the three have a real source and were merely STALE, not orphaned. Only ollama-cli — projected from the absent candy/plugin-ollama — has no producer.

    And the remedy is not an authored deletion either

    A charly marketplace generate at a tree pinning plugins@9ee9f930 was measured tonight:

    before:  marketplace drift  EXIT 1 — 9 stale (3 ollama + 6 prose)
    generate:  ollama-cli/SKILL.md  DELETED        ← the prune the tool exists to perform
               ollama/, ollama-layer/  REWRITTEN from candy/ollama
    after:   marketplace drift  EXIT 0 — clean (400 artifacts)
    

    The generator performs the repair by itself. scanGenerated collects header-carrying artifacts and generate prunes any the emissions map does not claim — so the orphan is removed as a matter of course by any regeneration, and the two stale ones are simply brought up to date. No hand-written deletion PR is needed, and I withdraw that recommendation.

    What that changes

    • This issue is not a blocker requiring separate action. It resolves as a side effect of the next plugins regeneration that lands, which charly#289 has to perform regardless.
    • charly#296 has merged, so its 28 files are sourced on main and that half is closed.
    • Nothing is lost if the producer arrives later. Land candy/plugin-ollama and ollama-cli/SKILL.md regenerates from it — that is what "generated" means, and it is why the prune is safe rather than destructive.

    Why I am correcting rather than editing

    The original comment is left standing above with this correction beneath it. A reader who acted on "three sourceless files, delete them by hand" would have written a PR that deletes two artifacts with valid sources — the error was in the direction of destroying work, which is the direction that deserves the loudest correction rather than a quiet edit.

    The measurement that produced the wrong count was a file-existence check (do these paths exist on plugins/main) standing in for a provenance check (does a candy declare each one). Existence is not provenance, and the two answers differ for exactly two of the three files.

    Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)

  3. atrawog commented on Aug 17, 2026

    @atrawog
    ContributorAuthor

    This is not "an orphaned file to prune". A deleted branch holds the only source of 97 lines that are live on main.

    Third correction to my own framing, and the largest. Measured against plugins/main @9ee9f930 by diffing whole files against a regeneration from charly@5345c8aa — not by grepping, which is why the earlier readings missed it:

                            main    regenerated   lines present ONLY on main
    ollama-layer/SKILL.md    108        102                  20
    ollama/SKILL.md          139        116                  23
    ollama-cli/SKILL.md       54          0                  54
                                                      TOTAL:  97
    
    OLLAMA_VERSION   in any candy on charly/main:   0 occurrences
    'charly ollama'  in any candy on charly/main:   0 occurrences
    

    What a regeneration would delete, and what exists in no source anywhere:

    • the entire ## Build-time Variables (var:) section, including the only documentation of OLLAMA_VERSION and how to pin a release
    • a context: [build] gate on the binary-existence check
    • a third runtime check (ollama list exits 0 against the live service)
    • a more accurate Install files row
    • the entire ## The charly ollama management CLI section with its worked invocations
    • all 54 lines of ollama-cli/SKILL.md

    Why the earlier framings were wrong

    1. "Three sourceless files, delete them by hand" — wrong: two have declaring candies (candy/ollama, candy/charly-ollama) and only ollama-cli is unclaimed. Corrected above.
    2. "The generator performs the prune by itself; nothing is lost, it regenerates from source later" — wrong, and this is the important one. That reasoning assumes the generator's input still exists. feat/ollama-plugin was deleted after its projection landed, so charly/main's surviving candies are materially poorer than the ones that produced these files.

    "Generated files are safe to regenerate" assumes the source still exists. When a producing branch is deleted after its projection lands, the projection is not a derivative — it is the artifact.

    1. The instrument that found it, since it explains why three readings missed it: a grep answers "is this claim present?"; only a diff answers "what is different?" A deletion is invisible to every check keyed on a term, because the term is gone.

    Consequence for the open PRs

    opencharly/plugins#197 will exclude all three ollama artifacts and leave them exactly as main has them. Its drift pair will publish 11 stale → 3 stale rather than → clean. A red gate that can be explained is better than a clean one bought by deleting the only copy of something, and the three remaining stale paths are unchanged from main's current state — that PR neither creates nor hides them.

    What actually closes this

    Land the charly leg carrying candy/plugin-ollama/charly.yml and the richer candy/ollama / candy/charly-ollama content. That restores the source for all 97 lines and makes the corpus regenerable again.

    Recovering the content, if the branch is gone for good: plugins/main is the copy. git show 9ee9f930:ollama/skills/ollama-layer/SKILL.md and its two siblings hold everything the deleted candy declared — a reader can reconstruct OLLAMA_VERSION, the context: [build] gate, the third check, and the CLI surface from them. That is only useful to someone who knows to look, which is why this is filed rather than pruned.

    Do not close this by regenerating. Any regeneration from current charly/main deletes the 97 lines. Until the source is restored, the correct action on these three paths is to leave them alone and scope every regeneration to exclude them.

    Also stranded by the same branch

    Four surfaces, one deleted branch. A deleted branch is not a no-op when its projections landed.

    Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)

  4. atrawog commented on Aug 18, 2026

    @atrawog
    ContributorAuthor

    Correction — the headline claim is refuted for two of the three skills, using the authoritative field

    The title and opening line say the corpus has no superproject source. Re-measured with the right instrument — skills are declared in a skill: block, and my earlier check used a bare name: grep, which also matches packages, services and candies:

    CONTROL  candy/charly-internals/charly.yml -> 26 skill: blocks       instrument works
    
    candy/ollama/charly.yml          exists, 1 skill: block, name: ollama         <- SOURCE
    candy/charly-ollama/charly.yml   exists, 1 skill: block, name: ollama-layer   <- SOURCE
    

    ollama/skills/ollama and ollama/skills/ollama-layer both have declaring candies on charly/main. The headline is wrong for both, and the earlier in-thread correction ("it is ONE orphan, not three") was right.

    The remaining one is not an orphan either — it is absent

    plugins/main   paths matching 'skills/ollama-cli'   0
    charly/main    'ollama-cli' in candy/               0
    

    The body's Measured block lists ollama/skills/ollama-cli/SKILL.md as present on plugins/main. It is not there now. A --diff-filter=D log for that exact path returns no deletion either, so I cannot say from this whether it was removed, renamed, or recorded at a path different from the one the body names — only that nothing matching skills/ollama-cli exists on plugins/main today.

    One thread I am flagging rather than chasing

    docs/main   files referencing 'ollama-cli'   4
    plugins CHANGELOG/  references               6   (history, expected)
    

    Four files on docs/main still reference ollama-cli while no such skill exists in plugins. I have not read them — they may be historical, or they may be live pages pointing at a skill that is gone. Stating it as a bounded observation so someone with the context can settle it, rather than as a finding.

    Why this correction exists

    My original measurement asked does a file exist at this path and I published it as does a source declare this skill. Those are different questions and the second has an authoritative answer — every skill declares an explicit owner: in a skill: block — which I never consulted, and reconstructed with a grep instead.

    A reconstruction is only needed when no declaration exists. The check belongs before the query is written, not after it returns.

    Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)

  5. atrawog commented on Aug 28, 2026

    @atrawog
    ContributorAuthor

    Validation (2026-08-28) — RESOLVED

    Verified against current repos. The ollama skills now have real sources in standalone repos: pod-ollama carries the ollama skill (charly.yml:160-162), layer-charly-ollama carries ollama-layer (charly.yml:20-22), plugin-ollama carries ollama-cli. The orphan window closed when the source legs landed (the ollama cutover #309 + the candy de-submodule cutover). The marketplace corpus is generated from these refs (candy/charly-marketplace/charly.yml:99,136,180).

    Closing as resolved.

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

Metadata

Metadata

Assignees

No one assigned

    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