-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
name: 🚀 Feature Request
about: Field-Level Traceability Engine
title: "[FEAT]: Field-Level Traceability Engine"
labels: enhancement
assignees: ''
📝 Description
Currently, form filling has no source showing:
- Which source provided each field?
- Which extraction method was used?
- What was the confidence level?
- Were multiple sources considered?
💡 Rationale
This violates explainability requirements and prevents downstream conflict detection. Auditors cannot trace decisions back to evidence sources.
🛠️ Proposed Solution
Implement minimal evidence chain capture during form filling:
- Track
source_id,method, andconfidencefor each field - Store in new
FieldTraceRecorddata model - Return mapping report with evidence metadata
- Evidence captured automatically during batch and single-form operations
✅ Acceptance Criteria
- Evidence chain captures: source_id, method, confidence for every populated field
- Mapping report includes evidence metadata for each matched field
- Unit tests: evidence capture accuracy (3 scenarios)
- Integration tests: batch endpoint returns evidence metadata
- No breaking changes to existing APIs (all new fields are additive)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels