|
2 | 2 |
|
3 | 3 | All notable changes to @rpamis/comet will be documented in this file. |
4 | 4 |
|
| 5 | +## What's Changed [0.2.6] - 2026-05-23 |
| 6 | + |
| 7 | +### Added |
| 8 | + |
| 9 | +- **Build decision enforcement**: Build guard and `comet-state.sh transition build-complete` now require `isolation` and `build_mode` before moving from build to verify |
| 10 | +- **Direct mode override**: Full workflows must set `direct_override: true` before using `build_mode: direct`; hotfix/tweak remain allowed by default |
| 11 | +- **Configurable guard commands**: Guard scripts now read `build_command` and `verify_command` from the change `.comet.yaml` or repo-root Comet config before falling back to auto-detected build commands |
| 12 | +- **Archive diff preview**: Archive sync prints a unified diff before overwriting an existing main spec when it differs from the delta spec |
| 13 | +- **Cross-platform script smoke CI**: Added Ubuntu, macOS, and Windows smoke coverage for Comet shell scripts and portable shell tests |
| 14 | +- **Shell line-ending policy**: Added `.gitattributes` rules to keep shell and Bats scripts on LF endings |
| 15 | + |
| 16 | +### Changed |
| 17 | + |
| 18 | +- **Guard failure output**: Guard checks now preserve and print command failure output, plus actionable `Next:` hints for missing build decisions and unfinished tasks |
| 19 | +- **Command handling**: Project commands run through `bash -lc`, Maven uses `mvnw` or `mvn.cmd` where appropriate, and Windows Git Bash paths are handled in shell test helpers |
| 20 | +- **Archive step counting**: Dry-run, delta sync, annotation, move, and archive status steps now count real executed steps without double-counting repeated operations |
| 21 | +- **English docs and skills**: Synced the English README and Comet skill text with the Chinese build-decision, command-config, and archive behavior descriptions |
| 22 | + |
| 23 | +### Fixed |
| 24 | + |
| 25 | +- **Configured command persistence**: `comet-state.sh set` now escapes sed replacement metacharacters so command values containing `&`, `|`, or backslashes are preserved |
| 26 | +- **Optional schema fields**: YAML validation now recognizes `direct_override`, `build_command`, and `verify_command` |
| 27 | +- **Quoted YAML values**: State, guard, and validator scripts now strip only wrapping quotes instead of deleting all quote characters from values |
| 28 | + |
| 29 | +### Tests |
| 30 | + |
| 31 | +- Added coverage for missing build decisions, direct-mode override blocking and allowance, configured build/verify commands, command metacharacter preservation, unfinished-task remediation output, archive step counts, and cross-platform path handling |
| 32 | + |
5 | 33 | ## What's Changed [0.2.5] - 2026-05-22 |
6 | 34 |
|
7 | 35 | ### Added |
|
0 commit comments