Documentation
¶
Index ¶
Constants ¶
const ( RoleBee = "bee" RoleWorker = "worker" SystemRulesFile = ".openbee.md" ImportLine = "@" + SystemRulesFile )
Variables ¶
This section is empty.
Functions ¶
func EnsureSystemRules ¶
EnsureSystemRules writes .openbee.md with the latest system rules for the given role, and ensures CLAUDE.md contains the @import reference. It does NOT create CLAUDE.md if it doesn't exist.
Types ¶
type Option ¶
type Option func(*options)
Option configures EnsureSystemRules behavior.
func WithDescription ¶
WithDescription sets the worker description to embed in system rules.
func WithMemory ¶
WithMemory sets the worker memory to embed in system rules.