Skip to content
CVL COREEngine

Sidecar Event Bus & Fault Audit

[TEST // 04 • SIDECAR IPC & FAULT TOLERANCE] OUT-OF-PROCESS SIDECAR EVENT BUS & FAULT TOLERANCE AUDIT

This live multi-process harness validates the decoupled loopback IPC bus against 3 concurrent out-of-process OS daemons (Chat, SQLite WAL Banking, and Hub Progression) across 6 fault, throughput, and security suites: functional & RBAC guardrails, unbound-slot fast-fail bouncing, abrupt mid-transaction TCP RST disconnect immunity, a 2,000-RPC concurrent multi-service burst with post-burst 30Hz kernel health telemetry, 5-channel rotating audit log persistence, and forged SHA-256 IPC handshake rejection.

VERIFIED // 6 OF 6 SUITES Cross-Platform Sidecar IPC Resilience Summary
3 LIVE OS DAEMONS
2,000-RPC BURST
18,351 RPC/s
Linux: 109.0 ms • Win: 17,186 RPC/s
30HZ KERNEL IMPACT
0.09–0.11 ms
100% Registry Parity • 0 Discrepancies
OFFLINE FAST-FAIL
1.23–2.31 ms
Unbound Route Bounce • Zero Stall
TCP RST & IPC AUTH
0 Leaked Frames
150 ms In-Flight Abort • SHA-256 Enforced

[SEC 01.0] Cross-Platform Raw Harness Output (Windows vs. Linux)

Section titled “[SEC 01.0] Cross-Platform Raw Harness Output (Windows vs. Linux)”

Captured directly from the standalone Sidecar Fault & Burst Audit harness against live CVL CORE Server instances and 3 active out-of-process sidecar daemons on both Windows 11 and Ubuntu Linux 6.6 (WSL2):

WINDOWS 11 (AMD64) PYTHON 3.14.3 // 6/6 PASS
======================================================================
[SIDECAR AUDIT] CVL CORE ENGINE - OUT-OF-PROCESS IPC & FAULT SUITE
======================================================================
Timestamp : 2026-11-20 09:42:31 UTC
Host OS   : Windows 11 (AMD64)
Runtime   : Python 3.14.3 (CPython)
Target    : 127.0.0.1:55555 (Loopback IPC Bus Active)
Protocol  : IEEE 802.3 CRC32 Parity Verified
----------------------------------------------------------------------

[STEP 0] Authenticating 3 Synthetic Sessions (4-Stage Handshake)...
  [PASS] 2 Standard Sessions + 1 Privileged Admin Session admitted.

[TEST 1] Multi-Service Functional & Guardrail Audit (3 Live OS Daemons)...
  [PASS] Chat Daemon         : Global fan-out, Whisper, Admin Broadcast & RBAC denial verified.
  [PASS] Banking Daemon      : SQLite WAL ledger (+500/-200) & Overdraft guardrail verified.
  [PASS] Hub Progression     : Zone state, Citizenship pledge & +250 XP persistence verified.

[TEST 2] Fast-Fail Offline Service Bouncing (Unbound Route Slot)...
  [PASS] Unbound service request bounced in 2.31 ms (SERVICE_OFFLINE, zero stall).

[TEST 3] Mid-Transaction TCP RST Disconnect Immunity & Slot Recycling...
  [PASS] Abrupt OS TCP RST (150ms in-flight RPC) -> Recycled session received 0 leaked frames.

[TEST 4] High-Throughput 2,000-RPC Concurrent Multi-Service Burst...
  [PASS] Burst Complete      : 2000/2000 RPCs across 3 routes in 116.4 ms (17,186 RPC/sec).
  [PASS] 30Hz Kernel Health  : Tick Pulse 0.09 ms | Registry Parity: 100% (0 Discrepancies).

[TEST 5] Out-of-Process Rotating Audit Log Persistence...
  [PASS] Verified 5 isolated sidecar audit channels flushed to disk (0 core engine disk I/O).

[TEST 6] IPC Perimeter Security (Forged SHA-256 Handshake Rejection)...
  [PASS] Forged SHA-256 sidecar handshake immediately severed at loopback IPC broker.

======================================================================
[SIDECAR AUDIT] ALL 6 FAULT, SECURITY & BURST SUITES PASSED (100%)
======================================================================
LINUX 6.6 WSL2 (x86_64) PYTHON 3.14.4 // 6/6 PASS
======================================================================
[SIDECAR AUDIT] CVL CORE ENGINE - OUT-OF-PROCESS IPC & FAULT SUITE
======================================================================
Timestamp : 2026-11-20 09:45:21 UTC
Host OS   : Linux 6.6.114.1-microsoft-standard-WSL2 (x86_64)
Runtime   : Python 3.14.4 (CPython)
Target    : 127.0.0.1:55555 (Loopback IPC Bus Active)
Protocol  : IEEE 802.3 CRC32 Parity Verified
----------------------------------------------------------------------

[STEP 0] Authenticating 3 Synthetic Sessions (4-Stage Handshake)...
  [PASS] 2 Standard Sessions + 1 Privileged Admin Session admitted.

[TEST 1] Multi-Service Functional & Guardrail Audit (3 Live OS Daemons)...
  [PASS] Chat Daemon         : Global fan-out, Whisper, Admin Broadcast & RBAC denial verified.
  [PASS] Banking Daemon      : SQLite WAL ledger (+500/-200) & Overdraft guardrail verified.
  [PASS] Hub Progression     : Zone state, Citizenship pledge & +250 XP persistence verified.

[TEST 2] Fast-Fail Offline Service Bouncing (Unbound Route Slot)...
  [PASS] Unbound service request bounced in 1.23 ms (SERVICE_OFFLINE, zero stall).

[TEST 3] Mid-Transaction TCP RST Disconnect Immunity & Slot Recycling...
  [PASS] Abrupt OS TCP RST (150ms in-flight RPC) -> Recycled session received 0 leaked frames.

[TEST 4] High-Throughput 2,000-RPC Concurrent Multi-Service Burst...
  [PASS] Burst Complete      : 2000/2000 RPCs across 3 routes in 109.0 ms (18,351 RPC/sec).
  [PASS] 30Hz Kernel Health  : Tick Pulse 0.11 ms | Registry Parity: 100% (0 Discrepancies).

[TEST 5] Out-of-Process Rotating Audit Log Persistence...
  [PASS] Verified 5 isolated sidecar audit channels flushed to disk (0 core engine disk I/O).

[TEST 6] IPC Perimeter Security (Forged SHA-256 Handshake Rejection)...
  [PASS] Forged SHA-256 sidecar handshake immediately severed at loopback IPC broker.

======================================================================
[SIDECAR AUDIT] ALL 6 FAULT, SECURITY & BURST SUITES PASSED (100%)
======================================================================

Passing all 6 suites identically on Windows 11 (Python 3.14.3) and Linux 6.6 (Python 3.14.4) verifies five production microservice architecture guarantees:

  • Zero 30Hz Simulation Contention (Tests 4 & 5): Bursting 2,000 concurrent RPCs across Banking (SQLite WAL), Hub Progression, and offline-bounce routes completes in 109.0 ms (18,351 RPC/sec) on Linux and 116.4 ms (17,186 RPC/sec) on Windows while leaving the authoritative 30Hz tick pulse at 0.09–0.11 ms with 100% registry parity and zero core engine disk I/O.
  • Full Process Isolation & Domain Guardrails (Test 1): Chat fan-out, private whispers, non-admin RBAC denial, atomic SQLite WAL banking ledgers with overdraft protection, and persistent city/citizen progression all execute in independent OS processes—crashing or restarting any daemon cannot crash the world server.
  • Sub-3ms Fast-Fail Offline Recovery (Test 2): Requests targeting an offline or unbound service slot are bounced immediately by the loopback IPC router (1.23 ms Linux / 2.31 ms Windows) with a deterministic SERVICE_OFFLINE status, preventing hung client sockets or thread starvation during rolling sidecar deployments.
  • Session-Safe TCP RST Disconnect Immunity (Test 3): When a client severs its connection via an abrupt OS TCP RST while a 150 ms sidecar transaction is still in flight, the returning response is cleanly discarded—even if a new client immediately connects and claims the recycled session slot (0 leaked frames).
  • Authenticated Loopback IPC Perimeter (Test 6): Rogue processes attempting to register on the loopback IPC bus with a forged SHA-256 token are severed immediately at handshake time via constant-time digest verification before any route slot is bound.