Documentation
¶
Overview ¶
validate.go
yaml.go
Index ¶
Constants ¶
View Source
const SupportedSchemaVersion = 1
SupportedSchemaVersion is the schema integer this loader understands. Bumping it requires a coordinated platform release (see DESIGN.md).
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load parses a contributor manifest YAML stream and validates its schemaVersion. Cross-reference validation (intent refs, slot accepts, warden names) runs separately in Validate.
func Validate ¶
func Validate(m *contract.ContractManifest, wardens contract.WardenRegistry) error
Validate runs cross-reference checks that require the full manifest in hand. It does not enforce slot-accepts (that needs the global registry to know about other contributors' intent kinds); slot validation runs in registry.Register.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.