mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
f2d5892aa5
The free-tier onboarding overflow adds +1 to MaxMonitoredSystems for 14 days after initial setup. Once rc.2 made self-hosted core monitoring uncapped (MaxMonitoredSystems = 0 on Free), the bonus math silently converted "unlimited" into a hard cap of 1 — the UI then surfaced "Over plan by N. N monitored, 1 included." on healthy installs. Guard the addition on limit > 0 at all three call sites (ledger path, commercial entitlement payload, runtime capabilities payload) so the bonus only extends plans that actually have a cap. Refs #1429