Architecture decisions
Why setu is built the way it is: each significant decision as a short record (context, the decision, its consequences), in the ADR format. A decision is never edited away: a later one supersedes it. Sources: docs/adr.
Record architecture decisions
Decisions about how setu is built (its dependencies, its boundaries, the trade-offs it accepts) were made in conversations and commit messages, where nobody finds them later. A con…
Ship as its own repository, as a Vyom tool
setu started as a script inside Vayu that piped rows into wofi. Living inside the desktop's dotfiles meant it couldn't be installed, versioned or tested on its own, and wofi's plai…
Use bluetoothctl for BlueZ
BlueZ is the Bluetooth stack everywhere on Linux; bluetoothctl ships with it.
Pair through an interactive bluetoothctl and its agent
Pairing a device that wants its code confirmed (most phones, speakers and computers with a screen) needs a BlueZ agent to answer "does 482913 match?". bluetoothctl pair <mac> run a…