Skip to main content

canonical answer

how does bernstein pick tasks for agents

the scheduler reads .sdd/backlog/open/ each tick, filters out tasks whose dependencies are not yet satisfied, applies a fair-priority ordering (critical -> high -> medium -> low, with starvation guards), and emits the next ready task. the router then chooses the model and the cli agent: a contextual bandit with epsilon-greedy exploration over a feature vector (role, complexity, file scope, historical outcomes). bernstein trace <task-id> prints the step-by-step decision trail for a task, including which agent and model it landed on. source: src/bernstein/core/orchestration/ and src/bernstein/core/routing/.

tagsschedulerrouting

browse the full index at /q or search the blog at /ask.