DESIGN DOCUMENT / NOT A DEPLOYED PRODUCT CONTRACT

Data flow

Keep evidence references, generated interpretation, and execution records distinct.

Sources into evidence

An ingested document would receive a source identifier and a version. Extracted text retains page or section locations. Structured claims refer to those locations, so the system can later identify a stale citation when an input document changes.

Evidence into a report

The model receives only the context needed for the current step. A generated update records its supporting source references separately from its text. Missing dates or owners stay null or explicitly unknown. Human revisions should preserve the link between the final claim and the reviewed material.

Workflow records

The orchestration layer tracks run state, task attempts, artifact references, and review decisions. Store references to large artifacts instead of repeatedly copying their contents into every event. Audit logs are separate from user-facing summaries and should have their own access policy.

Retention is unresolved

No product storage or retention control has been implemented. The MVP must define deletion behavior for originals, extracted text, artifacts, logs, and provider-side data before accepting user documents. Avoid promising a retention period or data residency until the system can enforce it.