feat(worker): add persistent queue worker and approval/deny commands
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user