Skip to content

feat(presets): consume the unified preset stack - #3

Merged
hyperb1iss merged 7 commits into
mainfrom
nova/first-class-preset-stack
Aug 12, 2026
Merged

feat(presets): consume the unified preset stack#3
hyperb1iss merged 7 commits into
mainfrom
nova/first-class-preset-stack

Conversation

@hyperb1iss

@hyperb1iss hyperb1iss commented Aug 12, 2026

Copy link
Copy Markdown
Owner

What changed

Home Assistant now consumes Hypercolor's effect-scoped preset stack through the typed Python SDK introduced by hyperb1iss/hypercolor#153.

The preset selector displays bundled and saved entries together, preserves their canonical effect and preset identity, disambiguates duplicate display names, and applies either origin through the unified route. Catalog responses carry the effect they were fetched for, so options stay hidden during an effect-switch race until catalog and active state agree.

Master-light resume and preset services also retain the full effect and preset pair. Saved preset creation and deletion remain library CRUD operations.

CI and release validation pin the exact reviewed Hypercolor commit, 25067d621c9756388fe13e850fcd2a9f90389870, until the SDK release containing this contract is published.

Why

The integration previously fetched and applied only saved presets. Bundled presets were invisible, and the selector, service, and resume paths could not preserve a canonical reference. The unified contract removes that split and makes both origins behave identically for Home Assistant users.

Verification

  • Independent adversarial review: PASS
  • Ruff: clean
  • Ruff format: 36 files formatted
  • ty: clean
  • Test suite: 59 passed, 1 real-daemon test skipped by its explicit environment gate
  • Package metadata: valid
  • Source lock resolution: clean against the pinned Hypercolor checkout

hyperb1iss and others added 7 commits August 11, 2026 20:46
Fetch bundled and saved presets through the effect-scoped SDK projection.
Preserve the canonical effect and preset pair through selection, services,
and master-light resume so bundled presets follow the same path as saved
presets.

Require the SDK release that introduces the unified preset endpoints and
cover duplicate labels, services, coordinator loading, and end-to-end apply.

Co-Authored-By: Parfit (Codex subagent) <noreply@openai.com>
Keep the published integration requirement on the forthcoming 0.3.2 SDK,
while allowing the editable development checkout to retain its release-owned
0.3.1 version stamp. CI and release validation now fetch the exact commit
that contains the effect-scoped preset stack.
Catalog and state refreshes can complete in either order after an effect
switch. Carry the effect provenance with each preset stack and suppress
options until it matches current state, preventing stale preset applies.
Keep CI and release validation on the reviewed Hypercolor head so the
editable SDK and bundled preset identity checks are resolved together.
Keep Home Assistant verification and release builds on the exact reviewed
Hypercolor commit that defines the unified preset client contract.

Co-Authored-By: Nova (OpenAI Codex) <noreply@openai.com>
Keep integration and release verification on the exact Hypercolor head after
the preset-key implementation was brought into Biome compliance.

Co-Authored-By: Nova (OpenAI Codex) <noreply@openai.com>
Advance integration and release verification to the exact Hypercolor commit
that aligns every Rust and TypeScript preset-key separator.

Co-Authored-By: Nova (OpenAI Codex) <noreply@openai.com>
@hyperb1iss
hyperb1iss merged commit 20dec98 into main Aug 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant