WBML-0004 — Event Bus Runtime Suite
✅ Verified WBML-0004 68 PASS / 0 FAIL / 0 SKIP
Research question
Section titled “Research question”Does the installed PoliticalWorldAPI Event Bus actually behave like the older creator source suggests, and where has runtime 1.14.0 drifted from that source?
Environment
Section titled “Environment”WorldBox: 0.51.2 build 719Git: build-719@5decNeoModLoader: 1.2.0.1PoliticalWorldAPI: 1.14.0Lab: 0.0.4-fix2Phase A — discovery, payload and unsubscribe
Section titled “Phase A — discovery, payload and unsubscribe”Runtime discovery returned 23 event IDs.
The suite verified:
non-null event listknown target IDs presentdefensive copy behaviorcustom/unknown event subscription accepted and removablenull handler rejectedduplicate exact subscription rejected/ignoredexact and wildcard deliveryparty.renamed identity/kingdom/party fieldsrename old/new values through OldValue/NewValueper-subscriber payload mutation isolationexact/wildcard unsubscribeno callbacks after removalsubscriptions count returned to zeroThe custom/unknown event result differs from the inspected API 1.9 source assumption and is preserved as versioned runtime evidence.
Phase B — callback containment
Section titled “Phase B — callback containment”One callback intentionally threw an exception. A healthy callback subscribed to the same event still executed.
Diagnostics recorded the callback error.
The suite also verified self-unsubscribe during dispatch and UnsubscribeAll cleanup.
Phase C — recursion and stress
Section titled “Phase C — recursion and stress”The recursive callback requested a chain of 64.
Runtime stopped at:
recursive=16tail=16The tail subscriber receiving the same 16 accepted events is important: the recursion guard did not turn the dispatch into a completely broken stream.
Then 100 sequential test writes produced:
100/100 accepted100 callbacks33 ms observedOnly the counts are part of the behavioral verification. The timing is not a universal benchmark.
Harness corrections
Section titled “Harness corrections”Initial harness
Section titled “Initial harness”It required unknown-event rejection and required rename values in OldName/NewName. Runtime disagreed.
Those failures became evidence that the harness assumptions were stale.
The payload mapping was corrected, but recursive/stress handlers still filtered only NewName. Runtime 1.14.0 placed the tested value in NewValue, so the Lab itself dropped every Phase C event.
Zero callbacks from that run were rejected as harness evidence.
The filter resolved rename new value using runtime-aware mapping. The full suite then passed.
Final result
Section titled “Final result”PASS=68 FAIL=0 SKIP=0A=PASS B=PASS C=PASSSUITE RESULT: PASSOriginal party name restored and final subscriptions reached zero.
Evidence boundary
Section titled “Evidence boundary”This verifies the tested dispatch paths, not every payload field of all 23 event IDs.