loader

package
v1.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

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

func Load(r io.Reader, source string) (*contract.ContractManifest, error)

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL