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:
{
"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 -pthe behavior ofaskdepends on the agent's handling of a prompt it cannot show.
Status
| Function | Status | Proof |
|---|---|---|
ask rule, interactive Claude Code | Tested | skills/lsh-rules/test/rules.test.js |
ask policy on Codex, Cursor, Antigravity | Tested | skills/lsh-rules/test/payloads.test.js |
| Phone approval (ntfy) | Planned | no code |
Join the waitlist to hear when it opens.
Join the waitlist