# PatchCore 0.2.0: browser operator guide

Open [PatchCore](https://patchcore.org/) over HTTPS in a browser with WebAssembly and camera
or microphone support. The responsive HTML, CSS and JavaScript interface runs
the shared Rust PatchCore inference core as WebAssembly on this device. The
compatibility URL [https://patchcore.org/app.html](https://patchcore.org/app.html) opens the same application.
There is no native application or browser extension to install.

## Start a station

1. Choose the camera and/or microphone to monitor, then start capture. Grant
   permission for the chosen inputs when the browser asks.
2. Keep the camera, lighting and microphone position stable. Show confirmed
   normal operation through learning and the separate calibration phase.
3. Monitor status, scores and the anomaly view. Validate the normal reference
   against held-out normal operation and representative anomalies on the actual
   device; a score alone does not prove that a process is safe.
4. Export learned banks before closing the page. Import compatible banks to
   reuse a reference; the architecture, input resolution and region layout must
   match. Region collections use `.pcbundle`; changing the layout requires
   learning a new normal reference.
5. Select Stop to release capture. This stops browser monitoring; it does not
   stop any connected machinery.

The operator layout is available at [https://patchcore.org/?operator=1](https://patchcore.org/?operator=1).
Keep the page foreground on mobile devices. Browser/device support determines
which camera, microphone and acceleration options are available. Use the
on-screen controls with touch, a mouse or keyboard.

## Models and integrity

Visual inference selects from the pretrained Small, Medium and Large
MobileNetV4 models. The initial model download requires a connection. Acoustic
inference uses deterministic 16 kHz mono spectral patches without pretrained
audio weights. Native executables and source archives are not part of this
browser deployment.

| Pretrained visual model | SHA-256 |
| --- | --- |
| [mobilenetv4-small-128.pcm](https://patchcore.org/downloads/mobilenetv4-small-128.pcm) | `01c46a4de869c2f4deb9fcdb7662ae0a4a80333402f574458a7e4c3a7ec1682d` |
| [mobilenetv4-medium-128.pcm](https://patchcore.org/downloads/mobilenetv4-medium-128.pcm) | `11b1a1aa61867fe4a8de3861678914faa3dd973182d26b09053178ebc1b7f62a` |
| [mobilenetv4-large-128.pcm](https://patchcore.org/downloads/mobilenetv4-large-128.pcm) | `51d375046cdd7887a11f0ed61a65c1d700611b7b08220cab9724d3a7174d5f7f` |

The current [manifest](https://patchcore.org/downloads/manifest.json) and
[SHA256SUMS](https://patchcore.org/downloads/SHA256SUMS) list the exact published assets.
The [bundle metadata](https://patchcore.org/downloads/mobilenetv4-bundle.json) identifies
each architecture and its checksum; adjacent JSON files record provenance.
Preserve the [project license](https://patchcore.org/downloads/LICENSE),
[model license](https://patchcore.org/downloads/LICENSE-MOBILENET) and
[browser dependency notices](https://patchcore.org/downloads/THIRD-PARTY-NOTICES.txt).

## Privacy and reference changes

Camera frames, microphone samples, learned banks and session scores are
processed locally. The static website serves application code and model files;
there is no capture upload endpoint or analytics. Capture permission is requested
when the operator starts an input. Exporting a bank or session creates a local
download; sharing that file is a separate user decision.

The current session and baseline review queue are kept in browser memory.
Export anything you need before reloading or closing the tab. Suggestions for
baseline updates require review of each captured sample. Accept only confirmed
normal operation; enabling suggestions does not approve samples automatically.
Changing a model, scene, microphone gain or region layout may require retraining.

## Instructions for AI agents

Use the browser application and its actual controls. Start capture only for
inputs the user authorizes. Learn only confirmed normal operation and use
separate normal observations for calibration. Never accept baseline suggestions
automatically. Preserve local learned banks before replacing a reference.
Verify the public model hashes when distributing assets. Keep credentials,
captured media, personal identifiers and local paths out of shared artifacts.
