luria.yaml describes the record: its shape, its rules, and what each
command produces from a given tree. The workflows describe the running of
it: when a command runs, on what machine, on what trigger, with how much
logging. The test: would the setting change if you ran the same command by
hand? If yes, it is CI’s. If no, it is the record’s.
Why it matters: a schedule in luria.yaml is a second scheduler, a field
that a cron has to read and a --due flag has to evaluate. It is also
invisible to anyone who looks for schedules where schedules live, in the
workflow files. A rule in a workflow is the opposite mistake: the record
behaves differently when run by hand, so a contributor’s local lint passes
what CI fails.
Applied here:
- Collection cadence is a cron per directory in the docs workflow
(
luria collect --dir …). What collecting a journal means (closed periods only, the retro hold) isluria.yaml’s (ADR-145). - The site build’s timing is the
timingsinput ofactions/siteand theLURIA_TIMINGSenvironment variable, not a config key. It changes how much a run reports, not what it produces. lint.fail_onis configuration, because it changes what a correct record is: a local run and a CI run must agree on it.
The corollary that costs something: a CI setting is per repository, so every
adopter restates it. That cost is paid in the template workflows luria ships,
not by moving the setting into luria.yaml. The template is where a project
starts from, and its own copy is where it changes the cron.