feat(worker): add persistent queue worker and approval/deny commands

This commit is contained in:
Prime Backup Bot
2026-03-11 20:08:46 +00:00
parent c44f039d31
commit 7d84c9bbd6
5 changed files with 127 additions and 22 deletions
+13
View File
@@ -22,3 +22,16 @@ prime restore <commit-id>
## 4) OAuth broker stubs
Current `prime_core/oauth.py` is a stub interface (start/callback) and encrypted token vault.
Replace `auth.example` URLs and token exchange with provider-specific OAuth implementations.
## 5) Queue worker + approvals
```bash
prime queue add planning "design X"
prime queue run-once
prime queue list
prime queue approve <task-id>
prime queue deny <task-id> --reason "optional reason"
```
Worker service:
```bash
sudo systemctl status prime-worker.service
```