Documentation
¶
Overview ¶
Package action is the autonomy gate: what the agent may do on its own. Anything that only involves the owner is Auto unless its class is forbidden: the owner can't need to approve what is for them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Class ¶
type Class string
const ( Remember Class = "remember" Reply Class = "reply" ReadWeb Class = "read_web" UseTools Class = "use_tools" // tools from the MCP servers it's given (config tools) Write Class = "write" // a tool that changes the owner's own things: files, docs, a calendar ReachOut Class = "reach_out" // message someone first: reminders, check-ins, deliveries Commit Class = "commit" Publish Class = "publish" Dream Class = "dream" Spend Class = "spend" // spend money (later) ExternalMessage Class = "external_message" // email, a post or a DM outside the chat, through a tool )
type Policy ¶
type Policy struct {
Owner string
Classes map[Class]Verdict // a class not listed is Ask
AskExpires time.Duration // an unanswered request is denied after this
}
Click to show internal directories.
Click to hide internal directories.