Deterministic run-test substrate for MoonBit
Dependencies
| Package | Layer | Current role |
|---|---|---|
| core | Core contracts | Frame/Endpoint/Medium/Reactor contracts, event ordering helpers |
| clock | Clock layer | Typed Instant[D], ClockRelation, and deterministic VirtualClock |
| driver | Driver seam | Native link-driver catalog, provider-owned master harness descriptors, and trace evidence |
| driver/native | Native driver stubs | Split Lockwire-owned C ABI and MoonBit FFI shim catalog for common state, highres clock, local pcap writer smoke, UDP loopback smoke, local FramePool smoke, Npcap runtime probe, Npcap live adapter ABI surface, and Linux raw socket ABI surface |
| os | OS capability gates | Profile-gated OS descriptors for virtual clocks/timers, native stubs, UDP sockets, raw NIC, pcap writer, and event-loop boundaries |
| hal | HAL capability gates | Profile-gated HAL descriptors for virtual link ports, native/embedded FramePool, embedded clock/IRQ/DMA/MAC/CAN-FD/UART boundaries, and ThreadX BSP hook skeletons |
| hal/embedded | STM32/ThreadX backend | LiveTransportKind::Stm32EthKind extenum backend (open/send/receive/close via @live dispatch), embedded C stub catalog (7 BSP hooks), and cross-compile-plan reference stubs; host mock + board-level deferred |
| reactor | Reactor backend gates | Descriptor-only backend profiles for reactor_sim, reactor_epoll, reactor_iocp, and reactor_threadx |
| sim | Simulation | Deterministic P2P, segment toy, minimal fabric partition/heal runners, offline switched-fabric queue/load/QoS/IRT reports, offline arbitrated-bus medium reports, and local benchmark reports |
| scenario | Scenario layer | Deterministic SimEnv/Event/ProcessHandle combinators |
| trace | Trace/replay | Recording/Replay/TraceLog digest, benchmark reports, golden text, and pcapng artifact bridge |
| fault | Fault injection | FaultPlan/FaultHit for delay/drop/corrupt/dup/reorder, topology-level partition/heal labels, offline buggify/swarm seed-pool reports, and explicit campaign coverage reports |
| resource | Resource modeling | Resource/Container/Store capacity model plus offline priority/preemptive resource contention reports |
| observe | Observation | TraceSink/MetricSink/TimelineProbe hook |
| wasm | Wasm/diff runner | Portable trace digest and benchmark comparison for native/wasm |
| cmd/main | CLI | Smoke entry point |
| test/cmd/main | Oracle-check dispatch | D77 unified oracle-check surface that thin checker ps1 scripts call to apply an already-verified oracle (tshark/pcap/native-evidence/stub-catalog/preflight/threadx-board) to a live artifact; native-only |
moon check
moon test
moon run lockwire/cmd/main
powershell -ExecutionPolicy Bypass -File scripts/check-package-boundaries.ps1
powershell -ExecutionPolicy Bypass -File scripts/m5-native-wasm-diff.ps1 -Seed 42
moon run lockwire/cmd/main -- m6-segment --seed 42
moon run lockwire/cmd/main -- k1-partition-heal --seed 42
moon run lockwire/cmd/main -- l3f-switched-fabric --seed 704
moon run lockwire/cmd/main -- l3g-switched-fabric-qos-irt --seed 734
moon run lockwire/cmd/main -- d57-link-readiness --seed 757
moon run --target wasm-gc lockwire/cmd/main -- cl7-pcapng-hex --seed 42
moon run --target native lockwire/cmd/main -- udp-loopback-smoke --timeout-ms 100
moon run --target native lockwire/cmd/main -- npcap-list-ifaces
moon run --target native lockwire/cmd/main -- raw-socket-list-ifaces
powershell -ExecutionPolicy Bypass -File scripts/run-native.ps1 -Profile readiness -OutDir "_build\lockwire-run-native"
powershell -ExecutionPolicy Bypass -File scripts/native-live-preflight.ps1 -PlanOnly
powershell -ExecutionPolicy Bypass -File scripts/native-live-evidence-session.ps1 -OutDir "_build\lockwire-live-evidence-session"
powershell -ExecutionPolicy Bypass -File scripts/check-native-live-evidence-session.ps1 -SessionSummaryPath "_build\lockwire-live-evidence-session\native-live-evidence-session-summary.json" -RequireNoLiveExecution
powershell -ExecutionPolicy Bypass -File scripts/native-live-evidence-handoff-plan.ps1 -SessionSummaryPath "_build\lockwire-live-evidence-session\native-live-evidence-session-summary.json" -OutDir "_build\lockwire-live-evidence-handoff" -LiveOutDir "_build\lockwire-live-evidence-live-run"
powershell -ExecutionPolicy Bypass -File scripts/check-native-live-evidence-handoff-plan.ps1 -HandoffPlanPath "_build\lockwire-live-evidence-handoff\live-evidence-handoff-plan.json" -RequireNoLiveExecution -RequireReady
powershell -ExecutionPolicy Bypass -File scripts/run-native-live-evidence-handoff.ps1 -HandoffPlanPath "_build\lockwire-live-evidence-handoff\live-evidence-handoff-plan.json"
powershell -ExecutionPolicy Bypass -File scripts/native-live-evidence-bundle.ps1 -OutDir "_build\lockwire-live-evidence-bundle"
powershell -ExecutionPolicy Bypass -File scripts/check-native-live-evidence-bundle.ps1 -BundleSummaryPath "_build\lockwire-live-evidence-bundle\bundle-summary.json"
powershell -ExecutionPolicy Bypass -File scripts/run-native-live-evidence-bundle.ps1 -BundleSummaryPath "_build\lockwire-live-evidence-bundle\bundle-summary.json"
powershell -ExecutionPolicy Bypass -File scripts/check-native-live-evidence-guarded-run.ps1 -GuardedRunSummaryPath "_build\lockwire-live-evidence-bundle\guarded-run\guarded-live-run-summary.json" -RequireNoLiveExecution
powershell -ExecutionPolicy Bypass -File scripts/native-live-evidence-bundle.ps1 -Adapter raw-socket -OutDir "_build\lockwire-live-evidence-bundle-raw"
powershell -ExecutionPolicy Bypass -File scripts/check-native-live-evidence-bundle.ps1 -BundleSummaryPath "_build\lockwire-live-evidence-bundle-raw\bundle-summary.json"
powershell -ExecutionPolicy Bypass -File scripts/run-native-live-evidence-bundle.ps1 -BundleSummaryPath "_build\lockwire-live-evidence-bundle-raw\bundle-summary.json"
powershell -ExecutionPolicy Bypass -File scripts/check-native-live-evidence-guarded-run.ps1 -GuardedRunSummaryPath "_build\lockwire-live-evidence-bundle-raw\guarded-run\guarded-live-run-summary.json" -RequireNoLiveExecution
powershell -ExecutionPolicy Bypass -File scripts/link-readiness-handoff-target-plan.ps1 -Target windows-npcap -OutDir "_build\lockwire-link-readiness-handoff"
powershell -ExecutionPolicy Bypass -File scripts/check-link-readiness-handoff-target-plan.ps1 -PlanPath "_build\lockwire-link-readiness-handoff\windows-npcap\link-readiness-handoff-target-plan.json" -Target windows-npcap -RequireNoLiveExecution -RequireHostCommands
powershell -ExecutionPolicy Bypass -File scripts/link-readiness-handoff-target-plan.ps1 -Target linux-raw -OutDir "_build\lockwire-link-readiness-handoff"
powershell -ExecutionPolicy Bypass -File scripts/check-link-readiness-handoff-target-plan.ps1 -PlanPath "_build\lockwire-link-readiness-handoff\linux-raw\link-readiness-handoff-target-plan.json" -Target linux-raw -RequireNoLiveExecution -RequireHostCommands
powershell -ExecutionPolicy Bypass -File scripts/link-readiness-handoff-target-plan.ps1 -Target stm32-threadx -OutDir "_build\lockwire-link-readiness-handoff"
powershell -ExecutionPolicy Bypass -File scripts/check-link-readiness-handoff-target-plan.ps1 -PlanPath "_build\lockwire-link-readiness-handoff\stm32-threadx\link-readiness-handoff-target-plan.json" -Target stm32-threadx -RequireNoLiveExecution -RequireBlockedEmbedded
powershell -ExecutionPolicy Bypass -File scripts/threadx-board-evidence-handoff-plan.ps1 -OutDir "_build\lockwire-threadx-board-evidence-handoff" -BoardId "<STM32_THREADX_BOARD_ID>"
powershell -ExecutionPolicy Bypass -File scripts/check-threadx-board-evidence-handoff-plan.ps1 -PlanPath "_build\lockwire-threadx-board-evidence-handoff\threadx-board-evidence-handoff-plan.json" -RequireNoLiveExecution -RequireBlockedTemplate
powershell -ExecutionPolicy Bypass -File scripts/multitarget-link-evidence-handoff-suite.ps1 -OutDir "_build\lockwire-multitarget-link-evidence-handoff-suite" -BoardId "<STM32_THREADX_BOARD_ID>"
powershell -ExecutionPolicy Bypass -File scripts/check-multitarget-link-evidence-handoff-suite.ps1 -SummaryPath "_build\lockwire-multitarget-link-evidence-handoff-suite\multitarget-link-evidence-handoff-suite.json" -RequireNoLiveExecution -RequireHostTargets -RequireEmbeddedBlocked
powershell -ExecutionPolicy Bypass -File scripts/provider-harness-handoff-manifest.ps1 -OutDir "_build\fieldbus-provider-handoff-manifest" -Provider all
powershell -ExecutionPolicy Bypass -File scripts/check-provider-harness-handoff-manifest.ps1 -ManifestPath "_build\fieldbus-provider-handoff-manifest\provider-harness-handoff-manifest.json" -RequireNoLiveExecution -RequireBothProviders -RequireEvidenceSlots
powershell -ExecutionPolicy Bypass -File scripts/bottom-layer-live-verification-kit.ps1 -OutDir "_build\bottom-layer-live-verification-kit" -BoardId "<STM32_THREADX_BOARD_ID>"
powershell -ExecutionPolicy Bypass -File scripts/check-bottom-layer-live-verification-kit.ps1 -KitPath "_build\bottom-layer-live-verification-kit\bottom-layer-live-verification-kit.json" -RequireNoLiveExecution -RequireMultitargetSuite -RequireProviderManifest -RequireBlockedLiveEvidence
powershell -ExecutionPolicy Bypass -File scripts/bottom-layer-live-evidence-completion.ps1 -OutDir "_build\bottom-layer-live-evidence-completion" -KitPath "_build\bottom-layer-live-verification-kit\bottom-layer-live-verification-kit.json"
powershell -ExecutionPolicy Bypass -File scripts/check-bottom-layer-live-evidence-completion.ps1 -SummaryPath "_build\bottom-layer-live-evidence-completion\bottom-layer-live-evidence-completion.json" -RequireNoLiveExecution -RequireBlocked -RequireVerificationKit
powershell -ExecutionPolicy Bypass -File scripts/bottom-layer-live-evidence-request.ps1 -OutDir "_build\bottom-layer-live-evidence-request" -KitPath "_build\bottom-layer-live-verification-kit\bottom-layer-live-verification-kit.json" -WindowsInterfaceName "<NPF_INTERFACE_NAME>" -LinuxInterfaceName "<RAW_SOCKET_INTERFACE_NAME>" -BoardId "<STM32_THREADX_BOARD_ID>"
powershell -ExecutionPolicy Bypass -File scripts/check-bottom-layer-live-evidence-request.ps1 -RequestPath "_build\bottom-layer-live-evidence-request\bottom-layer-live-evidence-request.json" -RequireNoLiveExecution -RequireVerificationKit -RequireAllTargets -RequireCompletionCommand
powershell -ExecutionPolicy Bypass -File scripts/bottom-layer-live-evidence-transcript-template.ps1 -RequestPath "_build\bottom-layer-live-evidence-request\bottom-layer-live-evidence-request.json" -OutDir "_build\bottom-layer-live-evidence-transcript" -Operator "<OPERATOR>" -LabId "<LAB_ID>"
powershell -ExecutionPolicy Bypass -File scripts/check-bottom-layer-live-evidence-transcript.ps1 -TranscriptPath "_build\bottom-layer-live-evidence-transcript\bottom-layer-live-evidence-transcript.json" -RequireNoLiveExecution -RequirePendingTemplate -RequireRequest
powershell -ExecutionPolicy Bypass -File scripts/bottom-layer-live-evidence-intake-closeout.ps1 -TranscriptPath "_build\bottom-layer-live-evidence-transcript\bottom-layer-live-evidence-transcript.json" -CompletionSummaryPath "_build\bottom-layer-live-evidence-intake\completion\bottom-layer-live-evidence-completion.json" -OutDir "_build\bottom-layer-live-evidence-intake-closeout"
powershell -ExecutionPolicy Bypass -File scripts/check-bottom-layer-live-evidence-intake-closeout.ps1 -SummaryPath "_build\bottom-layer-live-evidence-intake-closeout\bottom-layer-live-evidence-intake-closeout.json" -RequireNoLiveExecution -RequireBlocked -RequireTranscript -RequireCompletion
powershell -ExecutionPolicy Bypass -File scripts/native-readiness-gate.ps1 -OutDir "_build\lockwire-native-readiness"
powershell -ExecutionPolicy Bypass -File scripts/native-live-evidence-plan.ps1 -ReadinessOutDir "_build\lockwire-native-readiness" -InterfaceName "\\Device\\NPF_{...}" -LiveOutDir "_build\lockwire-live-preflight"
powershell -ExecutionPolicy Bypass -File scripts/check-native-live-evidence-plan.ps1 -PlanPath "_build\lockwire-live-preflight\plans\live-evidence-plan.json" -RequireReady -RequirePcapArtifactChecks -RequirePcapTSharkChecks
powershell -ExecutionPolicy Bypass -File scripts/native-readiness-gate.ps1 -Adapter raw-socket -OutDir "_build\lockwire-native-readiness-raw"
powershell -ExecutionPolicy Bypass -File scripts/native-live-evidence-plan.ps1 -Adapter raw-socket -ReadinessOutDir "_build\lockwire-native-readiness-raw" -LiveOutDir "_build\lockwire-live-preflight-raw"
powershell -ExecutionPolicy Bypass -File scripts/check-native-live-evidence-plan.ps1 -PlanPath "_build\lockwire-live-preflight-raw\plans\live-evidence-plan.json"
powershell -ExecutionPolicy Bypass -File scripts/native-live-preflight.ps1 -Adapter npcap -OutDir "_build\lockwire-live-preflight"
powershell -ExecutionPolicy Bypass -File scripts/check-native-preflight-manifest.ps1 -ManifestPath "_build\lockwire-live-preflight\preflight-manifest.json" -RequireNoLiveAttempt -RequireEnvironmentSnapshot -RequireUdpLoopbackSmoke -RequireNpcapInterfaceDiscovery -MinNpcapInterfaceCount 1 -RequireNpcapNoLiveDryRuns
powershell -ExecutionPolicy Bypass -File scripts/check-native-preflight-manifest.ps1 -ManifestPath "_build\lockwire-native-readiness-raw\preflight-manifest.json" -RequireNoLiveAttempt -RequireEnvironmentSnapshot -RequireUdpLoopbackSmoke -RequireRawSocketInterfaceDiscovery -RequireRawSocketNoLiveDryRuns
powershell -ExecutionPolicy Bypass -File scripts/native-live-preflight.ps1 -Adapter npcap -InterfaceName "\\Device\\NPF_{...}" -AllowSend -AllowCapture -CheckPcapArtifacts -CheckPcapWithTShark
powershell -ExecutionPolicy Bypass -File scripts/check-native-preflight-manifest.ps1 -ManifestPath "_build\lockwire-live-preflight\preflight-manifest.json" -RequireLiveAttempt -RequirePcapArtifactChecks -RequirePcapTSharkChecks -RequireEnvironmentSnapshot -RequireLiveEvidenceFields
powershell -ExecutionPolicy Bypass -File scripts/native-live-preflight.ps1 -Adapter raw-socket -InterfaceName "eth0" -AllowSend -AllowCapture -CheckPcapArtifacts -CheckPcapWithTShark
moon run --target native lockwire/cmd/main -- raw-socket-smoke --iface "eth0" --allow-send --allow-capture --timeout-ms 100 --attempts 3 --ethertype 0x88b5 --payload-hex "de ad be ef"
moon run --target native lockwire/cmd/main -- raw-socket-roundtrip-pcap --iface "eth0" --out "_build\\lockwire-raw-socket-roundtrip.pcap" --allow-send --allow-capture --timeout-ms 100 --attempts 3 --ethertype 0x88b5 --payload-hex "de ad be ef"
powershell -ExecutionPolicy Bypass -File scripts/check-native-pcap-artifact.ps1 -PcapPath "_build\lockwire-raw-socket-roundtrip.pcap" -RequireEtherType 0x88b5
powershell -ExecutionPolicy Bypass -File scripts/check-native-pcap-tshark.ps1 -PcapPath "_build\lockwire-raw-socket-roundtrip.pcap" -RequireEtherType 0x88b5
moon run --target native lockwire/cmd/main -- npcap-live-smoke --iface "\\Device\\NPF_{...}" --timeout-ms 100 --filter "ether proto 0x88b5"
moon run --target native lockwire/cmd/main -- npcap-send-smoke --iface "\\Device\\NPF_{...}" --allow-send --timeout-ms 100 --ethertype 0x88b5 --payload-hex "de ad be ef"
moon run --target native lockwire/cmd/main -- npcap-roundtrip-smoke --iface "\\Device\\NPF_{...}" --allow-send --allow-capture --timeout-ms 100 --attempts 3 --filter "ether proto 0x88b5" --ethertype 0x88b5 --payload-hex "de ad be ef"
moon run --target native lockwire/cmd/main -- npcap-roundtrip-pcap --iface "\\Device\\NPF_{...}" --out "_build\\lockwire-roundtrip.pcap" --allow-send --allow-capture --timeout-ms 100 --attempts 3 --filter "ether proto 0x88b5" --ethertype 0x88b5 --payload-hex "de ad be ef"
powershell -ExecutionPolicy Bypass -File scripts/check-native-pcap-artifact.ps1 -PcapPath "_build\lockwire-roundtrip.pcap" -RequireEtherType 0x88b5
powershell -ExecutionPolicy Bypass -File scripts/check-native-pcap-tshark.ps1 -PcapPath "_build\lockwire-roundtrip.pcap" -RequireEtherType 0x88b5
moon run --target native lockwire/cmd/main -- npcap-capture-pcap --iface "\\Device\\NPF_{...}" --out "_build\\lockwire-manual-capture.pcap" --allow-capture --timeout-ms 100 --filter "ether proto 0x88b5"
powershell -ExecutionPolicy Bypass -File scripts/check-native-pcap-artifact.ps1 -PcapPath "_build\lockwire-manual-capture.pcap" -RequireEtherType 0x88b5
powershell -ExecutionPolicy Bypass -File scripts/check-native-pcap-tshark.ps1 -PcapPath "_build\lockwire-manual-capture.pcap" -RequireEtherType 0x88b5
moon run --target native lockwire/cmd/main -- npcap-capture-frame-pool --iface "\\Device\\NPF_{...}" --allow-capture --timeout-ms 100 --filter "ether proto 0x88b5"///|
test "readme smoke" {
inspect(project_name, content="Lockwire")
assert_eq(package_ids().length(), 14)
}///|
test "p2p digest smoke" {
let run = run_p2p_demo(seed=42)
assert_eq(run.events.length(), 2)
assert_true(same_seed_digest_stable(seed=42))
}///|
test "clock virtual sequence smoke" {
let domain = DomainId::new(name="sim")
let seq : Array[Instant[SimTruth]] = deterministic_sequence(
domain~,
seed=42,
count=3,
step=Duration::from_ns(5L),
)
assert_eq(seq.length(), 3)
assert_eq(seq[2].ns(), 10L)
assert_eq(
ghost_domain_status(),
"instant-ghost-domain-supported; trait-domainid-fallback",
)
}///|
test "native wasm digest smoke" {
assert_true(p2p_native_wasm_match(seed=42))
assert_true(p2p_native_wasm_benchmark_match(seed=42))
let line = p2p_digest_line(seed=42)
assert_true(line.contains("scenario=p2p|seed=42|trace_digest="))
assert_true(line.contains("|rng_steps=1|event_count=2"))
}///|
test "segment toy smoke" {
let run = run_segment_toy(seed=42)
assert_eq(run.final_payload, b"ABz")
assert_eq(run.total_delay.ns(), 10L)
let timeline = run.timeline_text()
assert_true(timeline.contains("hop=2|node=drive-3|arrive_ns=5|depart_ns=10"))
}///|
test "fabric partition heal smoke" {
let run = run_fabric_partition_heal(seed=42)
assert_true(run.capabilities.unlocks_partition_faults())
assert_eq(run.partition_count, 1)
assert_eq(run.heal_count, 1)
assert_eq(run.drop_count, 1)
assert_true(run.trace.to_golden_text().contains("label=fabric.rx.late"))
}///|
test "scenario event smoke" {
let env = SimEnv::new(seed=7)
let slow = timeout(env, Duration::from_ns(10L))
let fast = spawn(env, name="fast", fn(_env) { () })
let race = any_of(env, [slow, fast.event()])
let result = env.run_until_event(race)
assert_eq(result.winner_id, fast.event().id())
assert_true(slow.is_pending())
}///|
test "trace replay smoke" {
let frame = Frame::acquire(id=1).filled(payload=b"x")
let tx = TxEvent::make(
id=1,
vtime=VTime::from_ns(0L),
channel_id=ChannelId(1),
seq=1,
source=EndpointId(1),
target=EndpointId(2),
frame~,
)
let recording = Recording::new()
ignore(
recording.record_tx(
tx,
seed=42,
rng_step=1,
clock_domain="sim",
node_id="n1",
medium_id="p2p",
backend=@core.SimNative,
),
)
let replay = Replay::from_log(recording.get_log())
assert_eq(replay.remaining(), 1)
assert_eq(
replay.digest(seed=42).state_digest,
recording.digest(seed=42).state_digest,
)
}///|
test "fault resource smoke" {
let plan = FaultPlan::new(seed=7)
plan.add_rule(FaultRule::new(@fault.Drop, @fault.Once))
let dropped = plan.apply(b"x")
assert_true(dropped.dropped)
let campaign = buggify_swarm_seed_pool_fixture()
assert_true(campaign.passes())
assert_true(campaign.to_text().contains("lockwire.fault-campaign-report.v1"))
let coverage = fault_campaign_coverage_report(campaign)
assert_true(coverage.passes())
assert_true(
coverage.to_text().contains("lockwire.fault-campaign-coverage-report.v1"),
)
let env = SimEnv::new(seed=8)
let resource = Resource::new(name="rt-cpu", capacity=1)
let lease = env.run_until_event(resource.request(env))
assert_eq(resource.in_use(), 1)
resource.release(env, lease)
assert_eq(resource.in_use(), 0)
let preemptive = preemptive_resource_contention_fixture(seed=744)
assert_true(preemptive.passes())
assert_true(preemptive.to_text().contains("interrupt_count=1"))
}fn native_link_session_frame_pool_smoke() -> NativeLinkSessionFramePoolSmokeReport raise NativeLinkErrorfn native_make_ethernet_smoke_frame(ethertype? : Int, dst_mac? : Bytes, src_mac? : Bytes, payload? : Bytes) -> Bytesfn native_npcap_capture_frame_pool(interface_name : String, allow_capture? : Bool, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String) -> NativeNpcapFramePoolCaptureReportfn native_npcap_capture_pcap_artifact(interface_name : String, output_path : String, allow_capture? : Bool, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String) -> NativeNpcapCapturePcapArtifactReportfn native_npcap_make_ethernet_smoke_frame(ethertype? : Int, dst_mac? : Bytes, src_mac? : Bytes, payload? : Bytes) -> Bytesfn native_npcap_manual_live_smoke(interface_name : String, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String) -> NativeNpcapManualLiveSmokeReportfn native_npcap_manual_send_smoke(interface_name : String, allow_send? : Bool, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, frame? : Bytes) -> NativeNpcapManualSendSmokeReportfn native_npcap_roundtrip_pcap_artifact(interface_name : String, output_path : String, allow_send? : Bool, allow_capture? : Bool, capture_attempts? : Int, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String, frame? : Bytes) -> NativeNpcapRoundtripPcapArtifactReportfn native_npcap_send_capture_roundtrip(interface_name : String, allow_send? : Bool, allow_capture? : Bool, capture_attempts? : Int, snaplen? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, filter_expression? : String, frame? : Bytes) -> NativeNpcapSendCaptureRoundtripReportfn native_raw_socket_manual_smoke(interface_name : String, allow_send? : Bool, allow_capture? : Bool, ethertype? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, capture_attempts? : Int, frame? : Bytes) -> NativeRawSocketManualSmokeReportfn native_raw_socket_roundtrip_pcap_artifact(interface_name : String, output_path : String, allow_send? : Bool, allow_capture? : Bool, capture_attempts? : Int, ethertype? : Int, promiscuous? : Bool, open_timeout_ms? : Int, capture_timeout_ms? : Int, frame? : Bytes) -> NativeRawSocketRoundtripPcapArtifactReportfn native_udp_link_session_loopback_smoke(timeout_ms? : Int) -> NativeUdpLinkSessionSmokeReport raise NativeLinkErrorfn native_udp_loopback_smoke(timeout_ms? : Int) -> NativeUdpLoopbackSmokeReport raise NativeLinkErrorfn provider_master_harness_trace_fixture(harnesses : ArrayView[LinkMasterHarnessDescriptor], seed? : Int) -> TraceLogfn run_buggify_swarm_seed_pool(seed_pool : SwarmSeedPool, gates : Array[BuggifyGate]) -> FaultCampaignReportfn rx_event_to_trace(ev : RxEvent, seed~ : Int, rng_step~ : Int, clock_domain~ : String, node_id~ : String, medium_id~ : String, backend~ : BackendProfile) -> TraceEventfn tx_event_to_trace(ev : TxEvent, seed~ : Int, rng_step~ : Int, clock_domain~ : String, node_id~ : String, medium_id~ : String, backend~ : BackendProfile) -> TraceEventfn validate_master_harness_descriptors(harnesses : ArrayView[LinkMasterHarnessDescriptor], seed? : Int) -> LinkMasterHarnessValidationReportDeterministic run-test substrate for MoonBit
Dependencies