Repository navigation
feat(task): replace the Taskfile with the charly task surface - #158
Conversation
spec gains a root charly.yml declaring the generic kind:task surface
(cue-gen, wire-gen, proto-gen, bootstrap-cue, bootstrap-protoc) served by
candy/plugin-task, and deletes Taskfile.yml. All in-tree references are
rewired to the new 'charly task <name>' verbs (wrap-tolerant sweep) and the
generated files regenerated with zero drift. The bootstrap-protoc task keeps
the deleted Taskfile's protoc-gen-go-grpc version assertion (v1.3.0, required
for the SupportPackageIsVersion7 API). Tasks set GOWORK=off (spec is a
standalone module) and use lowercase shell locals (uppercase ${NAME} is the
plan grammar's check-variable namespace, where an unresolved ref SKIPs).
Review — BLOCKHead SHA: Change class: config / maintenance-surface cutover (new Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
schema/README.md's 'no superproject cue:gen wrapper' sentence now cites the merged charly#452 that removed taskfiles/Cue.yml and records the consumer-liveness check against charly's origin/main (0 matches).
Review — PASSHead SHA: Security screen: PASS — no T1–T4 findings: no secrets/tokens, no new network egress (the cue/protoc URLs + SHA-256 pins are byte-identical to the deleted Checklist: All applicable rules PASS or NA. NA (one line each): ADE/RDD — no candy/box authored (spec declares none); SDD wire/CUE-source — Comment disposition: 5834964508 ( Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Complete the generic
charly taskcutover in the spec contract module: replaceTaskfile.ymlwith a rootcharly.ymldeclaring thekind: taskmaintenancesurface served by
candy/plugin-task, and sweep every in-tree reference to theold Taskfile task names.
This PR supersedes the auto-closed #157 (5-BLOCK auto-close); it carries the
final content as ONE content commit.
This is plan DAG step 1/§4 of the org-wide Taskfile→
charly taskprogram. Tasksdeclared:
cue-gen,wire-gen,proto-gen,bootstrap-cue,bootstrap-protoc.No
#SchemaVersionbump: the change removes no authored wire surface and adds nokind (the
taskkind already landed in #153). No migration entry.Consumer-liveness check for the rename. The spec task names (
cue:genetc.)had one cross-repo consumer: the superproject's
taskfiles/Cue.ymlwrapper thatchained
spec/Taskfile.yml. That wrapper was removed by merged charly#452(2026-08-29), and charly's
origin/mainhas notaskfiles/Cue.yml:So the rename breaks no live consumer;
schema/README.mdnow cites that PR.How tested
All commands run with the task binary built from the post-cutover pin
(
charly/bin/charly,2026.268.0651), which compilescandy/plugin-taskin.The spec manifest loads and its task surface resolves — this is the evidence
that the CHANGED
charly.ymlis valid and its tasks register (the spec repodeclares no boxes, so this is
task list, notbox validate):charly task cue-genexecutes the full chain live (bootstrap → wire → gen →reproducibility check), and the regeneration is drift-free:
Module suite + build + gofmt clean (GOWORK=off on the final tree):
R5 sweep — tree-wide AND wrap-tolerant. The names can split across a wrapped
line, so a line-based grep is not enough; the pattern is anchored so the NEW
charly task <name>commands do not match. Scope: all tracked files excludingCHANGELOG/(history) and_gen.go(regenerated, comment-only renames):The diff rewires:
charly.yml(+ new),Taskfile.yml(deleted),README.md,schema/README.md,schema/task.cue, theschema/*.cueprose,hostenv/hostdistro.go,hostenv/distro_traits_test.go,internal/schemagen/main.go,internal/wiregen/main_test.go, thespec/*.gocomments, and the regenerated
spec/*_gen.goheaders.Rulebook compliance
Taskfile.ymldeleted; every in-treereference rewired in the same commit, and the generated files regenerated so
their headers propagate.
protoc-gen-go-grpc --version == 1.3.0assertion (required for theSupportPackageIsVersion7API) that a first pass had reduced to an existencecheck.
charly task …form; thecharly.ymlreproducibility comment now reads
charly task proto-gen, nottask proto-gen.candy/plugin-taskandkit.RunPlan; no second runner.real module; the reproducibility check runs the real
TestGenReproducible.Change classification
charly.ymladded,Taskfile.ymlremoved, prose sweeps + regenerated generated-file comments).No authored wire surface removed, so no schema-version bump or migration entry.
charly task list+charly task cue-genexecuted liveend to end +
go test ./...+go build ./...+gofmt -lon the final tree.fully tested and validated.Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)