Contributing and releases
Read AGENTS.md. Run the smallest focused tests while working and the full
checks before a release:
The hub runs test files serially to bound in-memory Postgres resource use. Database-backed waits check eventual state; they do not certify physical door latency. The real TCP probe uses one ephemeral loopback listener and always closes it, including on failure.
npm ci
npm test
npm run typecheck
npm run build
npx playwright install chromium
npm run test:e2e
npm run docs:build
Use only synthetic fixtures. Do not alter immutable accounting history or weaken database permissions to make a screen work. Keep each hardware capability labeled verified, partial or unverified.
Release checklist
- Fresh source review and local secret scan; no credentials, personal data, vendor binaries, private logos or unlicensed skills.
- SDK pack contents include compiled exports/types, README and MIT licence.
- Unit/integration/browser checks and docs build pass.
- Version and compatibility notes describe actual evidence, not aspirations.
- GitHub publication and npm publication are separate. Test the packed SDK from a clean consumer before publishing it to npm.
- Keep each gym's configuration in a separate private repo, but secrets in a password/secrets manager and customer data outside Git entirely.
Roadmap
Broaden the compatibility matrix through sanitized hardware evidence; investigate enrollment, clocks, profiles, access zones and holidays without guessed payloads; add multi-terminal support; then internationalize business rules. Public API and deployment examples should remain honest while those items are unfinished.