Approvals & Human Review
Some steps in the guided product journey that carries a data product from Connect through Ready require human approval before the run continues. When an agent's run reaches one of these steps, the run parks there until a human (or an agent acting on a human's behalf) approves or rejects it.
The Four Approval-Gated Steps
Exactly four steps in the gate-bearing chain are approval-gated:
| # | Step | What it approves |
|---|---|---|
| 1 | Review mapping proposals | Also satisfies the override-coverage gate — see Promotion Gates Reference. |
| 2 | Confirm standards baseline | A checkpoint after all four establish-data-standards gates (field-descriptions, pii-classification, quality-rules, data-contract) have been addressed. |
| 3 | Configure access policy | Runs before the delivery endpoint is registered. |
| 4 | Propose readiness promotion | Runs before promote_data_product actually executes. |
No other step in the journey requires a human decision — everything else proceeds automatically once its own gate is satisfied.
There Is Exactly One Queue
Every parked approval — whether it originated from a guided journey run, a hire-agent request (metadata.source = 'hire_agent'), an issue-scoped gate (metadata.source = 'issue_gate'), or a standalone request like a semantic-completeness override — lands in the same underlying approval_requests table. Kinds are distinguished via operation_name / metadata.source, not separate tables.
agent_issues remain the durable work tracker (assignee, comments, checkout). They may reference an approval (metadata.issue_id on the request, or approval_request_id on the issue) while blocked — they are not a second approval store.
There are multiple UI entry points into the queue (the in-app inbox at /inbox/requests, a magic-link email for reviewers without an active session, and the MCP surface via loxtep_review → list_pending / resolve), but resolving an item from any one of them resolves it everywhere. An agent calling resolve and a human clicking the same row in the inbox are operating on the identical queue row — there's no risk of the two surfaces disagreeing about whether something is still pending.
An agent can resolve the same row a human sees in the inbox by calling loxtep_review directly:
{ "operation": "resolve", "approval_request_id": "appr_8f2c1a90", "action": "approve" }
Once this call succeeds, the inbox row and the magic-link email both immediately reflect the resolved state — there is nothing left to reconcile between surfaces.
Approving Executes the Commit
Approving a gated step is not "acknowledge and move on" — when the parked step also carries an api_ref (for example, Propose readiness promotion → MCP promote_data_product), approving it triggers that call directly. The run stays in a running state until that call completes, rather than silently advancing past the decision point. Concretely: approving "Propose readiness promotion" is what actually runs loxtep_build → promote_data_product, which (per Readiness Operations) evaluates readiness synchronously and, if promotable, hands off the actual stage-change persistence to the async promotion-processing bot — the approval is the trigger for the whole chain, not a separate rubber stamp before it.
Who Gets Asked
Approvals are routed to the domain owner (or, when no single owner is set, domain_stewards) for the data product or domain in question — resolved by the same audience-resolution logic regardless of whether the approval originated from a journey step or a standalone flow like the semantic-completeness override.
The Semantic-Completeness Override Window
Outside the guided journey, a data product that fails the bespoke semantic-completeness check (see Promotion Gates Reference) can request an override instead of being unconditionally blocked. That override creates a standalone approval request with a 72-hour expiry window — if it isn't approved within that window, it lapses and must be re-requested. Once approved, promoting the product from its readiness panel in the app applies the approved override and proceeds past the gate.
A step on a flow
An approval step pauses one event on a deployed flow until a person decides it in Inbox. In Studio, choose Approval on the insert menu of an existing step. The step is named Approval, uses the channel inbox, and waits 24 hours. The step that followed moves onto the approved path. A rejected path stays unset until you add it. An approval cannot be the first step.
From a project that is already attached:
loxtep approval add \
--workflow <workflow-id> \
--after <entity-id> \
--name "Order review" \
--channel inbox \
--timeout-hours 24
--after is the id of the step the approval follows. Timeout is a whole number of hours from 1 to 168. Channel is a label such as inbox.
In a workflow bundle the same step is approvals/{approval_node_id}.json, with name, approval_channel, timeout_hours, workflow_id, and upstream_entity_id. The next step points upstream_entity_id at the approval, sets upstream_entity_type to approvals, and sets upstream_label to approved. Python authors that same JSON file. There is no Python authoring command for the step.
requireApproval on a code-first handler prompts only during loxtep test. It does not add this step, and the handler itself does not run on the platform. A module that declares an approval node writes that node when you deploy. The handler is not uploaded.
loxtep approvals list, approve, and reject decide the Inbox record for this step and for the journey gates above. They do not create the step.
Related Reading
- Promotion Gates Reference — what each gate checks and how to satisfy it.
- Governance Tiers — which gates block by default, and how an admin can override one.
- Readiness Operations — required vs. advisory, gate ordering, and the exact thresholds behind
quality-rulesandpii-classification.