Documentation
¶
Overview ¶
Package autonomy is the in-process foundation for proactive (cron-like) agent behavior. It runs registered jobs on a fixed interval. It is gated OFF by default at the config layer (host-configured; off unless the embedder enables it); the ecosystem direction is to queue/receive proactive work as Aether tasks, with this in-process layer as a bridge/fallback. See docs/cron-proactive-autonomy.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
Scheduler runs its registered jobs every interval until stopped. A non-positive interval or an empty job set makes Start a no-op, so the disabled-by-default path costs nothing.
func NewScheduler ¶
NewScheduler returns a scheduler that fires every interval.