feat(contracts): RequestIX + Context + Options (spec §3) #3
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/contracts-request"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the incoming-request Pydantic v2 contracts: RequestIX, Context, FileRef, Options, OCROptions, GenAIOptions, ProvenanceOptions. Matches MVP spec §3 exactly.
extra="forbid"everywhere catches drift at the transport boundary.Context.files is
list[str | FileRef]— plain URLs stay str, auth-needing URLs use FileRef.CI trigger is flaky for now; local tests green (22 passed, ruff clean).