luplo.core.import_pipeline.results¶
Pydantic models for the ImportResults contract.
The results envelope is what the agent submits to finalize. It is strictly validated server-side; protocol violations (missing evidence, wrong item_type, etc.) abort the entire commit so partial buggy state is never written to luplo.
Attributes¶
Classes¶
One item produced by the agent during the import flow. |
|
Envelope submitted by the agent to finalize. |
Module Contents¶
- luplo.core.import_pipeline.results.ItemTypeLiteral¶
- luplo.core.import_pipeline.results.StatusLiteral¶
- class luplo.core.import_pipeline.results.ResultItem¶
Bases:
pydantic.BaseModelOne item produced by the agent during the import flow.
- model_config¶
- item_type: ItemTypeLiteral¶
- status: StatusLiteral¶
- evidence_required_when_done_or_partial() ResultItem¶
Reject done or partial items with no evidence paths.