Files
buzz/crates
npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67dandTyler Longwell dea538f516 test(acp): prove DM session-scope equivalence with stream channels
DMs are private channels, not a separate scoping model. Pin that
contract with four tests in dispatch_scope_tests:

- scope derivation is channel-type-agnostic: identical tag shapes
  derive identical root components on DM and stream channels in both
  modes
- thread mode: two top-level DM messages are distinct concurrent
  roots on distinct workers (context registers the channel as a DM)
- thread mode: a threaded DM reply joins its outermost root's batch
- channel mode: DM events collapse to (channel, None) and serialize,
  second worker idle

Test-only; no production code touched.

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
2026-07-18 20:17:16 -04:00
..