Brokkr C#: snapshot lists as whole values; C# pin to CultLib 9fc4bdda; snapshots reach disk again #18

Merged
eureka merged 1 commit from hands/brokkr-cs-holders into main 2026-11-28 01:31:37 +00:00
Owner

Every owned list in Brokkr's C# snapshot types is a whole-value ImmutableArray holder (brokkr-msgpack:ruling:snapshot-lists-whole-value), so the C# CultLib pin moves 42dce361 -> 9fc4bdda, matching Rust and Python (which are unchanged). No payload byte changed (a golden hex test pins the old bytes, reproduced from 282d9eff). A default ImmutableArray is refused on read and on publish.

Also: since CultLib 558526c1 a soft flush writes nothing over an existing store, so the C# mirror's snapshots never reached disk; the mirror now uses the plain flush the command lane already uses (it applies only staged writes, so intents and receipts are not clobbered). Unity: both Brokkr asmdefs resolve System.Collections.Immutable through CultLib's Unity package plugin (overrideReferences false); not yet opened in a Unity editor.

C# 108/108 at 9fc4bdda (49/103 before). Soul holds. Closes brokkr-msgpack:follow_up:brokkr-cs-element-ids.

🤖 Generated with Claude Code

Every owned list in Brokkr's C# snapshot types is a whole-value ImmutableArray holder (`brokkr-msgpack:ruling:snapshot-lists-whole-value`), so the C# CultLib pin moves 42dce361 -> 9fc4bdda, matching Rust and Python (which are unchanged). No payload byte changed (a golden hex test pins the old bytes, reproduced from 282d9eff). A default ImmutableArray is refused on read and on publish. Also: since CultLib 558526c1 a soft flush writes nothing over an existing store, so the C# mirror's snapshots never reached disk; the mirror now uses the plain flush the command lane already uses (it applies only staged writes, so intents and receipts are not clobbered). Unity: both Brokkr asmdefs resolve System.Collections.Immutable through CultLib's Unity package plugin (overrideReferences false); not yet opened in a Unity editor. C# 108/108 at 9fc4bdda (49/103 before). Soul holds. Closes `brokkr-msgpack:follow_up:brokkr-cs-element-ids`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Owned snapshot lists (sceneObjects, assets, components, properties) become
ImmutableArray<T>, which CultLib treats as one value with no element ids
(brokkr-msgpack:ruling:snapshot-lists-whole-value). Record payload bytes are
unchanged, pinned by a golden test. A default array (a nil list on the wire) is
refused on read and on publish. The mirror flushes plainly: since CultLib 558526c1
a soft flush over an existing store writes nothing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
eureka merged commit 00b38e8e09 into main 2026-11-28 01:31:37 +00:00
eureka deleted branch hands/brokkr-cs-holders 2026-11-28 01:31:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Brokkr!18
No description provided.