OpenSpec 1.16 requires ## Purpose; the specs predate that. Purposes are reconstructed from the 2026-04-13 greenfield proposal and the current requirements. Plain validation now passes 5/5; strict still flags two over-long requirements, tracked in PROJECT_HYGIENE.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ratchet the keg catalog floor to 115 to match the shipped 0.3.3
catalog. Archive the change that added Anheuser-Busch Bud (48050).
Co-authored-by: Cursor <cursoragent@cursor.com>
Syncs the delta into openspec/specs/entities/spec.md, retrofitting the
Keg name sensor and Keg product ID sensor requirements that PR #2 shipped
without ever updating the spec, and adding both to the entity-name
translations scenario.
Note that openspec validate --specs still fails on all five spec files
for a missing "## Purpose" section. That is pre-existing and repo-wide,
not caused by this sync — verified by stashing the change and re-running.
Left alone rather than fixed across five files here.
PROJECT_HYGIENE learnings, three of them found while doing this work:
- Never add a non-numeric key to keg_catalog.json. The loader's
{int(k): v ...} raises on it and the except clause returns an empty
dict, so the whole catalog dies silently at debug level. This is a
trap precisely because embedding provenance in that file is the
obvious next idea.
- test_harness.py is stale: it reads a user_id key that
.credentials.json no longer has, so it exits immediately.
- All five openspec/specs files already fail validation, so a failing
spec validation does not imply you broke something.
Group 5 (on-device) is recorded as verification debt rather than marked
done. The catalog was replaced wholesale and verified statically only;
the live resolve path is unexercised because no HA is reachable from the
dev host and the harness refresh token has expired. v0.3.2 exists so
that check can happen through HACS.
Temperature sensor requirement now mandates rejecting out-of-range
firmware sentinels and reporting no value, with scenarios covering the
-128 case, the fallback chain, and non-numeric input.
Co-authored-by: Cursor <cursoragent@cursor.com>
Records section 8 (the already_in_progress finding and its fix) and
renames the translation requirement to cover every abort reason, with
scenarios for the concurrent-flow path and source-derived enumeration.
Co-authored-by: Cursor <cursoragent@cursor.com>
Marks sections 1-5 and the automated verification in 6 done, syncs the
config-flow delta into the main specs, and records the deferred
Cognito-token-persistence item in PROJECT_HYGIENE.md.
Archive (7.5/7.6) is deliberately held until on-device verification
(6.4-6.7) confirms the fix against the live machine.
Co-authored-by: Cursor <cursoragent@cursor.com>
Task 5.3 confirmed on-device (Mark Keg Changed button and volume-jump
detection both work). Applied the entities delta to the main spec: the
keg freshness sensor now documents the volume-jump triggers and
last_volume restore, plus the new Manual keg-change button requirement.
Co-authored-by: Cursor <cursoragent@cursor.com>