You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add repo-level automation policy guardrails that define what hosted Alpha Loop is allowed to work on, what it must refuse, and when it must ask a human before continuing.
Why this matters
A long-running server-side worker must be constrained by explicit repo policy. The goal is not to let an agent do anything it can think of; the goal is to let it safely handle known categories of work while stopping before protected paths, dangerous commands, production operations, secrets, or unclear requests.
Proposed approach
Add an automation_policy: section to .alpha-loop.yaml.
Support required labels, blocked labels, allowed paths, protected paths, command allowlists, max active sessions, max paused sessions, max issues per session, max runtime, and cost/budget limits.
Support human gates for categories such as auth, billing, production deploy, dependency upgrades, Sanity schema changes, secrets, migrations, and destructive content changes.
Evaluate policy before starting work, before running configured commands, and after implementation by checking the diff against protected paths.
Mark blocked or ambiguous work with needs-human-input and a clear GitHub comment explaining why it was not automated.
Record policy decisions in the session manifest and event log.
Summary
Add repo-level automation policy guardrails that define what hosted Alpha Loop is allowed to work on, what it must refuse, and when it must ask a human before continuing.
Why this matters
A long-running server-side worker must be constrained by explicit repo policy. The goal is not to let an agent do anything it can think of; the goal is to let it safely handle known categories of work while stopping before protected paths, dangerous commands, production operations, secrets, or unclear requests.
Proposed approach
automation_policy:section to.alpha-loop.yaml.needs-human-inputand a clear GitHub comment explaining why it was not automated.Example config shape:
Acceptance criteria
needs-human-inputand an explanatory GitHub comment.Out of scope
Related