Agentic Workflows · ~6 min
Most complex tasks have a nuanced final tenth that needs human judgment. The trick isn't full automation — it's a clean handoff at the right moment, carrying just enough context to continue.
Background agents handle well-defined work efficiently, but the final ~10% often requires judgment, taste, or infrastructure the agent can't reach. The background-to-foreground handoff transfers ownership at a planned threshold — not at failure, not at 100%.
The ~90% figure is illustrative; the real criterion is "the remaining work requires human judgment" — confidence falls below threshold on an externally-impactful decision, multiple valid options reflect preference not correctness, or testing needs infrastructure the agent can't reach. Four components make the handoff work:
claude-progress.txt) and git history; the human reads diffs, not agent logs.This pattern is often conflated with two neighbors. They differ by trigger and direction:
| Handoff | Trigger | What moves |
|---|---|---|
| Human-in-the-loop gate | Before an irreversible action | Agent pauses; you approve |
| Cloud–local handoff | A surface transition | Same work, different infra |
| Background→foreground | Near-complete task | Ownership: agent → human |
And the in-thread side-channel is a fourth move in the other direction: a tagged sub-conversation lets you ask a mid-task clarifying question inside one session, then returns the agent to its prior goal — without spawning a new session or losing context.
The handoff assumes the agent can identify the threshold and write an accurate summary. Both can fail. Summary drift — a note that omits or misrepresents decisions — drops you onto a false starting point, and a misleading draft PR can be harder to untangle than starting fresh from requirements. Tool parity absent (different branch state, missing MCP servers, inaccessible infrastructure) degrades the handoff to a cold start regardless of summary quality. In those conditions, full automation with post-hoc review is often more reliable.
Retrieval practice — recall, don't peek
Question 1The background-to-foreground handoff fires when the task is…
Question 2The handoff passes the human…
Question 3The worst stopping failure is when the agent stops…
Question 4Missing tool parity degrades the handoff into…
Question 5 · spaced recall from Lesson 6In a headless CI run, you must set --max-turns because…
claude-progress.txt template that captures decisions and open questions, or how the in-thread side-channel returns an agent to its prior goal after a clarification? Next, Part 3 opens with Snapshot and Roll Back — reversible repo setup.