API - CODEX AGENTS: persistence and lifecycle endpoints
This commit is contained in:
+16
-9
@@ -133,30 +133,37 @@ agent_grant
|
||||
id
|
||||
agent_id
|
||||
workspace_slug
|
||||
project_id
|
||||
project_id (empty string internally means workspace-level grant)
|
||||
scopes[]
|
||||
mode: voluntary | reporting
|
||||
created_by_user_id
|
||||
created_at
|
||||
updated_at
|
||||
|
||||
pairing_code
|
||||
id
|
||||
agent_id
|
||||
code_hash
|
||||
status: active | used | expired | revoked
|
||||
expires_at
|
||||
consumed_at
|
||||
created_at
|
||||
used_at
|
||||
|
||||
agent_audit_event
|
||||
id
|
||||
agent_id
|
||||
owner_user_id
|
||||
operation
|
||||
workspace_slug
|
||||
project_id
|
||||
issue_id
|
||||
idempotency_key
|
||||
result
|
||||
event_type
|
||||
actor_user_id
|
||||
metadata
|
||||
created_at
|
||||
|
||||
idempotency_key
|
||||
key
|
||||
agent_id
|
||||
request_hash
|
||||
response_body
|
||||
created_at
|
||||
expires_at
|
||||
```
|
||||
|
||||
## Actor model
|
||||
|
||||
@@ -4,7 +4,7 @@ Last updated: 2026-05-14.
|
||||
|
||||
## Phase 0. Architecture baseline
|
||||
|
||||
Status: current phase.
|
||||
Status: done in `97d98a7`.
|
||||
|
||||
Deliverables:
|
||||
|
||||
@@ -23,6 +23,8 @@ Exit criteria:
|
||||
|
||||
## Phase 1. Agent Gateway skeleton
|
||||
|
||||
Status: in progress. Initial service, migrations, persistence endpoints, token hashing, local Postgres compose, and smoke checks are implemented.
|
||||
|
||||
Create standalone service with:
|
||||
|
||||
- Dockerfile;
|
||||
|
||||
Reference in New Issue
Block a user