#ai-agent #autonomy #review #goal

ta-goal

GoalRun lifecycle management and event dispatch for Trusted Autonomy

1 unstable release

0.15.15-alpha.3 Apr 16, 2026

#1150 in Debugging


Used in 5 crates

Apache-2.0

270KB
6K SLoC

ta-goal

GoalRun lifecycle management and event dispatch for Trusted Autonomy.

A GoalRun is the top-level execution unit that ties together an agent, a capability manifest, a staging workspace, and eventual PR packages. The state machine enforces a valid lifecycle from creation through review and application.

Key components

  • GoalRun — the lifecycle state machine (Created → Configured → Running → PrReady → UnderReview → Approved → Applied → Completed)
  • GoalRunStore — JSON file-based persistence for GoalRun records
  • TaEvent — events emitted at key lifecycle points
  • EventDispatcher — dispatches events to notification sinks
  • NotificationSink — trait for receiving events (log, webhook, etc.)

Dependencies

~7–11MB
~124K SLoC