Skip to content

Warn on invalid ids, duplicate ids, homie_domain and broadcast subtopics - #118

Merged
dcj merged 2 commits into
mainfrom
gh-92-id-validation-warn
Nov 11, 2026
Merged

dcj merged 2 commits into
mainfrom
gh-92-id-validation-warn

Conversation

@dcj

@dcj dcj commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Closes #92 (the warn step of the #91 policy).

Warns once per object, still publishes: ids outside the Homie ID format, a differing duplicate node or property (an identical re-declaration stays silent), a device id repeated in one tree, an empty or multi-segment or $-prefixed homie_domain, invalid broadcast() subtopic segments. sanitize_homie_id's docstring notes that distinct inputs can collide.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VUQ6apRySRNW8y3ppJMdJC

dcj and others added 2 commits November 11, 2026 15:27
…ics (#92)

Device, node and property ids outside the Homie ID format, a differing
duplicate node or property, a device id repeated in one tree, an
invalid homie_domain and invalid broadcast subtopic segments warn once
per object and are still published (warn step of the #91 policy).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VUQ6apRySRNW8y3ppJMdJC
@dcj
dcj merged commit 8972792 into main Nov 11, 2026
5 checks passed
@dcj
dcj deleted the gh-92-id-validation-warn branch November 11, 2026 23:45
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.

Homie compliance phase 2: id, topic and domain validation

1 participant