refactor(ci): use build state constants

Summary

  • Replace CI build-state string literals with the typed GitLab API constants.
  • Add a regression test that rejects production status literals in the CI command packages.

Testing

  • go test ./internal/commands/ci/... -count=1
  • go vet ./internal/commands/ci/...
  • pre-push hook: build, generated docs/code, lint, and 306 tests passed

AI assistance

Implemented and verified with OpenAI Codex assistance.

Closes #1346 (closed)

Merge request reports

Loading