Commit 07b0a8b
docs: land Bluetooth presence sensor plan (cross-repo with burble) (#45)
## Summary
Lands the neurophone-side plan for the cross-repo Bluetooth presence
integration designed with sibling repo `burble`. Documentation only — no
code changes, no Phase 2 implementation yet.
NeuroPhone gains a *BLE presence sensor* (read-only) that feeds the
existing `sensor → LSM → ESN → bridge → LLM` pipeline alongside
accelerometer / gyro / light / proximity. The authoritative cross-repo
plan is in
[`burble/docs/architecture/ANDROID-CLIENT.adoc`](https://github.com/hyperpolymath/burble/blob/main/docs/architecture/ANDROID-CLIENT.adoc);
this doc is the neurophone-specific projection.
## Privacy posture preserved
NeuroPhone's existing README guarantees no mic / no contacts / no
personal data. Adding BLE scanning is a real change, handled carefully:
- **No `RECORD_AUDIO`.** Neurophone is not getting a voice client.
- **No outbound advertising.** Read-only on the Burble protocol.
- **`BLUETOOTH_SCAN`** requested with
`usesPermissionFlags="neverForLocation"` — no location permission
demanded, scan results not treated as location data.
- **Toggle defaults OFF.** Separate from main sensor consent.
- **Scanning is presence-only.** `BurbleNeighborScanner` filters on
Burble UUID and decodes only the published payload fields. Does not do
generic device discovery; does not log non-Burble MACs.
- **`AI_INSTALLATION_GUIDE.adoc` update is a hard prerequisite for Phase
2 ship** — the AI-driven install flow asks consent questions in a
specific order; adding a sensor without updating the script means the AI
doesn't ask, which means it's silently enabled.
## Repository ownership
| Lives in burble | Lives in neurophone |
|---|---|
| Wire format (a2ml) | Scanner + decoder |
| Idris2 type | Rust crate `bt-presence` |
| AffineScript signatures | Kotlin `bluetooth/` package |
| Server-side bridge | Bridge context extension |
Build-time codegen pulls burble's a2ml manifest into the rust crate —
single source of truth, no protocol fork.
## Test plan
- [x] Doc renders as AsciiDoc
- [x] No code changes to verify
- [x] Cross-refs to README, TOPOLOGY, and burble's ANDROID-CLIENT.adoc
are valid
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 3ba95d4 commit 07b0a8b
1 file changed
Lines changed: 128 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
0 commit comments