-
Notifications
You must be signed in to change notification settings - Fork 0
Persistent API Operations
Huzefaaa2 edited this page May 17, 2026
·
2 revisions
Phase 6 now includes backup, restore, and retention controls for CAVRA's persistent API stores.
- Store status reporting for evidence metadata, approvals, registry, activity, repository inventory, and integration inventory.
- Checksum-backed backups for active JSON and SQLite stores.
- Restore with checksum validation and non-overwrite default behavior.
- Retention-plan artifacts in JSON and Markdown.
- Read-only API endpoints for store status and retention planning.
cavra ops stores
cavra ops backup --output .cavra/backups/20260518
cavra ops restore .cavra/backups/20260518/manifest.json --target-dir /tmp/cavra-restore-test
cavra ops retention-plan --output .cavra/operations/retention --retention-days 2555 --legal-holdRestore to a test directory before restoring to configured live paths. Live restore requires --overwrite when files already exist.
GET /operations/storesGET /operations/retention-plan
Backup and restore are CLI-only so file-system restore authority stays with operators rather than the unauthenticated demo API.
- As an SRE, I can back up all CAVRA API stores before migrations and releases.
- As an auditor, I can review retention, legal hold, backup, and restore-test controls.
- As a platform engineer, I can restore into a test directory and verify data before touching live stores.
CAVRA governance records become enterprise evidence only if they survive outages, migrations, releases, and operator mistakes. Persistent API operations make the operational data lifecycle explicit and testable.
The next recommended Phase 6 step is policy rollout drill-downs and OIDC-ready console auth/RBAC boundaries.
CAVRA Field Compass
Before the agent acts, CAVRA asks: who is acting, what will change, what policy applies, and what evidence will prove it?
Before the agent acts, CAVRA asks: who is acting, what will change, what policy applies, and what evidence will prove it?
| Start | Build | Operate | Assure |
|---|---|---|---|
| Quick Start | CLI | Enterprise Guide | AISPM |
| Reader Paths | Policy Syntax | Deployments | Evidence |
| Community | GUI | Troubleshooting | Conclusion |
Textbook home: Before the Agent Acts |
Development archive: development and testing artifacts |
Source repository: github.com/Huzefaaa2/cavra
- Foreword And Reader Paths
- Why CAVRA Exists
- Runtime Authority Model
- Architecture
- Editions
- Install And Deploy
- Community Guide
- Enterprise Guide
- CLI Reference
- GUI And Sandbox
- AISPM Guide
- Policy And Evidence
- Operations And Integrations
- Labs And Use Cases
- Appendices And FAQ
- Policy Language Reference
- Troubleshooting Playbook
- Conclusion