Eve library

Phase 140 completion and local-actionability evidence

Tracker

Revision 1

On this page

Historical task source. The Eve task board holds current task state.

Audit date: 2026-07-14

This audit treats phase-140.md as the authoritative requirement inventory. It reconciles every checklist entry with the current implementation and focused verification surfaces; checked boxes, package names, and commit history are not used as proof by themselves.

Result#

  • Phase total: 220 requirements.
  • Checked with implementation and verification evidence: 220 requirements.
  • Unchecked: 0 requirements.
  • Unchecked and locally actionable in this environment: 0 requirements.
  • Duplicate requirement IDs: 0.

There is consequently no remaining Phase 140 implementation task in this checkout. The ten requirement groups reconcile exactly with the inventory, and their focused verification passes without ignored or filtered tests.

Requirement inventory reconciliation#

Requirement range Count Implementation surface Open
140.1 40 libs/neith/stream-encoder 0
140.2 30 libs/neith/stream-transport 0
140.3 20 libs/neith/stream-input, libs/neith/stream-client/src/capture.ts 0
140.4 30 libs/neith/stream-session 0
140.5 30 libs/neith/stream-client 0
140.6 20 libs/neith/stream-quality, libs/neith/stream-client/src/ops.ts 0
140.7 20 libs/neith/stream-commerce 0
140.8 10 libs/neith/stream-security 0
140.9 10 libs/neith/stream-migration 0
140.10 10 libs/neith/stream-reference 0
Total 220 10 focused project surfaces 0

Implementation and verification evidence#

140.1 Encoder#

stream-encoder implements the session HAL, hardware discovery and FFmpeg adapters for the five hardware families, zero-copy surface validation, HDR and color metadata, tiling, failover, codec/profile/rate-control/reference controls, and the pixel pre/post-processing pipeline. Its 14 passing tests exercise real bitstream emission for installed codecs, the experimental VVC path, hardware selection, lifecycle and failover, LTR recovery, tiling, ROI/slice/intra-refresh configuration, chroma conversion, tone mapping, denoise/grain, overlays, DRS, letterboxing, and frame pacing.

140.2 Transport#

stream-transport implements QUIC resume, browser WebRTC RTP/DataChannel, SRT, RIST, UDP Reed-Solomon recovery, authenticated TLS fallback, MP-QUIC, MoQ relay, sovereign STUN/TURN, symmetric-NAT punching, bandwidth selection, adaptive presets, pacing, jitter buffering, NACK/FEC/LTR recovery, and starvation mode. Its 25 passing tests include live loopback exchanges for QUIC 0-RTT, WebRTC, SRT, RIST, authenticated TLS, STUN, symmetric NAT, multipath QUIC, and UDP loss recovery, plus congestion, adaptation, relay, reorder, and recovery controls.

140.3 Input#

stream-input supplies typed capture/injection events, ordered server injection, stick curves, prediction and reconciliation, time warp and frame interpolation, latency budgets, skew-aware clocks, frame age, haptic alignment, A/V synchronization, and deterministic record/replay. Browser capture adds raw keyboard, pointer, touch, gamepad, motion, microphone/Opus, haptic and adaptive trigger, switch, and eye-gaze adapters. Four Rust tests and the client capture suite cover ordering, prediction, synchronization, haptics, and replay.

140.4 Session and fleet#

stream-session implements fair tiered queues, preemption, warm/cold/quick resume allocation, multi-seat parties, region/overflow selection, forecasting, bare-metal CoreBoot/Neith Linux provisioning, MIG/SR-IOV/vGPU partitioning, cross-vendor scheduling, failure and thermal controls, driver rollout/reboot, content-addressed images, COW overlays, deltas, channels, crash quarantine, versioned saves, rewind, and usage accounting. Seven passing tests cover each allocation, provisioning, fleet isolation, image, save, and accounting path.

140.5 Thin clients#

stream-client/native defines the complete Windows, macOS, Neith Linux, Android/TV, SteamOS/handheld, TV, Fire TV/Chromecast, and Neith Stream target matrix with platform media and input capabilities. The browser/PWA client implements WebTransport/WebCodecs, WebRTC fallback, WebGPU presentation, Gamepad/WebHID, fullscreen/pointer lock, wake lock, compatibility planning, and the installable manifest. Its restrained gameplay-first workspace implements the quality HUD, adaptive state, controller and touch setup, resume, library filtering, per-title controls, parental limits, accessibility overlays, and offline reminders. Verification passes 18 browser unit tests, strict TypeScript, 2 native Rust tests, and 7 Chromium Playwright flows across desktop, mobile, reduced-motion, and no-overflow layouts.

140.6 Quality and operations#

stream-quality implements cadence-controlled VMAF process sampling, PSNR/SSIM, blink markers, jitter histograms, motion-defect classification, audio/network traces, MOS and disconnect reasons, capacity and cost models, SLO/error budgets, runbooks, regional synthetic clients, chaos faults, rollback, and privacy-aware support replay. Seven Rust tests cover valid and invalid VMAF process reports and every remaining quality/operations control. The operational workspace's three Playwright tests verify region uptime, capacity, latency, incidents, availability history, wait distributions, fairness, and mobile use.

140.7 Commerce and broadcast#

stream-commerce enforces all subscription, entitlement, usage, trial, gift, family, invite, tournament, enterprise, and regional pricing access models. It also implements spectator/cowatch roles, shared control and couch co-op, broadcast targets, real process-boundary passthrough/remux planning, delayed segments, clips, director views, shared saves, and anti-cheat tournament pairing. Five passing tests cover every access and spectator/broadcast group.

140.8 Security#

stream-security implements per-user watermark fingerprints, signed device attestation, explicit microphone/keystroke capabilities, no-disk policy, purpose-minimized fields, recording consent/retention, macro and input-rate guards, authenticated anti-cheat envelopes, nonce replay protection, and jurisdiction/export/age/localization gates. Four passing tests cover tampering, expiry, replay, privacy, retention, abuse, and regional denial paths.

140.9 Interoperability and migration#

stream-migration provides process-boundary Moonlight/Sunshine, Parsec, Steam Link, and PlayStation Remote Play adapters; safe NVIDIA GameStream inventory import; xCloud deep-link conversion; integrity-checked save archives; controller-profile import; non-regressing achievement merge; entitlement deduplication; and complete library handoff reports. Eight passing tests cover all ten requirements plus malformed, ambiguous, secret-bearing, and unresolved inputs.

140.10 Reference platforms#

stream-reference defines and validates the Stream Stick, kiosk, automotive, VR, AR spectator, 5G edge, LAN cluster, enterprise, education, and remote-devkit profiles, including their codec, input, isolation, attestation, safety, accessibility, compliance, and latency constraints. Three passing tests validate all ten profiles and protect remote-debug lease scopes.

Reproduced verification#

All commands were run sequentially on 2026-07-14. No full-workspace gate was used on the 15 GiB host.

text
Nine Rust workspaces
  cargo fmt --check
  cargo clippy --all-targets -- -D warnings
  cargo test
  PASS: format and Clippy; 77 tests, 0 failed, 0 ignored

Browser client
  pnpm exec vitest run -c vitest.config.ts
  pnpm exec tsc --noEmit
  PASS: strict typecheck; 18 tests in 4 files

Native client
  cargo fmt --check
  cargo clippy --all-targets -- -D warnings
  cargo test
  PASS: format and Clippy; 2 tests, 0 failed, 0 ignored

Browser/operations end to end
  pnpm exec playwright test -c playwright.config.ts
  PASS: 7 Chromium tests with one worker

The 104 passing tests above are focused implementation evidence. The inventory commands below independently prove the checklist count, openness, and ID uniqueness; neither kind of evidence substitutes for the other.

Reproducible inventory checks#

bash
awk '/^- \[[ xX]\]/{total++} /^- \[ \]/{open++} END {
  print "total=" total, "open=" (open + 0)
}' TODOS/phase-140.md

perl -ne '
  if (/^- \[[ xX]\] \*\*(140\.\d+)/) {$count{$1}++; $total++}
  END {
    print "total=$total\n";
    print "$_=$count{$_}\n" for sort {
      (split(/\./, $a))[1] <=> (split(/\./, $b))[1]
    } keys %count
  }
' TODOS/phase-140.md

perl -ne '
  if (/^- \[[ xX]\] \*\*(140(?:\.\d+)+)\*\*/) {$seen{$1}++}
  END {
    $duplicates = 0;
    $duplicates += $_ - 1 for grep {$_ > 1} values %seen;
    print "unique=" . scalar(keys %seen) . " duplicates=$duplicates\n"
  }
' TODOS/phase-140.md

rg '^- \[ \]' TODOS/phase-140.md

The final rg intentionally exits with status 1 and no output. Re-run the inventory and focused verification if Phase 140 gains requirements or any item is reopened.