feat(manifest): add fail-fast manifest validation (spec §3–§4)
TDD step 1 of the phase 1 plan: typed error hierarchy rooted in IngestError, manifest parsing with schema validation before any source call — id grammar, polymorphic source types, extraction rules, verdict reservation (okf_type and filename namespace), and the no-embedded- credentials rule for base_url. Dev tooling (pytest/mypy/ruff) added as a PEP 735 dependency group; runtime dependencies stay empty. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QeqhJpYQyghASjiJo5EhGg
This commit is contained in:
parent
ec2d632b4f
commit
54ac494830
5 changed files with 959 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ dependencies = []
|
|||
# Populated when Door B's binary extraction is implemented.
|
||||
extract = []
|
||||
|
||||
[dependency-groups]
|
||||
dev = ["pytest>=8", "mypy>=1.14", "ruff>=0.9"]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/llm_ingestion_okf"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue