feat(prime): bootstrap core cli, router, oauth stubs, encrypted vault

This commit is contained in:
Prime Backup Bot
2026-03-11 15:42:46 +00:00
parent 268a94b556
commit d05c098c02
11 changed files with 239 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Prime Bootstrap v0
## 1) Environment
```bash
source /srv/prime-core/scripts/prime-env.sh
export PRIME_VAULT_KEY='set-a-strong-random-value'
```
## 2) Validate
```bash
prime status
prime dispatch planning "design backup policy"
prime dispatch coding "implement hello endpoint"
```
## 3) Backup/Restore
```bash
prime backup-now
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.