Skip to content

chore(sdlc): migrate quality_checks to the verbs map - #177

Merged
sksizer merged 1 commit into
mainfrom
chore/sdlc-yaml-verbs
Sep 26, 2026
Merged

sksizer merged 1 commit into
mainfrom
chore/sdlc-yaml-verbs

Conversation

@sksizer

@sksizer sksizer commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Restores a migration that was lost to a git reset --hard during the 0.7.1 release work.

The part that is worse than a stale key

quality_checks: is not a key in SdlcConfigSchema, and the schema is declared additionalProperties: false. loadConfig never throws — on a schema-invalid document it degrades to the all-defaults object, same as an empty file.

So the unknown key was not being ignored in isolation. It invalidated the whole document, which took lease_authority: origin down with it. The file has been inert, not merely out of date.

Changes

  • quality_checks: → verbs.check:, where consumers actually look (sdlc quality run, task-work Step 7, both through the resolveVerb cascade). Value is unchanged: just full-check.
  • setup-hooks: [] added. The empty list is load-bearing — per the schema's own description, absent falls back to setup, whose built-in default resolves to the wrong recipe in this workspace (the iron-log example's just setup). An explicit [] means nothing runs.
  • Comment now points at SdlcConfigSchema as the authoritative shape, and at /sdlc:find-verbs rather than the renamed /sdlc:find-quality-checks.

lease_authority: origin is unchanged and should now actually take effect.

Verification

Config-only; no code paths touched. just full-check is unchanged as the gate and CI runs it on this PR.

`quality_checks:` is not a key in SdlcConfigSchema, and the schema is
declared `additionalProperties: false`. `loadConfig` never throws — a
schema-invalid document degrades to the all-defaults object — so the
unknown key was not merely ignored, it voided the whole file. That took
`lease_authority: origin` down with it.

Moves the gate to `verbs.check` where consumers actually look for it
(`sdlc quality run`, task-work Step 7, both via the `resolveVerb`
cascade), and pins `setup-hooks: []`. The empty list is load-bearing:
absent falls back to `setup`, whose built-in default resolves to the
wrong recipe in this workspace.

Restores a migration that was lost to a `git reset --hard` during the
0.7.1 release work.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ontogen with  Cloudflare Pages  Cloudflare Pages

Latest commit: 61ea70e
Status: ✅  Deploy successful!
Preview URL: https://2444fd9a.ontogen.pages.dev
Branch Preview URL: https://chore-sdlc-yaml-verbs.ontogen.pages.dev

View logs

@sksizer
sksizer merged commit 3c8a649 into main Sep 26, 2026
2 checks passed
@sksizer
sksizer deleted the chore/sdlc-yaml-verbs branch September 26, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant