Skip to content

R-00374 r3: pace chat ticks so Room Delta emits chat.event - #25

Merged
Go1c merged 2 commits into
mainfrom
feat/r-00374-room-chat-event-delta
Sep 2, 2026
Merged

R-00374 r3: pace chat ticks so Room Delta emits chat.event#25
Go1c merged 2 commits into
mainfrom
feat/r-00374-room-chat-event-delta

Conversation

@Go1c

@Go1c Go1c commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

R-00374 r3 · Room wire emits chat.event (RM-00011)

  • Baseline origin/main: 17111ce88a393e181fdae73b7873e461b85e51d9
  • Head: 36f72bb87f8deb0984f417da2a2ab60c44598214
  • Independent deep review r3b: 通过(r3 退回 P0/P1 已闭合)

Why

R-00376 live3 loaded C-4 native struct_size=200 then received {"messageType":"Delta","tickId":1,"revision":1,"changedBlocks":[]}. 101 chat.inputs in one RunTick exceed Runtime MaxChangeEntries=128 (2 field writes each). Runtime _faulted; BuildDelta empty; S8 AttachMember failed.

What

  • Suite paces kernel ticks at 64 inputs (MAX_CHAT_INPUTS_PER_TICK).
  • Over-budget tick is ok:false; host does not broadcast empty Delta.
  • S8 connects c-bot100 as RoomClient and recvs ConnectionSuperseded (not host takeover).
  • S7 does not mark ok with empty snapshot / processB=null.

Verify (dispatcher + independent review tree)

  • cargo test -p lumio-server-process --locked --test entity_chat_wire --test entity_chat_host --test entity_chat_architecture --lib → lib 86 / architecture 6 / host 11 / wire 5
  • node .spec/tools/spec-lint.mjs → OK

Known gaps

  • 101-entity persist still Runtime-blocked (ChatIngressWorld MaxSnapshotBytes=4096). S7 stays not-ok until Runtime budget covers 101 entities. Not encoded as SUCCESS.
  • Live 11-scenario Game oracle not re-run in this PR; dispatcher rebuilds replay after merge and resumes R-00376.

@Go1c
Go1c merged commit 03bb5eb into main Sep 2, 2026
2 of 4 checks passed
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