Break down HR-benefits API integration
You're tasked with integrating your company's internal HR system with a third-party benefits provider's API — a multi-step enterprise integration in Java involving auth, data mapping, sync scheduling, and error reconciliation. Break this into agent-sized steps with checkpoints, and identify which step is least suited to an AI agent and must be human-driven, given the provider's API docs are incomplete and partly wrong.
flag_doc_mismatches(documented_fields: list[str], observed_values: list[str]) → list[str][["employee_id=int","start_date=str","is_active=bool"],["employee_id=00042","start_date=2026-03-01","is_active=true"]]out["employee_id"][["employee_id=int","plan_code=str"],["employee_id=42","plan_code=","tier=gold"]]out["plan_code","tier"][["employee_id=int","start_date=str","is_active=bool"],["employee_id=42","start_date=2026-03-01","is_active=false"]]out[]Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it (tests, edge cases, reading critically), and how you’d re-prompt or decompose to get it right.
Vibe & agentic: describe the solution in plain language (or narrate it) and the coach grades your approach.