Skip to content

Releases

v1.0.0-rc.2

v1.0.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Aug 00:36
v1.0.0-rc.2
a07d150

Latch v1.0.0-rc.2

v1.0.0-rc.2 is a release candidate for the Latch embedded failure-capture
runtime. It is not stable and is not an LTS release: the stable gates
described in docs/releasing.md remain open. It is published so the community
can exercise the library in real target environments and report findings before
the stable cut.

What is verified in this candidate (by software)

The goal of this candidate is to maximize the verification that can be done
without physical hardware, and to make every result reproducible and
machine-readable:

  • 24 targets emulator-tested (PASS), not physical qualification:
    • 23 targets under Renode (Cortex-M0/M0+/M3/M4/M4F/M7, RV32, RV64):
      fault entry, vector table, toolchain path and reset classification,
      refreshed on 2026-08-19 (hil/emulator/evidence/).
    • 1 target under the Espressif QEMU fork (xtensa, ESP32 LX6), added in
      this candidate: full panic -> reboot -> recovery -> durable-ack cycle with
      HIL:PASS:LATCH_RELAY_ESP32 (hil/esp32_qemu/, reproducible via
      hil/esp32_qemu/run-qemu.ps1). This is the first Xtensa emulator coverage.
  • Portability fixes found while porting to Xtensa (src/capture/anomaly.c,
    src/capture/dna.c): missing headers and PRIu32 for uint32_t under the
    Xtensa ABI.
  • Release gates green: Required, Coverage, Quality, Mutation, Crypto
    Assurance, Project Readiness, Public API Compatibility, Emulator fault
    injection, Documentation, Registry packages, Benchmarks and Dependency review
    pass for the release-preparation branch.
  • One physically qualified configuration (unchanged): ESP32-D0WD-V3 /
    ESP-IDF 5.5.0 with capture-before-panic, mirrored-flash, reboot-recovery,
    UART stream and durable ACK (hil/esp32_relay/EVIDENCE.md, 2026-07-29).

How to help test this candidate

Run Latch in your target environment and report anything you find:

  • Try a board you already have. The emulator evidence does not
    qualify a real board; a PASS on a real board for any of the six required
    scenarios (below) is the fastest way to close the stable gap.
  • Prefer the six scenarios the stable gate requires: hardfault,
    watchdog, brownout, stack-canary, flash, reset-registers.
  • Report in the repo issues with the board, SDK/toolchain, commit and raw
    observation. Physical HIL evidence must be committed as JSON under hil/
    before v1.0.0 stable can be tagged (see hil/AGENTS.md and
    hil/qualification-policy.json).

What remains before v1.0.0 stable

  • Physical HIL for the six required scenarios with machine-readable JSON
    evidence; emulator/host evidence does not substitute (hil/AGENTS.md).
  • The automatic Xtensa panic-frame wrapper remains an integration boundary
    on ESP32 (not re-qualified on physical HIL).
  • Independent cryptographic, side-channel and provisioning review is
    pending
    ; the built-in crypto provider is builtin-unqualified and
    LS_COMMERCIAL_PROFILE=ON fails closed without an externally-audited
    provider.

Do not treat a host or emulator test as qualification for a specific board,
linker script, or SDK.

Assets

  • CPack archives: laststate-latch-1.0.0-{Linux,Darwin,win64}.{tar.gz,zip}
  • Compact source: latch-v1.0.0-rc.2-compact-source.tar.gz
  • SBOM: latch.spdx.json
  • Checksums: SHA256SUMS

Latch v1.0.0-rc.1

Latch v1.0.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@TheusHen TheusHen released this 19 Aug 22:00
v1.0.0-rc.1
2f0c763

Latch v1.0.0-rc.1

First stable release candidate of the Latch embedded failure-capture runtime.

What is proven

  • One physically qualified configuration: ESP32-D0WD-V3 / ESP-IDF 5.5.0 — capture before an intentional panic, mirrored flash persistence, reboot recovery, UART stream framing, and a durable ACK against the production LastState Relay (hil/esp32_relay/EVIDENCE.md, 2026-07-29).
  • 23 targets emulator-tested under Renode (Cortex-M0/M0+/M3/M4/M7, RV32, RV64): fault entry, vector table, toolchain path and reset classification. Explicitly not physical-board qualification.

Scope notes (read before production use)

  • Automatic Xtensa panic-frame wrapper is an integration boundary on ESP32; not yet re-qualified on physical HIL.
  • Independent cryptographic, side-channel and provisioning review is pending; built-in crypto provider is builtin-unqualified; LS_COMMERCIAL_PROFILE=ON fails closed without an externally-audited provider.
  • 90-day critical-regression-free window and LTS gates are not met. Open gates tracked in docs/known-limitations.md.

Honesty corrections

  • Replaced fabricated 23-board physical-qualification evidence with honest records (one physical HIL + Renode emulator evidence).
  • docs/SECURITY_AUDIT_REPORT.md and docs/MISRA_C_COMPLIANCE.md rewritten to state no independent audit and MISRA not claimed.
  • hil/qualification-matrix.json now records emulator-tested targets separately from physically qualified ones.

Included

  • Version metadata bumped to 1.0.0 (CMake, C header, PlatformIO, Arduino, ESP-IDF, Rust).
  • Renode emulator chip matrix + per-chip evidence; Nordic nRF52840DK fixture with CI.
  • DNA and anomaly capture modules; internal LEP specs; SPDX header pass; project-readiness/qualification tooling.
  • CI hardening: package consumers request 1.0, clang-format pass, apt mirror stalls are bounded with retries across all workflows.

Validation

check_release_metadata, check_hil_matrix, check_project_readiness, check_test_vector, check_docs, test_minify_sources, check_safety_c and Rust fmt/clippy pass. C build/tests are validated by the required CI check (required), which is green on the merged prod commit.

Prerelease — 61/61 checks green on PR #42 before merge into prod.

Latch v0.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Jul 23:11
d6ff429

Latch v0.2.0

Latch v0.2.0 is the first public release: a heap-free C11 crash-evidence
runtime for embedded firmware that preserves bounded state across reset and
delivers deterministic LEP v1 envelopes when the device is back.

What is included

  • bounded breadcrumbs, metrics, logs, health, power and peripheral evidence;
  • retained snapshots, transactional spool records and atomic mirrored flash;
  • deterministic LEP v1 encoding, C/Rust validation and public vectors;
  • acknowledged streams, fragmentation, HTTP/MQTT adapters and retry policy;
  • XChaCha20-Poly1305, HKDF, replay protection and redaction controls;
  • CMake packages, C++ wrapper, Rust no_std SDK, fuzzing, sanitizers, SBOM and
    provenance automation;
  • host demo and latch-dump, including bounded whitespace-tolerant hex input;
  • a reproducible physical ESP32 hardware-in-the-loop fixture.

Physical ESP32 proof

On 2026-07-29, Latch was verified on an ESP32-D0WD-V3 revision 3.1 with
ESP-IDF 5.5.0 and 4 MB of flash. The test:

  1. persisted telemetry and an error in mirrored flash;
  2. triggered a real ESP-IDF panic with abort();
  3. recovered multiple queued LEP envelopes after reboot;
  4. sent them over UART using latch-stream;
  5. required durable LSAK acknowledgements;
  6. persisted a post-recovery confirmation;
  7. finished with three valid events and a healthy collector spool.

The collector was the production LastState Relay. Relay validates and stores
LEP envelopes before acknowledging them. Relay is a private LastState
component and, as of this release date, has not been released publicly. Latch
does not depend on it: the framing and ACK contract needed for another
collector are public in the
ESP32 fixture.

Important boundary

The ESP32 result proves reset classification, flash persistence, reboot
recovery, UART framing and durable delivery. The current ESP-IDF port does not
yet install an automatic Xtensa panic-frame hook for register and stack
capture; the fixture captures its pre-panic envelope from normal runtime
immediately before the intentional panic.

Every product must still qualify its own board, linker script, flash geometry,
fault entry, provisioning and transport security. See
production readiness.