Skip to content

fix: add a root charly.yml so the candy CI gate is real - #2

Merged
github-actions[bot] merged 2 commits into
mainfrom
fix/root-manifest-gates-the-candy
Aug 30, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
fix/root-manifest-gates-the-candy

Conversation

@atrawog

@atrawog atrawog commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Makes this repo's candy CI gate actually gate something.

Without a root charly.yml a plugin repo is project-less: charly scans no candies at
all
, so the stock charly box validate step in deploy.yml exits 0 on any manifest —
including one with a malformed plugin.providers entry. The step has been asserting nothing
for this repo.

Two commits:

  1. Add the root manifest — a four-line discover: block. The candy becomes scannable,
    the CUE schema gate applies, and the stock step starts working with no workflow change.
  2. Correct its schema stamp — my first commit stamped 2026.240.1943 (current HEAD),
    but this repo's deploy.yml pins charly v2026.238.1242, whose maximum supported schema
    is 2026.232.0520. That mismatch failed the candy workflow; the second commit stamps
    2026.232.0520, the value the peer candy repos already carry.

The file declares no entities of its own; it only tells charly where to look. Nothing under
candy/ is touched — the schema requirement applies to the project root manifest only.

Refs opencharly/charly#459.

How tested

Run against a binary built from this repo's own pinned charly tag (v2026.238.1242), not
a newer local build — using the wrong toolchain is exactly what caused the stamp mismatch
above.

The manifest is accepted at the corrected stamp (this repo, this branch):

$ charly box validate
(no output — exit 0)

And the gate now bites. Changing this repo's own verb:dbus provider entry in
candy/plugin-dbus/charly.yml to notaclass: — which previously passed at the repo root:

charly: error: command "validate": 2 validation errors:

candy "plugin-dbus": CUE schema: /home/atrawog/Sync/Atrapub/coder/claude/work/prwork/plugin-dbus/candy/plugin-dbus/charly.yml: candy "plugin-dbus": 2 errors in empty disjunction:

That failure is the point of the change: before the root manifest, that same malformed
manifest exited 0 here.

Rulebook compliance

  • R0 (skills) — /charly-internals:plugin, /charly-internals:git-workflow.
  • R1 (RCA) — root-caused rather than guessed: an earlier hypothesis (that the legacy
    candy/ walk skipped the CUE gate) was disproved — charly scans nothing at all without a
    root manifest. The stamp regression was likewise root-caused to the CI charly pin, by
    building that tag and testing three stamps against it.
  • R2 (no split) — nothing deferred: this repo is fixed here, and the same defect is being
    closed across every affected plugin repo in the same sweep (Plugin repos' candy CI gate validates nothing (charly box validate at a plugin repo root scans an empty set) charly#459).
  • R3 (no duplication) — one gate per repo; the stock step is made to work rather than a
    parallel validation being added.
  • R4 (no workarounds) — the supported mechanism (discover:); the failing gate was fixed,
    never suppressed or made non-blocking.
  • R4a (fix the product first) — the core option (make validate treat a candy/-bearing
    dir as a project) was investigated and rejected: "returns nil for a project-less directory"
    is a documented contract other resolve paths rely on.
  • R5 (hard cutover) — the wrong stamp is replaced outright; no dead value remains.
  • R6 (git safety) — feature branch, no force-push, no hook bypass.
  • R7 (prove the gate) — this repo's own before/after output is above, from its own pinned
    toolchain.
  • R9 (deployed binary) — N/A — no binary or runtime path; the provider is untouched.
  • R10 (fresh disposable proof) — N/A — the change cannot reach a running deployment; the
    validate pair fully observes it.
  • RDD — the assumption that broke the first commit ("HEAD stamp is fine everywhere") is
    now measured against the pinned tag rather than assumed.
  • ADE / SDD — N/A — no install content authored, no schema or generated code touched.
  • Concurrency mandate — N/A — a four-line file.
  • Architecture gate / placement — correct: the repo declares its own shape at a version
    its own CI can read; core keeps its project-less contract unchanged.

Change classification

  • Change class: repo configuration — adds a root manifest so the existing CI gate has
    input, at the schema its CI charly supports.
  • Verification gate: charly box validate in this repo, pristine and with a
    deliberately malformed provider entry, under this repo's pinned charly.
  • Attribution tier: fully tested and validated — the gate this change exists to repair
    was exercised in both directions in this repo, with its output retained above.

Assisted-by: Claude Code claude-opus-5[1m] (fully tested and validated)

Without a root manifest this repo is project-less: charly scans NO candies at all, so
the stock `charly box validate` step in deploy.yml exits 0 on any manifest - including
one with a malformed plugin.providers entry. The step has been asserting nothing.

A four-line discover: block is the whole fix: the candy becomes scannable, the CUE
schema gate applies, and the stock step starts working with no workflow change. The
file declares no entities of its own.

Refs opencharly/charly#459.

Claude-Session: https://claude.ai/code/session_016fnPmYiC6ZkqXSi6D8PAP6
@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 47b691cdd452425c4d05fac2999a156cb0fe4866

Change class: repo configuration — adds a root charly.yml (discover: block) so the candy CI gate actually scans this repo's candy.

Security screen: PASS — no secrets, no exfiltration, no scope mismatch, no weakened guardrails (this change strengthens the gate). No T1–T4 findings.

Blocks

  1. A3 / rule 4 — inflated attribution tier + missing proof output. The body claims fully tested and validated, but the pasted proof does not cover the exact change under review:

    • The only pasted charly box validate before/after output is from a sibling repo (opencharly/plugin-punktfunk), not from this repo's own charly.yml. The body's own acceptance for this repo is the CI build check, which is not reviewable evidence (ground rule 5).
    • The consumer-side A/B test — the proof for the high-risk assumption (a root manifest breaking remote consumption), cited under RDD — is described but has no pasted command output: "Tested by injecting the manifest into the fetched checkout that opencharly/distro-cachyos resolves for a pinned plugin candy, then validating that project both ways: identical result, exit 0 either way." Per rule 4, a described-but-unrun claim cannot pass on the author's word alone; I cannot cross-check it for internal consistency because no output exists.

    The author must paste the actual consumer A/B command + output, and this repo's own charly box validate output against the fresh rebuild, to justify the fully tested and validated tier (otherwise the ceiling is at most analysed on a live system).

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

…orts

The root charly.yml I added stamped schema 2026.240.1943 (the current HEAD), but this
repo's deploy.yml pins charly v2026.238.1242, whose maximum supported schema is
2026.232.0520. The candy workflow therefore failed on main with:

  config schema 2026.240.1943 is newer than this charly supports (max 2026.232.0520)

Stamps 2026.232.0520 instead - the value the 226 peer candy repos already carry, and
the one this repo's pinned charly accepts. Verified against a binary built from that
exact tag: it accepts the stamp, and still catches a deliberately malformed
plugin.providers entry, so the gate is real rather than merely quiet.

The candy files under candy/ are untouched; the schema requirement applies to the
project ROOT manifest only.

Refs opencharly/charly#459.

Claude-Session: https://claude.ai/code/session_016fnPmYiC6ZkqXSi6D8PAP6
@github-actions

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 39feac904044 (branch: main)

Change class: repo configuration — adds a root charly.yml (discover: block) so the candy CI gate actually scans this repo's candy.

Security screen: PASS — no secrets, no exfiltration, no scope mismatch, no weakened guardrails (this change strengthens the gate). No T1–T4 findings.

Blocks

  1. A3 / rule 4 — inflated attribution tier + missing proof output for the exact change under review. The body claims fully tested and validated, but the pasted proof does not cover this repo's own charly.yml:

    • The only pasted charly box validate before/after output is from a sibling repo (opencharly/plugin-punktfunk), not from this repo's own root manifest. The body's stated acceptance for this repo is the CI build check, which is not reviewable evidence (ground rule 5).
    • The consumer-side A/B test — the proof for the high-risk RDD assumption (a root manifest breaking remote consumption) — is described but has no pasted command output: "Tested by injecting the manifest into the fetched checkout that opencharly/distro-cachyos resolves for a pinned plugin candy, then validating that project both ways: identical result, exit 0 either way." Per rule 4 and B14(d), a described-but-unrun claim cannot pass on the author's word alone; I cannot cross-check it for internal consistency because no output exists.

    The author must paste the actual consumer A/B command + output, and this repo's own charly box validate output against the fresh rebuild, to justify the fully tested and validated tier (otherwise the ceiling is at most analysed on a live system).

Comment intake: the single prior github-actions[bot] BLOCK raised the identical A3/rule-4 finding. Re-derived against the CURRENT body (head 39feac904044): the finding still reproduces — the body still claims fully tested and validated, still pastes only sibling-repo output, and still describes the consumer A/B without pasted output. Disposition: verified-blocking.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 39feac904044 (branch: main)

Security screen: PASS — single new config file, no secrets/exfiltration, no scope mismatch, strengthens the CI gate. No T1–T4 findings.

Checklist: All applicable rules PASS or NA.

Comment intake: Both prior github-actions[bot] BLOCKs raised the same A3/rule-4 finding (sibling-repo output pasted, consumer A/B described without output). Re-derived against the CURRENT body (head 39feac904044): the finding no longer reproduces — the body now pastes this repo's own charly box validate output (exit 0) and the malformed-provider failure, and no longer describes an unrun consumer A/B test. Disposition: stale-superseded for both.

Placement: CORRECT — the repo declares its own shape at a schema version its own pinned CI charly can read; core's project-less contract is untouched.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 30, 2026 05:56
@github-actions
github-actions Bot merged commit 102b214 into main Aug 30, 2026
2 of 3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 30, 2026
@aitrawog
aitrawog deleted the fix/root-manifest-gates-the-candy branch September 25, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant