Module 03 Activity
Scenario
Someone wants the crew switched to hierarchical because it sounds more capable. Settle it with the four questions and a cost measurement.
What you build
A process decision with the routing rule either written down or shown to need judgement, plus the token cost of each option.
Steps
- Answer the four questions from Unit 02 for your workflow. Note which one actually decides it.
- Try to write the routing rule as a function. If you succeed, that is your answer - a flow does it for free.
- If it genuinely needs judgement, say what about it cannot be enumerated.
- Price both processes over a realistic monthly volume, counting the manager's per-delegation and assembly calls.
- Set
allow_delegation=Falseon every agent that does not specifically need it, and say which one does. - List the three failure modes each process would have in your workflow.
Evidence to hand in
- The four questions answered, with the deciding one marked.
- The routing rule as code, or the argument that it needs judgement.
- The cost comparison over your real volume.
- The delegation settings with a reason for any that are True.
- Three failure modes per process.
Review checklist
- The attempt to write the routing rule was actually made.
- The cost comparison counts the manager's calls, not just the workers'.
allow_delegationis False except where specifically justified.- If hierarchical was chosen, the judgement it needs is named specifically.
- The failure modes are about your workflow, not generic.
