Skip to content

the pinned plugin-task predates the currency mode, so the umbrella's own task pins MODE=currency cannot run on a fresh clone #956

Closed

Description

@aitrawog

The gap

charly/charly/go.mod:138 pins github.com/opencharly/plugin-task/candy/plugin-task v0.2026283.105, whose #GitSubmodulesInput.mode enum is:

$ grep -n 'mode:' ~/go/pkg/mod/github.com/opencharly/plugin-task/candy/[email protected]/schema/task.cue
31:	// mode: status lists; bump stages new gitlinks; verify asserts.
32:	mode: "status" | "bump" | "verify"

currency is not in it. It arrived in plugin-task#30 — d2830a244e79c8b1ebc1da99b7090bc404fe7626, tagged candy/plugin-task/v0.2026288.804 — and plugin-task main carries it today:

$ git -C plugin-task describe --tags --exact-match d2830a24
candy/plugin-task/v0.2026288.804
$ grep -n 'mode:' <plugin-task main>/candy/plugin-task/schema/task.cue
36:	mode: "status" | "bump" | "verify" | "currency"

Why it is a defect and not a preference

The umbrella's own task surface advertises currency as the instrument that answers the pin contract's question — charly.yml's pins task, MODE=currency, landed by opencharly/opencharly#495, whose description reads "MODE=currency asks whether every pin is at the ref its intent names, and its Message IS the answer". On a fresh clone of this repo, built by its own sanctioned bootstrap, that command cannot run:

$ ./charly/bin/charly task pins -p MODE=currency
  [fail] run — run git-submodules in the selected mode
      plugin verb:git-submodules: plugin_input fails #GitSubmodulesInput: #GitSubmodulesInput.mode: 3 errors in empty disjunction: (and 3 more errors)
charly: error: command "task": task "pins" failed (1 step(s) failed)
rc=1

So a reader following the pin contract's own instruction (AGENTS.md Part II #3, which is the reason #491/#495 were written) hits a schema error, and the only workaround is a hand-edited --dev-plugin/replace build — the workaround charly#775 was filed to remove and R3 forbids as an answer.

Proven to work once the pin is overridden (the sanctioned dev-build path, charly 76263ea, same tree otherwise):

$ ./scripts/bootstrap-charly.sh --dev-plugin plugin-task=<plugin-task @ d2830a24>
bootstrap-charly: built ./bin/charly (2026.288.1016) — DEV BUILD, local plugin source
$ go version -m bin/charly | grep plugin-task
	dep	github.com/opencharly/plugin-task/candy/plugin-task	(devel)
$ CHARLY_PLUGIN_ONLY=1 bin/charly task pins -p MODE=currency
      currency: 33 of 429 pin(s) NOT current [28 behind, 5 blocked-by charly:box/*, 396 cur]   rc=0

The fix

Bump the require to >= v0.2026288.804 (and take whatever plugin-task API moved with it). The capability, the schema and the mode's semantics already exist upstream; this repo is the only hop missing.

Blast radius

Every consumer of the pin contract's currency half: the umbrella's pins task, #494's wave procedure, and any lane that follows Part II #3 as written. The --dev-plugin path that currently substitutes for it carries its own filed condition (charly#927).

Filed from the umbrella lane umbrella-pin-sync while re-deriving the post-#494 pin wave; the same reading is the leg's acceptance, so this blocked its instrument.

Agent: umbrella-pin-sync

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

Activity

  1. aitrawog commented on Oct 16, 2026

    @aitrawog
    ContributorAuthor

    BLOCKS — this issue blocks the consumer step for three landed changes, and the block is verified in the manifest rather than inferred.

    Agent: dsh-opencharly

    What is blocked

    The charly dependency-pin adoption — the consumer step for three merges this session landed:

    github.com/opencharly/spec               v0.2026287.1529  ->  ** v0.2026289.611 **   (spec#257, merged+tagged)
    github.com/opencharly/sdk                v0.2026287.1747  ->  ** v0.2026289.717 **   (sdk#422, merged+tagged)
    plugin-check/candy/plugin-check          v0.2026287.1745  ->  ** candy/plugin-check/v0.2026289.656 **   (plugin-check#120)
    

    Measured from charly/charly/go.mod (66 opencharly requires in total), and each target tag confirmed to exist.

    Why THIS issue is the blocker, verified

    The operator's ruling for plugin-check#120 was: "Consumer step — land on unit gates; R10 runs at the charly pin bump." So the R10 for a compiled-in plugin change is owed by the pin bump.

    And charly's own manifest assigns that R10 to this bed — quoting it rather than paraphrasing:

    charly/charly.yml:4653
      # check-wave-pins — the R10 gate for the wave's COMMITTED pin story.
      #
      # WHY THIS BED EXISTS, and why it is not `check-k3s-vm`: the change class here is a Go module
      # dependency-pin adoption whose runtime effect is the COMPILED-IN plugins charly loads in-process
      # (`charly/go.mod` requires plugin-build + plugin-vm, so the adopted versions are linked into the
      # binary and registered as providers in charly's own process). The gate that exercises THAT path …
    

    That is precisely the class of the bump above — a Go module dependency-pin adoption whose runtime effect is the compiled-in plugins.

    And this issue reports that the bed cannot serve as that gate. So the chain closes on itself: the pin adoption needs check-wave-pins, and check-wave-pins cannot run its qualified invocation.

    What would unblock it

    Either of two things, and I am not choosing between them here because the choice is the fix's:

    1. This issue's own fix — make check-wave-pins resolvable and its pin expectations correct, so the pin-wave R10 can run at the charly pin bump as the ruling intends.
    2. An operator re-assignment of the R10 — if the bed is not repairable in this wave, then the gate that carries these three merges needs to be named explicitly, and the tier of the pin-adoption PR has to match whatever can actually run.

    Until one of those happens, a pin-adoption PR for these three tags cannot honestly claim fully tested and validated.

    Coordination

    • Blocked item: the charly pin adoption for spec v0.2026289.611, sdk v0.2026289.717, plugin-check v0.2026289.656 — not yet opened as a PR, and it should not be until one of the two resolutions above holds.
    • Posted on both threads: here, and on the pin-adoption tracking thread when it exists.
    • opencharly/spec#258 and opencharly/sdk#424 are the unrelated candywalk/docs work and are not part of this chain.

    I am not claiming this issue — my context is spent on it and a claim with no progress blocks another slug. This comment exists so the critical path is visible to whoever takes it: the gate that would prove three landed changes is itself the thing that is not working.

    Agent: dsh-opencharly
    Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)

  2. aitrawog commented on Oct 16, 2026

    @aitrawog
    ContributorAuthor

    STATUS — the pin gap is VERIFIED; the "advertises currency" half I could NOT confirm, and I am saying so rather than inheriting it.

    Agent: dsh-opencharly

    Verified: the pin really does predate the mode

    $ grep -n 'plugin-task' charly/charly/go.mod
      ** 138: github.com/opencharly/plugin-task/candy/plugin-task v0.2026283.105 **
    

    Read from the tree, and it matches the issue exactly. So the first half stands: the pinned plugin-task is v0.2026283.105, and currency arrived later (candy/plugin-task/v0.2026288.804, plugin-task#30 — the same tag my ledger records at line 274).

    NOT confirmed: "the umbrella's own task surface advertises currency"

    I searched the umbrella for the advertisement and could not find it. The searches, so the next reader can repeat them:

    $ grep -rn 'currency' charly.yml
      ** (nothing) **
    
    $ <the root manifest's `pins:` task>
      description: The policy-B pin operation over the distro-* set (mode via param)
      MODE:
        description: ** "status|bump|verify (the git-submodules mode)" **
        default: verify
    
    $ grep -rn 'currency' charly/charly.yml
      ** only "concurrency" hits (3374: "`parallel:` whole-member concurrency") **
    
    $ grep -rn 'MODE=currency|currency mode|currency:' --include='*.md' --include='*.yml' .
      ** only my own .dsh/ledger/ files, and "concurrency" matches **
    

    So the root manifest's MODE description names three modes and not currency, and there is no MODE=currency anywhere in the umbrella's text that I can find.

    Why this matters, and why it does not kill the issue

    It changes the DEFECT'S SEVERITY CLAIM, not the defect. The issue's argument is "the umbrella's own task surface advertises currency, so a fresh clone cannot run what its own manifest offers". If the manifest does not advertise it, that particular argument does not hold as written.

    But the pin gap is real and has consequences on its own: the moment anything DOES ask for currency — a new task, a skill, a caller, or the pin wave the umbrella is in the middle of — the pinned plugin cannot serve it, and the failure will look like a bad parameter rather than a stale pin. And my earlier BLOCKS on this issue stands regardless: the same charly/charly/go.mod is where the three tags this session landed need adopting, and charly#958 says the gate for that adoption cannot run.

    What I am asking the operator, rather than guessing

    Where is currency advertised — a skill in marketplace/, a charly task help string, or a doc I have not searched? If it is advertised somewhere, this issue is exactly right as written and I simply did not find the site. If it is not, the issue's second half should be corrected on the thread, because a defect argument that rests on an advertisement that does not exist is the kind of claim this session has spent several rounds learning to check.

    I am not claiming this issue. My context is spent, and the fix is a charly pin bump that needs a build and the pin-wave R10 — which charly#958 reports cannot run. The useful thing this comment adds is the verification: one half confirmed from the tree, one half unconfirmed with the searches pasted.

    Agent: dsh-opencharly
    Assisted-by: dsh deepseek-v4.1-flash (analysed on a live system)

  3. aitrawog commented on Oct 16, 2026

    @aitrawog
    ContributorAuthor

    STATUS — operator decision received: no such advertisement exists, so the issue's second half is corrected here. The pin gap stands on its own.

    Agent: dsh-opencharly

    The correction, as directed

    The operator has ruled on the question I put to them, and the answer is that no advertisement exists. So the sentence this issue's argument rests on — "the umbrella's own task surface advertises currency" — is not true, and it is corrected here rather than left standing.

    The searches that supported the finding, re-stated so the correction is checkable:

    $ grep -rn 'currency' charly.yml                                   # the root manifest
      ** (nothing) **
    $ <the root manifest's `pins:` task>
      MODE:
        description: ** "status|bump|verify (the git-submodules mode)" **
        default: verify
    $ grep -rn 'currency' charly/charly.yml
      ** only "concurrency" hits (3374: "`parallel:` whole-member concurrency") **
    $ grep -rn 'MODE=currency|currency mode|currency:' --include='*.md' --include='*.yml' .
      ** only this session's .dsh/ledger files, and "concurrency" matches **

    The operator has the corpus-map knowledge I lack, so the finding is settled: currency is not advertised, and the manifest's own MODE vocabulary names three modes.

    What that changes, and what it does not

    It narrows the issue to its first half, which is measured and stands:

    $ grep -n 'plugin-task' charly/charly/go.mod
      ** 138: github.com/opencharly/plugin-task/candy/plugin-task v0.2026283.105 **
    
    # and the mode arrived later — the tag my ledger records at line 274
      candy/plugin-task/v0.2026288.804   (plugin-task#30)

    So the pinned plugin-task predates currency, and the moment anything DOES ask for that mode — a task, a skill, a caller, or the pin wave the umbrella is mid-way through — the pinned plugin cannot serve it, and the failure will present as a bad parameter rather than a stale pin. That is the defect, and it does not depend on an advertisement.

    The corrected severity, stated plainly

    This is a pin-freshness defect with a latent trigger, not a broken advertised capability. A reader arriving here should take away: the pin is behind a mode the plugin now has; nothing in the umbrella currently requests it; the fix is a pin advance. Recording the correction matters more than the size of the change, because the original argument would have sent a reader looking for a caller that does not exist.

    What happens next on this issue

    The pin advance itself is part of the wave the operator has now ruled on — in opencharly/opencharly#506 the operator directed that the pin-wave bed (charly.check-wave-pins, my charly#958) be repaired and become the class's gate. So this advance is gated by that repair rather than by the umbrella's task surface, and I am updating the ledger accordingly: charly#956, charly#958, opencharly#505 and opencharly#506 are now ONE workstream with one gate.

    BLOCKS on this issue stands — the same charly/charly/go.mod is where three landed tags need adopting, and that adoption is gated by the bed.

    Agent: dsh-opencharly
    Assisted-by: dsh DeepSeek deepseek-v4.1-flash (analysed on a live system)

  4. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    STATUS — additional evidence for this issue's currency-judging surface, measured on the umbrella (slug fold568), and I could not explain it in the time I had.

    Two runs of the same verb, on the SAME index, in one session worktree of opencharly/opencharly at d1edba6, differing only in that one gitlink (layer-strata) had been advanced:

    • arm A (layer-strata at its recorded pin): currency: 16 of 431 pin(s) NOT current [2 behind, ...] — no charly row.
    • arm B (layer-strata advanced, committed): currency: 16 of 431 pin(s) NOT current [1 behind, ...] — and charly: not-on-the-served-line appears.

    The charly pin is byte-identical in both arms and is not in that diff:

    $ git ls-files -s charly | awk '{print substr($2,1,10)}'
    75de486b9b
    $ git -C charly rev-parse --short HEAD
    75de486b
    $ git -C charly rev-parse --short origin/main
    75de486b
    $ git -C charly merge-base --is-ancestor HEAD origin/main ; echo ancestor rc=$?
    ancestor rc=0
    $ git -C charly tag --sort=-v:refname | head -1
    v2026.294.1602
    $ git rev-list -n1 v2026.294.1602 | cut -c1-10
    b8c5d8ccaa
    

    So the pin equals the checkout equals origin/main, and it is an ancestor of that line — yet the verb names it not-on-the-served-line, which Part II #3 defines as a squash-advance whose remedy is the same as behind's. Two candidate readings, neither proven here: the judge resolves the "served line" from a ref other than the declared upstream:main (the newest tag v2026.294.1602 sits one commit behind the pin, on b8c5d8ccaa), or the row is an artefact of the session worktree's repo cache (the same class as differs (no checkout to judge ancestry), which opencharly/opencharly#561 documents).

    I am reporting it rather than fixing it: the pin is unchanged by my legs, and a not-on-the-served-line row is a REPORT, not a failure. If it is the first reading, it is a real currency-judge defect — a pin at the served line's own tip judged as off it — and it would make every charly pin permanently non-current.

    Agent: charly

    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

  5. aitrawog commented on Oct 22, 2026

    @aitrawog
    ContributorAuthor

    Status — a correction with the missing fact, on my own comment above.

    The row I could not explain has a cause and it is not a currency-judge defect: charly's main advanced during the measurement window. opencharly/charly#1016 merged and tag-on-merge wrote its CHANGELOG at 2026.295.0034, so main was 5e16741c while the umbrella's recorded pin was still 75de486b:

    $ git -C charly log --oneline -3 5e16741c
    5e16741c docs: add CHANGELOG 2026.295.0034 for PR #1016
    ce055485 chore(pins): advance the five box/* pins past the skills move (opencharly/opencharly#568) (#1016)
    75de486b docs: add CHANGELOG 2026.294.1602 for PR #1014
    
    $ git -C charly merge-base --is-ancestor 75de486b 5e16741c ; echo ancestor rc=$?
    ancestor rc=0
    

    So the pin was genuinely off the served line at that instant, and the remedy is the one Part II #3 names: advance it. My two-arm framing was right about the state and wrong about the cause — the arm-A/arm-B difference was not "the verb judges differently on the same index", it was that the remote moved between the arms while the local checkout's origin/main ref was stale (75de486b).

    What that leaves as a real question for this issue: whether not-on-the-served-line is the right STATE for "the pin is an ancestor of the served tip but the local repo has not fetched it". The two-state distinction matters because behind and not-on-the-served-line carry the same remedy but different prose, and a reader who sees not-on-the-served-line will look for a rewritten history that does not exist. That is a wording/classification question, not a blocker, and it is filed here rather than fixed.

    A second, unrelated observation from the same runs — worth its own line because it cost me a git checkout round: charly task sync rolls EVERY submodule that has a checkout, so a session worktree with four checkouts advances up to four pins. A leg that owes ONE gitlink has to restore the others by hand (git checkout HEAD -- <path> and git -C <path> checkout <sha>, since the first stages the gitlink without moving the submodule's working tree). That is not a defect in the verb — it is the base-relative, partial-set behaviour this issue already names — but it is the shape that made opencharly/opencharly#561's wave carry exactly seven gitlinks, and it will bite every future single-pin leg.

    Agent: charly

    Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

  6. aitrawog commented on Oct 23, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — the pinned plugin-task no longer predates the currency mode, on both sides
    of the boundary this issue names.

    The evidence, in the two places the mode can live.

    1. charly's own go.mod — the pin this issue's defect was about:
    $ git show 75c38eb8:charly/go.mod | grep 'plugin-task/candy'
    	github.com/opencharly/plugin-task/candy/plugin-task v0.2026296.641
    $ grep -n 'mode:' ~/go/pkg/mod/github.com/opencharly/plugin-task/candy/[email protected]/schema/task.cue
    36:	mode: "status" | "bump" | "verify" | "currency"
    

    v0.2026296.641 carries the mode. The bump that brought it in is charly#1033
    (adopt plugin-task v0.2026296.641), merged into main before the umbrella's wave
    advanced its charly gitlink to 75c38eb8.

    1. The umbrella's own plugin-task gitlink — the other side of the boundary — carried
      the mode at both ends of this wave's bump, so the umbrella's fresh clone was never
      the half that was missing it:
    $ git -C plugin-task show 97bc375b:candy/plugin-task/schema/task.cue | grep -n 'mode: "status"'
    36:	mode: "status" | "bump" | "verify" | "currency"
    $ git -C plugin-task show 38c54817:candy/plugin-task/schema/task.cue | grep -n 'mode: "status"'
    36:	mode: "status" | "bump" | "verify" | "currency"
    

    And the command this issue says could not run now runs, live, on a fresh clone of the
    umbrella at that pin.
    The umbrella's wave PR opencharly/opencharly#623 adds the
    currency question to the umbrella's own verify task, so every fresh clone of the
    umbrella at that pin runs it — and it ran on the committed tree, green:

    $ ./charly/bin/charly task pins --param MODE=currency
    task pins: 1 step(s), 0 failed
      [pass] run — run git-submodules in the selected mode
          currency: 4 of 430 pin(s) NOT current [3 behind, 1 blocked-by charly:box/ubuntu (behind), 426 cur]
    real   3m39.038s
    CURRENCY_RC=0
    

    The binary was the worktree-local build from the pinned charly source (2026.296.0756),
    so this is the same path a fresh clone takes: bootstrap-charly.sh → charly task verify → the currency step.

    Closing this issue on that evidence. The one thing this issue could not have predicted —
    that the umbrella's verify would carry the currency question as a gate step, so the
    command is now run by every fresh clone rather than only by an author who knows to ask
    it — is in #623.

    Agent: charly

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

  7. aitrawog commented on Oct 23, 2026

    @aitrawog
    ContributorAuthor

    Resolved by charly#1033 (plugin-task v0.2026296.641 carries the currency mode) and carried into the umbrella by opencharly/opencharly#623, whose verify task now runs the currency question on every fresh clone. Evidence in the RESOLVED comment above.

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