Skip to content

R1: vars.CHARLY_VERSION names a charly that REJECTS the routing-only skill: shape — the candy gate's stated activation precondition is discharged, but a second blocker is un-named #259

Open

Description

@aitrawog

Problem

The org's single knob for every candy/box manifest gate — vars.CHARLY_VERSION — names
v2026.278.0912, a charly release whose plugin harness rejects the routing-only skill:
shape
that the org's manifests now declare. The gate that would exercise that pin
(.github/workflows/candy-validate.yml, the candy / validate reusable) is dormant, so
nothing is red today — and the reusable's own stated activation precondition is already
discharged
, which is exactly what makes this worth filing now.

Measured with the pinned release's own binary and plugins (not a local build), on two
pristine copies of shipping manifests:

$ CHARLY_PLUGIN_DIR=/tmp/pt515/pin278/plugins CHARLY_PLUGIN_ONLY=1 \
  /tmp/pt515/pin278/bin/charly box validate          # in a copy of distro-debian
charly: error: command "validate": validation error: /tmp/pt515/ctl-debian-pristine/charly.yml:doc0:
  node "debian-debootstrap-vm-skill": plugin kind:skill: plugin_input fails #SkillInput:
  #SkillInput.description: incomplete value !="" (and 1 more errors)
rc=1

$ … same engine, copy of pod-charly-automation
charly: error: command "validate": validation error: /tmp/pt515/ctl-pca/charly.yml:doc0:
  node "agent-skill": plugin kind:skill: plugin_input fails #SkillInput:
  #SkillInput.description: incomplete value !="" (and 1 more errors)
rc=1

The same trees are green under a current engine — the umbrella's own worktree build
2026.300.0236:

charly box validate: OK — checked 109 candies, 5 boxes, 2 deploys, 7 distros, 7 builders; 0 warnings, 0 errors   (distro-debian)
charly box validate: OK — checked 1 candy, 7 distros, 7 builders; 0 warnings, 0 errors                              (pod-charly-automation)

The error text is verbatim the one opencharly/opencharly#515 named, and the one
pod-charly-automation/AGENTS.md:46 and layer-charly-internals-extra/AGENTS.md:43 document
as the symptom of "a charly built from an older source".

RCA

  • Mechanism. vars.CHARLY_VERSION is v2026.278.0912. That release's
    charly/go.mod pins github.com/opencharly/plugin-harness-kind/candy/plugin-harness-kind v0.2026272.143, whose schema/skill.cue still requires the two fields the routing-only
    shape omits:

    #SkillInput: close({
    	name:        string & =~"^[a-z][a-z0-9-]*$"
    	family:      string & =~"^[a-z][a-z0-9-]*$"
    	owner:       string & =~"^[a-z][a-z0-9-]*$"
    	description: string & !=""                   // SKILL.md frontmatter description
    	content:     string & !=""                   // SKILL.md markdown body
    	…

    The relaxation landed in spec#247 (day 288): #Skill.name / description / content
    became optional, and the plugin harness's #SkillInput followed in
    plugin-harness-kind v0.2026288.1214 (day 288). v2026.278.0912 is day 278 — ten days
    before the relaxation. A skill: node that carries only name / family / owner /
    triggers (the routing-only shape every migrated repo declares) therefore fails the
    plugin input validation under the pin, exactly as it did under the umbrella's older
    gitlink.

  • Missed control. Two controls are missing, and they are different controls.

    1. The activation precondition names only one blocker. The reusable's header says:
      "Do NOT activate it as a required gate until vars.CHARLY_VERSION names a release that
      carries the schema-versioning removal — the pre-removal pin still requires the retired
      stamp and would fail the very PRs this leg unblocks."
      That blocker is discharged:
      R1: the org engine pin predates the retired version stamp — 'charly box validate' fails under the pin, while CI validates with an unpinned engine #162 moved the pin from v2026.271.0950 to v2026.278.0912, past the
      2026.275.2112 stamp retirement, and opencharly/action-review's own box validate
      now runs green on the pinned engine. A reader who takes the header at its word would
      activate the gate today — and get a red on every routing-only repo, for a reason the
      header does not name.

    2. No check anywhere runs the pinned engine against a routing-only manifest. The
      candy / validate context is produced by no workflow: the reusable is
      on: workflow_call with no caller, the per-repo candy stubs were deleted
      (scripts/retire-per-repo-candy-gates.sh), the materialized repos carry only
      tag-on-merge.yml, and the org ruleset's workflows rule names only
      org-wide-pr-validator-required.yml:

      $ gh api orgs/opencharly/rulesets/23827016 --jq '.rules[] | select(.type=="workflows")'
      … "workflows":[{"path":".github/workflows/org-wide-pr-validator-required.yml", …}] …
      $ grep -rln "candy-validate" --include='*.yml' */.github
      dotgithub/.github/workflows/candy-validate.yml
      dotgithub/.github/workflows/retire-per-repo-candy-gates.yml

      And the one assertion the pin does have — action-review/.github/workflows/ci.yml's
      "Install the org-pinned charly and verify the pin names the engine it publishes" —
      asserts that the pin is set, published, and that its binary reports the version the pin
      names. It does not assert that the pin can read the shapes the org's manifests
      declare
      . The pin was therefore moved once, for the stamp, and never re-judged against
      the schema era the manifests have since moved into.

  • Blast radius. Every repo that declares a routing-only skill:/agent: node, measured
    by parsing each manifest's YAML (not a regex) over the umbrella's materialized set:
    10 repos, 40 nodes — the umbrella itself (6), charly (4), distro-ubuntu (2),
    layer-charly-internals-extra (8), pod-charly-automation (9), pod-charly-versa (7),
    distro-arch (1), distro-cachyos (1), distro-debian (1), layer-openclaw (1). The
    org-wide number is higher: the retirement sweep counted ~376 repos carrying a
    charly.yml, and only the materialized subset is measurable here. Today the blast radius
    is latent (the gate is dormant, and action-review — the one repo whose CI runs the
    pinned engine — has no routing-only node); it becomes a red on the day the reusable is
    activated.

  • Root fix. Advance the org variable to a release that carries the relaxation. The
    current latest release does:

    $ gh release list --repo opencharly/charly --limit 1 --json tagName --jq '.[0].tagName'
    v2026.300.0235
    $ gh api "repos/opencharly/charly/contents/charly/go.mod?ref=v2026.300.0235" --jq '.content' | base64 -d | grep -n "plugin-harness-kind\|opencharly/spec "
    40:	github.com/opencharly/plugin-harness-kind/candy/plugin-harness-kind v0.2026288.1214
    142:	github.com/opencharly/spec v0.2026296.1036

    plugin-harness-kind v0.2026288.1214 is the relaxed #SkillInput — and that is measured,
    not inferred: the same two pristine copies the pin rejects are green under this
    release's own binary and plugins.

    $ CHARLY_PLUGIN_DIR=/tmp/pt515/pin300/plugins CHARLY_PLUGIN_ONLY=1 \
      /tmp/pt515/pin300/bin/charly box validate          # copy of distro-debian
    charly box validate: OK — checked 109 candies, 5 boxes, 2 deploys, 7 distros, 7 builders; 0 warnings, 0 errors
    rc=0
    $ … same engine, copy of pod-charly-automation
    charly box validate: OK — checked 1 candy, 7 distros, 7 builders; 0 warnings, 0 errors
    rc=0

    So the fix is a pin move, and the pin move is proven: v2026.278.0912 → rc=1,
    v2026.300.0235 → rc=0, on identical content.
    The operator's action is one variable
    change (an org variable is not an agent's to set):

    $ gh variable set CHARLY_VERSION --org opencharly --body v2026.300.0235

    The second arm belongs in this repo: the reusable's activation precondition must name
    BOTH blockers (the retired stamp and the routing-only relaxation), so the next reader
    does not activate a red gate on a discharged precondition. The pin is the single knob by
    design (R2 — one knob, never a 376-repo sweep), so the arm is the prose, not a second
    pin.

  • Relation to opencharly/opencharly#515. That issue's scope is the umbrella's
    charly gitlink
    ; it is closed by the same relaxation, and the umbrella's pin is current
    (5a83e038, which carries charly#955 = the spec#247 pin bump). This row is a
    different surface — an org variable in a different repo, gating a different (dormant)
    workflow — so it is filed here rather than absorbed there.

What was measured, and what was not

Measured: the pinned release's own binary and plugins, on two pristine manifest copies
(the copies are byte-for-byte the repos' charly.yml; only the enclosing directory is a
/tmp copy, because a control must not edit a submodule). The rc=1 outputs above are
that engine's, on that content.

Not measured: the activation of the reusable at the advanced pin, and the gate's result
across the full org corpus (the ~376 repos are not all materialized here). The claim this
row makes is the narrow one: at the current pin the org's only manifest gate would be
red on the routing-only shape, and the header's stated reason for not activating it is
already discharged.

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (analysed on a live system)

Activity

  1. self-assigned this
    on Oct 27, 2026
  2. aitrawog commented on Oct 27, 2026

    @aitrawog
    ContributorAuthor

    CLAIM — the umbrella leg of this class is closed, and the remaining arm is named.

    What is already discharged (measured, not inherited). The umbrella's own charly gitlink
    carries the spec#247 relaxation (5a83e038, with charly#955 = b2d16cee as an ancestor),
    and the umbrella's manifest gate is green on every repo measured — 0 warnings, 0 errors.
    That closes opencharly/opencharly#515, which is the umbrella's half of this class.

    What is NOT discharged here, and why it belongs in this row. The org variable is a
    different surface in a different repo, and it names a pin that rejects the routing-only
    shape: v2026.278.0912 → rc=1, v2026.300.0235 → rc=0, on identical manifest content, with
    each release's own binary and plugins. The reusable's header states one activation
    precondition (the retired version: stamp); that one is discharged by #162's pin move, so
    the header as written would license activating a red gate.

    The two arms, and who holds each.

    1. The variable — gh variable set CHARLY_VERSION --org opencharly --body v2026.300.0235.
      An org variable is the operator's to set; the pin move itself is proven above, so this is
      a one-line decision, not an investigation.
    2. The prose — this repo's candy-validate.yml header must name BOTH blockers, so the
      next reader is not licensed to activate a gate that is red on a discharged precondition.
      That arm is a PR here and is not blocked by arm 1.

    Not taken over: the gate is dormant today, so nothing is red; the org ruleset's required
    workflow is still org-wide-pr-validator-required.yml and the required check is still
    validate / validate — the candy / validate context is produced by no workflow at all.

    Agent: charly

    Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (analysed on a live system)

  3. aitrawog commented on Oct 27, 2026

    @aitrawog
    ContributorAuthor

    STATUS — the prose arm is open as #260; this issue stays open for the operator's arm.

    What is done. The second arm of this issue — the reusable's activation precondition —
    is now a PR: #260 (branch feat/candy-gate-activation-precondition, head
    c01152445a5e71192c2f7dc2a4d4d2e8c033214b). Both live surfaces now name the LIVE condition
    (the routing-only skill: shape) and mark the discharged one (the retired version: stamp)
    as discharged, and the correction is enforced, not just written: four new rows in
    scripts/governance-claims.tsv (two require, two forbid). The change-class gate is green on
    the committed tree — all 11 offline workflow-checks.yml steps rc=0, and
    governance-reconcile: checked=31 skipped=55 fail=0 with the four new rows ok. The coverage is
    proven discriminating: the old prose against the new manifest turns exactly those four
    rows red (rc=1).

    What is still outstanding here — and it is the operator's. The first arm is unchanged:
    vars.CHARLY_VERSION still names v2026.278.0912 (measured just now, read-only), whose
    plugin-harness-kind is v0.2026272.143 and which rejects the routing-only shape. The
    remedy is unchanged and already proven (v2026.278.0912 → rc=1, v2026.300.0235 → rc=0, on
    identical manifest content, each release's own binary and plugins):

    $ gh variable set CHARLY_VERSION --org opencharly --body v2026.300.0235 --visibility all

    I will not set it — an org variable is not an agent's to set — and the same knob is also the
    org PR-validator's engine pin, so the change moves the review engine for every repo as well.
    Making it deliberately is the point.

    This issue therefore stays OPEN until the knob moves. #260 is the prose arm only and does not
    close it; #260's body lists it under ## Filed issues for the same reason.

    Next update: when #260's validator verdict lands, or when the knob moves — whichever is first.

    Agent: charly

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

  4. aitrawog commented on Oct 27, 2026

    @aitrawog
    ContributorAuthor

    STATUS — the prose arm has landed; this issue stays open for the operator's arm.

    What landed

    #260 — "the candy gate's activation precondition must name the LIVE blocker, not the discharged one" — merged 2026-10-27T08:08:27Z:

    squash commit 784c530a263d4d1db7634e2d85c96387fed34848
    tag v2026.300.0808 (merge-time tag; CHANGELOG/2026.300.0808.md written by tag-on-merge)
    verdict PASS — validate / validate, validate / lint, validate / arm and workflow-checks all SUCCESS

    Both live surfaces now name the LIVE condition (the routing-only skill: shape) and label the
    discharged one (the retired version: stamp) as discharged — and the correction is enforced:
    four new rows in scripts/governance-claims.tsv (two require, two forbid). The validator's two
    minor observations were answered on the PR's thread with the evidence that closes them (the
    relaxation boundary is exact, not a conservative minimum: the only harness version between the
    rejecter and the accepter is v0.2026279.629, and it still requires description/content).

    What is still outstanding here — the operator's arm, unchanged

    vars.CHARLY_VERSION still names v2026.278.0912 (read just now), whose plugin-harness-kind is
    v0.2026272.143 — a rejecter of the routing-only shape. The remedy is unchanged and already
    proven on identical manifest content (v2026.278.0912 → rc=1, v2026.300.0235 → rc=0, each
    release's own binary and plugins):

    $ gh variable set CHARLY_VERSION --org opencharly --body v2026.300.0235 --visibility all

    The same knob is also the org PR-validator's engine pin, so that one change moves the review
    engine for every repo as well — deliberately, not as a side effect. I will not set it: an org
    variable is not an agent's to set.

    The consumer leg this unblocks

    The umbrella's dotgithub gitlink follows .github's main tip, so it advances to
    ff88be2c39ec73d750db2d831ee32f2cd3e87d75 (the tag-on-merge commit for #260) in its own PR,
    gated with charly task verify on the committed tree — producer-first, after the merge that
    produced the tag.

    Next update: when the umbrella's consumer PR is open, or when the knob moves — whichever is first.

    Agent: charly

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

  5. aitrawog commented on Oct 27, 2026

    @aitrawog
    ContributorAuthor

    STATUS — the umbrella's consumer leg has landed; this issue stays open for the operator's arm.

    The consumer leg is merged

    opencharly/opencharly#734 — "the umbrella's consumer leg of the .github producer work" — merged
    2026-10-27T08:28:29Z:

    squash commit 20b2a1855c94cd0b65b7f1bee99ee026fd834f28
    tag v2026.300.0828 (merge-time tag; CHANGELOG/2026.300.0828.md written by tag-on-merge)
    verdict PASS — the charly/pr-validator report's own verdict, no blocking finding
    diff one gitlink: dotgithub d256175fa6 → ff88be2c39

    The umbrella's dotgithub pin now records the tip that carries #260, so the org's corrected
    precondition is what the umbrella's own view of the gate says. The advance was made by the sanctioned
    verb (charly task sync → charly task init → charly task verify), never by a hand-pin; the
    currency question named exactly one pin of 411 not current before the wave and none after it, and the
    advance is a fast-forward against the pin's own remote with the recorded SHA an ancestor of the new one.

    opencharly/opencharly#733 — the umbrella's side of this — is closed with a RESOLVED record.

    What is still outstanding here — the operator's arm, unchanged

    vars.CHARLY_VERSION still names a release whose plugin-harness-kind is v0.2026272.143 — a
    rejecter of the routing-only shape. The remedy is unchanged and was proven on identical manifest
    content (each release's own binary and plugins, a pristine shipping manifest):

    $ gh variable set CHARLY_VERSION --org opencharly --body v2026.300.0235 --visibility all

    The same knob is also the org PR-validator's engine pin, so that one change moves the review engine
    for every repo as well — deliberately, not as a side effect. I will not set it: an org variable is not an
    agent's to set.

    Next update: when the knob moves — this issue closes on the operator's line, not on mine.

    Agent: charly

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

  6. added
    category:governance
    type:fix
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

category:governancetype:fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions