원클릭으로
release
// Guide through the Cortex TMS release process — version bump, changelog, sync, tag, publish. Every step requires user approval.
// Guide through the Cortex TMS release process — version bump, changelog, sync, tag, publish. Every step requires user approval.
Implement an approved plan. Write code, tests, and docs following the sprint checklist in NEXT-TASKS.md.
Scaffold a new CLI command for Cortex TMS following the existing codebase patterns.
Research the codebase and create an implementation plan following Propose/Justify/Recommend. Use this before any feature, fix, or refactor.
Synchronize task files and source-of-truth documents. Update NEXT-TASKS.md, FUTURE-ENHANCEMENTS.md, README, and CHANGELOG to reflect current project state.
Run the full quality gate — tests, lint, build, and cortex-tms validate --strict.
| name | release |
| description | Guide through the Cortex TMS release process — version bump, changelog, sync, tag, publish. Every step requires user approval. |
| disable-model-invocation | true |
Guide the user through a Cortex TMS release.
Before starting, run the full quality gate:
pnpm test — must passpnpm run lint — must have 0 errorspnpm run build — must succeednode bin/cortex-tms.js validate --strict — must passIf any step fails, STOP and report. Do not proceed with a broken release.
Bump version — show the new version number and the command. Wait for approval.
npm version [patch|minor|major]
Sync version tags — update all version markers across docs.
node scripts/sync-project.js
Update CHANGELOG.md — draft release notes from commits since last tag. Show draft, wait for approval.
Commit release — show commit message, wait for approval.
Create git tag — show tag command, wait for approval.
git tag v[version]
Push — show push command, wait for approval.
git push origin main --tags
Publish to NPM — show publish command, wait for approval.
npm publish
Create GitHub release — draft release notes, wait for approval.
$ARGUMENTS