Skip to content

Fix child-lock and schedule editing contracts; complete validation coverage - #43

Merged
Repsay merged 1 commit into
mainfrom
codex/resolve-validation-gaps
Oct 16, 2026
Merged

Repsay merged 1 commit into
mainfrom
codex/resolve-validation-gaps

Conversation

@Repsay

@Repsay Repsay commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Live validation found two real defects: child-lock writes sent a text physical ID plus an untraced alias, and schedule editing rejected the server's litter-box plan_type_id 2. Send the exact integer lock fields and accept observed type-2 plans with omitted quantity, preserving the app's quantity-1 edit payload and rejecting unknown types.

Add bounded GET readback after a single mutation and during restoration; DND-toggle and selected-pet association roundtrips; read-only firmware lifecycle monitoring; a private-evidence coverage audit; and an issue-by-issue acceptance map. Prepare version 0.4.1.

Validation: 666 tests pass on HA 2026.10.1 and minimum 2026.3.0. Ruff ALL, formatting, strict mypy including scripts and diff checks pass. Live lock, DND, screen-language, all three cleaning modes, association and schedule create/edit/disable/enable/delete passed readback. Original settings, association and all original plans were restored; DND clocks/LED were preserved. Firmware observation found no offered update. No empty/other motor command, history deletion or timezone change was sent.

Implementation tickets below are delivered or have dedicated validation tooling. Remaining external acceptance is explicitly preserved in #42; timezone/DST #21, firmware lifecycle/realtime #22 and measured weights/history #41 stay open. Feeders/water stay deferred. Closing these implementation tickets does not claim physical firing, fresh OTP login or every phone-app observation passed.

Closes #11, closes #12, closes #14, closes #15, closes #16, closes #17, closes #19, closes #20, closes #23, closes #24, closes #25, closes #26.
Refs #21, #22, #41, #42.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment