You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,20 @@
2
2
3
3
All notable changes to @rpamis/comet will be documented in this file.
4
4
5
+
## What's Changed [0.3.0] - 2026-05-25
6
+
7
+
### Added
8
+
9
+
-**Dirty worktree recovery protocol**: Added shared English and Chinese `comet/reference/dirty-worktree.md` references so agents consistently protect, inspect, and attribute user or mixed-source working tree changes during resume
10
+
11
+
### Changed
12
+
13
+
-**Comet resume behavior**: Updated `/comet`, build, verify, hotfix, and tweak skills so manual code edits made during interruptions are treated as code evidence, not automatic state transitions; agents must attribute dirty worktree changes before continuing or advancing guards
14
+
15
+
### Fixed
16
+
17
+
-**Reference skill installation**: Added the dirty worktree reference file to the Comet manifest so installed English and Chinese skill sets can resolve `comet/reference/dirty-worktree.md`
Copy file name to clipboardExpand all lines: assets/skills/comet-build/SKILL.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,8 @@ Build is the longest phase and may span many tasks. To support resume after cont
158
158
159
159
-**After each task**: immediately check off tasks.md and commit code so `.comet.yaml` and file state are durable
160
160
-**After context compaction**: read `.comet.yaml` to confirm the phase is still build, read the plan header `base-ref`, then read tasks.md to find the next unchecked task
161
+
-**User manual-change resume**: handle uncommitted changes through `comet/reference/dirty-worktree.md`. That protocol defines checks, attribution, and prohibitions. Build-specific handling:
162
+
1. After attribution, if the diff implies plan or spec changes, handle it through Step 5 "Spec Incremental Updates"
161
163
-**Long task split**: if a single task exceeds 200 lines of code changes, consider splitting it into multiple subtasks and commits
Copy file name to clipboardExpand all lines: assets/skills/comet-hotfix/SKILL.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,12 @@ Initialize Comet state file:
47
47
bash "$COMET_STATE" init <name> hotfix
48
48
```
49
49
50
+
Verify initialized state:
51
+
52
+
```bash
53
+
bash "$COMET_STATE" check <name> open
54
+
```
55
+
50
56
Run phase guard to transition open → build:
51
57
52
58
```bash
@@ -57,6 +63,8 @@ bash "$COMET_GUARD" <change-name> open --apply
57
63
58
64
Use hotfix defaults: `build_mode: direct`. Skip `superpowers:brainstorming` and `superpowers:writing-plans` (unless tasks > 3; if exceeds 3 tasks, transfer to `/comet-build`'s plan and execution method selection).
59
65
66
+
Before continuing or starting changes, handle uncommitted changes through `comet/reference/dirty-worktree.md`. If attribution shows the fix scope exceeds hotfix, handle it through this file's "Upgrade Conditions".
67
+
60
68
**Immediately execute:** Execute tasks one by one according to tasks.md:
61
69
62
70
1. Read `openspec/changes/<name>/tasks.md`, get incomplete task list
0 commit comments