Skip to content

feat: add ai-context, tracking-plan, and MCP episode call commands - #30

Merged
ricfang merged 5 commits into
mainfrom
sync/20261117-developer-cli
Nov 20, 2026
Merged

ricfang merged 5 commits into
mainfrom
sync/20261117-developer-cli

Conversation

@ricfang

@ricfang ricfang commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

BEGIN_COMMIT_OVERRIDE
feat(ai-context): add amp ai-context get and set for organization and project AI context

feat(tracking-plan): add amp tracking-plan export and import for tracking-plan CSV files

feat(tracking-plan): filter tracking-plan export by event name with --event and --events-file

feat(mcp-analytics): add amp mcp-analytics calls list to list the tool calls in an MCP episode

feat(guides,surveys): add --include-translations to reads and accept translations on update

fix(cli): refuse --dry-run on commands that cannot honor it instead of running the real request
END_COMMIT_OVERRIDE

Upstream: b336d1711bd655e30eb81cacd84d34545117fbfd
Checks: pnpm check:developer-cli-external-ready, sync --verify


Note

Medium Risk
Adds taxonomy import/export and context-mutation APIs plus a dry-run behavior fix; mistakes could change tracking data or run unintended writes, though validation and branch-only imports limit blast radius.

Overview
This PR expands the Developer API OpenAPI bundle and aligns the CLI with new surfaces: organization/project AI context, tracking-plan CSV export/import (including repeatable --event / --events-file filtering on export), MCP episode tool-call listing, product releases read APIs, and richer guides/surveys contracts (localization, content_v2, translation merge on PATCH).

User-facing CLI work adds amp ai-context get/set, amp tracking-plan export/import with bespoke flag parsing in args.ts, --include-translations on guide/survey reads and translation payloads on update, and amp mcp-analytics calls list. Docs now document the translation workflow and clarify that --dry-run only runs on supported commands; unsupported uses error instead of executing the real request.

Dev tooling bumps Vitest 4 → 5 and tightens a few auth/profile tests around ANSI stripping.

Reviewed by Cursor Bugbot for commit 5de6266. Bugbot is set up for automated code reviews on this repo. Configure here.

BEGIN_COMMIT_OVERRIDE
feat(ai-context): add amp ai-context get and set for organization and project AI context

feat(tracking-plan): add amp tracking-plan export and import for tracking-plan CSV files

feat(mcp-analytics): add amp mcp-analytics calls list to list the tool calls in an MCP episode

feat(guides,surveys): add --include-translations to reads and accept translations on update
END_COMMIT_OVERRIDE

Upstream: 10da21649b07a254a02cc67a2e5912be3f7372a9
Checks: pnpm check:developer-cli-external-ready, sync --verify

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Comment thread src/generated/cli-manifest.ts Resolved
Comment thread src/tracking-plan-commands.ts Resolved
Richard Fang and others added 2 commits November 18, 2026 13:54
Upstream: 64ab57e01208e99c22c7bd7e816142db94538ee4

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
… tracking-plan

Upstream: 1c88c0c4d709cca56074b3aa2a0b063454ebf4fd

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Comment thread src/help.ts Resolved
…xt summaries in help

Upstream: 2e1ab555adbdbe66fb6f032929f12b938288bfca

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0183e89. Configure here.

Comment thread src/tracking-plan-commands.ts Resolved
Comment thread openapi/bundled/openapi.bundled.json Resolved
Upstream: b336d1711bd655e30eb81cacd84d34545117fbfd

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@chanaka-amplitude chanaka-amplitude left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@chanaka-amplitude chanaka-amplitude left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ricfang
ricfang merged commit 2907d13 into main Nov 20, 2026
3 checks passed
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.

2 participants