myxce/.kiro/specs/scheduler-sim-diagnostics
Rongsong Shen 5876716eee
feat(scheduler-sim-diagnostics): display effective host-scope note (Req 1.6)
repl_info_limit() now prints an explanatory note when a limit is implicitly
host-scoped (is_host_based_limit() > 0 due to a percent-based value on a
non-shared resource) but its own configuration doesn't show an explicit
per-host scope. The real discriminator turned out to be consumers[CONSUMER_
HOST]->per_consumer, not pointer-nullity as design.md's gloss said --
build_consumer() unconditionally allocates a consumer for all four
dimensions, so the struct field is never actually NULL in production. Fixed
using the same field is_host_based_limit() itself already falls back to;
verified via RED-phase reproduction that the literal design.md condition
never fires. design.md corrected to document the real condition.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RLSNJhNoULvVcUhXEFafQC
2026-09-17 11:43:12 +00:00
..
brief.md docs(kiro): reconcile spec metadata, promote 3 new specs, fix template path 2026-08-16 11:02:06 +00:00
design.md feat(scheduler-sim-diagnostics): display effective host-scope note (Req 1.6) 2026-09-17 11:43:12 +00:00
requirements.md docs(scheduler-sim-diagnostics): finalize requirements, design, and tasks for limit inspection 2026-09-17 08:22:11 +00:00
research.md docs(scheduler-sim-diagnostics): finalize requirements, design, and tasks for limit inspection 2026-09-17 08:22:11 +00:00
spec.json docs(scheduler-sim-diagnostics): finalize requirements, design, and tasks for limit inspection 2026-09-17 08:22:11 +00:00
tasks.md feat(scheduler-sim-diagnostics): display effective host-scope note (Req 1.6) 2026-09-17 11:43:12 +00:00