feat(schedule): activate manual calibration and time changes next day #114
Labels
No labels
blocked
bug
enhancement
high-priority
low-priority
needs-info
needs-triage
ready-for-agent
ready-for-human
referenced
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gabogg/hikcentral#114
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split out of #113 (2026-09-25). Design settled by maintainer triage below; original alternatives retained for context.
daily_reset_timedecides where every business day starts and ends. It is a single current value, so changing it (e.g. 04:00 → 05:00) re-cuts all past business days: events near the old boundary move to a different day, and every past daily, weekly and monthly figure can change.#113 deliberately does not record a reset per day: if each day kept its own reset, adjacent days could overlap or leave a gap when the setting changes, and every query that splits time into business days would need to handle that.
Options to decide:
Resets change rarely; this does not block the statistics deck.
🤖 Generated with Claude Code
Maintainer triage — 2026-09-27
Maintainer decision: manual modifications relating to calibration or times apply from the next day onward, preserving prior behavior/history. The user must see both a note explaining delayed activation and a warning/confirmation that the change has been saved and will take effect the next day, explicitly naming that date. Pending settings must survive restart and remain distinguishable from active settings. Expand this issue beyond daily_reset_time to inventory affected manual calibration/time changes and document the agent-facing policy with the implementation. The accepted activation, transition and historical-correction rules below resolve these questions. This triage specifies future implementation; it does not change running settings.
Accepted design and implementation acceptance
The maintainer accepted all recommendations in Q9–Q11.
Domain language to capture with implementation
Related: #157 (cache correctness must account for scheduled activation and historical corrections), #161 (holiday/event annotations require their own design).
schedule: changing daily_reset_time re-cuts every past business dayto feat(schedule): activate manual calibration and time changes next daygabogg referenced this issue2026-09-27 23:39:54 +00:00
gabogg referenced this issue2026-09-28 00:13:46 +00:00
gabogg referenced this issue2026-09-28 09:00:59 +00:00
gabogg referenced this issue2026-09-28 10:27:39 +00:00