M0.3: Contract v1 Pydantic models #2
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/contract-models"
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?
Summary
Implements all Research Contract v1 types as Pydantic models with full test coverage.
ResearchConstraints— input knobs (iterations, token budget, max sources)Citationwithraw_excerpt— verbatim source evidenceGapCategoryenum (5 categories) +Gap— categorized unresolved topicsDiscoveryEvent— lateral findings for other researchersConfidenceFactors— auditable scoring inputsCostMetadatawithmodel_id— resource tracking per model tierResearchResult— top-level contract container32 tests: validation, bounds, required fields, serialization roundtrips, JSON structure compliance.
Refs: #1