Implementation:8beeeaaat Touchdesigner mcp version policy
| Knowledge Sources | |
|---|---|
| Domains | Versioning, Release_Management |
| Last Updated | 2026-10-28 22:13 GMT |
Overview
Reference document defining the two-axes version policy — the package axis (always bumps) and the API axis (bumps only on contract changes) — with the decision procedure, file lists, bump steps, and revert procedure.
Description
The version-policy.md document in `.claude/skills/prepare-release/references/` is the canonical reference for the two-axes versioning discipline. It defines which files belong to each axis, the decision procedure for whether the API axis moves, the exact bump procedure (build MCPB first, then `npm version`), the revert procedure (restore three API files + set `expectedApiVersion` back), and the known `server.json` SHA256 mismatch issue.
This is a Pattern Doc — it documents a decision procedure, not an API.
Usage
Read this document when:
- Deciding whether the API version should bump in a release (Step 3 of Release Preparation).
- Understanding which files are touched by each version axis.
- Following the exact bump and revert procedure.
- Understanding the known `server.json` SHA256 mismatch.
Code Reference
Source Location
- Repository: touchdesigner-mcp
- File: .claude/skills/prepare-release/references/version-policy.md
- Lines: L1-132
Key Tables
The two axes:
| Axis | What it means | When it moves |
|---|---|---|
| Package version | npm package / MCPB bundle / registry release | Every release |
| MCP API version | Compatibility contract (Node ↔ TD Python) | Only when server/API contract changes |
Files touched by each axis:
| Axis | Script | Files |
|---|---|---|
| Package | syncMcpServerVersions.ts | `package.json`, `mcpb/manifest.json`, `server.json` |
| API | syncApiServerVersions.ts | `src/api/index.yml`, `td/modules/utils/version.py`, `pyproject.toml`, `package.json#mcpCompatibility` |
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| Unreleased diff | git diff | Yes | `git diff <last-tag>..HEAD --stat` |
Outputs
| Name | Type | Description |
|---|---|---|
| Decision | enum | "API axis moves" or "API axis stays put" |
| Bump level | enum | patch / minor / major (package axis always) |
Usage Examples
Decision Procedure
# Inspect the unreleased diff
git diff $(git describe --tags --abbrev=0)..HEAD --stat
# If changes touch src/api/**, src/features/tools/**, td/modules/mcp/**,
# src/server/**, src/tdClient/**, or src/transport/** → API axis MOVES
# If changes are only deps, docs, tests, .claude/**, refactors → API axis STAYS
Revert Procedure
# After npm version, if the API axis stays:
git checkout HEAD -- src/api/index.yml td/modules/utils/version.py pyproject.toml
npm pkg set mcpCompatibility.expectedApiVersion=<OLD_API_VERSION>
# Verify
grep -H version src/api/index.yml pyproject.toml
grep MCP_API_VERSION td/modules/utils/version.py