From 3a67008e687db0d7c178293e9e759f1025c0a58c Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 26 Apr 2026 13:23:10 +0000 Subject: [PATCH] docs: drop removed willow-channel + drift fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit README.md:51 — remove `willow-channel` row from crate table; the crate was deleted but the listing still referenced it. README.md:89 — replace "22 EventKind variants" with non-numeric phrasing; current count is ~24 and was drifting. CLAUDE.md:327 — replace "17 variants" of EventKind with non-numeric phrasing for the same drift reason. Closes #255. --- CLAUDE.md | 2 +- README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 59e6fb5e..55b7f222 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -324,7 +324,7 @@ events. The `willow-state` crate is pure — zero I/O, zero networking. - **Event**: carries unique ID, parent state hash, author PeerId, timestamp hint, and an `EventKind` mutation variant. -- **EventKind**: 17 variants covering server structure, roles, +- **EventKind**: variants covering server structure, roles, fine-grained permissions, chat, identity, and encryption. - **ServerState**: complete shared state derivable from event replay. Computes a `StateHash` (SHA-256) for divergence detection. diff --git a/README.md b/README.md index 5db60b7b..f550820c 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,6 @@ accounts, no middlemen. End-to-end encrypted by default. | `willow-identity` | Ed25519 identity, message signing, profiles | | `willow-messaging` | Chat messages, HLC ordering, message store | | `willow-crypto` | E2E encryption (ChaCha20-Poly1305, X25519) | -| `willow-channel` | Servers, channels, roles, permissions | | `willow-network` | iroh-based P2P networking (native + WASM) | | `willow-actor` | Lightweight actor framework (dual-target native + WASM) | | `willow-common` | Shared wire protocol types (WireMessage, worker types) | @@ -86,7 +85,7 @@ event log *is* the data. - **`ServerState`** is the materialized view — rebuilt deterministically by topologically sorting all events and replaying them through `materialize()`. Peers converge to identical state when they have the same DAG. -- **22 `EventKind` variants** cover server structure (create/delete/rename +- **`EventKind` variants** cover server structure (create/delete/rename channels and roles), chat (messages, edits, deletes, reactions, pins), permissions (grant/revoke), identity (profiles), encryption (key rotation), and governance (proposals and votes).