21 Commits
Author SHA1 Message Date
lucioandClaude Opus 5 81e35b6691 polish P1: protocol §2.5 and §10.9, README D3 and Status, TODO §10
§2.5 is the legacy stream: the fixed salt, IV and iteration count with
citations into the pre-a9e1f0f20e Encryption.cs, the missing cleartext
header, why the sacrificial block exists, the MacCipherScheme setting and
the mismatch diagnostic. §2.3 now says plainly that it describes v0.101
and later only.

§10.9 records the one fact in this document confirmed against a live
Windows machine rather than the source: the lead's independent Python
probe completed the whole handshake against the user's PC under the
legacy scheme, which proves framing, the magic hash, the packet layout
and the handshake as transcribed, and localises the earlier failure to
the stream cipher alone.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 21:11:09 -07:00
lucioandClaude Fable 5.1 32a0c72944 polish: P1 — PowerToys stable uses the legacy cipher scheme (verified against Lu-Corsair)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 20:58:53 -07:00
lucioandClaude Fable 5.1 bec1a370f9 extras: close lane (lead review), CP3 handed over; development pauses for CP1-CP3 findings
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 05:36:24 -07:00
lucioandClaude Opus 5 39df560fcd extras: protocol §10.8, feature README, TODO §9
§10.8 records seven findings with citations: the Awake receiver honours
the sender's setting and pokes itself with a mouse jiggle; the fullscreen
rule is asked once, only by the pointer's owner; the excluded-apps list
matches two spellings of the image name; DrawMouseCursor only draws when
the real cursor is suppressed; BlockMouseAtCorners is a 100 px square
around every monitor corner; relative mode moves edge detection to the
controlled machine and gates NextMachine on IsSwitchingByMouseEnabled;
both edge paths set HasSwitchedMachineSinceLastCopy.

README: Assumptions confirmed, Handshakes updated to the shipped API with
four deviations, two open requests (input-capture's easyMouseKeyDown,
clipboard's HasSwitchedMachineSinceLastCopy) and the three provisional
lines taken in ClipboardBridge.swift, Status ticked, Work log with the
corners/relative-mode reading trace.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 05:29:33 -07:00
lucioandClaude Fable 5.1 b73e878ae4 clipboard: close lane (lead review), CP2 handed over; brief: extras
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 05:13:13 -07:00
lucioandClaude Opus 5 105a34cb45 clipboard: feature README (assumptions, handshakes, work log) and TODO ticks
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 04:53:58 -07:00
lucioandClaude Fable 5.1 18c9702524 app-ui: close lane (lead review), CP1 handed over; brief: clipboard
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 04:27:26 -07:00
lucioandClaude Opus 5 783c358334 app-ui: bundle key, docs, TODO ticks
- Resources/Info.plist: NSSupportsSuddenTermination = false, so nothing
  can skip applicationWillTerminate (invariant 3, contracts C2). That is
  the only bundle change notifications and login items turned out to
  need; the work log says what else was checked.
- docs/features/app-ui/README.md: Assumptions brought in line with what
  shipped, Handshakes replaced with the real API (five deviations, all
  reasoned), one open request to app-engine for a DrawMouseCursor
  accessor, Status/TODO ticked, work log.
- TODO.md §7: three lines ticked; CP1 left for the lead.
- UIBridge: dropped an unused openSettings entry point.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 04:18:35 -07:00
lucioandClaude Opus 5 fc7a54b40a app-engine: protocol §10.6, the lane README and TODO §6
§10.6 records six things the Windows source says that §1-§9 did not:
that a switch moves the pointer only when the target is the local
machine (Helper.cs:75-127), that a Mouse packet addressed to us takes
control back by assignment rather than by switching (Receiver.cs:122-125),
that relative mode puts the edge detection on the controlled machine
(Receiver.cs:147-172), that the reconnect countdown is 30 s and gated on
"no socket established" (frmScreen.cs:425-449), the exact JSON shapes of
the settings file, and why Heartbeat has to be a 64-byte packet.

The README's Handshakes section now documents the API as shipped, six
deliberate deviations, the answers to all eleven open requests from
lanes 3-5, and four new requests: PacketSequencer is used from two
queues and is not thread-safe (session-matrix), PermissionState has no
public initialiser and Cursor publishes no pointer position
(input-capture), and there is no way to send a Heartbeat on demand
(control-channel).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 03:35:37 -07:00
lucioandClaude Fable 5.1 ca9be2eb16 input-inject: close lane (lead review); split app-shell into app-engine + app-ui; brief: app-engine
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 03:09:07 -07:00
lucioandClaude Opus 5 f6fc2c5bd3 input-inject: protocol.md 10.5, feature README (assumptions, handshakes, work log), TODO ticks
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 02:51:47 -07:00
lucioandClaude Opus 5 fd1ceeac08 input-capture: protocol §10.4, README rewrite, TODO §4 ticked
§10.4 records ten things the lane established from the Windows source
(one-sided hotkey matching, the three meanings of Md.WheelDelta, the
virtual cursor and its primary+-1 clamp, the unconditional relative bias,
SwitchLocation, synthesised LLKHF bits, the eleven ReleaseAllKeys VKs, the
two input counters, monitor enumeration) plus the macOS device masks. The
README's Assumptions and Handshakes now describe what shipped, with the
nine decisions and three deliberate non-ports in the work log.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 02:18:12 -07:00
lucio 5a9a1dd60a control-channel: README (shipped API, deviations, work log) and TODO §3 2026-09-16 01:25:32 -07:00
lucioandClaude Fable 5.1 08b243a29a contracts: sequencing, recovery, concurrency, shared constants, checkpoints
Written after an external review of the plan found cross-module
behaviour under-specified. TODO, topo, loop and the session-matrix
brief now reference docs/contracts.md.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 00:54:33 -07:00
lucio 605a9753b0 session-matrix: README handshakes/status/work log, TODO section 2 2026-09-16 00:42:32 -07:00
lucioandClaude Fable 5.1 be7c4e934b wire-core: close lane; lanes now run directly on main, no worktrees
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 00:21:29 -07:00
lucio 8a59685dbf wire-core: publish the shipped API in Handshakes, log the lane, tick TODO §1 2026-09-16 00:13:00 -07:00
lucioandClaude Fable 5.1 9810ba441b brief: wire-core; consolidate the backlog into eight serial lanes
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 00:02:11 -07:00
lucioandClaude Fable 5.1 87aeee6f93 Adopt the user's development rule: one lane at a time, no test suites
CLAUDE.md gains a 'How this project is developed' section: strictly
serial Dev (Opus 5) -> QA (Sonnet 5, code quality) -> lead inspection;
commit along the way without requiring every commit to compile; the
user is the tester. docs/loop.md, docs/topo.md and TODO.md are
rewritten to a serial lane order with no test-writing items; the test
targets are removed and tools/gates.sh is lint + layering grep + build.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-15 23:55:41 -07:00
lucioandClaude Fable 5.1 671b3dfa61 bootstrap: SwiftPM skeleton, gates, bundler, and the lane procedure
Four targets (MWBCore, MWBNet, MWBMac, mwb) with a layering test that
keeps MWBCore free of AppKit/CoreGraphics/Network; tools/gates.sh as the
definition of done; tools/bundle.sh producing a signed dist/mwb.app;
tools/lane.sh for lane worktrees; smoke binary with --version and
--check-permissions. docs/loop.md records the Dev -> QA -> lead loop with
the literal dispatch prompts, the wave schedule and escalations.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-15 23:46:24 -07:00
lucioandClaude Fable 5.1 69c0f7ab53 Plan the macOS port of Mouse Without Borders
Planning documents only: CLAUDE.md rules, README with decisions and
architecture, docs/protocol.md transcribed from the Windows source with
citations, docs/topo.md, TODO.md milestones and the first-wave feature
briefs (bootstrap, packet-codec, cipher-stream), plus tools/guard.sh.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-15 23:33:27 -07:00