acdream/src/AcDream.Core.Net
Erik 534bacbc23 diag(net): #260 outbound/command-gate probe + corrected issue framing
The two-agent investigation refuted #260's as-filed hypotheses: every
UseWithTarget was acked (the J5.2 use gate never latched), and the LOH
leak is bounded sawtooth churn - the real climb is ~2.25 GB of native/
GPU memory (WS 3,261 vs managed 1,015 MiB at wedge). The wedge evidence
also showed why it could hide: the live combat toggle routes through the
generation-gated runtime command seam, and every rejection exit in that
chain (Disposed / StaleGeneration / !IsInWorld at Validate, plus the
operations slot reading IsInWorld=false when unbound) is COMPLETELY
silent - no log, no event.

ACDREAM_PROBE_NET=1 (NetDiagnostics owner, PhysicsDiagnostics pattern)
now arms three probe families, all zero-cost when off:

- [net-out] per reliable send at the SendGameMessage chokepoint: opcode,
  GameAction type+sequence, fragment/packet sequence, managed thread id
  (two tids would prove the cross-thread ISAAC-desync hypothesis alone),
  and state; [net-out-EX] via an exception FILTER that logs without
  catching, so propagation is unchanged.
- [net-tick] 1 Hz cadence from WorldSession.Tick: inbound/s, queue
  depth, budget breaks, worst inter-tick gap (frame-stall witness),
  out/s, acks/s.
- [cmd-gate] every silent runtime-command rejection with expected-vs-
  view generation, lifecycle, and IsInWorld, plus the combat toggle
  result (whose Inactive exit reads a DIFFERENT IsInWorld source).

One walked-portal repro session with this probe distinguishes all
remaining #260 wedge hypotheses. ISSUES.md #260 rewritten to the
corrected two-root framing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-29 08:53:58 +02:00
..
Cryptography feat(net): PacketHeader + PacketHeaderFlags + Hash32 checksum (Phase 4.2) 2026-04-11 14:17:37 +02:00
Messages fix(net): xpSpent is a dword on the wire, and we were sending eight bytes 2026-07-29 01:59:47 +02:00
Packets perf(net): frame recurring sends in place 2026-07-25 06:02:52 +02:00
AcDream.Core.Net.csproj feat(headless): complete deterministic bot command parity 2026-07-27 08:23:36 +02:00
CombatStateWiring.cs refactor(net): own live session routing 2026-07-21 11:17:09 +02:00
GameEventWiring.cs fix(net): stop dropping every transient string on a chat type that isn't sent 2026-07-29 01:58:02 +02:00
LinkStatusSnapshot.cs feat(ui): share indicator detail panels 2026-07-17 10:27:41 +02:00
NetClient.cs perf(net): own one pooled async receive 2026-07-25 05:50:18 +02:00
NetDiagnostics.cs diag(net): #260 outbound/command-gate probe + corrected issue framing 2026-07-29 08:53:58 +02:00
NOTICE.md feat(net): AcDream.Core.Net scaffold + ISAAC keystream (Phase 4.1) 2026-04-11 14:14:28 +02:00
ObjectTableWiring.cs refactor(runtime): own canonical entity and object lifetime 2026-07-26 05:54:46 +02:00
SubscriptionSet.cs refactor(net): own live session composition 2026-07-22 10:36:06 +02:00
WorldSession.cs diag(net): #260 outbound/command-gate probe + corrected issue framing 2026-07-29 08:53:58 +02:00