Files
xenia-rs/audit-runs/phase-c-first-divergence/phase-a/diff-report.md
MechaCat02 ef93a4fa14 handoff: VSync/event-wedge fixes + iterate 2.A–2.BC research notes
Source changes (dormant parity infra, retained from iterate 2.AI/2.AO):
- xenia-kernel/exports.rs: nt_create_event manual_reset polarity +
  related event wiring
- xenia-gpu/mmio_region.rs: D1MODE_VBLANK_VLINE_STATUS hardcode parity

Also lands the audit-runs/ analysis notes (.md/.txt/.json digests) for the
iterate 2.x VSync/0x10e8/0x1004 wedge investigation. Raw trace dumps
(.jsonl/.gz/.csv/.stdout) and agent worktrees (.claude/) are gitignored as
regenerable local artifacts — see memory + HANDOFF for the running findings.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 07:19:08 +02:00

1.9 KiB

Phase A diff report

This report is the output of Phase A's diff harness. Divergences shown here are INPUT for Phase B (first-divergence localization), not findings of Phase A. Phase A's job is to make the harness itself correct, not to analyze what it surfaces.

Summary

canary_tid ours_tid matched canary_total ours_total first_divergence_at
6 1 113 329948 93048 113

canary_tid=6 → ours_tid=1

First divergence at tid_event_idx=113: payload.return_value: canary=0 ours=1880095840

Pre-context (last 5 matching events):

  canary: [108] import.call RtlLeaveCriticalSection
  ours:   [108] import.call RtlLeaveCriticalSection
  canary: [109] kernel.call RtlLeaveCriticalSection
  ours:   [109] kernel.call RtlLeaveCriticalSection
  canary: [110] kernel.return RtlLeaveCriticalSection
  ours:   [110] kernel.return RtlLeaveCriticalSection
  canary: [111] import.call KeQuerySystemTime
  ours:   [111] import.call KeQuerySystemTime
  canary: [112] kernel.call KeQuerySystemTime
  ours:   [112] kernel.call KeQuerySystemTime

Divergent event:

  canary: [113] kernel.return KeQuerySystemTime
  ours:   [113] kernel.return KeQuerySystemTime

Next event after the divergence (if any):

  canary: [114] import.call RtlInitializeCriticalSection
  ours:   [114] import.call RtlInitializeCriticalSection

Raw events (JSON):

{"deterministic": true, "engine": "canary", "guest_cycle": 0, "host_ns": 17344300, "kind": "kernel.return", "payload": {"name": "KeQuerySystemTime", "return_value": 0, "side_effects": [], "status": "0x00000000"}, "schema_version": 1, "tid": 6, "tid_event_idx": 113}
{"deterministic": true, "engine": "ours", "guest_cycle": 9415, "host_ns": 73190351, "kind": "kernel.return", "payload": {"name": "KeQuerySystemTime", "return_value": 1880095840, "side_effects": [], "status": "0x700ffc60"}, "schema_version": 1, "tid": 1, "tid_event_idx": 113}