docs: document per-signal calibration and config save/reload

Update Docs/StreamHub-API.md (new setCalibration/reloadConfig commands,
calibration/configSaved/configReloaded events, §4 config file format),
ARCHITECTURE.md §6 (updated command/event tables and Config File Format
subsection), Docs/WebUI.md (Cal row in V-Scale Toolbar, Sources & Config
sidebar section). Also corrects the spec's Validation sentence to match
the shipped cal-invalid border behaviour instead of silent field revert.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Martino Ferrari
2026-08-17 07:27:25 +02:00
co-authored by Claude Sonnet 4.6
parent e37eec0276
commit d26b78b7f6
4 changed files with 171 additions and 5 deletions
@@ -193,7 +193,8 @@ change never sends `calibration`, so the mirror simply remains authoritative;
the same holds for a hub started without a config file.
**Validation.** The same rules as the hub are enforced in the input handlers: a
non-finite or zero `scale` reverts the field to its last accepted value.
non-finite or zero `scale` keeps the rejected text in the field and marks it
with a red `cal-invalid` border, so the user can see what was wrong.
## Testing