Hardware · v1.2
One certified board, a contract for the rest
Shared LokiAI code never knows what a chip is. Each device family lives in its own connector. The first connector targets the ESP32-S3 N1R8 board.
- ESP32-S3 N1R8 first
- Device-neutral contract
- Not yet certified
01The connector contract
Support many chips without bending the core
A connector turns a declared LokiAI operation into verified behaviour for one device family and transport. It does not get general authority over the platform.
Chip-specific commands, partitions, probes and recovery steps stay in the connector package. No shared interface may be named or shaped around ESP32-only ideas.
A connector must not
- Access OAuth or agent credentials.
- Decide authorisation or approval.
- Write the domain database or the activity stream directly.
- Accept shell fragments from the renderer or an agent.
- Touch undeclared targets or operations.
- Report that a deployment or incident is complete.
- Keep changing a device after losing the job lease.
- Certified
- The exact board, connector, toolchain and required physical scenarios pass in a LokiAI release. All certified capabilities may be offered under policy.
- Supported
- The connector recognises the family and passes contract tests, but not every physical revision is certified. Only declared capabilities, with caveats shown.
- Custom
- A user or team supplies the connector. It is isolated and labelled, with no LokiAI certification claim.
- Unsupported
- A transport was seen but no connector matches. LokiAI shows the reason and offers no device-changing actions.
Reference target: ESP32-S3 N1R8.
02Reference path
What “certified” requires
Implementation is blocked until a human confirms the exact board. After that, certification has to cover all of this on physical hardware.
- 01
Discovery, with stable chip and board evidence.
- 02
Permission, busy and disconnect behaviour on the transport.
- 03
Firmware and build metadata.
- 04
Real health and log sources that the board and firmware provide.
- 05
Image and partition compatibility checks.
- 06
Boot, reset and flash sequence, with digest and readback checks where available.
- 07
Restart, re-identification and test observation after a flash.
- 08
Interruption and recovery at safe, controlled test points.
- 09
A rollback or recovery policy, and a physical operator record.
To be confirmed first
- Exact module marking and board name and revision.
- Flash size and PSRAM configuration implied by the real SKU.
- USB interface or bridge, and boot and reset wiring.
- Permitted operating voltage and power setup.
- Build framework, partition and bootloader ownership.
- Recovery access and the known-good artifact policy.
03Discovery and identity
Find it, prove it, then re-check it
Discovery has two steps. Neither one changes the device.
probe- Observe candidate transports and record the evidence and confidence.
identify- Ask the device bounded, family-specific questions. Return a stable identity or a structured unsupported, permission, busy or error result.
- A COM port, IP address, BLE address or probe index is never a stable identity.
- Every identity records the connector, its version, the method, the time and the confidence.
- Discovery makes a candidate, not an owned device. Consequential actions stay off until it is enrolled through a one-time, challenge-bound step.
- Before any change, the connector re-identifies the target and the runtime compares it to the approved snapshot.
04Health, telemetry and logs
Only what the board can really tell us
Health reports follow a fixed shape, so the interface and agents read every connector the same way.
- Status
- Each check is passed, warning, failed, unavailable or interrupted.
- Evidence
- Value, unit, threshold, observed time, received time and a reference to the source.
- Honesty
- If the board has no source for voltage, heat, memory or bus health, the check returns unavailable with a reason. It is never guessed.
- Telemetry and logs
- Timestamped, bounded, and tagged with source quality. Connection gaps are shown, not hidden.
05Gateway direction
Monitoring that does not need the window
Hardware and long-running monitoring run in a separate Rust runtime, not in the desktop window. Jobs survive a reload or closing the app.
- Runtime health is shown apart from device health, so an offline observer is not reported as a healthy device.
- The same runtime is meant to be deployable to an always-on gateway later. That is a direction, not a v1.2 deliverable.
06Not claimed
What this page does not promise
The connector rules are in CONNECTOR_SPEC.md.
- Other device families in the interface are not certified. Showing a family is not support for it.
- Boards other than the confirmed ESP32-S3 N1R8 SKU are not promised.
- Cameras and fleet-scale edge assets are an architectural direction, not a v1.2 feature.
- The hardware path is implementation work. Nothing here says it has passed physical certification.
Bring a board, or read the contract
If you have an ESP32-S3 N1R8 and want to follow or test the reference path, start with the repository.
