Skip to main content

Module contract

Module contract 

Source
Expand description

The OSS-RELEASE.md release contract: schema, normalizer, and SPDX check (port of check-oss-release.py — ADR-0001 §3).

This is the inter-skill contract: every /oss-* member reads OSS-RELEASE.md only through here, and contract show / contract validate are the two presentation modes over the one normalization function. Stub at founding; the normalizer lands in the contract-command unit.

Re-exports§

pub use normalize::normalize;
pub use normalize::normalize_str;
pub use normalize::LoadError;
pub use normalize::Normalized;
pub use normalize::Problems;
pub use normalize::CONTRACT_FILENAME;
pub use spdx::spdx_valid;

Modules§

normalize
Normalization pipeline: validate every field/enum/cross-field floor, materialize all defaults, and expand targets from ecosystems.
schema
The ONE canonical serde model for OSS-RELEASE.md (ADR-0003 §1).
spdx
Vendored SPDX license-expression grammar + id check.