loader

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 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, warden names) runs separately in Validate.

func Validate

Validate runs cross-reference checks that require the full manifest in hand: duplicate intent names, kind/capability consistency, warden references, and query-to-intent bindings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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