Rick

Agent Control Framework

Approval gates (HARD_GATE/SOFT_SIGNAL/INSPECTION) + checkpoint resume + phase state + visibility filtering.

Agent Control Framework (v2026-08-02T101544Z-ab2bbdebf5) 2026-08-01 | Approval gates (HARD_GATE/SOFT_SIGNAL/INSPECTION) + checkpoint resume + phase state + visibility filtering. 1 - Approval Management ApprovalRequest approval.py:30 ApprovalStatus ApprovalType ApprovalStore approval.py:155 create() get_pending() Approval reque… 2 - Execution Checkpointing ExecutionCheckpoint checkpoint.py:30 CompletedStep progress_percentage() CheckpointStore checkpoint.py:122 save() get_latest() Checkpoint sav… 1. Create ApprovalRequ… 2. Save to ApprovalSto… 3. Retrieve pending ap… 4. Approve or deny req… 5. Update state based… 6. Create ExecutionChe… 7. Save to CheckpointS… 8. Resume from latest… ApprovalRequest JSON Example { "id": "apr-123", "agent_id": "renewal-prep-1", "action": "send_renewal_packet", "description": "Send renewal packet to customer", "approval_type": "hard_gate", "required_approvers": ["csm_lead"], "deadline": "2026-05-21T13:59:23Z", "status": "pending" } ExecutionCheckpoint JSON Example { "task_id": "task-1", "agent_id": "agent-1", "current_step": 5, "total_steps": 10, "completed_steps": [...], "current_context": { ... }, "agent_memory": { ... } } ApprovalRequest and ExecutionCheckpoint use Pydantic for schema validation. StateStore and CheckpointStore are in-memory by default, suitable for development. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Rick
Slug
agent-control-framework
Rendered
2026-08-02T101544Z
From commit
ab2bbdebf5
Watches
1 path
  • daemon/src/agent_control