ADK HITL Frontend
Use this skill when an agent pauses for human review and a user interface must list, inspect, decide, and resume the exact agent session.
Workflow
- Define the interrupt payload, reviewer role, decision schema, and final resume behavior.
- Read
references/cl5_agent_frontend_spec.mdfor event resolution, adapters, endpoints, UI behavior, and production gaps. - Read
references/cl5_vibecode_deploy_frontend.txtonly for exact lab steps or command details. - Correlate pending function calls and responses by stable IDs.
- Persist approval records before resuming the agent.
- Resume the exact session with the matching function response.
- Add authentication, authorization, idempotency, optimistic concurrency, and audit logs before production use.
Required Views And Endpoints
- Pending decision list
- Decision detail with risk context
- Approve/reject or structured decision action
- Final result/status view
- Duplicate/stale decision handling
- Error state for missing session, failed resume, or unauthorized reviewer
Evaluation Prompts
- Positive: "Design the manager approval UI for this ADK agent." Expected: pending queue, detail view, correlated response, audit, auth, and resume behavior.
- Positive edge: "Approvals sometimes duplicate or arrive late." Expected: idempotency, stale decision handling, and stable IDs.
- Negative: "Make a static marketing page." Expected: no HITL frontend skill unless agent approvals/session resume are involved.