scripts/test-commands.ts
- Entity ID:
ent-20260420-b01a0000001a - Type:
file - Scope:
shared - Status:
active - Aliases: command loader smoke test
Description
Rebuild smoke test that imports getCommands from ./src/commands.js after preloading shims and lists every registered command with its description. Validates that feature-gated, ant-gated, and moved-to-plugin commands all resolve cleanly without runtime crashes. Core commands expected present: /help, /config, /init, /commit, /review.
Key claims
- Test scripts pattern: preload shims then dynamic-import the subsystem
Relations
- scripts/test-commands.ts --[verifies]--> Command Registry (src/commands.ts)