The first design let the model’s tool server open the database directly. Then review surfaced a problem. SQLite permissions are all-or-nothing, so anything able to write its own rows could also insert an approval and an outbox job, and the executor would act on the forgery. The approval page would have been decoration.
So the tool server lost the database. It now asks a separate daemon over a Unix socket, the daemon checks which process is calling, and before any live token exists the runtime has to run as a different macOS user from the executor.
Traded away: simplicity. A personal assistant now needs a native addon, two user accounts on one machine, and twelve setup checks I have to run by hand. The macOS half of this hasn’t been run yet.