chore: Bump version to 0.2.5 and add version bump policy

- Bumped CLI version from 0.2.4 to 0.2.5
- Added rule to CLAUDE.md: ANY change to cli/ requires a version bump
- Uses semantic versioning (patch for fixes, minor for features, major for breaking)
- Auto-update ensures users get latest version immediately

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Sprite 2026-02-10 07:24:28 +00:00
parent 31c2454d59
commit 875e9adb6b
2 changed files with 13 additions and 1 deletions

View file

@ -236,6 +236,18 @@ macOS ships bash 3.2. All scripts MUST work on it:
- Run tests with `bun test`
- Use `import { describe, it, expect, beforeEach, afterEach, mock, spyOn } from "bun:test"`
## CLI Version Management
**CRITICAL: Bump the version on every CLI change!**
- **ANY change to `cli/` requires a version bump** in `cli/package.json`
- Use semantic versioning:
- **Patch** (0.2.X → 0.2.X+1): Bug fixes, minor improvements, documentation
- **Minor** (0.X.0 → 0.X+1.0): New features, significant improvements
- **Major** (X.0.0 → X+1.0.0): Breaking changes
- The CLI has auto-update enabled — users get new versions immediately on next run
- Version bumps ensure users always have the latest fixes and features
## Autonomous Loops
When running autonomous improvement/refactoring loops (`./improve.sh --loop`):