Synedrix OS
OS agent 4 of 12 · os-agt-004

HITL Gateway Agent

The human approval surface: routes requests to the right reviewer, captures the decision, and enforces the timeout.

FAMILY
Control
OS LAYER
Layer 9
DECISION SCOPE
approve
RISK TIER
high
VERSION
0.2
ESCALATION PATH
  1. HITL Gateway AgentHITL Gateway AgentHITL Gateway Agent
Mission

What the HITL Gateway Agent is for

Manage the human-in-the-loop approval surface for all workflows that require human review: route approval requests to the correct reviewer, capture structured decisions, enforce review timeouts, and return binding outcomes back to the requesting workflow.

Family: Control. Registry definition version 0.2.

Position

Where it sits in the architecture

Every OS agent is assigned to one of the twelve canonical layers, and inherits that layer's boundary.

Layer 9: Governance & Controls

Governance and observability

Enforce policy, permissions, approvals, and compliance.

Read the Governance & Controls layer

Other OS agents at this layer

Authority

What it may decide, and where it stops

Every agent declares its authority explicitly. The boundary is as much a part of the design as the capability.

Decision scope

APPROVE

Validates or blocks proposals. Never executes the actions itself.

It captures and relays human decisions. It never makes an approval decision of its own.

Side effects it may trigger

  • Approval record write
  • Notification dispatch
  • Timeout escalation trigger

Approval required

Not applicable: this agent is the approval surface itself.

Risk tier: high · Governance class: autonomous

AUTHORITY BOUNDARY
The HITL Gateway Agent is a routing and capture mechanism. It does not interpret, modify, or override the human decision it receives. On timeout it escalates rather than deciding autonomously.
Contract

What goes in and what comes out

The input and output contracts are fixed by the registry, so any workflow can rely on them.

It receives

An approval request with the workflow, the action and its payload, the requesting agent, the reviewer role, and a timeout.

{ approval_request_id, workflow_id, action_type, action_payload, requester_agent_id, reviewer_role, timeout_seconds, correlation_id }

It always returns

A decision of approved, rejected or timeout, with the reviewer, the rationale and the time of the decision when there is one.

{ decision: approved | rejected | timeout, reviewer_id?, rationale?, decided_at?, correlation_id }
Access

Tools, systems and memory

An agent may use only what its definition lists. Anything else is an authority-boundary change.

Tools allowed

  • Human interface notification dispatcher
  • Approval state writer
  • Timeout manager
  • Hookdeck Outpost (notification delivery)

Systems allowed

  • Supabase approval state (read and write)
  • Hookdeck Outpost (write)
  • Redis timeout keys (read and write)

Memory scope

  • Approval state: read and write
  • Audit state: write
Task surface

The task classes it handles

Autonomous classes need no approval gate. Gate classes are the control itself, so they are not graded.

route-approvalGATE
capture-decisionGATE
escalate-timeoutGATE
In the system

Who it works with

Agents never act alone. These are the hand-offs that matter for this one.

Receives the escalate decisions it cannot settle by policy alone.

Returns the approved, rejected or timeout outcome to the Orchestrator Agent.

Owner workflows: All HITL-gated workflows; WF-OS-APPROVAL-ROUTING.

Common questions

HITL Gateway Agent questions, answered

Short, citable answers drawn from this page.

What does the HITL Gateway Agent do?

It runs the human approval surface: it routes each request to the right reviewer, captures a structured decision, enforces the timeout and returns the outcome to the workflow.

Does the HITL Gateway Agent make approval decisions?

No. It captures and relays human decisions and never makes one of its own. It does not interpret, modify or override the decision a reviewer gives it.

What happens when a review times out?

It escalates instead of deciding. A timeout or a contested decision goes to a senior reviewer, then to a human operator. The outcome returned is approved, rejected or timeout.

Which systems may the HITL Gateway Agent use?

Supabase approval state and Redis timeout keys, read and write, and Hookdeck Outpost to deliver reviewer notifications. Its memory scope is approval state plus audit writes.

Which agents does the HITL Gateway Agent work with?

It takes escalate decisions from the Policy Guard Agent and returns each outcome to the Orchestrator Agent. Other agents escalate to it when they need human review.

The full registry definition of the HITL Gateway Agent, with every field summarised on this page, lives in the documentation repository, which is private while the platform is being built.

Follow the buildAll twelve agents

Back to the platform overview

Latest post