Skip to content

Universal QA

← All terms · Orbit-internal concepts

QA scripts shipped with Orbit that run against every project's codebase, regardless of project type. Project-agnostic, discovers entry points at runtime.

What it is

Universal QA scripts live in Orbit's `scripts/qa/universal/` directory. They read project state from `process.cwd()` (never their own location), output a standard JSON shape, and operate within a 2-second runtime budget. The current example is `qa-module-integrity` (catches `import { X }` where X was never exported). Per-project scripts can override universal scripts on name collision.

When you would use it

Universal QA runs implicitly. You add new universal scripts when a check is broadly applicable across project types.

Common operations

  • Catching import bugs across all projects automatically
  • Cross-project regression detection
  • Running standardized integrity checks

Related terms

Where this is taught