Skip to content

v0.4.0

Choose a tag to compare

@PeterLinuxOSS PeterLinuxOSS released this 08 Sep 18:47
· 67 commits to main since this release
6d67d62

Nine changes since v0.3.0 (#61–#79). Most are defects found by auditing the
running installation and by a whole-repository review — not features.

Defects, in code that runs a house

  • A zone that could not be decided said nothing (#77). The engine contained
    the failure by design, but reported it nowhere: last_error stayed None
    and last_success was refreshed, so every surface showed a clean recompute
    while one zone had decided nothing at all.
  • A failing evaluation lost the only self-healing timer (#77) — and the
    snapshot sat outside that guard too (#78).
    After a single failure the
    integration evaluated only when a referenced entity changed, and a pending
    defer could never reach its max_wait.
  • The tilt hand-over reproduced the incident it exists to prevent (#78). An
    abandoned SetTilt was appended after the successor's commands, so when the
    successor also moved the position the tilt landed mid-travel — and these
    motors discard a tilt that arrives during travel.
  • for: on an attribute compare was ignored entirely (#78). The entity was
    never dated, so the debounce was skipped rather than enforced — the wrong
    direction for a debounce.
  • held_for was wrong by an hour across a DST change (#78). Negative on
    fall-back, an hour early on spring-forward.
  • Nothing watched the entities a template names (#79). A condition: template contributed no read at all, so a change prompted no evaluation
    until the reconcile floor next came round.
  • matica_diff could report parity it had not established (#77) — it
    compared only the entities the legacy matrix named.

Diagnostics and configuration

  • Every validate() warning is a repair issue (#63). A blind whose rules ask
    for what it cannot do is reported with the reason (#61). A blind no zone
    claims is skipped instead of refusing the whole entry (#62). The
    fixture-drift check knows where the fixture is again (#64, #65).
  • Malformed YAML raises ConfigError as the docstring promises, modes with a
    tied order resolve deterministically, and today_at keeps its seconds
    (#77).

The suite

1386 → 1439 tests. Issues #6, #7 and #10 are closed, so the phase-1 review has
nothing left open: the clock is a derived axis (each boundary ± 1 minute), a
template's reads come off its source, and pairwise no longer returns partial
coverage while promising the opposite — it had been leaving 192 of 6,921 pairs
uncovered on the reference fixture.