shtukbasehub

Factory alarms

Alarms raised by the factory watchers, with a contour (open → closed or false): raise and close actions without duplicates, checks that an alarm says what fired and how it ended, and that a watcher has one open alarm.

Packagealarmsv0.1.114 files

Factory alarms

The collection Alarms and its contour: open → closed or false. An alarm is raised by a watcher: an automation or a script that looks at the factory (disk, silent agents, failing runs). The short name of the watcher goes in watch.

Actions: shtuk run alarms raise --watch <watcher> --title "..." opens an alarm if that watcher has no open one yet; shtuk run alarms close --watch <watcher> --by "..." closes it and records who closed it and when.

Norms: ALR-R01 says an alarm states what fired and how it ended (check alarm); ALR-R02 says one open alarm per watcher (check one-open).

Why "alarms" and not "incidents": product incidents (a failure in the customer's environment) are the Incident kind of the Operations layer. An alarm is trouble in the agent factory itself. The watchers (what to watch and the thresholds) are automations of the automations package or project scripts; who to wake on an alarm is an automation too.