Skip to main content
comet guard is the stable phase-check command.
Without --apply, it reports readiness without changing state. With --apply, it advances through a legal transition only after every check passes. build_command and verify_command are not valid .comet.yaml fields. Guard detects npm, Maven, or Cargo commands from project files. When it cannot infer an entrypoint, execute the real project command and record it with comet state record-check; guard validates the record instead of bypassing the check. The packaged comet-guard.mjs launcher remains for compatibility, but normal use should prefer comet guard.
Last modified on July 12, 2026