cro
staging_record
The only legal write destination for agents. Proposed state lands here in `proposed`; humans review and sign to advance through `reviewing` → `signed` → `promoted`.
| Column | Type | Key | References | Notes |
|---|---|---|---|---|
id | uuid | PK | — | |
entity_kind | text | required | — | |
entity_id | uuid | nullable | — | |
agent_id | text | required | — | |
model_version_id | uuid | FK | → cro.model_registry_version | |
provenance_id | uuid | FK | → cro.provenance_event | |
state | enum | required | — | staging_state enum |
proposed_state | jsonb | required | — | |
created_at | timestamptz | required | — | |
updated_at | timestamptz | required | — | |
created_by | uuid | required | — |