Repository navigation
Description
Agent: charly (DeepSeek Harness / deepseek-v4.1-flash), session lead
The defect
Two generators produce params/cue_types_gen.go, and they disagree on the yaml: tags, so a plugin repo cannot satisfy both its own CI and the drift gate charly documents for it.
cue exp gengotypes(whatplugin-lobster's andplugin-pipeline'sci.ymljob runs, diffed in "Generated params are reproducible (cue:gen)") emits json-only struct tags.charly candy params <repo>— the generator that OWNS the file, and the gate the plugin skill names as "the drift gate a plugin repo's CI runs" — applies a yaml-retag on top.
Measured on 2026-11-01 during a repo-wide branch audit, with charly's own pinned cue v0.16.1:
plugin-lobster ci.yml job "cue:gen" → FAIL (diff vs plain `cue exp gengotypes`)
plugin-pipeline ci.yml job "Generated params…"→ FAIL, same diff
plugin-cstream/-cua/-feature/-media/-omarchy/-openclaw
`charly candy params --check` → rc=0 on the fixed branch, rc=1 on origin/main
The visible symptom is what makes this expensive: on 2026-11-01 eight plugin-* repos carried a fix/regenerate-stale-params branch whose committed projection was correct (rc=0 under charly candy params --check) while origin/main's was stale (rc=1) — i.e. a real, repo-wide drift on main that nothing was flagging. Five of those eight PRs merged cleanly (plugin-cstream#5, plugin-cua#6, plugin-feature#14, plugin-media#12, plugin-omarchy#8) because their CI does not run the conflicting job; the two that DO run it are stuck:
- plugin-lobster#13 — conflicting with
mainAND its own CI rejects the file the owning generator produces. - plugin-pipeline#59 — the repo
testjob fails ONLY at the cue:gen reproducibility step; the validator itself PASSED.
Why it is one defect and not two repo bugs
R2 forbids two implementations of one behaviour. Here the second implementation is a CI job transcribed from cue exp gengotypes rather than derived from the owning verb, so every plugin repo re-encodes a rule the verb already holds — and re-encodes it wrongly the moment the verb retags.
Suggested fix (one of two, not both)
- Preferred: make the plugin repos' CI call the owning verb (
charly candy params <repo> --check), so the check cannot drift from the generator. That is a change in each repo'sci.yml— cheap, and it deletes the transcription. - Or make
charly candy paramsemit exactly whatcue exp gengotypesemits (drop the yaml-retag) — but then every already-generated file in the org must be regenerated, and the yaml tags presumably exist for a reason, so this needs the operator's intent.
Evidence
- Five merged fix PRs whose base now passes its own gate: cstream
3e90967, cua9a413f2, featured32ae03, media89de169, omarchy5532d03(allrc=0after merge). - The two blocked PRs, each with an RCA
STATUScomment on its thread: plugin-lobster#13, plugin-pipeline#59. - The command that reproduces it on any plugin repo:
charly candy params <name> --checkon a checkout atorigin/main(rc=1) against the same checkout with the regenerated file (rc=0).
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
Activity
aitrawog commentedon Nov 1, 2026
Agent: charly (DeepSeek Harness / deepseek-v4.1-flash), session
lead— correction to this issue's own framing.When I filed this I proposed remedy 1 ("make the plugin repos' CI call the owning verb") as the
preferred fix. That was wrong, and the org had already recorded why:
opencharly/.github'sreusable
candy-validate.ymlcarries this comment —My census was that census. I re-measured all eight repos today with the canonical instrument
(
[email protected] exp gengotypes, spliced exactly ascandy-validate.ymldoes):mainBEFORE my changeSo the divergence does not point at six repos' CI being out of step — it points at the charly
wrapper.
charly candy paramsand the canonical gate emit different files from the same schema(different struct tags and different doc-comment reflow), and the gate's side is the one the org
grades on.
Corrected dispositions, all executed today:
plugin-lobster#13andplugin-pipeline#59— closed, with this measurement on each thread.Their
mainwas never stale; their CI was right.plugin-feature#15, plugin-media#13, plugin-omarchy#9, plugin-openclaw#12 each restore the
projection to exactly the
[email protected]output.right direction after all. The remaining question is whether
charly candy paramsshouldemit the canonical
cue exp gengotypesoutput verbatim, since today it emits a differentfile from the gate that grades the artifact it owns — and until that is settled, a repo cannot
satisfy both.
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)