Repository navigation
fix(params): regenerate the stale projection - #12
Conversation
`charly candy params plugin-media --check` reports that candy/plugin-media/params/cue_types_gen.go does not match what candy/plugin-media/schema generates. Regenerated by that verb, diff 5/5, all of it the retag step adding yaml: struct tags beside the json: ones. Gates: charly candy params plugin-media --check -> is current; go build ./... -> rc=0. Assisted-by: dsh deepseek-v4.1-flash (fully tested and validated)
Review — PASSWhat the diff actually isOne file,
That matches the body's claim exactly ("the older Correctness
Honesty of the body
Tests
Security
Scope & cleanliness
Comments
Verdict rationaleThe change does exactly what the body says, the counts and file path are accurate, the body's evidence claims are internally consistent and not overstated, the governing drift check is the correct test and is pasted as failing-then-passing, and there is nothing to fault on security or cleanliness. No blocks. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSWhat the diff isOne file,
The JSON half of every tag is byte-identical; only a Correctness
Honesty of the body
Tests
Security
Scope & cleanliness
Comments dispositioned
Verdict rationaleThe diff does exactly what the body claims; the counts, path, and commits are accurate; the body's evidence claims are internally consistent and appropriately bounded; the governing drift check is the correct test and is presented as failing-then-passing; and there is nothing to fault on security, scope, or cleanliness. No blocks. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
charly candy params plugin-media --check— the drift gate this repo's candy binds and its CI runs — FAILS onmain: the committed projection still carries the olderjson:-only struct-tag shape, while the pinnedgenerator (
charly's provisionedcuev0.16.1,cue exp gengotypes) emits bothyaml:andjson:tags. This PR is the regeneration: the committed projection is replaced with exactly whatthe schema generates, tag for tag.
No hand edits: the file is the generator's output, byte for byte.
The branch was preserved during a branch/worktree backlog cleanup and is being upstreamed unchanged: its
own commit is
bafd144848fcc6b8c2a937cf63517418303e69a9— authored before this session, never amended, rewritten or force-pushed. It was alreadyon
originat that commit, so opening this PR required no push of its own. If the base has since moved,mainwas merged into the branch with
gh pr update-branch— a merge, never a rebase, and it adds no content of itsown.
How tested
Own gate, PR head —
rc=0:Negative control, base —
rc=1, which is the defect this PR removes. The base-side command runs againstorigin/main's blob (8d77fa9), because the localcheckout sits on an older pin and the question is about the BASE, not the pin.
Repo-declared build gate (
AGENTS.md), same head — allrc=0:Rulebook compliance
git-workflow), and this repo's ownAGENTS.mdread first: itsBuild / validate / testsection is the gate pasted above.rc=1is the defect this PR removes, and it is fixed here rather than filed.candy/plugin-media/schema/*.cueby the one generator (charly candy params); nothing hand-written is added beside it.git statuswas read first; the branch already stood at this exact SHA onorigin, so nothing was pushed, amended, rewritten or force-pushed;mainis untouched and no other session's work is edited.rc=1at the base,rc=0at the head — both pasted), and the emitted artifact is validated at its actual boundary: the same generator that writes the file is the one that judges it.plan:).disposable: truebed was run in this round. For a generated-projection regeneration the owning gate is the drift check pasted above; this body claimssyntax check only, not a live validation.Change classification
Generated artifact; no hand edits.
candy/plugin-media/params/cue_types_gen.gois produced bycharly candy params plugin-mediafromcandy/plugin-media/schema/*.cue, and this PR commits the generator's current output. There is no schemachange, no capability change, no label change and no runtime dependency.
Rollback:
git revertthe commit on this branch — the previous projection returns and the drift gate goes backto failing, which is precisely the state
mainis in today. Nothing to migrate, no data, no consumers to coordinate.Assisted-by: DeepSeek Harness deepseek-v4.1-flash (syntax check only)