Automated conformance tests, fixtures, runners, and report formats for BAP Host, Component, Companion, and package implementations.
npm install --save-dev @backdrop-augmentation-protocol/conformance
npx bap-conformance --report reports/conformance.json
npx bap-check-we-package <package-directory> [more-directories]The installed commands use the Core 0.1.0 schemas, the BAP 0.2.0 extension
schemas and fixtures, and the WE distribution Profile bundled from a pinned
spec revision. They do not need a neighboring source checkout. The
bap-conformance report checks the machine-readable contracts and fixtures; it
does not certify a running implementation.
Protocol conformance does not by itself imply Wallpaper Engine platform approval, security audit approval, or content-quality approval.
For Web wallpaper packages, npm run check:we-package -- <directory> checks the
WE Web/Workshop distribution profile.
This check is optional during local-only development but required before a BAP
WE Web wallpaper is first published or updated on Workshop. It reads the
profile Schema from the pinned spec checkout, checks package
entrypoints and preview paths, and validates a BAP Component Manifest when
present. This is a static preflight, not an editor or platform approval test.
The suite consumes the machine-readable schemas from the public spec repository. In a checkout of the BAP monorepo it uses the sibling spec directory; in a standalone checkout npm run spec:install pins and caches the configured spec commit. BAP_SPEC_DIR can point to another verified spec checkout, and BAP_SPEC_REF selects the install commit. Unit tests cover the specified lifecycle state machine, Core fixtures, and BAP 0.2.0 desktop-composition contracts. The conformance command does not certify a running implementation.
npm install
npm test
npm run conformance