Lab 1
Supervise the agent through a flagged run
Scenario
Acme enables the auto-payroll agent. This period holds two real events: new hire Ben Carter gets his first check, and Sam Reyes changed his bank account four days before payday (he genuinely switched banks). Auto-approval for clean runs is ON - watch what the gate does.
Steps
- 1
Trigger the agent to prepare the period’s run.
Expected: A submitted run appears with a plain-English summary and two flags: first check (Ben), bank change ≤7 days before payday (Sam).
- 2
Confirm the run was NOT auto-approved.
Expected: Flags present → auto-approval is off the table; the run waits in approval.
- 3
Resolve Ben’s flag: open his paycheck, verify salary, W-4, and deductions against his offer letter.
Expected: Numbers match the $52,000 offer; note the verification in the review.
- 4
Resolve Sam’s flag the right way: call Sam on a known number and confirm he changed banks.
Expected: Sam confirms; the flag’s answer is documented, not dismissed.
- 5
Approve the run as Priya, then check the actor history.
Expected: History shows: prepared/submitted by the agent, approved by Priya - two distinct actors.
- 6
Process and deposit as the human admin.
Expected: Money moves only on this step - the agent never got the chance.
Checkpoints - you got it right if…
- The anomaly gate blocked auto-approval on a run with flags
- Both flags were resolved by verification (offer letter, phone call), not by dismissal
- Run history shows the agent and the human as separate actors
- Processing/deposit was performed by a human admin