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
fix: harden skill trigger phrasing and guard source-only bypass
- Standardize skill dependency triggers to use **立即执行:** / **Immediately execute:** format for writing-plans, executing-plans, and subagent-driven-development in both zh and en SKILL.md
- Move ARGUMENTS/Language constraints to post-load section per Skill trigger phrasing rules
- Prevent COMET_GUARD_SOURCE_ONLY=1 from silently bypassing guard validations when script is executed directly (exit 1 instead of exit 0)
Copy file name to clipboardExpand all lines: CHANGELOG.md
-23Lines changed: 0 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -355,29 +355,6 @@ All notable changes to @rpamis/comet will be documented in this file.
355
355
- Added Superpowers coverage for valid `skills` CLI agent mappings and multi-agent argument formatting
356
356
- Smoke-tested project and global initialization outputs for all 28 supported platforms in isolated temporary directories
357
357
358
-
## What's Changed [0.3.6] - 2026-06-02
359
-
360
-
### Added
361
-
362
-
-**Plan-ready build pause state**: Added `build_pause` as a dedicated build-phase pause marker so Comet can stop after plan generation without confusing the pause with the actual execution method.
363
-
-**Plan-ready pause design**: Added a design record for the model-switching pause workflow, covering recovery behavior, stale pause handling, and plan-missing remediation.
364
-
-**Auto transition config**: Added `auto_transition` so teams can keep phase state updates while disabling automatic invocation of the next Comet skill.
365
-
366
-
### Changed
367
-
368
-
-**Build recovery routing**: `/comet` and `/comet-build` now recognize `build_pause: plan-ready`, resume without regenerating the plan, and route stale pause states back to the correct build action.
369
-
-**Workflow output language**: OpenSpec and Superpowers prompts now carry the triggering request language into generated artifacts and workflow feedback.
370
-
-**Executing-plans review gate**: `comet-build` now requires loading `requesting-code-review` before build-to-verify guard execution when `build_mode: executing-plans`.
371
-
372
-
### Fixed
373
-
374
-
-**Init skip-all behavior**: `comet init` bulk skip/overwrite choices now affect only components that already exist, preventing skip-all from skipping uninstalled components.
375
-
-**Bash runner recovery**: Shell runner handling is more resilient across platform-specific Bash detection and argument formatting cases.
376
-
377
-
### Tests
378
-
379
-
-**Plan-ready and auto-transition coverage**: Added regression coverage for `build_pause`, `auto_transition` defaults/configuration, manual transition messaging, output-language propagation, executing-plans review requirements, and init skip-all existing-component behavior.
Copy file name to clipboardExpand all lines: assets/skills/comet-build/SKILL.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,7 @@ Create the implementation plan through a subagent, avoiding planning skill occup
38
38
39
39
You are an implementation planning expert. Create an implementation plan based on the following inputs:
40
40
41
-
1. Use the Skill tool to load the Superpowers `writing-plans` skill
42
-
- ARGUMENTS must include: `Language: Use the language of the user request that triggered this workflow`
41
+
1.**Immediately execute:** Use the Skill tool to load the Superpowers `writing-plans` skill. Skipping this step is prohibited. After the skill loads, ARGUMENTS must include: `Language: Use the language of the user request that triggered this workflow`
43
42
2. Read the Design Doc (technical design document under `docs/superpowers/specs/`)
**Execute plan**: Must handle execution according to the actual runtime of `build_mode`.
191
190
192
-
When loading `subagent-driven-development` or `executing-plans`, ARGUMENTS must include the same Language constraint as Step 1.
193
-
194
-
-`build_mode: executing-plans`: Use the Skill tool in the main window to load the Superpowers `executing-plans` skill and execute according to plan. If the skill is unavailable, stop the process and prompt to install or enable the corresponding skill; do not substitute with normal conversation.
195
-
-`build_mode: subagent-driven-development`: The main window only coordinates; must not run `subagent-driven-development` as the main window execution skill directly. Must use the confirmed real background subagent / Task / multi-agent dispatch capability to dispatch the next unchecked task to a background subagent. When dispatching each subagent, the prompt must explicitly require: after the task is complete and validated, immediately check off the corresponding plan task in `docs/superpowers/plans/<plan-file>.md`; if that plan task maps to an item in `openspec/changes/<name>/tasks.md`, also change that OpenSpec task from `- [ ]` to `- [x]`; if the plan added a step that does not exist in OpenSpec, only the corresponding plan task needs to be checked off. Do not only update the built-in Todo or an in-chat checklist. The background subagent loads the Superpowers `subagent-driven-development` execution flow on its own and follows its guidance for implementation, review, and commit.
191
+
-`build_mode: executing-plans`: **Immediately execute:** Use the Skill tool to load the Superpowers `executing-plans` skill. Skipping this step is prohibited. If the skill is unavailable, stop the process and prompt to install or enable the corresponding skill; do not substitute with normal conversation. After the skill loads, ARGUMENTS must include the same Language constraint as Step 1: `Language: Use the language of the user request that triggered this workflow`. Execute according to plan.
192
+
- `build_mode: subagent-driven-development`: The main window only coordinates; must not run `subagent-driven-development` as the main window execution skill directly. Must use the confirmed real background subagent / Task / multi-agent dispatch capability to dispatch the next unchecked task to a background subagent. When dispatching each subagent, the prompt must explicitly require: after the skill loads, ARGUMENTS must include the same Language constraint as Step 1: `Language: Use the language of the user request that triggered this workflow`; after the task is complete and validated, immediately check off the corresponding plan task in `docs/superpowers/plans/<plan-file>.md`; if that plan task maps to an item in `openspec/changes/<name>/tasks.md`, also change that OpenSpec task from `- [ ]` to `- [x]`; if the plan added a step that does not exist in OpenSpec, only the corresponding plan task needs to be checked off. Do not only update the built-in Todo or an in-chat checklist. The background subagent loads the Superpowers `subagent-driven-development` execution flow on its own and follows its guidance for implementation, review, and commit.
196
193
- If the current platform has no real background subagent / Task / multi-agent dispatch capability, must pause and wait for the user to choose main window execution instead. After the user chooses, must run `"$COMET_BASH" "$COMET_STATE" set <name> build_mode executing-plans`, then follow the `build_mode: executing-plans` branch to load the Superpowers `executing-plans` skill. Must not continue executing tasks before the user explicitly chooses.
197
194
198
195
After execution begins, follow the chosen branch to completion:
0 commit comments