fix(#80): only URL/port gate a broker enable; firmware owns the rest
On-hardware feedback: JWT owner defaults to the device pubkey and IATA override is optional by definition, so gating a save on them is wrong -- they have under-the-hood firmware defaults. BrokerConfig.enableError now checks only the structural fields with no default: URL present, port in range. The JWT field checks are gone; the firmware enforces JWT completeness with its defaults, and a genuinely-bad enable surfaces the firmware's reason via the failure messaging added earlier. The editor's pre-save check and the list's quick Enable both follow. Tests updated to the new contract (a JWT broker with blank owner/audience now enables; a structurally-complete quick Enable confirms). Full suite green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>feat/64-observer-config
parent
0d9dc79b91
commit
6cd707218d
Loading…
Reference in new issue