TASKS
constTASKS:Record<string,TaskDef>
Defined in: cli/astromech/src/registry/registry.ts:33
The task registry — how each task runs locally, without GitHub
Actions. holocron run <task> and holocron run ci resolve against this;
adding a task here gives every repo that task.
Keyed by the flat, verb-first id (test:unit, lint:code, build,
deploy-preview), the one spelling of a task in the CLI (spec
ci-flat-task-vocabulary, SPEC-0064, epic #1612). A colon means “member of
the suite named before it”: test, lint, scan,
validate and measure are suites, declared here by the suite field of their leaves
and never ids of their own. A hyphen is part of a verb phrase and implies no
suite. The old dotted names (verification.unitTests, …) are accepted for a
window through LEGACY_NAMES and still name the generated workflow
files, turbo tasks and package.json scripts until the later phases move
those (see legacyName).
Every other artifact (KNOWN_TASKS, CI_ORDER, the suites) derives from
these keys rather than hand-duplicating them — including the GitHub App
(#679), which imports this same table for config-schema validation.
Declared order is run order: a suite runs its members in the order they appear here.
Task names are an intent-facing vocabulary, not tool names —
eslint/vitest/tsdown/… stay internal to this file and the configs/
folder.
Spec: .notes/ci-flat-task-vocabulary.spec.md, and
docs/wiki/specifications/tech-astromech-task-runner.spec.md (epic #581).