The Delegation Map: Decide What Claude Owns, What People Keep and What They Share
One late-delivery complaint is nine steps. Score each on undo, stakes and who answers for it, and a small function in code names the owner: the system, Claude, a person, or a share with sign-off.
What you will learn
- Score every step of a process on reversibility, stakes and accountability
- Name one of four owners per step: system, delegate, collaborate or retain
- Write the owner rules in code, in an order that is itself the policy
- Avoid delegating a step just because Claude can do it
Before you start
- Basic Python
- Workflow or agent: who picks the next step
Picture a support agent with one late-delivery complaint to handle. Claude could do every step of it: summarise, look things up, draft, send, even offer the customer a gift. But should it?
Deciding what Claude owns is the first design decision, and your code makes it, not the model. In this article you split one complaint into nine steps, score each one, and let a small function name the owner.
One complaint, nine steps
The unit of delegation is the step, not the whole job. Here is the complaint, broken down:
- Summarise the complaint.
- Look up the order.
- Apply the five-day rule (the same answer every time).
- Draft the reply.
- Send it. Nobody can call it back.
- Spot a weekly pattern.
- Offer an extra gift, which is high stakes.
- Close the case under a name.
- Tag and file the note.
A new assistant in their first week
Think about how you would treat a new assistant. Filing notes is easy to redo, so you let them do it: delegate. The five-day rule gives the same answer every time, so it's a timer, not a person: the system. A letter to a customer, they draft and you read first: collaborate. A gift for a customer, you answer for, so you decide: retain.
You hand over what's easy to redo, and keep what you answer for.
Three scores for every step
- Undo (reversibility). Can we undo it? A draft or a tag is easy. A message that went out is hard.
- Stakes. What does a mistake cost? A tag is low. A customer who notices is medium. Money or trust is high.
- Who answers (accountability). Nobody in particular, or one named person.
Two facts about generative AI shape how you read those scores. It doesn't give the same answer every time, so a fixed rule goes to code or an existing system. And it can be wrong while sounding sure, so whatever is hard to undo needs a person to check. That gives the owners:
- Existing systems for lookups and fixed rules.
- Claude for language work that's easy to redo, like drafts and summaries.
- People for what they answer for and what's hard to undo, with a shared middle where Claude proposes and a person signs off.
The steps in code
The project is a slice of SupportDesk. It runs against a stand-in: the Anthropic SDK on an httpx mock transport with scripted replies, so no API key is needed and the replies show the design, not a real model's quality. All scores, the five-day rule and the 30-day window are example values for the scenario. delegation/steps.py holds the nine steps:
"""One complaint, nine steps, each step scored."""
from dataclasses import dataclass
@dataclass(frozen=True)
class Step:
id: str
name: str
undo: str
stakes: str
answers: str
fixed_rule: bool = False
COMPLAINT = [
Step("S1", "summarise complaint", "easy", "low", "nobody"),
Step("S2", "look up the order", "easy", "low", "nobody",
fixed_rule=True),
Step("S3", "apply five-day rule", "easy", "low", "nobody",
fixed_rule=True),
Step("S4", "draft the reply", "easy", "low", "nobody"),
Step("S5", "send the reply", "hard", "medium", "nobody"),
Step("S6", "spot a pattern", "easy", "medium", "nobody"),
Step("S7", "offer extra gift", "hard", "high", "named"),
Step("S8", "close case by name", "easy", "low", "named"),
Step("S9", "tag and file note", "easy", "low", "nobody"),
]
The owner rules: the order is the policy
delegation/assign.py names the owner. The first rule that matches wins:
"""Who owns a step. The first matching rule wins."""
from dataclasses import dataclass
@dataclass(frozen=True)
class Assignment:
owner: str
why: str
def assign(step):
if step.fixed_rule:
return Assignment("system", "fixed rule, so code")
if step.stakes == "high" and step.undo == "hard":
return Assignment("retain", "high and hard to undo")
if step.undo == "hard":
return Assignment("collaborate", "hard to undo")
if step.stakes != "low":
return Assignment("collaborate", "stakes above low")
if step.answers == "named":
return Assignment("collaborate",
"a named person answers")
return Assignment("delegate", "easy, low, nobody named")
Follow one step through. S5, send the reply: undo is hard, stakes are medium, nobody is named. A fixed rule? No. High stakes and hard to undo? No, only medium. Hard to undo? Yes, so the owner is collaborate. Claude proposes the reply and a person signs off. What Claude could do never decided this; "hard to undo" did.
Each owner does the work its own way
desk.py routes a step to the owner the map names. System steps run as plain code, shared steps go to a sign-off list, and retained steps never touch the model:
"""One step through the desk: it goes to the owner the map names."""
from agent.work import do_step
from delegation.assign import assign
from systems.orders import look_up, qualifies
def handle(step, client, signoff):
a = assign(step)
if a.owner == "system":
order = look_up("O-77")
if step.id == "S2":
result = f"{order['days_late']} days late"
else:
result = f"qualifies: {qualifies(order['days_late'])}"
elif a.owner == "delegate":
result = do_step(step, client)
elif a.owner == "collaborate":
signoff.append((step.id, do_step(step, client)))
result = "Claude proposed, a person signs off"
else:
result = "handed to a person, no model call"
return a, result
Nine steps, four owners
Here is what run_all.py printed for the complaint:
one late-delivery complaint, nine steps
S1 summarise complaint easy low nobody -> delegate easy, low, nobody named
S2 look up the order easy low nobody -> system fixed rule, so code
S3 apply five-day rule easy low nobody -> system fixed rule, so code
S4 draft the reply easy low nobody -> delegate easy, low, nobody named
S5 send the reply hard medium nobody -> collaborate hard to undo
S6 spot a pattern easy medium nobody -> collaborate stakes above low
S7 offer extra gift hard high named -> retain high and hard to undo
S8 close case by name easy low named -> collaborate a named person answers
S9 tag and file note easy low nobody -> delegate easy, low, nobody named
owners: system 2 | delegate 3 | collaborate 3 | retain 1
S2 ran in code: 7 days late
S3 ran in code: qualifies: True
S5 proposed: Ready to send the S4 reply to the customer. -> signed off by nina
S6 proposed: Four late parcels this week, all from one carrier. -> signed off by nina
S8 proposed: Close case C-1042 as resolved. -> signed off by nina
S7 handed to a person, no model call
Change one score and the owner moves. The run shows it: if the draft from S4 is sent straight to the customer, it becomes hard to undo, and the owner changes.
S4 draft the reply: delegate (easy, low, nobody named)
S4 sent straight to the customer: collaborate (hard to undo)
How a person gets a clean review card for those shared steps is covered in prompt guidance versus programmatic gates and handoff cards, and when review is truly needed in when a human must review AI output.
The trap: delegated because it could
Claude can do every step, so give it every step. All nine go to Claude alone. Three are fine, but six needed code or a person. Two things go wrong: a mistake nobody can undo (the gift can't be taken back), and a mistake nobody answers for (no name stands behind the close). The run counts it:
steps Claude ran alone that needed someone else: Claude can do it 6 | map 0
Two other tempting answers fail too. Keep every step with people, and the easy steps pile up. Ask Claude which steps it should own, and the model scores itself. The architect's rule: reversibility, stakes and accountability decide the owner, not what Claude can do. Ability says Claude can do the step. It never says the result is safe.
A second process: a damaged-item return
The same function maps a second, smaller process from data/exercise.json:
second process: a damaged-item return
R1 sort the photo by damage -> delegate easy, low, nobody named
R2 check the 30-day window -> system fixed rule, so code
R3 approve a $900 replacement -> retain high and hard to undo
R4 write the pickup message -> collaborate hard to undo
Four steps, four different owners, one line of why each.
Quick recap
| Owner | When | Example |
|---|---|---|
| System | A fixed rule or lookup | S3 five-day rule, R2 30-day window |
| Delegate (Claude) | Easy to undo, low stakes, nobody named | S1 summarise, S9 tag and file |
| Collaborate | Hard to undo, stakes above low, or a named person answers | S5 send, S8 close by name |
| Retain (people) | High stakes and hard to undo | S7 extra gift, R3 $900 replacement |
Choosing between a workflow and an agent for the steps Claude does own is covered in workflow or agent. The project files for this lesson are in the community, free to join.
Try it yourself
Map a process from your own work, for example a password reset: verify identity, send a reset link, unlock the account, log the event. Score each step on undo, stakes and who answers, run it through the same six rules, and write the owner and one line of why. Then swap the order of rules 2 and 3 and see which owners change. That's why the order is the policy.
Related course on Udemy
Claude Certified Architect - Professional (CCAR-P) Exam Prep
Architecting with Claude: design, models, context, integration, evals, governance and stakeholders.View on Udemy ↗: Claude Certified Architect - Professional (CCAR-P) Exam Prep (paid course, opens in a new tab)Related posts
The Claude Messages API: Your First Call, Field by Field
One request in, one Message out. The four fields of a Messages API call (model, max_tokens, system, messages), how to read content blocks, stop_reason and usage, and why every turn resends the history.
Claude Tool Use: How tool_use and tool_result Work in the Messages API
Follow one order question through Claude's tool round trip: define a tool, read the tool_use block, run your own function and send a matching tool_result back, including parallel calls and is_error.
Claude Client SDKs Wrap One REST API: Raw HTTP, Python, TypeScript and Async Calls Compared
Every Claude client SDK wraps the same REST request: a POST to /v1/messages with a JSON body. See it built by hand, through the Python and TypeScript SDKs, as typed errors, and as async calls that wait together.
Anthropic SDK Timeouts, Retries and Error Classes: Configure the Client Once, Then Give 429, 529, 400 and Timeouts Their Own Move
Configure the Anthropic SDK client (timeout, max_retries, with_options, async, pagination), see which errors it retries by itself, then repair a retry wrapper so a 429, a 529, a 400 and a timeout each get the move the docs support.
