Skip to content

feat(cli): drop the demo command - #526

Merged
theCodeDrift merged 1 commit into
mainfrom
drop-demo-command
Oct 16, 2026
Merged

theCodeDrift merged 1 commit into
mainfrom
drop-demo-command

Conversation

@theCodeDrift

@theCodeDrift theCodeDrift commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Removes taskless demo. taskless onboard now writes rules for the project and reports what they found, which shows far more than a fixed example rule did.

What changes

  • Deletes commands/demo.ts, rules/demo/rule.ts (the ?raw embed of the example rules into the bundle), and test/demo-command.test.ts.
  • Unregisters demo from index.ts and SUBCOMMAND_NAMES, and drops it from the agent index's unlisted-command set along with the tests that guarded that.
  • Rewords comments that still described demo as live (demo-rule.yml, print-demo-manifests.ts, eslint.config.js, the dogfood scaffold test).

What stays, deliberately

The assets/demo-* rules are kept. They are the source of the published @taskless/cli/reference.json conformance corpus, so removing them would break that export, which is a separate decision from dropping the command.

reference.test.ts used to check the corpus against the bundle's embedded copy. Now both it and scripts/write-reference.ts read the assets through one shared readReferenceInputs() in rules/demo/manifest.ts, so "the committed file is current" is a comparison against a fresh regeneration. The Demo rules workflow still runs, as the only place the corpus rules' own fixtures execute. reference.json itself is byte-for-byte unchanged.

Release note

None. demo was never public API: it was unlisted from the agent index and undocumented, so there is nothing for a consumer to cross.

Checks

pnpm typecheck, pnpm lint, and the CLI suite (128 files, 2361 tests) pass locally on the rebased branch.

taskless onboard now writes rules for the project and reports what they
found, which supersedes a fixed example rule. The demo assets stay: they
are the source of the published reference.json conformance corpus, now
read from disk by both the generator script and its test.
@theCodeDrift
theCodeDrift merged commit 87689c4 into main Oct 16, 2026
8 checks passed
@theCodeDrift
theCodeDrift deleted the drop-demo-command branch October 16, 2026 23:44
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