Documentation
¶
Overview ¶
Package roles loads versioned Role Contracts (§9). Contracts are YAML and embedded in the binary; they define competencies, required behaviors, artifact expectations, rubrics, required checks, and tool requirements — not merely "act like X" prompts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RoleContract ¶
type RoleContract struct {
Name string `yaml:"name"`
Version string `yaml:"version"`
Competencies []string `yaml:"competencies"`
Behaviors []string `yaml:"behaviors"`
Artifacts []string `yaml:"artifacts"`
Rubrics []string `yaml:"rubrics"`
Checks []string `yaml:"checks"`
Tools []string `yaml:"tools"`
Model string `yaml:"model"`
}
RoleContract is a versioned staff-level role definition (§9).
func Must ¶
func Must(name string) RoleContract
Must returns a role contract, panicking on error (for internal wiring).