Skip to content

Commit 0778a63

Browse files
committed
docs: update changelog and readme
1 parent 924cb61 commit 0778a63

5 files changed

Lines changed: 32 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,34 @@
22

33
All notable changes to @rpamis/comet will be documented in this file.
44

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+
533
## What's Changed [0.2.5] - 2026-05-22
634

735
### Added

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ Comet ensures agent execution reliability through automated state transitions:
263263
- `isolation` must be `branch` or `worktree`
264264
- `build_mode` must be selected before leaving build
265265
- Full workflow `build_mode: direct` requires `direct_override: true`
266-
- Guard failures include `Next:` remediation hints so agents know which user decision or command is required
267266

268267
5. **Verification Evidence** — Guard enforces proof before phase advance
269268
- `verify-pass` transition requires `verification_report` pointing to an existing report file
@@ -273,7 +272,6 @@ Comet ensures agent execution reliability through automated state transitions:
273272

274273
6. **Archive Automation** — `comet-archive.sh` handles the full archive flow in one command
275274
- Validates entry state, syncs delta specs to main specs
276-
- Prints a diff before overwriting an existing main spec when it differs from the delta spec
277275
- Annotates design doc and plan frontmatter
278276
- Moves change to archive directory and updates `archived: true`
279277
- Supports `--dry-run` for preview

assets/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.2.5",
2+
"version": "0.2.6",
33
"skills": [
44
"comet/SKILL.md",
55
"comet/scripts/comet-guard.sh",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rpamis/comet",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"description": "OpenSpec + Superpowers dual-star development workflow",
55
"keywords": [
66
"comet",

0 commit comments

Comments
 (0)