What’s Changed [0.3.5] - 2026-05-29
Added
- Context compaction recovery (
--recover):comet-state check <name> <phase> --recoveroutputs a structured recovery context, including phase status, field progress, task count, and recovery actions, used for agent context compression to quickly locate breakpoints and resume operations. - Red Flags Anti-Rationalization List: Added 5 red flag warnings to the main scheduling skill (making decisions for the user, skipping confirmation, replacing historical preferences, agreeing without objection, and passing without verification), helping the agent identify its own overreach tendencies.
- Uncertainty Degradation Principles: Added SUGGESTION > WARNING > CRITICAL degradation rules to the verify skill. Only build failures, test failures, and security issues are marked CRITICAL; ambiguous issues must be downgraded.
- Anti-Automatic Selection Guardian: Added naming and scope anti-automatic selection rules to the open skill. Name changes must be specified by the user or AskUserQuestion. Confirmation: The scope cannot be expanded or narrowed arbitrarily.
- File Existence Verification: Before entering user confirmation, the open skill verifies that the proposal/design/tasks files are not empty, preventing empty files from skipping the check.
- Idempotency Description: Idempotency descriptions have been added to all skill stages (open/design/build/verify), clarifying which operations can be safely retried and which fields require confirmation before skipping.
Changed
- AskUserQuestion Tool Clarification: All 7 decision blocking points (open confirmation, brainstorming confirmation, build workflow, verify failure decision, spec drift handling, branch handling, upgrade conditions) are uniformly required to use the AskUserQuestion tool; plain text prompts are prohibited.
- Decision Points Expanded from 6 to 7: The open stage proposal/design/tasks review confirmation is now the first decision point.
- Spec Drift Single-Choice Question Format: Spec drift handling in the verify stage has been changed to an AskUserQuestion single-choice question (A/B/C). (Choose one of three), no longer implicit default option
- Completely synchronized Chinese and English skills: The content, structure, and option format of the 7 Chinese skills and 7 English skills are completely aligned.
Fixed
- Crash due to unbound variables in
set -u: Whencomet-state check --recoveris missingtasks.mdduring the build phase, thependingvariable is not declared, causing the script to exit directly; this is fixed by moving thelocaldeclaration forward and adding an explicit branchtasks.md MISSINGto the recovery action chain. - Path truncation risk:
field_statususing${var%% *}ondesign_docmay truncate paths containing spaces; changed to${var% }to only remove trailing spaces. - Inconsistent reading style for optional fields:
direct_overrideuses|| echo ""while other optional fields use|| true; unified to|| trueto be consistent withcmd_scale.
Tests
- Added 8
check --recoverand boundary test cases, covering five phases: open/build/verify/design/archive, as well as boundary scenarios such as missing tasks.md and all tasks completed. - Total number of tests increased from 34 to 42, all passed.