# AGENTS.md — watch-wear/ (':watch:wear') > Scoped supplement. Global rules in root `AGENTS.md` apply. Stay inside > `watch-wear/` + `watch/` (the phone side of the same app). - Gradle: :watch:wear (dir watch-wear/) / dir: watch-wear/ (convention: `common-conventions-wear`) - Package roots present: ui, platform, service - Entry file: ui/WearMainActivity.kt ## Why this module exists (read before changing identity) Watch half of the Watch conduit — the sole phone<->watch messaging app on the watch. It deliberately uses `applicationId = "com.vayunmathur.watch"` (the phone app's) with the shared dev/release signing: the WearLink handshake token and the `com.vayunmathur.watch.permissions.CONDUIT` signature permission both require the same signing certificate on both sides. It is the only watch app that holds Bluetooth permissions and the only one that owns a real `WearLinkNode` (appId `watch_conduit`, in `service/ConduitService` via `ConduitHost` in `:library:wearlink`). Every other watch app reaches the phone through `WearLinkClientNode`. ## Conduit - Local clients: signature-permission Messenger bound service (`service/ConduitService`, foreground `connectedDevice`), restarted by `platform/BootReceiver` on boot/replacement. - Routing/protocol: `com.vayunmathur.library.wearlink.conduit` in `:library:wearlink`, shared with `:watch`; route key is the first path segment. - The status screen renders `ConduitRuntime.state` (link state, registered apps, per-app counters). ## Verify (this module only) ``` ./gradlew :watch:wear:assembleDev ./gradlew :watch:wear:testDebugUnitTest ```