@rpamis/comet 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/assets/manifest.json +19 -15
- package/assets/skills/comet/SKILL.md +204 -204
- package/assets/skills/comet-archive/SKILL.md +151 -151
- package/assets/skills/comet-build/SKILL.md +161 -161
- package/assets/skills/comet-design/SKILL.md +108 -108
- package/assets/skills/comet-hotfix/SKILL.md +165 -165
- package/assets/skills/comet-open/SKILL.md +123 -123
- package/assets/skills/comet-tweak/SKILL.md +152 -152
- package/assets/skills/comet-verify/SKILL.md +164 -164
- package/assets/skills-zh/comet/SKILL.md +204 -0
- package/assets/skills-zh/comet-archive/SKILL.md +151 -0
- package/assets/skills-zh/comet-build/SKILL.md +161 -0
- package/assets/skills-zh/comet-design/SKILL.md +108 -0
- package/assets/skills-zh/comet-hotfix/SKILL.md +165 -0
- package/assets/skills-zh/comet-open/SKILL.md +123 -0
- package/assets/skills-zh/comet-tweak/SKILL.md +152 -0
- package/assets/skills-zh/comet-verify/SKILL.md +164 -0
- package/dist/core/init.d.ts.map +1 -1
- package/dist/core/init.js +122 -17
- package/dist/core/init.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: comet-open
|
|
3
|
-
description: "Comet
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Comet
|
|
7
|
-
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
##
|
|
13
|
-
|
|
14
|
-
### 0.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
1. `openspec/changes/<name>/`
|
|
20
|
-
2. `openspec/changes/<name>/.comet.yaml`
|
|
21
|
-
3. `openspec/changes/<name>/proposal.md`
|
|
22
|
-
4. `openspec/changes/<name>/design.md`
|
|
23
|
-
5. `openspec/changes/<name>/tasks.md`
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
[HARD STOP] Entry check failed for comet-open
|
|
32
|
-
Expected: .comet.yaml does not exist, proposal.md + design.md + tasks.md exist
|
|
33
|
-
Actual: phase
|
|
34
|
-
Suggestion: Check if another change with the same name is already active.
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
### 1.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
### 2.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
```
|
|
52
|
-
openspec/changes/<name>/
|
|
53
|
-
├── .openspec.yaml
|
|
54
|
-
├── .comet.yaml
|
|
55
|
-
├── proposal.md # Why + What
|
|
56
|
-
├── design.md # How
|
|
57
|
-
└── tasks.md #
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
### 2b.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
1.
|
|
68
|
-
2.
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
mkdir -p openspec/changes/<name>/specs/<capability>/
|
|
72
|
-
cp openspec/specs/<capability>/spec.md openspec/changes/<name>/specs/<capability>/spec.md
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
3.
|
|
76
|
-
4.
|
|
77
|
-
|
|
78
|
-
### 3.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
```yaml
|
|
83
|
-
workflow: full
|
|
84
|
-
phase: design
|
|
85
|
-
design_doc: null
|
|
86
|
-
plan: null
|
|
87
|
-
build_mode: null
|
|
88
|
-
verify_mode: null
|
|
89
|
-
verify_result: pending
|
|
90
|
-
verified_at: null
|
|
91
|
-
archived: false
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
cat openspec/changes/<name>/.comet.yaml
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### 4.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
- **proposal.md
|
|
111
|
-
- **design.md
|
|
112
|
-
- **tasks.md
|
|
113
|
-
|
|
114
|
-
##
|
|
115
|
-
|
|
116
|
-
- proposal.md
|
|
117
|
-
-
|
|
118
|
-
|
|
119
|
-
##
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
> **REQUIRED NEXT SKILL:**
|
|
1
|
+
---
|
|
2
|
+
name: comet-open
|
|
3
|
+
description: "Comet Phase 1: Open. Invoke with /comet-open. Explore ideas through OpenSpec and create change structure (proposal + design + tasks)."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Comet Phase 1: Open
|
|
7
|
+
|
|
8
|
+
## Prerequisites
|
|
9
|
+
|
|
10
|
+
- No active change, or user wishes to create a new change
|
|
11
|
+
|
|
12
|
+
## Steps
|
|
13
|
+
|
|
14
|
+
### 0. Entry State Verification (Entry Check)
|
|
15
|
+
|
|
16
|
+
Before performing any operations, read and verify the current state:
|
|
17
|
+
|
|
18
|
+
**Checklist:**
|
|
19
|
+
1. `openspec/changes/<name>/` directory exists (created by openspec-new-change)
|
|
20
|
+
2. `openspec/changes/<name>/.comet.yaml` file does not exist (not yet initialized)
|
|
21
|
+
3. `openspec/changes/<name>/proposal.md` exists and is non-empty
|
|
22
|
+
4. `openspec/changes/<name>/design.md` exists and is non-empty
|
|
23
|
+
5. `openspec/changes/<name>/tasks.md` exists and is non-empty
|
|
24
|
+
|
|
25
|
+
**Verification method:**
|
|
26
|
+
- Read the above paths to confirm existence/non-existence
|
|
27
|
+
- If `.comet.yaml` already exists, read its `phase` field: if phase is not empty, output `[HARD STOP]` and prompt that there may already be an active change
|
|
28
|
+
|
|
29
|
+
**Failure output:**
|
|
30
|
+
```
|
|
31
|
+
[HARD STOP] Entry check failed for comet-open
|
|
32
|
+
Expected: .comet.yaml does not exist, proposal.md + design.md + tasks.md exist
|
|
33
|
+
Actual: phase=<actual-value>, design_doc=<actual-value> (or file does not exist)
|
|
34
|
+
Suggestion: Check if another change with the same name is already active.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Proceed to Step 1 only after verification passes.
|
|
38
|
+
|
|
39
|
+
### 1. Explore Idea
|
|
40
|
+
|
|
41
|
+
**Immediately execute:** Use the Skill tool to load the `openspec-explore` skill. Skipping this step is prohibited.
|
|
42
|
+
|
|
43
|
+
After the skill loads, freely explore the problem space following its guidance.
|
|
44
|
+
|
|
45
|
+
### 2. Create Change Structure
|
|
46
|
+
|
|
47
|
+
**Immediately execute:** Use the Skill tool to load the `openspec-new-change` skill. If user intent is unclear and needs to form a proposal first, load `openspec-propose` instead. Skipping this step is prohibited.
|
|
48
|
+
|
|
49
|
+
Confirm the following artifacts have been created:
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
openspec/changes/<name>/
|
|
53
|
+
├── .openspec.yaml
|
|
54
|
+
├── .comet.yaml
|
|
55
|
+
├── proposal.md # Why + What: problem, goals, scope
|
|
56
|
+
├── design.md # How (high-level): architectural decisions, solution selection
|
|
57
|
+
└── tasks.md # Task checklist (checkboxes)
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### 2b. Incrementally Modify Existing Capability (Optional)
|
|
61
|
+
|
|
62
|
+
**Trigger condition:** proposal.md mentions modifying an existing capability, or user explicitly requests incremental modification.
|
|
63
|
+
|
|
64
|
+
**Applicable scenario:** Incremental modification to archived functionality (not a brand-new capability).
|
|
65
|
+
|
|
66
|
+
When proposal.md goals involve modifying an existing capability:
|
|
67
|
+
1. Check if `openspec/specs/<capability>/spec.md` main spec already exists
|
|
68
|
+
2. If it exists, copy the main spec as a delta spec baseline:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
mkdir -p openspec/changes/<name>/specs/<capability>/
|
|
72
|
+
cp openspec/specs/<capability>/spec.md openspec/changes/<name>/specs/<capability>/spec.md
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
3. In the copied delta spec, organize changes in delta format (`## ADDED`, `## MODIFIED`, `## REMOVED`)
|
|
76
|
+
4. Note in proposal.md: `based on existing capability: <capability-name>`
|
|
77
|
+
|
|
78
|
+
### 3. Initialize Comet State
|
|
79
|
+
|
|
80
|
+
Create an independent `.comet.yaml` file under `openspec/changes/<name>/`:
|
|
81
|
+
|
|
82
|
+
```yaml
|
|
83
|
+
workflow: full
|
|
84
|
+
phase: design
|
|
85
|
+
design_doc: null
|
|
86
|
+
plan: null
|
|
87
|
+
build_mode: null
|
|
88
|
+
verify_mode: null
|
|
89
|
+
verify_result: pending
|
|
90
|
+
verified_at: null
|
|
91
|
+
archived: false
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
【Write verification】After creation, must verify:
|
|
95
|
+
cat openspec/changes/<name>/.comet.yaml
|
|
96
|
+
Confirm workflow line value is "full"
|
|
97
|
+
Confirm phase line value is "design"
|
|
98
|
+
Confirm design_doc line value is "null"
|
|
99
|
+
Confirm plan line value is "null"
|
|
100
|
+
Confirm build_mode line value is "null"
|
|
101
|
+
Confirm verify_mode line value is "null"
|
|
102
|
+
Confirm verify_result line value is "pending"
|
|
103
|
+
Confirm verified_at line value is "null"
|
|
104
|
+
Confirm archived line value is "false"
|
|
105
|
+
If any field does not match, retry write then verify again. Maximum 2 retries, report error and terminate if still fails.
|
|
106
|
+
|
|
107
|
+
### 4. Content Completeness Check
|
|
108
|
+
|
|
109
|
+
Confirm the three documents have complete content:
|
|
110
|
+
- **proposal.md**: problem background, goals, scope, non-goals
|
|
111
|
+
- **design.md**: high-level architectural decisions, solution selection, data flow
|
|
112
|
+
- **tasks.md**: task list, each task has a clear description
|
|
113
|
+
|
|
114
|
+
## Exit Conditions
|
|
115
|
+
|
|
116
|
+
- proposal.md, design.md, and tasks.md are all created with complete content
|
|
117
|
+
- **Phase guard**: Run `bash $COMET_GUARD <change-name> open`, allow transition only after all PASS
|
|
118
|
+
|
|
119
|
+
## Automatic Transition
|
|
120
|
+
|
|
121
|
+
After exit conditions are met, **proceed immediately to the next phase without waiting for user input**:
|
|
122
|
+
|
|
123
|
+
> **REQUIRED NEXT SKILL:** Invoke `comet-design` skill to enter the deep design phase.
|
|
@@ -1,152 +1,152 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: comet-tweak
|
|
3
|
-
description: "Comet
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Comet
|
|
7
|
-
|
|
8
|
-
Tweak
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
1.
|
|
14
|
-
2.
|
|
15
|
-
3.
|
|
16
|
-
4.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
##
|
|
23
|
-
|
|
24
|
-
### 0.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
1. `openspec/changes/<name>/`
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- `test -d openspec/changes/<name>`
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
[HARD STOP] Entry check failed for comet-tweak
|
|
39
|
-
Expected: openspec/changes/<name>/.comet.yaml does not exist (new change)
|
|
40
|
-
Actual: .comet.yaml exists with phase
|
|
41
|
-
Suggestion: Pick a different change name, or check if an existing tweak is in progress.
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
### 1.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
- `proposal.md` —
|
|
56
|
-
- `design.md` —
|
|
57
|
-
- `tasks.md` —
|
|
58
|
-
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
```yaml
|
|
63
|
-
workflow: tweak
|
|
64
|
-
phase: build
|
|
65
|
-
design_doc: null
|
|
66
|
-
plan: null
|
|
67
|
-
build_mode: direct
|
|
68
|
-
verify_mode: light
|
|
69
|
-
verify_result: pending
|
|
70
|
-
verified_at: null
|
|
71
|
-
archived: false
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
cat openspec/changes/<name>/.comet.yaml
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
### 2.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
1.
|
|
94
|
-
2.
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
3.
|
|
101
|
-
|
|
102
|
-
### 3.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
### 4.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
##
|
|
121
|
-
|
|
122
|
-
<IMPORTANT>
|
|
123
|
-
Tweak
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
</IMPORTANT>
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
##
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
1.
|
|
137
|
-
2.
|
|
138
|
-
3.
|
|
139
|
-
4.
|
|
140
|
-
5.
|
|
141
|
-
6.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
##
|
|
148
|
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
1
|
+
---
|
|
2
|
+
name: comet-tweak
|
|
3
|
+
description: "Comet preset path: Non-bug small changes (tweak). Skip brainstorming and full plan, directly open → lightweight build → light verify → archive. Applicable for copy, configuration, documentation or prompt local optimization."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Comet Preset Path: Tweak
|
|
7
|
+
|
|
8
|
+
Tweak is a preset workflow of Comet's five-phase capabilities, not a separate parallel process. It reuses open, build, verify, archive capabilities, only skipping brainstorming and full plan.
|
|
9
|
+
|
|
10
|
+
Applicable for small-scale non-bug changes, such as copy adjustments, configuration adjustments, documentation or prompt local optimization.
|
|
11
|
+
|
|
12
|
+
**Applicable conditions** (all must be met):
|
|
13
|
+
1. No new capability
|
|
14
|
+
2. No architecture changes
|
|
15
|
+
3. No interface changes involved
|
|
16
|
+
4. Usually not exceeding 3 tasks, 5 files
|
|
17
|
+
|
|
18
|
+
**Not applicable**: If change process discovers need for capability, architecture, or interface adjustments, should upgrade to full `/comet` workflow.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Process (preset workflow, 4 phases)
|
|
23
|
+
|
|
24
|
+
### 0. Entry State Verification (Entry Check)
|
|
25
|
+
|
|
26
|
+
Before performing any operations, verify current state:
|
|
27
|
+
|
|
28
|
+
**Checklist:**
|
|
29
|
+
1. `openspec/changes/<name>/` directory does not exist, or directory exists but `.comet.yaml` does not exist (no conflict)
|
|
30
|
+
|
|
31
|
+
**Verification method:**
|
|
32
|
+
- `test -d openspec/changes/<name>` to check directory
|
|
33
|
+
- If directory exists, `test -f openspec/changes/<name>/.comet.yaml` to check config file
|
|
34
|
+
- If `.comet.yaml` exists, read `phase` to check if it's an incomplete tweak
|
|
35
|
+
|
|
36
|
+
**Failure output (has conflict):**
|
|
37
|
+
```
|
|
38
|
+
[HARD STOP] Entry check failed for comet-tweak
|
|
39
|
+
Expected: openspec/changes/<name>/.comet.yaml does not exist (new change)
|
|
40
|
+
Actual: .comet.yaml exists with phase=<actual-value>
|
|
41
|
+
Suggestion: Pick a different change name, or check if an existing tweak is in progress.
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Proceed to process steps only after verification passes.
|
|
45
|
+
|
|
46
|
+
Execution chain: open → lightweight build → light verify → archive. Tweak provides default decisions for each phase: streamlined open, lightweight build, lightweight verification, archive after verification passes.
|
|
47
|
+
|
|
48
|
+
### 1. Quick Open (preset open)
|
|
49
|
+
|
|
50
|
+
Reuse Comet open capability to create change, but use tweak defaults: do not execute `openspec-explore` long exploration, directly enter streamlined change creation.
|
|
51
|
+
|
|
52
|
+
**Immediately execute:** Use the Skill tool to load the `openspec-new-change` skill. Skipping this step is prohibited.
|
|
53
|
+
|
|
54
|
+
After the skill loads, follow its guidance to create streamlined artifacts:
|
|
55
|
+
- `proposal.md` — change motivation + goals + scope
|
|
56
|
+
- `design.md` — brief implementation description (no solution comparison needed)
|
|
57
|
+
- `tasks.md` — not exceeding 3 tasks
|
|
58
|
+
- **No delta spec needed** (unless change changes existing spec acceptance scenarios; once delta spec needed, upgrade to full `/comet`)
|
|
59
|
+
|
|
60
|
+
Create independent `.comet.yaml` file under `openspec/changes/<name>/`:
|
|
61
|
+
|
|
62
|
+
```yaml
|
|
63
|
+
workflow: tweak
|
|
64
|
+
phase: build
|
|
65
|
+
design_doc: null
|
|
66
|
+
plan: null
|
|
67
|
+
build_mode: direct
|
|
68
|
+
verify_mode: light
|
|
69
|
+
verify_result: pending
|
|
70
|
+
verified_at: null
|
|
71
|
+
archived: false
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
【Write verification】After creation completion, must verify:
|
|
75
|
+
cat openspec/changes/<name>/.comet.yaml
|
|
76
|
+
Confirm workflow line value is "tweak"
|
|
77
|
+
Confirm phase line value is "build"
|
|
78
|
+
Confirm design_doc line value is "null"
|
|
79
|
+
Confirm plan line value is "null"
|
|
80
|
+
Confirm build_mode line value is "direct"
|
|
81
|
+
Confirm verify_mode line value is "light"
|
|
82
|
+
Confirm verify_result line value is "pending"
|
|
83
|
+
Confirm verified_at line value is "null"
|
|
84
|
+
Confirm archived line value is "false"
|
|
85
|
+
If any field does not match, retry write then verify again. Maximum 2 retries, report error and terminate if still fails.
|
|
86
|
+
|
|
87
|
+
### 2. Lightweight Build (preset build)
|
|
88
|
+
|
|
89
|
+
Use tweak defaults: `build_mode: direct`. Skip `superpowers:brainstorming` and `superpowers:writing-plans`.
|
|
90
|
+
|
|
91
|
+
**Immediately execute:** Execute tasks one by one according to tasks.md:
|
|
92
|
+
|
|
93
|
+
1. Read `openspec/changes/<name>/tasks.md`, get incomplete task list
|
|
94
|
+
2. For each incomplete task:
|
|
95
|
+
- Modify target file according to task description
|
|
96
|
+
- Run `mvn spotless:apply` to format
|
|
97
|
+
- Run related tests to confirm pass
|
|
98
|
+
- Check corresponding `- [ ]` to `- [x]` in tasks.md
|
|
99
|
+
- Commit code, commit message format: `tweak: <brief change description>`
|
|
100
|
+
3. After all tasks complete, enter verification
|
|
101
|
+
|
|
102
|
+
### 3. Lightweight Verification (preset verify)
|
|
103
|
+
|
|
104
|
+
Reuse `/comet-verify`. Tweak must maintain lightweight verification conditions: ≤ 3 tasks, ≤ 5 files, no delta spec, no new capability.
|
|
105
|
+
|
|
106
|
+
**Immediately execute:** Use the Skill tool to load the `comet-verify` skill. Skipping this step is prohibited.
|
|
107
|
+
|
|
108
|
+
If scale assessment enters full verification path, stop tweak, upgrade to full `/comet`.
|
|
109
|
+
|
|
110
|
+
After verification passes, record `.comet.yaml` `verify_result` as `pass` according to `/comet-verify` rules, must not skip this status before archiving.
|
|
111
|
+
|
|
112
|
+
### 4. Archive (preset archive)
|
|
113
|
+
|
|
114
|
+
Reuse `/comet-archive`. Must satisfy `verify_result: pass` in `.comet.yaml` before archiving.
|
|
115
|
+
|
|
116
|
+
**Immediately execute:** Use the Skill tool to load the `comet-archive` skill to archive. Skipping this step is prohibited.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Continuous Execution Mode
|
|
121
|
+
|
|
122
|
+
<IMPORTANT>
|
|
123
|
+
Tweak workflow is **one-time continuous execution**. After invoking `/comet-tweak`, agent must automatically complete all 4 phases, without pausing to wait for user input mid-way (unless encountering upgrade conditions requiring user confirmation).
|
|
124
|
+
|
|
125
|
+
Execution order: quick open → lightweight build → lightweight verification → archive → complete
|
|
126
|
+
|
|
127
|
+
After each phase completes, immediately enter next phase, no need for user input again. Within each phase, must still call corresponding Comet/OpenSpec/Superpowers skill according to above requirements.
|
|
128
|
+
</IMPORTANT>
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Upgrade Conditions
|
|
133
|
+
|
|
134
|
+
When the following situations occur during execution, stop tweak workflow, upgrade to full `/comet`:
|
|
135
|
+
|
|
136
|
+
1. Need new capability
|
|
137
|
+
2. Need architecture adjustments
|
|
138
|
+
3. Need interface changes
|
|
139
|
+
4. Impact scope expands to > 5 files
|
|
140
|
+
5. Task count exceeds 3
|
|
141
|
+
6. Need delta spec
|
|
142
|
+
|
|
143
|
+
Upgrade method: On current change basis, supplement Design Doc (execute `/comet-design`), then proceed normally with full workflow.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Exit Conditions
|
|
148
|
+
|
|
149
|
+
- Small change completed, tests pass
|
|
150
|
+
- Change archived
|
|
151
|
+
- No new capability, architecture adjustments, or interface changes
|
|
152
|
+
- **Phase guard**: Before build → verify run `bash $COMET_GUARD <change-name> build`, before verify → archive run `bash $COMET_GUARD <change-name> verify`
|