Expand description
Agent-wide admission scheduler for top-level and background work.
Session transcript admission remains single-flight. This scheduler adds a
shared capacity boundary across every session created by one Agent,
using a3s-lane’s stable priority queue for exact priority/FIFO ordering.
Structs§
- Task
Lease - RAII ownership of one scheduler admission.
- Task
Priority Counts - Counts grouped by the stable public priority classes.
- Task
Scheduler - Shared actor handle. One instance belongs to each
Agent. - Task
Scheduler Config - Agent-wide task scheduler settings.
- Task
Scheduler Health Snapshot - Bounded cumulative admission and fairness diagnostics for one scheduler.
- Task
Scheduler Quota - Immutable capacity quota carried by one scheduler admission request.
- Task
Scheduler Quota Health Snapshot - Bounded live-or-recent health for one scheduler quota identity.
- Task
Scheduler Quota Snapshot - Live, digest-only occupancy projection for one scheduler quota.
- Task
Scheduler Stats - Point-in-time scheduler occupancy for hosts and diagnostics.
Enums§
- Task
Priority - Relative importance of work admitted through an agent’s shared scheduler.
- Task
Scheduler Error - Scheduler admission failures.
Constants§
- TASK_
SCHEDULER_ MAX_ QUOTAS - Maximum number of independent quota dimensions accepted by one admission.
- TASK_
SCHEDULER_ MAX_ SCOPE_ BYTES - Maximum bytes accepted while deriving a scheduler owner scope.
- TASK_
SCHEDULER_ QUOTA_ HEALTH_ RETENTION - Maximum number of idle quota health epochs retained by one scheduler.