build: add polaris worker CLI subcommand #63
No reviewers
Labels
No labels
ready-for-agent
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
patrick/Polaris!63
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/cli-worker-command"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #52.
Wires
docker-compose.yml'sworkerservice (command: ["polaris", "worker"]) to the worker process #6 shipped atpolaris.worker.main:main(). Follows the exact shape of the existingcli/api.py: a discoveredpolaris/cli/worker.pymodule, lazy import insiderun()so registration never requiredpolaris.workerto exist at import time.Verified now that #53 is merged:
ruff/mypy --strict/pytestclean, and the handler resolves and importspolaris.worker.main.maincorrectly (checked directly, not just via tests).Ticks the first acceptance-criteria box on #6 (worker starts against the compose stack) — that ticket's own unit tests already covered the rest of the worker process directly.
🤖 Generated with Claude Code
https://claude.ai/code/session_013YioTVKBPoE6thZqbnTtnM