Metadata-Version: 2.4
Name: capture-structuring
Version: 0.3.10
Summary: Brain-agnostic, provenance-safe Capture Workbench host structuring SDK.
License: MIT
Requires-Python: <3.15,>=3.12
Requires-Dist: capture-contracts<0.4.0,>=0.3.10
Requires-Dist: jsonschema<5.0.0,>=4.25.0
Requires-Dist: pydantic<3.0.0,>=2.12.0
Description-Content-Type: text/markdown

# capture-structuring (Python)

The brain-agnostic Capture Workbench host SDK. Hosts supply the LLM callable;
the SDK owns bounded batching, prompt assembly, minimal semantic output
validation, trusted provenance reconstruction, and validation against the
published `CaptureDocumentV1` schema from `capture-contracts`.

The LLM must return only `sourceSegmentId`, `type`, and (for translation)
`targetText`. It must never echo `blockId`, `order`, `locator`, `sourceText`, or
any other provenance field. The host still submits the assembled candidate to
the runtime `POST /structure` endpoint before persisting it; the runtime is the
canonical validator.
