adl.fleetmgr · ADL 0.5.1 Device Fleet Manager
Ship firmware in rings. Stop at the first bad one.
Field operations console for connected-device manufacturers — governing immutable SHA-256 firmware builds, signed-only releases, canary-gated rollout rings, >5% failure warnings, hourly silent-device detection, telemetry alert resolution, and faulty-unit RMAs on the Kalos server.
product → device (provisioned → active → faulty → RMA) · firmware (SHA-256, signed → qualified → released) → rollout (canary → ring1 → general)
Why Device Fleet Manager Exists
Shipping over-the-air firmware to thousands of ceiling controllers, gateways, occupancy sensors, and wearables across customer buildings is an irreversible physical operation when release discipline lives only in a wiki checklist. One unsigned release candidate pushed to production, one wide rollout launched before its canary finishes, or one silent batch of bricked sensors left unnoticed over a weekend turns a software bug into truck rolls and RMAs.
Device Fleet Manager encodes hardware release engineering and field support into a single ADL 0.5.1 suite (adl.fleetmgr) executed by Kalos. Product models, customer sites, serialized field units, SHA-256-pinned firmware images, staged rollout rings, telemetry alerts, and return-merchandise authorizations share one relational model in PostgreSQL — with every release gate, ring prerequisite, and RMA rule enforced directly on the server.
Inside the Connected-Hardware Demonstration Fleet
Opening any desk signs you into a real role-scoped JWT session against 10 hardware products (LC-200 / LC-300 BLE mesh lighting controllers, OS-10 occupancy sensors, DL-20 Zigbee daylight sensors, GW-1 Ethernet & GW-LTE cellular gateways, TH-5 environmental sensors, SPK-1 ceiling speakers, BND-2 worker safety bands, and AQ-3 air-quality monitors) deployed across 10 customer sites and 32 serialized units:
- 12 Firmware Builds & 14 Rollout Stages: Every product has a signed, released build whose 20-unit canary completed.
LC-200 3.4.1completed Ring 1 (388/400, 3% failure) and has a1,800-unitgeneralstage planned for the operator;OS-10 1.8.2was halted in Ring 1 after 31 of 300 units (10.3%) failed on bootloader 1.1;GW-LTE 4.2.1is mid-flight in Ring 1 (131/250); older buildLC-200 3.4.0was withdrawn; andBND-2 1.0.0sitsqualifiedbut unsigned, ready for engineers to test the server’s422 RULE_VIOLATIONrefusal. - 12 Telemetry Alerts: Spanning
offline,overheat,battery_low,crash_loop,tamper, andsignal_weakacrossopen,acknowledged, andresolvedstates. - 10 Faulty-Hardware RMAs & 2 Provisioning Units: Ten units faulted into
RMA-8100throughRMA-8109(6 closed withreplace,repair,scrap, orrefunddispositions; 2 received awaiting disposition; 2 requested awaiting receipt), while two newly manufactured units wait inprovisionedfor operator activation.
How ADL Enforces Ring Safety & Field Traceability
Instead of scattering operational guardrails across CI scripts, cron containers, and support ticketing tools, backend/domain.yaml expresses them declaratively in Kalos:
- Immutable artifacts & signed-only releases (
imageIsImmutable+releaseOnlySignedFirmware): AEL!fieldChanged('checksum')and!fieldChanged('serial')rules lock firmware SHA-256 digests and device serial numbers after creation, whilereleaseOnlySignedFirmwarerejects any transition toreleasedwhensigned != true. - Cross-stage canary gating (
rolloutOnlyReleasedFirmware+canaryBeforeWiderRings+highFailureRate): Startingring1orgeneralruns a livequery('rollout', { firmware: $record.firmware, stage: 'canary', status: 'completed' })check inside the transaction — guaranteeing no wide ring ever bypasses canary validation — andhighFailureRateemits a structured warning whenever failures top 5%. - Declarative hourly watchdog (
flagSilentDevices): A native ADLschedulesblock runs every hour in Kalos (status == 'active' && lastSeenAt < dateSub(now(), 72, 'hour')) to transition silent field units tofaultyautomatically. - Closed-loop accountability (
requiredFields+history+audit): Halting a rollout requireshaltReason, resolving an alert requiresresolution, opening an RMA requires afaultydevice (rmaOnlyForFaultyDevices), and closing an RMA requiresdisposition— with domain history events and field-level audit logs persisted automatically.
Zero Sign-Up · Live Kalos Sessions
Sit at a Bench and Try It Live
Each card below signs directly into a real role-scoped JWT session on the production Kalos backend so you can test role queues, transitions, and server refusals immediately.
engineer as engineer1 Firmware Engineer
Click Release on unsigned safety-band build BND-2 1.0.0 to trigger the live HTTP 422 server refusal, inspect halted Ring 1 telemetry on OS-10 1.8.2, or halt a running rollout stage with a mandatory reason.
Launch engineer1 bench ↗operator as operator1 Fleet Operator
Start planned general availability for LC-200 3.4.1 (whose canary and Ring 1 completed), monitor running GW-LTE 4.2.1 Ring 1, activate two newly provisioned units, and acknowledge incoming field alerts.
Launch operator1 bench ↗support as support1 Support Engineer
Resolve acknowledged tamper and crash-loop alerts in writing, repair or take back faulty units, receive requested RMAs, and close received returns with a repair/replace/refund/scrap disposition.
Launch support1 bench ↗Production Interface Walkthrough
Inside Device Fleet Manager — Screen by Screen
Captured directly from the live Kalos deployment. Click any screenshot to inspect full resolution or jump straight to that screen in the running application.
Declarative Server Enforcement
What the Kalos Server Refuses — Whoever Asks
These invariants live in the ADL domain definition, not in client-side UI JavaScript. Every REST request is checked by Kalos before touching PostgreSQL, and any violation returns a structured error naming the rule.
| Attempted Operation | Enforced ADL Rule / Guard | Regulatory Alignment |
|---|---|---|
| Release a qualified firmware image that has not been cryptographically signed | releaseOnlySignedFirmware | Secure OTA Supply Chain |
| Modify a firmware image's SHA-256 checksum or a unit's hardware serial number after creation | imageIsImmutable · serialIsWrittenOnce | Hardware & Artifact Provenance |
| Start a rollout stage on draft, qualified, or withdrawn firmware | rolloutOnlyReleasedFirmware | Domain invariant |
| Start Ring 1 or General rollout before the firmware's Canary stage has completed | canaryBeforeWiderRings | Staged Ring Deployment |
| Complete a rollout stage whose failure count exceeds 5% of target units | highFailureRate (warn) · countsWithinTarget | Domain invariant |
| Halt a rollout stage without recording haltReason | rollout.halt requires haltReason | Domain invariant |
| Open an RMA return for a device not currently marked faulty, or close an RMA without disposition | rmaOnlyForFaultyDevices · rma.close requires disposition | Domain invariant |
| Resolve a telemetry alert without documenting the resolution | alert.resolve requires resolution | Domain invariant |
| Leave an active unit silent for more than 72 hours without flagging it faulty | flagSilentDevices (hourly schedule) | Automated Fleet Watchdog |
Domain Footprint
ADL Suite Inventory
Resources (7)
productlocationdevicefirmwarerolloutalertrma RBAC Roles (4)
engineeroperatorsupportadmin Declarative Views (3)
openAlertsrolloutProgressfaultyDevices