dvarapala द्वारपाल

Accepted ADR 0007 · 2026-10-26

#7. Answering from the phone, through ekatva, by the same path as typing

#Context

Agents run long jobs while you're away from the laptop, and stop when they need root. ekatva links your phone and laptop end to end; users asked to approve root requests from the phone, typing the sudo password there.

#Decision

When ekatva runs, the window also hands the request to ekatva's socket, /run/user/<uid>/ekatva-root.sock, and accepts an answer from it: approve or deny, which commands, and the password. An answer is applied exactly as if typed: the chosen commands are ticked in the window, the password goes into the password field, and the same on_run follows (the sudo -S -k check, then the root-owned runner). A wrong password is reported back so the phone can retry; the three-attempt limit is the window's, as before.

#Consequences

← All decisions · source