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.