Skip to content

ci: rename the Demo rules workflow to Reference corpus - #536

Merged
theCodeDrift merged 1 commit into
mainfrom
ci/reference-corpus-rename
Oct 19, 2026
Merged

theCodeDrift merged 1 commit into
mainfrom
ci/reference-corpus-rename

Conversation

@theCodeDrift

Copy link
Copy Markdown
Member

The Demo rules check outlived the taskless demo command (#87689c4), so its name no longer says what it guards. These rules are now the conformance corpus published as @taskless/cli/reference.json, and this workflow is the only place their fixtures execute: test/reference.test.ts checks the payload matches the asset trees, but never runs the rules. It stays as a smoke test, under a name that says so.

Renamed

  • .github/workflows/demo-rule.yml → reference-corpus.yml, workflow and job named Reference corpus
  • packages/cli/assets/demo-{sg,vale,runtime} → reference-{sg,vale,runtime}
  • src/rules/demo/manifest.ts → src/rules/corpus/manifest.ts, DEMO_MANIFESTS → CORPUS_MANIFESTS, DemoManifest → CorpusManifest
  • demo:manifests / print-demo-manifests.ts → corpus:manifests / print-corpus-manifests.ts

Unchanged on purpose: every asset file's bytes, and so reference.json and the runtime rule's signature. Asset directory names never appear in the payload; a regeneration produced no content diff. No changeset: nothing a consumer receives changes.

Verified: typecheck, lint, the full CLI suite (2390 tests), and the workflow's own staging, validate and verify --dangerously-run-scripts steps replayed locally against the renamed paths: all three rules ran and passed.

The demo command is gone. What these rules are now is the conformance
corpus published as @taskless/cli/reference.json, and this job is the
only place their fixtures execute. Rename the workflow, its job, the
asset trees (demo-* -> reference-*), the manifest module (rules/demo ->
rules/corpus) and the manifest script so the check says what it guards.

No asset bytes change, so reference.json and the runtime rule's
signature are unaffected.
@theCodeDrift
theCodeDrift merged commit a21b18d into main Oct 19, 2026
8 checks passed
@theCodeDrift
theCodeDrift deleted the ci/reference-corpus-rename branch October 19, 2026 22:17
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