noCV
BEXTRACT-105 · Validate drafts

Prevent document text from overriding extraction policy

Practice briefBugAdvanced

An invoice note contains instructions to mark every field verified.

Focused work estimate
3h + prerequisites
Priority in the scenario
High
Engineering practice
Prompt injection · Trust boundaries

Estimated field mix

  • Applied AI50%
  • Security50%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

Review it, then add it to your workspace.

The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.

Project context

A fictional procurement team receives inconsistent supplier documents. It wants draft records that staff can review without treating model output as authoritative accounting data.

Setup prerequisites

  • Author synthetic text invoices with ambiguous dates, currencies, and line items; use a deterministic provider double.

Preceding work

Complete these dependencies, or supply their agreed outputs before taking this ticket.

Acceptance criteria

  • Treat document text only as extraction input.
  • Require the same schema and grounding rules for all responses.
  • Keep document instructions unable to change review status.

Implementation constraints

  • No external tools or supplier contact is permitted from model output.

Verification to include

  • Extract a normal note field.
  • Inject policy-changing text and verify review remains required.

Deliverables

  • Untrusted-document regression cases.

Rollout and recovery

Fail closed on invalid output; retain the deterministic provider as a safe development mode.

Value of the work

For the engineer: Practice schema constraints, numerical checks, review workflows, and safe model boundaries.

For the team: Produce an inspectable extraction prototype that can reduce manual transcription while preserving review control.

Evidence boundaries

Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.

Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.