// Package father defines the pure rules for Father Bot, the system agent // that creates other agents and robots via Matrix. package father import ( "github.com/enmanuel/agents/devagents" "github.com/enmanuel/agents/pkg/decision" ) func init() { devagents.Register("father-bot", Rules) } // Rules returns the decision rules for Father Bot. // Simple: any DM or mention routes to the LLM (claude-code subprocess). // All creation logic lives in the system prompt + claude-code capabilities. func Rules() []decision.Rule { return []decision.Rule{ { Name: "llm-all", Match: func(ctx decision.MessageContext) bool { return ctx.IsDirectMsg || ctx.IsMention }, Actions: []decision.Action{{ Kind: decision.ActionKindLLM, LLM: &decision.LLMAction{}, }}, }, } }