myxce/.kiro/specs/scheduler-allocation
Rongsong Shen d5d2c1caf5
feat(scheduler-allocation): add lazy plan/host iterator contracts
Defines xce_alloc_plan_t (partition of a job's task count into
per-host slot buckets), xce_alloc_plan_iter_t, and xce_host_iter_t
(init/next/fini vtables, stack-allocate-then-init-in-place convention
matching sched_ctx_init) as reusable abstractions any allocator can
adopt. Proven usable by a trivial no-op reference implementation and
a fresh-per-bucket host_iter composition test, no allocator wired in
yet.

Task 1.1 (scheduler-allocation spec). Requirements 2.1, 3.1.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XYdtrEWWZfKRRGED7raEYg
2026-09-04 13:50:31 +00:00
..
brief.md docs(scheduler-allocation): approve requirements, add design and tasks 2026-09-04 12:59:39 +00:00
design.md docs(scheduler-allocation): fix xce_host_iter_t.next() return type 2026-09-04 13:26:18 +00:00
requirements.md docs(scheduler-allocation): fix xce_host_iter_t.next() return type 2026-09-04 13:26:18 +00:00
research.md docs(scheduler-allocation): approve requirements, add design and tasks 2026-09-04 12:59:39 +00:00
spec.json docs(scheduler-allocation): approve requirements, add design and tasks 2026-09-04 12:59:39 +00:00
tasks.md feat(scheduler-allocation): add lazy plan/host iterator contracts 2026-09-04 13:50:31 +00:00