Skip to content

chore(cli): align agent manifest with bin.ts (plan/apply/verify, capability flags)#356

Merged
kelsonpw merged 1 commit intomainfrom
omnara/cli-help-audit
Apr 29, 2026
Merged

chore(cli): align agent manifest with bin.ts (plan/apply/verify, capability flags)#356
kelsonpw merged 1 commit intomainfrom
omnara/cli-help-audit

Conversation

@kelsonpw
Copy link
Copy Markdown
Collaborator

@kelsonpw kelsonpw commented Apr 29, 2026

Summary

Audit follow-up to #310 and #354. The hand-maintained `agent-manifest.ts` had drifted from the actual CLI surface that `bin.ts` implements, so agents calling `amplitude-wizard manifest` were getting an out-of-date contract.

What was missing:

Also extends `agent-manifest.test.ts` with three new assertions (capability-matrix flags, MAX_TURNS env, plan/apply/verify commands + the `--plan-id` on `apply`) so this kind of drift fails fast next time someone adds a flag without updating the manifest.

cc @amplitude/growth

Test plan

  • `pnpm vitest run src/lib/tests/agent-manifest.test.ts` — 17 passed (was 14, +3 new)
  • Full suite via pre-commit hook — 1914 passed
  • After merge, run `npx @amplitude/wizard manifest | jq '.commands[].command, .globalFlags[].name, .env[].name'` and confirm plan/apply/verify, --yes/--auto-approve/--force, and AMPLITUDE_WIZARD_MAX_TURNS all appear

🤖 Generated with Claude Code


Note

Cursor Bugbot is generating a summary for commit 204ca6d. Configure here.

…ify + capability-matrix landings

The hand-maintained agent-manifest.ts had drifted from the actual CLI
surface that bin.ts implements. Agents calling `amplitude-wizard
manifest` to discover the available verbs would not see plan/apply/
verify, the capability-matrix flags, or AMPLITUDE_WIZARD_MAX_TURNS.

- Add plan, apply, verify to commands (with --plan-id on apply).
- Add --yes, --auto-approve, --force to globalFlags. Reword --ci so it
  no longer mis-claims --yes as an alias — they're now distinct
  capability-gate flags per the matrix from #254.
- Add AMPLITUDE_WIZARD_MAX_TURNS to env (#291).
- Extend agent-manifest.test.ts with three new assertions covering the
  added entries so future drift fails fast.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kelsonpw kelsonpw requested a review from a team as a code owner April 29, 2026 01:29
@github-actions
Copy link
Copy Markdown
Contributor

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci django
  • /wizard-ci fastapi
  • /wizard-ci flask
  • /wizard-ci javascript-node
  • /wizard-ci javascript-web
  • /wizard-ci next-js
  • /wizard-ci python
  • /wizard-ci react-router
  • /wizard-ci vue

Test an individual app:

  • /wizard-ci django/django3-saas
  • /wizard-ci fastapi/fastapi3-ai-saas
  • /wizard-ci flask/flask3-social-media
Show more apps
  • /wizard-ci javascript-node/express-todo
  • /wizard-ci javascript-node/fastify-blog
  • /wizard-ci javascript-node/hono-links
  • /wizard-ci javascript-node/koa-notes
  • /wizard-ci javascript-node/native-http-contacts
  • /wizard-ci javascript-web/saas-dashboard
  • /wizard-ci next-js/15-app-router-saas
  • /wizard-ci next-js/15-app-router-todo
  • /wizard-ci next-js/15-pages-router-saas
  • /wizard-ci next-js/15-pages-router-todo
  • /wizard-ci python/meeting-summarizer
  • /wizard-ci react-router/react-router-v7-project
  • /wizard-ci react-router/rrv7-starter
  • /wizard-ci react-router/saas-template
  • /wizard-ci react-router/shopper
  • /wizard-ci vue/movies

Results will be posted here when complete.

@kelsonpw kelsonpw merged commit 2b6006e into main Apr 29, 2026
12 checks passed
@kelsonpw kelsonpw deleted the omnara/cli-help-audit branch April 29, 2026 01:39
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