[WSJF-7] Structured artifact handoff: save emails as golden test fixtures #6

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

Context

Article: 'Use files to pass state between sessions.' Enables context resets while maintaining continuity.

Problem

When AI processes an email and generates good extraction, that knowledge is lost. If the parser later breaks, we have no reference data to test against.

Proposal

  • On each successful AI extraction, save the email + extraction as a JSON fixture in a fixtures/ directory
  • Use these as regression tests: re-run parsers against fixtures periodically
  • Enables evaluator step in CI (see issue #2)

WSJF: 7

## Context Article: 'Use files to pass state between sessions.' Enables context resets while maintaining continuity. ## Problem When AI processes an email and generates good extraction, that knowledge is lost. If the parser later breaks, we have no reference data to test against. ## Proposal - On each successful AI extraction, save the email + extraction as a JSON fixture in a `fixtures/` directory - Use these as regression tests: re-run parsers against fixtures periodically - Enables evaluator step in CI (see issue #2) ## WSJF: 7
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#6
No description provided.