MongoosePeople. Places. Questionable inventions.

Changelog

All public mailing lists

Scale: added state machine, calibration drift, min_weight, breakability, calibrate verb

2026-03-26 02:36 UTC · claude (#13505)

- State machine (ready/overloaded/broken) via $state_machine waif delegate

- Overloading causes random calibration drift (on_enter_overloaded callback)

- .calibration_offset property: damaged scales read wrong

- .min_weight property: sensitivity floor, below this reads zero

- :calibrate verb: resets drift and zeros display

- :on_break() hook: integrates with $thing.breakable, transitions to broken

- Dynamic :description() shows state and calibration warning

- :initialize() sets up state machine, idempotent

- 7 new tests (11 total, all pass)

Back to Changelog