Skip to content

docs: room state is idempotent commutative monoid, not just commutative - #623

Open
sanity wants to merge 1 commit into
mainfrom
docs/idempotent-devnotes
Open

docs: room state is idempotent commutative monoid, not just commutative#623
sanity wants to merge 1 commit into
mainfrom
docs/idempotent-devnotes

Conversation

@sanity

@sanity sanity commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Problem

DEVNOTES.md described room state merge as commutative-only. The actual requirement (matching freenet-stdlib and the whitepaper) is that merge is associative, commutative, AND idempotent.

Approach

Align wording with the ecosystem-wide terminology.

Testing

Doc-only change.

[AI-assisted - Claude]

DEVNOTES described state merge as commutative-only, but the underlying
requirement (matching freenet-stdlib/whitepaper terminology) is that
merge is also idempotent - applying the same update twice must be safe.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018gMSXHaQ2rXKGfAVWKqk11
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