task
| Served by | plugin-task |
| Placement | compiled-in (in-process) |
task is a command word served by the plugin-task plugin candy. This plugin is listed in charly/charly.yml’s compiled_plugins:, so its providers are compiled into the charly binary and register in-process.
About the plugin that serves it
Section titled “About the plugin that serves it”The generic declarative TASK runner for charly — the replacement for a
Taskfile. Serves three task capabilities plus five generic maintenance
verbs. Task capabilities: kind:task (a named, host-native, REUSABLE plan
authored as a task: node in charly.yml, using the SAME #Step/#Op grammar a
candy’s plan uses), command:task (charly task [list] [<name>] [--dry-run] [--json] [--param k=v] [--all]), and verb:task (compose a declared task
into a candy/box/task plan). The engine reuses kit.RunPlan + a
checkkit.VerbResolver over kit.ShellExecutor{} — the SAME engine
candy/plugin-check drives — so there is no second execution engine. Any task
a repository needs (build, test, lint, release, verify, notify) is a task
entity; the task body is THIS plugin’s CUE (schema/task.cue: #Task,
host-validated against #TaskValue, which the kind capability declares as
its InputDef). The schema imports the contract module for the SHARED
#Step/#Op grammar, #StrVal, #Duration, #EntityRef and
#TaskParamSpec, so a task’s plan: cannot disagree with a candy plan’s.
Five GENERIC, domain-neutral MAINTENANCE verbs replace repository shell
scripts, each parameterized by the repo’s own data (paths/pairs/pins) so the
plugin stays reusable by any repository: verb:git-submodules (status/ff/
verify/currency .gitmodules pins, incl. the EDGE comparison of a repo’s pins
against a pinned checkout’s gitlinks), verb:file-parity (check/sync that
paired files are byte-identical), verb:splice-region (splice a marked
region from a fragment into a target), verb:module-pins (adopt a
source go.mod’s require pins across every module a glob matches, then tidy),
and verb:prune (garbage-collect MERGED-UPSTREAM session worktrees +
branches across the project root and every submodule — the mechanical
reaper the close-out contract’s per-session prose never provided; a branch
is pruned only when its merge is PROVEN, and a CLOSED/abandoned PR is pruned
only under an explicit opt-in).
COMPILED-IN by default (the command needs the host’s loaded project over the reverse channel; the maintenance verbs are host-native and act on the checkout); the kind/verb capabilities also serve out-of-process.
charly --help prints the command tree, including where task is invoked and under which parent.

