Repository navigation
fix(ci): drop the dead cue:gen step left by the params/schema removal - #17
Conversation
PR #16 deleted `candy/plugin-review/schema/review.cue` and the generated `params/cue_types_gen.go` (the removed `verb:pr` typed input). Its sweep was scoped to `candy/plugin-review/`, so it missed the repo-root CI workflow, which still regenerated params from the deleted schema: cat candy/plugin-review/schema/review.cue cat: ...: No such file or directory -> the `test` job failed There is no schema and no generated params in this repo now, so the cue:gen reproducibility step (and the now-unneeded pinned cue install) is removed. The remaining gate is gofmt/vet/test, which is the change class for this plugin. The stale "incl. the full-loop e2e" label is dropped (there is no loop). Full-repo sweep for the removed surface returns no live hit (schema/review.cue, cue_types_gen.go, candy/plugin-review/params, verb:pr, AI_REVIEW_MAX_TURNS, REVIEW_PLAN_PATH, review-plan.yml, --plan). Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. The ENGINE sent no generation bound ( Durable remedy.
A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Diagnostics (tail of the review log) |
Summary
PR #16 removed
candy/plugin-review/schema/review.cueand the generatedparams/cue_types_gen.go(the deletedverb:prtyped input), but its stale-reference sweep was scoped tocandy/plugin-review/— so it missed the repo-root CI workflow, which still regenerated params from the deleted schema. Thetestjob then failed onmain:This repo now has no CUE schema and no generated params, so the cue:gen reproducibility step (and its pinned
cueinstall) is removed. The change-class gate for this plugin isgofmt/vet/test, which remains. The staleincl. the full-loop e2elabel is dropped (there is no tool loop).How tested
The changed path executed live. This PR's own
testjob ran the post-change workflow and passed:That run IS the changed path: the deleted cue:gen step no longer executes, and the job is green (before this fix it failed on the deleted schema). The
validate / validatecheck is the org gate, not this repo's CI.Full-repo sweep for the removed surface (the miss was scanning only the candy dir):
Both surviving hits are prose, not live references:
cue:genhit is the rulebook's own generic gate instruction, pasted verbatim:That is part of R11(e) (the CUE-source mandate) in the review rulebook — a rule the validator applies to any CUE-changing PR, not a reference to this repo's removed schema. It is kept.
--planhit is a comment describing what the refactor(review): prime the full PR context + bounded tool loop; embed the prompt; env-driven config #16 rewrite removed:Neither is a live reference to the deleted surface.
yq e '.' .github/workflows/ci.yml→ valid.Rulebook compliance
/charly-internals:git-workflowloaded before acting.candy/plugin-review/) excluding the consumer (the root CI workflow).git statusinspected;fix/branch; no force-push; no direct push tomain.testjob (the changed path) is green.N/A— this repo emits no generated artifact; the change removes a generator step.N/A— no binary is built by this repo.testjob itself, verified green above.Change classification
testjob (the changed path) + the full-repo sweep +yq(all pasted).analysed on a live system— the changed path (thetestjob) ran live and passed; the complete fresh-rebuild R10 is the org validator's own gate, which is separate.Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)