Automation-friendly scenarios

CI should run install and state gates. Do not put agent-dependent or human-decision workflows into the pipeline.
comet doctor —json
comet doctor checks project/global installation, platform Skill integrity, scripts, working directories, and active change state.
Use doctor as a CI gate
comet status —json
comet status --json returns active changes with fields such as phase, nextCommand, tasksCompleted, tasksTotal, verifyResult, and runtimeEval.
Use it for reports:
CI initialization
--yes chooses safe defaults, and --json suppresses interactive output.
A typical GitHub Actions sequence is:
What not to run in CI
FAQ
status returns an empty array
status returns an empty array
There are no active changes, or the change lacks
.comet.yaml and was skipped. Invoke /comet in
an agent platform and let project configuration route to Classic to bring it under Comet state.Should warn block CI?
Should warn block CI?
Usually no.
warn often means optional tooling is absent. fail is the blocking status.Is JSON output stable?
Is JSON output stable?
Yes. The JSON shape for status and doctor is part of the CLI contract.

