Getting Started

Entry points

The full map of Game Harness subpath exports and their required peers.

Import only the entry point a game uses:

  • game-harness/playwright for Playwright projects and strict preview-server configuration; install @playwright/test.
  • game-harness/silent-qa for a peer-free, audio-engine-agnostic application-side runtime mute adapter.
  • game-harness/production-runtime for a fresh, silent production-artifact or exact-live boot; install @playwright/test.
  • game-harness/chromium for peer-free Chromium renderer and silence launch profiles.
  • game-harness/vitest for Vitest Browser Mode; install vitest and @vitest/browser-playwright.
  • game-harness, /lighthouse, /release-ladder, and /visual-battery for peer-free verification utilities.

Framework peers are intentionally optional at install time and are never loaded by the package root.

Package boundaries

Entry pointResponsibilityRequired peer
package rootLighthouse policy, release ladder, visual batteryNone
/chromiumRenderer and mandatory mute launch profileNone
/silent-qaApplication-side runtime mute request and readiness markerNone
/playwrightDevice tiers, isolated ports, preview server, silent navigation@playwright/test
/production-runtimeFresh server/browser lifecycle and runtime evidence@playwright/test
/vitestVitest Browser Mode configurationvitest, @vitest/browser-playwright
/lighthouseImmutable Lighthouse CI presetsNone
/release-ladderOrdered sync/async verification stepsNone
/visual-batteryDeterministic screenshot baseline orchestrationNone

The production-runtime entry point depends on the Playwright entry point because it composes openSilentGame() into a fresh-browser lifecycle; no dependency points back toward the root. See the Architecture reference for the complete module map and runtime-verification sequence.