Skip to content

fix(contracts): accept recovery-lineage fields on corpora specs - #410

Merged
ronaldtse merged 1 commit into
mainfrom
fix/corpus-contract-fields
Nov 3, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
fix/corpus-contract-fields

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

khm-latn.yaml (run-081 recovery record, 2026-10-29) records sources[].provenance, raw file sha256s and recovery_run — provenance the ledger must keep. The strict schema forbade the extra keys, so test_shipped_contracts_validate (contracts + pytest 3.10/3.11/3.12) has been red on main since the record landed. Adds the three fields as optional typed fields; extra=forbid stays for everything else. Local: test_pipeline_contracts.py 12/12 green; full suite green except two local-env collection errors (huggingface-hub 2.3.0 vs transformers <1.0 pin, unrelated).

khm-latn.yaml (run-081 recovery record, 2026-10-29) records
sources[].provenance, raw file sha256s and recovery_run — provenance
the ledger must keep. The strict schema forbade the extra keys, so
contract validation has been red on main since the record landed.
Add the three fields as optional, typed; extra=forbid stays for
everything else.
@ronaldtse
ronaldtse merged commit 8076bf2 into main Nov 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant