Objective
Extend simplicio-loop so multi-task orchestration can exploit Runtime-managed local inference efficiently while preserving its optional-Runtime contract, evidence-gated completion, worktree isolation and bounded execution.
Why Loop benefits
Local inference has scarce stateful resources: model processes, slots, KV caches, RAM/VRAM and bounded queues. A scheduler that ignores slot locality can continually evict cache state, duplicate prompts, overload the backend and make parallel work slower. Loop should use inference metadata when available, but remain fully functional without Runtime.
Scope
- Consume an optional versioned Runtime inference-capacity snapshot.
- Schedule resumptions with session/slot affinity when beneficial.
- Apply fair queueing, admission control and resource backpressure.
- Prevent duplicate work and duplicate inference across equivalent active tasks.
- Promote semantic progress from a prompt warning into a loop-level convergence signal.
- Escalate, reroute, drain or stop based on evidence instead of iteration count alone.
- Benchmark throughput, latency, cache reuse, fairness and solution quality under controlled workloads.
Constraints
- Runtime integration remains optional.
- No scheduler decision may bypass action gates, worktree isolation or evidence requirements.
- Cache locality must not starve older or lower-priority work.
- Unavailable capacity telemetry must be represented as unknown, never zero.
- A local model outage must degrade to configured alternatives or block honestly.
- No unbounded queue, retry storm or automatic worker multiplication.
Child issues
Epic acceptance criteria
Source evaluated
Objective
Extend
simplicio-loopso multi-task orchestration can exploit Runtime-managed local inference efficiently while preserving its optional-Runtime contract, evidence-gated completion, worktree isolation and bounded execution.Why Loop benefits
Local inference has scarce stateful resources: model processes, slots, KV caches, RAM/VRAM and bounded queues. A scheduler that ignores slot locality can continually evict cache state, duplicate prompts, overload the backend and make parallel work slower. Loop should use inference metadata when available, but remain fully functional without Runtime.
Scope
Constraints
Child issues
Epic acceptance criteria
Source evaluated