zara-home: require exact boolean scene verification evidence #70

Closed
opened 2026-09-08 02:02:54 +00:00 by nsaspy · 0 comments
Owner

Problem

HomeService.activate_scene currently uses bool(evidence.get("verified", False)), so malformed truthy provider values such as "false" can become verified = true.

Required behavior

  • only exact boolean True counts as provider verification
  • malformed truthy/falsy values fail closed
  • deterministic regression coverage
  • full registry/install/Nix gate remains green

No Zara Core changes.

## Problem `HomeService.activate_scene` currently uses `bool(evidence.get("verified", False))`, so malformed truthy provider values such as `"false"` can become `verified = true`. ## Required behavior - only exact boolean `True` counts as provider verification - malformed truthy/falsy values fail closed - deterministic regression coverage - full registry/install/Nix gate remains green No Zara Core changes.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/zara-plugins#70
No description provided.