four android apps that each did a piece of the same job became one host. the overlay, the wake word pipeline, the accessibility agent loop that drives the screen, and the command router, all stitched together from archives. it built clean and the unit tests passed on the merge, then more tests arrived as the rules grew.
the architectural call that matters is the local rule router. a pile of commands, volume up, down, set, max, mute, quick settings toggles, media play, pause, next, previous, lock, open an app, all match and execute on the device with no cloud round trip and no root. the matcher is one pure file with jvm tests. the cloud agent is the fallback, not the default. that ordering is the whole point, local first, and only what the phone cannot decide goes over the wire.
proof came in two layers. in the cloud emulator the panel opened and ran a volume command end to end. then the real phone ran a safe subset of the matrix with before and after evidence for every case, volume events read straight from the system audio log, and every setting restored exactly after. one role free entry point means the panel works without the app even owning the assistant role. four sources of truth are gone and one remains, with a test suite.