Documentation
¶
Overview ¶
Command codegen is the generation entry point for the Pasture protocol. The canonical `make generate` command invokes the go:generate directive in internal/codegen/codegen.go, which selects both registered harness targets:
go run ../../tools/codegen --targets claude-code,opencode
The tool writes schema.xml once, then emits each selected harness's skills, agents, verbatim skill copies, and manifest. Direct invocations may use --targets for focused generator development, but repository validation uses the canonical all-target command.
Exits non-zero if any generator returns an error.
Click to show internal directories.
Click to hide internal directories.