Skip to content

hapticasensorics/guardian-app

Repository files navigation

Guardian Docs

Start here:

Canonical commands:

./scripts/device.sh board status
./scripts/device.sh board open
./scripts/device.sh board capture
./scripts/device.sh inventory
npm test
npm run test:web:iphone
npm run test:web:headless
npm run doctor

Use lower-level scripts only when the canonical command cannot express the job:

  • device.sh web-slot ... for one explicit managed Chromium slot.
  • remote-demo.sh and remote-gui.sh for the remote Air/iOS lane.
  • ios-conversation-harness.sh for simulator fixture injection.
  • capture-window.sh slot:<name> for a direct slot capture.

Managed Chromium capture first tries macOS window capture. If detached app-mode Chromium or local Screen Recording permissions refuse usable pixels, the harness falls back to a deterministic iPhone-profile web render of the same tracked slot URL while keeping the real board window open.

npm run test:web:headless uses Playwright's repo-local global setup to prewarm /scenarios and /composer-lab before running tests. That keeps cold Expo web bundle compilation out of the first assertion timeout while preserving the normal 60 second timeout for actual UI failures.

The web-server start path is lock-protected and writes its manifest atomically, so simultaneous visible/headless proof commands cannot corrupt .build-info/web-server.<port>.json.

Archived docs and scripts under docs/archive/ and scripts/archive/ are forensics only. Do not use archived ui-bench, parity, or older flow docs as active guidance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors