Split a 2-endpoint ticket between you and an agent

Judgment callEasy12 min

Your task

You picked up a ticket: add a /health endpoint and a paginated GET /api/orders endpoint to your team's TypeScript Express service, with tests. The service already has a dozen routes and a test suite. You want an AI agent to do as much of it as makes sense.

How do you split the work between you and the agent, and what do you check before it merges?

It covers

  • Delegation
  • Judgment
  • Checkpoints