[WSJF-3] Planner step: classify email type before extraction #19

Open
opened 2026-06-27 10:46:15 +02:00 by bullitt · 0 comments
Owner

Context

Article's three-agent system: Planner expands scope, Generator implements, Evaluator tests.

Problem

Our AI prompt jumps directly to extraction without understanding the email type. For ambiguous emails, this leads to wrong status mapping.

Proposal

  • Add a lightweight classification pre-step (could be rule-based or cheap model):
    • Is this a shipping notification? (vs. order confirmation, return, etc.)
    • What carrier?
    • What stage? (confirmation, shipped, in-transit, delivery, delivered)
  • Feed classification context into extraction prompt for better accuracy

WSJF: 3

## Context Article's three-agent system: Planner expands scope, Generator implements, Evaluator tests. ## Problem Our AI prompt jumps directly to extraction without understanding the email type. For ambiguous emails, this leads to wrong status mapping. ## Proposal - Add a lightweight classification pre-step (could be rule-based or cheap model): - Is this a shipping notification? (vs. order confirmation, return, etc.) - What carrier? - What stage? (confirmation, shipped, in-transit, delivery, delivered) - Feed classification context into extraction prompt for better accuracy ## WSJF: 3
Sign in to join this conversation.
No labels
arch
harness
security
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bullitt/trackbox#19
No description provided.