Skip to content

spec out default dispatch policy #93

Description

@zgeoff

The policy gate exists in the CommandExecutor (Policy(command, state) → { allowed, reason }), but there's no defined default policy or configuration model.

Define what happens automatically vs. what requires human confirmation:

  • Planner runs: auto-allowed (read-only analysis, low cost)
  • Implementor runs for trivial/low complexity: auto-allowed
  • Implementor runs for medium/high complexity: require TUI confirmation
  • Reviewer runs: auto-allowed (read-only)
  • All agent dispatch: blocked when global concurrent run limit exceeded

The policy should be configurable (config file, not hardcoded) so operators can adjust thresholds. The policy function signature already supports this — this issue is about defining the
default rules and the configuration shape.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions