-
Notifications
You must be signed in to change notification settings - Fork 0
Activity Persistence
Huzefaaa2 edited this page May 21, 2026
·
31 revisions
Phase 6 starts durable operational visibility for CAVRA sessions and decisions.
- JSON and SQLite stores for runtime sessions and decisions.
-
POST /decisionsevaluates and persists decisions and updates the session summary. -
GET /decisionsfilters by session, agent, repository, policy pack, decision outcome, severity, action type, limit, and offset. -
GET /sessionsfilters by agent, repository, policy pack, state, limit, and offset. - Console Activity Explorer shows sessions and decisions with enterprise filters.
- SQLite migration
004_activity_sessions_decisions.sqlcreates indexed activity tables.
export CAVRA_ACTIVITY_STORE=.cavra/api/activity.json
export CAVRA_ACTIVITY_DB=.cavra/activity.db
cavra evidence migrate --sqlite .cavra/activity.db- As a CISO, I can review blocked and approved AI-agent actions across repositories.
- As a platform engineer, I can filter decisions by policy pack, repository, severity, and agent.
- As an auditor, I can reconstruct a session from durable decision records.
Activity persistence turns local pre-action decisions into searchable operational records. Security, audit, and platform teams can inspect what agents attempted, which controls fired, and which sessions generated risk.
- Continue broadening release-governance record parity as new evidence metadata kinds are added.
- Public sandbox URL validation after deployment from
main.
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