From dc35ae2d92eb2c220d94fe8749028f559f480829 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Wed, 28 Oct 2026 17:56:37 +0000 Subject: [PATCH] docs(chord): slice 8: ref.state is a native source too --- packages/chord/docs/next/slice-8.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/chord/docs/next/slice-8.md b/packages/chord/docs/next/slice-8.md index 939ecb881..2bd988d7a 100644 --- a/packages/chord/docs/next/slice-8.md +++ b/packages/chord/docs/next/slice-8.md @@ -107,8 +107,8 @@ await host.root(async (ctx) => (await ctx.get(Notes, { session })).add(note, ctx A `NativeWatchable` with `set(value)` (identity compared: `set` of the same value notifies nobody; a new value is a new frame), owned by the attempt (dropped with it; `set` after the attempt's seal throws `released`); never a state member; usable as a contribution, a derive source and an `on` source. `set` inside a batch marks it there; outside, it -opens its own batch. Both `writable` and `RegistryValue` are native sources: one base (`NativeSource`) the batch marks -and derives depend on; `self.derive` takes JSON and native sources (its type and the source resolver widen), while the +opens its own batch. `writable`, `RegistryValue` and `ref.state` (a `NativeWatchable` since slice 3b, until now not derivable: design audit, +2026-10-27) are native sources: one base (`NativeSource`) the batch marks and derives depend on; `self.derive` takes JSON and native sources (its type and the source resolver widen), while the member check still refuses a native as a state member. ## 3. `self.retryOn(...sources)`