Skip to content

Clarification as Draft Repair

Reading map

Clarification as draft repair

In this model, asking a question is not a separate fallback. It is a draft repair operation.

Example:

User: "Lunch yesterday"

Draft:

{
  "type": "expense",
  "amount": null,
  "date": "2026-06-22",
  "category": "dining",
  "missing_fields": ["amount"]
}

Policy:

{
  "next_action": "ask_user",
  "question": "How much was lunch?"
}

User:

18

Patch:

{
  "amount": 18
}

Then readiness check runs again.

This is exactly the slot-filling dialogue pattern:

System fills known slots.
System asks for missing required slots.
User answers.
System updates the frame.

Related: Transaction example: from utterance to execution ยท Mapping the draft model to dialogue frameworks.

Original text: 02-pipeline.md.