[WSJF-5] One-feature-at-a-time: split AI extraction from parser generation #9

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

Context

Article: 'One-feature-at-a-time reduces cognitive load on model.'

Problem

Our AI prompt asks the model to simultaneously: extract fields AND generate a reusable field_map. These are different tasks with different success criteria.

Proposal

  • Split into 2 sequential calls:
    1. Extract fields from this email (cheap, focused)
    2. Given this email and the extracted fields, generate a field_map (can reference extraction as ground truth)
  • Benefit: extraction quality improves (focused task), field_map can be validated against known-good extraction

WSJF: 5 (Medium value, Medium risk reduction, but larger size)

## Context Article: 'One-feature-at-a-time reduces cognitive load on model.' ## Problem Our AI prompt asks the model to simultaneously: extract fields AND generate a reusable field_map. These are different tasks with different success criteria. ## Proposal - Split into 2 sequential calls: 1. Extract fields from this email (cheap, focused) 2. Given this email and the extracted fields, generate a field_map (can reference extraction as ground truth) - Benefit: extraction quality improves (focused task), field_map can be validated against known-good extraction ## WSJF: 5 (Medium value, Medium risk reduction, but larger size)
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#9
No description provided.