The --yes guard counted the conditionally-skipped seederTier prompt as a
missing required value, so `create <id> --architecture polling ... --yes`
failed even though seeders only apply to websocket plugins. The guard now
only requires seederTier when the resolved architecture is websocket.
This bug shipped in 1.3.0 and was missed in manual UAT (the polling case
was exercised interactively, not with --yes). The new test suite caught it.
Also in this change:
- Add packages/wwv-cli/test/create.test.mjs: 9 integration tests that spawn
the built CLI into temp dirs and assert the scaffolded tree (polling vs
websocket, community vs private seeder tier, billboard/model/point render,
--core, kebab-id naming, icon mapping, and the --yes / invalid-flag /
duplicate-dir failure guards). Uses Node's built-in test runner, no new deps.
- Add .github/workflows/cli.yml: path-scoped to packages/wwv-cli, runs
build (tsc) + the integration tests. Fast versus the full app suite.
- Add paths-ignore for packages/wwv-cli to the heavy app workflows (ci,
playwright, docker-publish, test-setup-scripts, test-local-dev push) so a
CLI-only change runs just cli.yml instead of the whole suite.
- Bump CLI to 1.3.1 and add a test script.
The 'wwv create' command was fully interactive (prompts-only) and the
plugin-implementer agent's documented '--local' flag did not exist, so
agents fell back to slow manual scaffolding.
- Add a positional [pluginId] arg plus a flag for every prompt
(--display-name, --description, --category, --architecture,
--seeder-tier, --render-style) and a --yes guard that fails fast
instead of hanging when a required value is missing. Any omitted
flag still prompts, so interactive use is unchanged.
- Fix seeder output to the real community/private layout:
local-seeders/<tier>/packages/<name>/{package.json,tsup.config.ts,
src/index.ts}, exporting the canonical { name, cron, fn } shape with
name === plugin id (kebab-case) per ADR-0002. Previously it wrote a
bare seeder.mjs to the wrong path with an unusable context.emit stub.
- Update plugin-implementer.md: drop the bogus --local flag, document
the flag-based invocation and the correct seeder location, and note
the CLI build step for fresh worktrees.
- Bump CLI to 1.3.0 and fix the stale hardcoded --version string.
- feat(cli): Add --org flag to publish to allow publishing under custom NPM scopes (Minor).
- feat(cli): Allow publish command to run from project root via path resolution (Minor).
- feat(cli): Change create default scaffolding to local-plugins/ instead of packages/ (Minor).
- feat(cli): Add --core flag to create to override default and scaffold into packages/ (Minor).
- docs: Update tutorial, CLI readmes, and agent architecture workflows with new commands (Fix).