Skip to content

fix: decouple command contract from release version#97

Merged
corwinm merged 1 commit into
mainfrom
fix/remove-cli-version-contract
Jul 19, 2026
Merged

fix: decouple command contract from release version#97
corwinm merged 1 commit into
mainfrom
fix/remove-cli-version-contract

Conversation

@corwinm

@corwinm corwinm commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • removes the package release version from the generated CLI command contract
  • bumps the command contract schema from version 1 to version 2
  • keeps runtime arashi --version sourced from package.json
  • adds regressions proving contract output does not change when only the runtime release version changes

Why

Semantic-release changes package.json in a skipped release commit. Because the command contract duplicated that version, every release made the contract stale even when the command surface was unchanged. The next unrelated PR then failed the freshness gate.

Related coordination

Validation

  • pnpm run format
  • pnpm run lint — passes with existing warnings only
  • pnpm run typecheck
  • pnpm run schema:check
  • pnpm run contract:check
  • pnpm run test — 969 passed, 1 skipped
  • pnpm run build
  • built arashi --version smoke check — 1.20.1
  • independent review — no blocking findings

@corwinm
corwinm merged commit 2c01ce7 into main Jul 19, 2026
9 checks passed
@corwinm
corwinm deleted the fix/remove-cli-version-contract branch July 19, 2026 00:16
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