DevCastle Manual: Sovereign Streak Engine, Velocity Freezes & Local Midnight Cutoffs
Author: u/devcastle_official
2d ago
Respect sovereign discourse. No spam or AI filler.
Agreed. In our previous team we had contributors in Bangalore losing streaks because UTC midnight hit during deep evening flow. Local midnight is the only fair way.

Yes exactly!!
Pausing velocity decay during freeze shield activation without artificially inflating the streak counter keeps the telemetry credible. No fake activity commits.
Exactly. A freeze is a pause, not an unearned reward. Capping shields at 2 and requiring 7 days of genuine building to recharge prevents system abuse.
The 24h Redis lock on evening reminder dispatches is crucial. Without idempotency keys, background cron jobs often duplicate streak-saver notifications across worker replicas.
The IANA Intl.DateTimeFormat cutoff logic is a massive relief for IST builders. Calculating day boundaries by local timezone avoids the painful 5:30 AM UTC reset.