Skip to content

feat(cli): add lifecycle subcommands#5

Merged
kgskr merged 4 commits intomainfrom
codex/add-cli-lifecycle-subcommands
Apr 9, 2026
Merged

feat(cli): add lifecycle subcommands#5
kgskr merged 4 commits intomainfrom
codex/add-cli-lifecycle-subcommands

Conversation

@kgskr
Copy link
Copy Markdown
Collaborator

@kgskr kgskr commented Apr 9, 2026

Summary

  • add serve, start, status, and shutdown CLI lifecycle commands while keeping bare codex-lb-cinamon invocation as foreground serve
  • add background runtime helpers for PID metadata, readiness checks, and graceful shutdown
  • document macOS/Linux and Windows usage and add OpenSpec artifacts for the new CLI lifecycle capability

Verification

  • .venv/bin/python -m pytest tests/unit/test_cli.py tests/unit/test_cli_runtime.py -q
  • .venv/bin/python -m ruff check app/cli.py app/cli_runtime.py tests/unit/test_cli.py tests/unit/test_cli_runtime.py
  • manual smoke: start -> status -> /health/live -> shutdown with temporary pid/log/db files

@kgskr kgskr merged commit 58aa04a into main Apr 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant