Skip to content
Leashr
Coming

Mobile approval

Approval from your phone is planned. The approval that exists today is local: an ask rule makes Claude Code stop and ask you.

PlannedNo code sends a notification or waits for an answer from a phone. The first channel planned is ntfy. The website shows an animated preview, not a working product.

Require approval today: an ask rule

Add a rule with decision: "ask" to .leashr/rules.json, then run rules.js test. This one is a default rule:

json
{
  "id": "ask-production",
  "decision": "ask",
  "tool": "Bash",
  "command": "\\b(?:prod|production)\\b",
  "reason": "Command mentions a production target.",
  "quoted": "ignore"
}

Expected result in an interactive Claude Code session: a permission prompt that shows the reason. The hook answers permissionDecision: "ask" (exit 0) and writes a guard.asked event.

Other agents

Codex, Cursor and Antigravity do not enforce ask on this hook. Leashr then never sends it: a risky action (shell, write, delete, MCP) is refused with the reason and the way to allow it, and a read is allowed. Details and proof in Limits by agent.

Open points

  • What happens when a phone approval request times out is not verified.
  • A hook that waits for a human can hit the hook timeout.
  • In claude -p the behavior of ask depends on the agent's handling of a prompt it cannot show.

Status

FunctionStatusProof
ask rule, interactive Claude CodeTestedskills/lsh-rules/test/rules.test.js
ask policy on Codex, Cursor, AntigravityTestedskills/lsh-rules/test/payloads.test.js
Phone approval (ntfy)Plannedno code

Join the waitlist to hear when it opens.

Join the waitlist