Add manage.sh: start|stop|restart|status|logs #1

Open
opened 2026-04-06 22:25:18 -07:00 by pyr0ball · 0 comments
Owner

Summary

Every CF product has a manage.sh as the single operational entrypoint. Minerva currently starts with a raw python invocation. manage.sh becomes the canonical source of truth for port, conda env, and model paths.

Minimum interface

./manage.sh start    # start voice server with uvicorn
./manage.sh stop
./manage.sh restart
./manage.sh status
./manage.sh logs     # tail journalctl or log file
./manage.sh open     # open server URL in browser (optional)

Key decisions to encode

  • PORT=5000 (or standardize to 85xx range — see port issue)
  • CONDA_ENV=cf (CF standard)
  • MODEL_PATH from config/.env
  • Preflight: check conda env, check .env exists, check port free

References

  • Peregrine manage.sh as reference implementation
  • cf-dev review finding: Priority 1 blocker
## Summary Every CF product has a `manage.sh` as the single operational entrypoint. Minerva currently starts with a raw `python` invocation. `manage.sh` becomes the canonical source of truth for port, conda env, and model paths. ## Minimum interface ```bash ./manage.sh start # start voice server with uvicorn ./manage.sh stop ./manage.sh restart ./manage.sh status ./manage.sh logs # tail journalctl or log file ./manage.sh open # open server URL in browser (optional) ``` ## Key decisions to encode - `PORT=5000` (or standardize to 85xx range — see port issue) - `CONDA_ENV=cf` (CF standard) - `MODEL_PATH` from config/.env - Preflight: check conda env, check .env exists, check port free ## References - Peregrine manage.sh as reference implementation - cf-dev review finding: Priority 1 blocker
pyr0ball added this to the Alpha — Server Pipeline milestone 2026-04-06 22:25:18 -07:00
pyr0ball added the
enhancement
infra
labels 2026-04-06 22:25:18 -07:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/minerva#1
No description provided.