Skip to content

Follow Homie 5 on effective state and five payload rules - #116

Merged
dcj merged 2 commits into
mainfrom
gh-110-homie5-conformance
Nov 11, 2026
Merged

dcj merged 2 commits into
mainfrom
gh-110-homie5-conformance

Conversation

@dcj

@dcj dcj commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Closes #110.

  • Effective state: only a lost root overrides a child (convention.md:262-267); HOMIE_EFFECTIVE_STATE_TABLE and the docs change with it.
  • /set and publish validation: int64/float overflow after step rounding, datetime hour 24 / day 366 / week 53 limits, non-finite JSON numbers and lone surrogates, numeric payloads past the 4,300-digit limit.
  • Also: a huge exponent no longer computes a huge exact power, and deep JSON nesting is jsonInvalid instead of RecursionError.

Regression test for each repro in the issue.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VUQ6apRySRNW8y3ppJMdJC

dcj and others added 2 commits November 11, 2026 15:27
A child's effective state is its own $state unless its root is lost
(convention.md:262-267). /set and publish validation reject what the
convention rules out: int64 or float overflow after step rounding,
hour 24 with minutes, day 366 outside leap years, week 53 in years
without one, non-finite JSON numbers and lone surrogates, and numeric
payloads past Python's 4,300-digit limit. A huge exponent no longer
costs a huge exact power, and deep JSON nesting is jsonInvalid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VUQ6apRySRNW8y3ppJMdJC
@dcj
dcj merged commit c9d2404 into main Nov 11, 2026
5 checks passed
@dcj
dcj deleted the gh-110-homie5-conformance branch November 11, 2026 23:41
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 5 conformance: five payload and state rules ebus-sdk applies differently from the convention

1 participant