Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:23blocks OS Ai maestro One Click Wake

From Leeroopedia
Knowledge Sources
Domains Agent_Orchestration, UX_Flow
Last Updated 2026-10-26 10:00 GMT

Overview

A wake flow that skips the dialog when an agent already has a recorded tool, waking directly with the stored permission mode and options.

Description

The one-click wake principle states that waking an agent should require no dialog when the agent already has a recorded tool (`program` field is non-empty). The stored permission mode is sent explicitly, but only for a tool that can honour it. The launch options are left out and the server uses the ones saved on the agent.

The key UX principle is that a first wake (nothing recorded) opens a dialog to choose the tool, but subsequent wakes are one-click. The wake summary ("Claude Code, asks before changes") tells the operator what will happen before they click.

Usage

Use this principle when designing a wake/resume flow where:

  • A returning user should not re-choose settings they already configured
  • The first-time flow needs a dialog, but subsequent flows should be frictionless
  • The stored configuration is sufficient to start without re-confirmation

Theoretical Basis

The principle is a progressive disclosure UX pattern: show the dialog only when there's nothing to wake with. The decision is a pure function of the agent's stored state:

canWakeInOneClick(agent) = agent.program && agent.program.trim() !== ''

The wake flow verifies the program started by polling the tmux pane. It returns `started: true` on any doubt — a false "did not start" would tell an operator their working agent is broken, which is worse than staying quiet.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment