brigade-schema

command
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Command brigade-schema writes the Brigade Adapter Protocol JSON Schema document to stdout. `make schema` redirects it into docs/protocol-v1.schema.json and `make schema-check` diffs the two, so its output must be byte-identical between runs and between machines; internal/protocol/schema owns that guarantee (sorted $defs, ordered members) and TestDocumentStable pins it.

The command is DEV-ONLY and never shipped: it may link invopop/jsonschema, which must stay out of bin/brigade (`make deps-check` asserts the shipped binary's module set).

Jump to

Keyboard shortcuts

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