Skip to main content

Module supervisor

Module supervisor 

Source
Expand description

Supervisor-side helpers for the auto-approve patterns feature.

See openspec/changes/auto-approve-patterns/ for the spec contracts. The submodules here keep auto-approval logic out of main.rs and testable in isolation.

Modules§

approve
Auto-approval keystroke dispatch.
auto_approve
Safe-command classification for the auto-approve feature.
curl_allowlist
Curl allowlist setup for the supervisor.
dev_allowlist
Common dev-command allowlist seeding for the supervisor.
layout
Pane-layout calculation for supervisor-mode tmux sessions.
manual_approvals
Manual-approval pattern recording, aggregation, and promotion heuristic.
permission_prompt
Permission-prompt detection for stalled agent panes.
poll
Single-tick orchestration for the supervisor auto-approve poll loop.
stall
Stall detection for the supervisor poll loop.