diff --git a/docs/superpowers/specs/2026-11-03-sfm-phase5-settings-design.md b/docs/superpowers/specs/2026-11-03-sfm-phase5-settings-design.md index a26aec4..1a9dd02 100644 --- a/docs/superpowers/specs/2026-11-03-sfm-phase5-settings-design.md +++ b/docs/superpowers/specs/2026-11-03-sfm-phase5-settings-design.md @@ -45,6 +45,13 @@ changing the unit or a file is not. - Restarting monitoring. **Brian presses Start**, as today; SFM never restarts on its own. - Setting the unit's clock. That is a later call-home receiver rule. +- **Writing the Micromate scheduler.** Next project, agreed 2026-11-03: + "record during work hours" as a plain, **configurable** setting on the unit's + page, both series, no schedule library and no setup files. On the Micromate, + it relies on the firmware's setup-less scheduler start (found in the firmware, + never sent; one bench session). On the MiniMate, its own timer setting + (undecoded). Brian's dad despises THOR's scheduler; Brian is willing to retire + it in SFM. - Fields not yet decoded. "Any and all" grows as decoding grows. **Anti-goals: things that would make it a failure even if it "works"** @@ -264,6 +271,17 @@ intervals 2/5/15/60/300/900 s, and each series' measured mode codes. rewrites the setup the unit is running, in place, under its own name. It never asks for a file or a name, and never creates one. The name may show as a read-only detail, since the unit's screen shows it. + - **The scheduler can undo a change (Brian, 2026-11-03, with THOR's Manage + Schedules screen).** Work-hours Micromates run a THOR schedule, e.g. Start + Monitoring 07:00 with setup `Mele-PWSA-Carroll -Loc 4`, stop 18:30, repeat + daily. THOR sends the schedule with its setup, and each scheduled start loads + the setup it names. So the preview and the send read `schedule.dat` (format + decoded, reference *The schedule record format*), read-only. A start action + naming a setup other than the one being changed blocks the send: "this unit's + schedule loads at 07:00, which would replace this change." When the + schedule names the active setup (the usual case after a scheduled start), the + change survives, and the preview says when the next scheduled start is. + SFM never writes the schedule in this phase. - The name comes from the `0x41` read, unstripped. - Refuse `factory.MMB` and any target that is not the active setup (spec). The refusal says it plainly: "this unit is running its factory setup; load any