Physical Key Commitment Gate
Decouple low-friction voice capture from irreversible approvals by binding execution strictly to deliberate physical hardware presses.
Approving shell or write calls purely by spoken 'yes' fails as soon as background conversation or media audio triggers a false match.
Asymmetric dual-button grammar on M5StickS3: hold Front Key for 16 kHz press-to-talk, press Front Key to approve queued tools, press Side Key to deny (+ optional spoken reason), and require a 30-second physical Front Key confirmation before writing pair.key.
- Tactile differentiation between approve (Front) and deny (Side) prevents spatial confusion without staring at the 1.14-inch screen.
- Web simulator exposes equivalent keyboard bindings (Enter to approve, Backspace to deny) with visible focus rings and status output.
Trigger a request on the right
1. Simulate Claude Code request
2. Closed-loop timeline (Watch -> Bridge -> Audio brief)
- IDLEM5StickS3 paired via pair.key · Trigger a Claude Code request to test wrist gating.
export type HardwareKey = "front_press" | "side_press" | "voice_only";
export type GateState = "listening" | "awaiting_key" | "approved" | "denied";
export function reduceApprovalGate(
state: GateState,
event: HardwareKey,
pendingToolId: string | null
): GateState {
if (state !== "awaiting_key" || !pendingToolId) return state;
// Voice transcripts can never authorize a pending tool call.
if (event === "voice_only") return "awaiting_key";
if (event === "front_press") return "approved";
if (event === "side_press") return "denied";
return state;
}Verified across 11 S3 hardware test scenes (gate-h), AES-GCM/pairing refusal checks (gate-p5), and 75s Fly.io keep-alive (gate-l); external multi-wearer ergonomics remain untested.