Versions in this module Expand all Collapse all v1 v1.1.0 Oct 12, 2026 v1.0.0 Sep 19, 2026 Changes in this version + func DeclaredHookTimings(fsys fs.FS, loop string) ([]string, error) + func EmbeddedHookUniverse() (hosts, loops []string, err error) + func RenderHook(fsys fs.FS, loop, host, timing string) (string, error) + func RenderPayloadContract(fsys fs.FS, loop, skill string) (string, error) + func RunClaudeProjector(ctx context.Context, action string, opts ClaudeOptions) error + func RunCodexProjector(ctx context.Context, action string, opts CodexOptions) error + func ValidateGeneratedHooks(hosts, loops []string) ([]string, error) + func WriteMemoryMirror(path string, proj projection.Projection) error + type ClaudeOptions struct + HostArgs []string + Loops []string + ProjectRoot string + Stderr io.Writer + Stdout io.Writer + type CodexOptions struct + HostArgs []string + Loops []string + ProjectRoot string + Stderr io.Writer + Stdout io.Writer + type ControlAction struct + EventType string + ExternalIDPrefix string + MirrorPath string + MirrorVar string + Payload string + Type string + type HookGate struct + Cmp string + DirEnv string + Field string + File string + FileDefault string + FileEnv string + LimitDefault string + LimitEnv string + Marker string + Metric string + Type string + type HookIntents struct + Hooks map[string]TimingIntent + SchemaVersion int + type HookResponse struct + Over string + Role string + Text string + Under string + type HookSection struct + Actions []ControlAction + AssetDir bool + BlankBeforeHeader bool + Comment []string + Fragment string + Glue bool + Header string + Lines []string + Path string + ProjectRoot bool + ProjectRootLine bool + Type string + Var string + WarnMissingBin bool + type HostMechanics struct + Dialect MechanicSelection + JSONEscape bool + MarkerOverrides map[string]map[string]bool + StdinRead MechanicSelection + WordingOverrides map[string]map[string]map[string]string + type MechanicSelection struct + Default string + Overrides map[string]map[string]string + type ProjectContext struct + Host string + HostArgs []string + Loops []string + ProjectRoot string + type Report struct + Conflicts []string + func ReProject(ctx ProjectContext, refs []contract.ResourceRef) (Report, error) + func RunClaudeProjectorReport(ctx context.Context, opts ClaudeOptions) (Report, error) + func RunCodexProjectorReport(ctx context.Context, opts CodexOptions) (Report, error) + type TimingIntent struct + Gates []HookGate + Response *HookResponse + Sections []HookSection