Installation & initialization
Will comet init overwrite my existing configuration?
Will comet init overwrite my existing configuration?
comet init lets you choose to overwrite or skip. Hooks are merged non-destructively, preserving your existing hooks. In --yes mode, existing components are skipped by default; use --overwrite to force a refresh. See comet init · How to read the install summary.What does it mean when a platform shows failed (12 files, 1 failed) in the install summary?
What does it mean when a platform shows failed (12 files, 1 failed) in the install summary?
failed with a failure count instead of reporting a half-installed state as success. Missing critical files like comet-hook-guard.mjs will silently break the phase guard and must be fixed first. Re-run comet init or comet update to fill in the missing files. See comet init · How to read the install summary.The hook reports [COMET-HOOK] crash with exit code 2 when writing files — what should I do?
The hook reports [COMET-HOOK] crash with exit code 2 when writing files — what should I do?
comet-hook-guard.mjs itself crashes (corrupt bundle, import failure, unexpected exception), it fails closed: it prints a [COMET-HOOK] crash: ... diagnostic message and blocks the write with exit code 2, instead of letting it through with an ambiguous exit code. This means the phase guard itself is broken — usually an incomplete installation (missing script files). Run comet doctor first to check installation health, and re-run comet init/comet update to fill in missing files if needed.Does it run on Windows? Do I still need Git Bash?
Does it run on Windows? Do I still need Git Bash?
How do I choose between project-level and global installation?
How do I choose between project-level and global installation?
Which platforms does comet init support?
Which platforms does comet init support?
comet init auto-detects existing platform directories in the project and pre-selects them. See Supported platforms.Status & diagnostics
What's the difference between comet status and comet doctor?
What's the difference between comet status and comet doctor?
comet status shows the current phase and next-step command for active changes — it’s the first command for everyday recovery. comet doctor performs a full installation health check (Skills, scripts, working directory, change status), suitable for troubleshooting when status shows something abnormal.Should I worry about a doctor warn?
Should I worry about a doctor warn?
warn usually doesn’t block (for example, openspec CLI not installed but the project doesn’t depend on it), while a fail is blocking (for example, a Skill is missing or state is corrupted). We recommend prioritizing fail items. See comet doctor.comet status shows the wrong phase
comet status shows the wrong phase
comet doctor first to check for a malformed .comet.yaml or missing evidence. After fixing, re-run status. For troubleshooting abnormal state, see State corruption and recovery.Upgrade & uninstall
How do I upgrade Comet
How do I upgrade Comet
Will uninstalling delete my code or OpenSpec changes?
Will uninstalling delete my code or OpenSpec changes?
comet uninstall only removes Comet-managed Skills, rules, and hooks, preserving your OpenSpec changes, design documents, implementation plans, and project code. See comet uninstall.Should I use update or init?
Should I use update or init?
comet update to refresh Skills/rules/scripts. comet init is for first-time installation or adding new platforms. Both preserve user configuration non-destructively.Skill, evaluation, and publishing commands
Should I use comet skill or /comet-any?
Should I use comet skill or /comet-any?
/comet-any, which invokes the CLI backend internally. comet skill is a low-level tool suited for local debugging, advanced Skill runs, and package management. See comet skill.What's the difference between comet eval and comet skill check?
What's the difference between comet eval and comet skill check?
comet eval evaluates a Skill’s product capability and produces pre-release evidence. comet skill check checks whether a single Skill run has missing artifacts or state and does not produce release evidence. Release readiness only requires comet eval. See comet eval.Should I use comet bundle or comet publish?
Should I use comet bundle or comet publish?
comet publish (the user publishing entry point). comet bundle is an advanced backend, used directly only for troubleshooting backend state, auditing, or automation integration. See comet publish.CI/CD
How do I install non-interactively in CI?
How do I install non-interactively in CI?
--yes --json to skip all prompts:Is the --json output stable to parse?
Is the --json output stable to parse?
status and doctor is part of the CLI contract. For CI gates, we recommend only exiting non-zero on doctor fail. See CI/CD integration.
