open-transfer

V1: what’s done, what’s left

V1 goal: a Windows PC, a Mac, an Android phone and a Samsung tablet find, pair with and send files, text, links, clipboard and media to each other on the same Wi‑Fi or a phone hotspot, with no internet or cloud needed.

V1 CLOSED WITH DOCUMENTED DEVICE LIMITATIONS (2026-11-12). V1 development is complete at 7c8b4a4 on audit-2026-10-26. The checks only a person on real hardware can do stay open as post-closure verification; they don’t keep V1 open.

Inventory taken 2026-11-05 at 3e4a855, updated to 7c8b4a4 at closure. Security work (encryption, forward secrecy, revocation) is finished for V1 and kept as is; further hardening waits until after V1 (encryption.md, “What’s left”).

Status:

Real device is what a person checked on hardware, from audit-2026-10-26.md. “Not yet” means no evidence; it doesn’t mean it failed.

A. Connectivity

Feature Status Evidence Real device
Windows desktop app Tested Windows CI builds the .exe and opens its window Not yet (K1, B1 open)
macOS app (Apple Silicon, Intel) Tested CI builds both DMGs and opens the window Mac (Apple Silicon) ✅; Intel not yet
Android app Tested APK build, emulator receives a real transfer Phone ✅
Samsung tablet Tested Tablet layout tests (800 px, touch) Not yet
Browser guest sharing Tested tests/e2e (Playwright) Mac browser and phone ✅
Same Wi‑Fi / LAN Tested Multicast and /info discovery, test_mesh.py Mac ↔ phone ✅
Phone hotspot Tested test_hotspot.py: hotspot interfaces, /24 sweep Not yet (device-testing.md §8)
Network switching, IP changes Built Moves heard first-hand are tested (test_moves.py). After V1 (V1-5): paired devices don’t pass each other’s new addresses on Not yet
No internet or cloud needed Tested Everything is local; the hotspot section runs with mobile data off Not yet

B. Discovery and pairing

Feature Status Evidence Real device
Automatic discovery Tested test_mesh.py, test_reachability.py Mac ↔ phone ✅
QR code: show and scan Tested test_scan_ui.py; native scanner on Android Camera in Safari ✅; packaged apps not yet
Pairing code Tested test_devices_ui.py::test_pair_with_a_code Mac ↔ phone ✅; Mac ↔ PC not yet (K1)
Pairing from either side Tested device_check.py covers both directions Mac ↔ phone ✅
Typing an address when discovery fails Tested test_unreachable.py Not yet
Remembered (paired) devices Tested Keys sealed in the OS keystore, survive restarts Survives an Android update ✅
Rename this device Tested test_rename_this_device ✅
Remove or pair again from a device’s tile Tested (V1-1) ⋯ menu and right-click; test_remove_a_pairing_from_its_tile, test_pair_with_an_unpaired_device_from_its_tile Not yet
Online / offline status Tested Tile status, “Not nearby”, “Can’t connect” ✅

C. File transfers

Feature Status Evidence Real device
One to one, one to many, groups, everyone Tested test_devices_ui.py, test_nearby_send.py, “Send to everyone?” check Mac → phone ✅
Large and multiple files Tested Chunked, resumable; 1 GB benchmark Not yet
Folders Tested Zipped in the browser (zip.js) Not yet
Progress, speed, time left Tested Transfer cards ✅
Cancel, retry, recovery Tested test_mesh.py, queue E2E Not yet
Integrity check Built App to app SHA-256 is tested. After V1 (V1-6): the hop from a browser to its own app isn’t checked Not yet (the fix for audit issue V1, a 401 on verify, is unconfirmed on devices)
Text and links Tested Share text → note-/link-….txt; the receiver reads the first line and gets Open link (test_send_a_link_and_open_it_on_the_other_device) Not yet
No accidental broadcast Tested Nothing is selected by default; “everyone” asks first ✅

D. Native Android sharing

Feature Status Evidence Real device
Receive from the share sheet (one, many, mixed) Tested SharedFiles.kt + test_share_sheet.py (fake bridge), emulator smoke test Not yet (§9)
Text and links Tested Same Not yet
Share received files to other apps Tested shareFile bridge + FileProvider Not yet
Keep names, MIME types and content Tested Same Not yet
Stage in the background, survive Home Tested SharedFiles keeps them on disk until the page takes them Not yet

E. Clipboard

Feature Status Evidence Real device
Copy and paste across devices, sync Tested test_sync_matrix.py (every pair, both ways), clipboard_check.py Mac ↔ phone partly (K4)
Text and links Tested Same Partly
Images Tested (V1-3) Desktop and browsers; Android’s “Send what you copied” through readClipboardImage (test_the_android_app_sends_a_copied_image). Sync between devices carries text and links Not yet
Clipboard history Tested test_clipboard.py, e2e/test_clipboard.py ✅
Per-device sharing, privacy controls Tested Allow-list, sensitive-text filter ✅

F. Drag and drop

Feature Status Evidence Real device
Drop onto a device tile, drop targets, several devices, “Everyone” Tested test_drop_files_onto_a_device, Phase A tests Mac ✅; Windows not yet
Quick Send to favorites Tested Phase A tests Not yet

G. Media

Feature Status Evidence Real device
Image, video, audio, PDF and text preview; full screen Tested test_media.py Mac ✅; Android PDF fixed (F1)
Thumbnails, gallery, file actions Tested test_media.py ✅

H. Transfer management

Feature Status Evidence Real device
Transfers, Activity (history), incoming and outgoing Tested Sections on the main page; test_activity.py ✅
Results per recipient in a group Tested Each job lists its targets ✅
Search and filters Tested test_activity.py ✅
Retry, cancel, queue Tested Phase D tests Not yet
Open a file, show it in its folder Tested test_local_open.py Mac ✅
Notifications Tested (V1-2) Desktop and browsers: system notifications. Android: Accept / Decline on the offer notification (OfferActionReceiver → android.decide, test_android.py) Not yet

I. Installation and packaging

Feature Status Evidence Real device
Windows app Tested (V1-4) Installer (packaging/windows-installer.iss, per user) and the portable .exe. CI installs it, starts the installed app and uninstalls it; test_installer.py Not yet
macOS DMG Tested CI builds and smoke-tests both ✅ (ad-hoc signed; notarizing waits on a Developer ID)
Android APK, release-signed Tested android.yml refuses to sign with the debug key ✅
Updating keeps pairings and history Tested Keystore tests; Android in-place update Android ✅; Mac / Windows not yet
Clean install and uninstall Tested (V1-4) Windows: install, start and uninstall in CI. README: updating, and removing the app and its data on each platform Not yet
Instructions per platform Built README, device-testing.md —

Platform limits (not planned)

Phases left for V1

One at a time: tests first, then the code, then the whole suite and CI, then a commit and push.

# Phase Depends on Done when
V1-1 ✅ Manage a device from its tile: a ⋯ menu (and right-click) on the owner’s tiles. Paired devices get Remove pairing, which asks first and tells the other device. Unpaired apps get Pair… — E2E: remove → the tile loses its pairing badge; the other app forgets the pairing and says so; visitors get no menu
V1-2 ✅ Android notification actions: Accept / Decline on the incoming-offer notification — Unit: the actions call the local API; emulator smoke test still passes
V1-3 ✅ Android clipboard images: “Send what you copied” sends a copied image — E2E with a fake bridge: an image becomes a staged .png
V1-4 ✅ Windows installer and uninstall: an Inno Setup installer next to the portable .exe; per-platform uninstall notes — CI builds the installer; a silent install, start and uninstall pass on the Windows runner
V1-5 → after V1 Paired devices pass on new addresses — Deferred: a moved device is already found again by its signed hellos to known addresses, multicast, and a sweep of its /24 after a network change (test_moves.py, test_hotspot.py). A third device’s hint only helps when both ends moved and multicast is dropped.
V1-6 → after V1 Check the browser → app hop — Deferred: on plain http:// the page has no crypto.subtle, and an unauthenticated hop gains little from a checksum over TCP’s own; with --https TLS already protects it. Belongs with the browser work in the security phase.
V1-7 → after V1 Real-device run of device-testing.md on all four devices V1-1…4 Partly done by a script on real hardware (2026-11-07); the rest is post-closure verification

The rows above marked “Network switching” and “Integrity check” change from Partial to Built: what’s left there is a post-V1 refinement, not a missing feature.

V1-QA: real-user workflows (2026-11-06)

Run against real app processes (three local apps, the page driven in a browser) and in integration tests with simulated clocks. Automated means a test that runs in CI; walkthrough means checked by hand in the real UI on this Mac. Neither is a real-device check.

Workflow How it was checked Found and fixed Evidence
Sender’s window closed before the transfer started Walkthrough (4 min wait) + automated The sender kept it “accepted” for ever and never recorded it. Now: Failed — the window sending it closed. Choose the files again, the receiver is told, and both sides record it test_stalls.py; walkthrough: Mac “Failed” with that reason, tablet “Studio Mac didn’t start sending.”
Sender’s window closed partway Automated (clock) Ended 10 min after the last byte, not by total time test_a_send_that_stopped_partway…, …keeps_moving_is_left_alone
App closed or quit mid-transfer (window closed, Cmd+Q) Automated Sends and receives under way end as Canceled — Open Transfer was closed; recorded on both sides; receivers told at once (the cancel requests used to be dropped with the thread pool) test_closing_the_sending_app…, test_closing_the_receiving_app…
App killed (kill -9, power loss) Walkthrough + automated Can’t be caught by the killed app. The other side ends it (sender: “Couldn’t reach”; receiver: “stopped sending” after 10 min); .part files are deleted on the next start test_disconnected_partway; walkthrough: killed PC → “Couldn’t reach Office PC.”
No partial or temporary files left Automated Cancelled or dropped big transfers left a sparse staging file the size of the transfer; now deleted when cleared, crash leftovers after a day test_a_canceled_incoming_file_leaves_no_partial_data, test_a_dropped_send_leaves_no_staged_chunks
Leaving the page with files chosen or queued Automated (browser) Dropped them silently; now asks first test_closing_with_files_ready_to_send_asks_first
Queue: several sends, mixed recipients, a recipient gone while queued Walkthrough Works: “Queued · 1 of 2”, starts when a slot frees; the vanished device’s send fails visibly (“Couldn’t reach Office PC.”) with Retry —
Retry: failed, declined, expired, whole group Automated Only devices that didn’t get it are asked again (already true) test_a_group_retry_asks_only_who_didnt_get_it
Retry of a partly delivered multi-file send Automated A paired receiver saved the first files twice (“one (1).txt”); a retry now skips files already there, and an unpaired prompt picks Skip test_a_retried_multi_file_send_skips_what_arrived, …offered_skip_for_a_retry
Long transfers Automated (clock) A transfer still receiving an hour after the offer was failed; idle is now measured from the last byte test_a_long_transfer_that_keeps_moving_is_never_cut_off
48 MB encrypted to a group Automated — (memory peak < 24 MB, progress only forward, both copies intact) test_large.py
Every final status agrees: Transfers, Activity, History Automated Activity said a green “Received” for transfers that never arrived; an expired offer to you said “No answer”; nobody said why test_outcomes.py (8 endings), e2e/test_activity.py
History of multi-file transfers Walkthrough + automated Kept only “3 files”: no names, not searchable. Names kept, listed and searchable test_history.py, e2e/test_activity.py
Text and links Walkthrough + automated Every text in one minute was “note-…-1333.txt”; now named by its words / “Link example.com” test_send_a_link_and_open_it_on_the_other_device, test_a_note_keeps…
Security label on sends that sent nothing Walkthrough “Direct · not encrypted” on a send that never left; now no label until something was sent test_declining_tells_the_sender
Pairing by code and address, sending three files to a paired tablet, first run, phone width Walkthrough — —

On real hardware (2026-11-07, run by a script, no person at the screens): Mac, a Windows 11 laptop (CLI build) and an Android phone on home Wi‑Fi. Transfers in three directions, groups, decline, expiry, retry, notification Accept, pairing, partial retry, 1 GB, and apps killed or stopped mid-transfer all behaved as above. One defect found and fixed: stopping the command-line app with SIGTERM (kill, systemctl stop, docker stop) skipped the shutdown, so receivers waited 10 minutes; a dropped sender is now named (Lost connection to …). Repeated test runs that night also caught quitting hanging for ever about once in 16 stops (Ctrl+C or SIGTERM interrupted the web server while it held a lock); fixed with a test. A second, older phone (Android 9) used the page in Chrome: received, sent, and sent straight to another browser, where the sender’s Activity missed the transfer; fixed with a test. Details and what still needs a person: device-testing.md.

Known gaps (not fixed, by design or for later):

Definition of done

# V1 is done when Status
1 All core features are built ✅ Every row above is Tested or Built
2 Every key user journey works ✅ Automated (E2E and integration); real devices: see 4–6
3 Working builds for all four platforms ✅ CI builds Windows (.exe + installer), macOS arm64 + Intel (DMG), Android (APK, release-signed)
4 Transfers across platforms and to groups checked Automated ✅ (test_sync_matrix.py, emulator); real Mac ↔ Android phone ↔ Windows (CLI) run by a script ✅; checked by a person: open (§3–4)
5 Hotspots work Automated ✅; real devices: open (§8)
6 Native Android sharing works reliably Fake bridge + emulator ✅; real phone run by a script ✅ (a photo and text, received intact); checked by a person: open (§9)
7 Clipboard sharing works ✅ Mac ↔ Android partly on real devices (K4 open)
8 Drag and drop and media previews work ✅ E2E; Mac on a real device
9 History and transfer management work ✅
10 Install and upgrade checked Windows install/uninstall in CI ✅; Android in-place update on a real device ✅; Mac/Windows upgrade on real devices: open
11 No known critical functional bugs ✅ in code: K1 (Mac ↔ PC firewall), B1 (Windows temp folder), V1 (verify 401) are fixed with tests; confirmation on a real PC or phone open. K3 has no details to act on
12 CI, tests and packaging pass ✅ 7c8b4a4: full suite 3 runs in a row, 795 passed / 7 skipped each (no test servers left); CI 19/19 jobs and Security passed on PR #53

Verdict: V1 CLOSED WITH DOCUMENTED DEVICE LIMITATIONS. Rows 1–3, 7–9 and 12 are met. Rows 4, 5, 6, 10 and 11 are met by automated tests and a scripted real-hardware run; what they still need from a person is listed below.

Post-closure verification

Real-device checks still open at closure. Each needs a person with the hardware; none blocks V1. Results go in device-testing.md and the audit.

Check From Evidence so far
Android Save a received file to Downloads §3 Automated in desktop Chromium only; phone 2 didn’t tap Save (details)
Android system file picker §3 Automated tests skip the OS picker; phone 2’s file was given by script
Android camera QR scan (app scanner and phone 2) §2, §5 Fake-camera tests (test_scan_ui.py); real camera only in Safari on the Mac and phone 1’s camera app
Transfers across all four devices, checked by a person DoD 4, §3–4 Scripted run Mac ↔ Android phone ↔ Windows (CLI) ✅
Hotspots on real devices DoD 5, §8 Automated (test_hotspot.py)
Native Android sharing from Photos/Files themselves DoD 6, §9 Emulator + scripted test share on a real phone ✅
Mac and Windows upgrade on real devices DoD 10 Windows install/uninstall in CI; Android in-place update on a phone ✅
K1, B1, V1 fixes confirmed on a real PC or phone DoD 11 Fixed with tests
Clipboard K4, the Samsung tablet, a first-time Windows firewall prompt, Wi‑Fi off/on (6.1, 11.5), lock screen and Doze, iPhone (§5) DoD 7, device-testing Listed under “Still for a person” in device-testing.md