Skip to main content

OTA Model Updates

Training and model distribution are backend concerns, but the app includes the client plumbing:

  1. A published manifest contains version, model file URL, SHA-256, size, min app version and gate metrics.
  2. Admin Training & OTA can fetch the manifest and download the artifact.
  3. The client verifies SHA-256, stores it under app-private fabrika_models/<version>/, and writes active.json.
  4. The current model is not replaced in memory mid-session; activation is staged for a future model runtime/startup.
  5. Keep the previous version for rollback. Never publish an unvalidated artifact.

The current app does not run the ONNX fault classifier yet, so staging does not change live diagnosis. The DSP and knowledge layers remain active. A future TFLite/ONNX runtime must implement atomic activation, canary and rollback.

Security​

HTTPS, admin auth, signed manifest (future), checksum, size limits, least privilege, audit and rate limiting. Do not expose dev-token publicly.