@open-matrix/conformance-harness (0.1.1)
Installation
@open-matrix:registry=npm install @open-matrix/conformance-harness@0.1.1"@open-matrix/conformance-harness": "0.1.1"About this package
Conformance harness
This published library turns four developer proof rituals into maintained,
typed checks. @open-matrix/hive-pm exposes the supported command-line surface;
each command writes one JSON report and exits nonzero when any assertion fails.
Run from the repository root through the root package scripts:
pnpm prove:manifest -- --target ../../applications/chat/ui
pnpm prove:package-install -- \
--deployment <deployment-root> \
--target component-store://<package-name>@<package-version> \
--package-name <package-name> \
--package-version <package-version> \
--matrix-home <mode-0600-matrix-home> \
--control-mount workspaces.<binding>.hivedock.control \
--target-host-id <selected-hivedock-id>
pnpm prove:application -- \
--package-name <package-name> \
--package-version <package-version> \
--application <application-name> \
--component-tag <custom-element-tag> \
--ready-text <visible-ready-text> \
--credential-file <mode-0600-browser-principals-file> \
--principal <principal-name>
pnpm prove:credential-boundary -- \
--credential-file <mode-0600-delegated-credential-file> \
--outside-root <another-tenant-root>
prove:package-install uses an authenticated package-control package.up
message path and then requires both a canonical durable install record and every
declared runtime to be running. A delegated developer supplies the selected
HiveDock's attenuated workspaces.<binding>.hivedock.control mount and identity;
an operator may omit both to use the local hivedock.control. It never starts a
second bare supervisor.
prove:application performs the canonical browser login and proves that the
named installed application is visible, constructed, connected, and displaying
a useful ready state. prove:credential-boundary proves an inside-subtree publish/subscribe
round trip and loud refusal of both publish and subscribe outside that subtree.
Credentials are supplied only by mode-0600 file paths; never put credential
values on the command line.
Dependencies
Dependencies
| ID | Version |
|---|---|
| @open-matrix/package-artifacts | 0.1.5 |
| @open-matrix/package-runtime | 0.1.12 |
| @playwright/test | ^1.57.0 |
| nats | ^2.29.3 |
Development Dependencies
| ID | Version |
|---|---|
| @types/node | ^20.0.0 |
| tsx | ^4.21.0 |
| typescript | ^5.7.0 |