Control room
kun holds the blueprint. Machine is where a teammate runs it: the department's menu, the issue to work on and how it runs, in one window.
Everything on this page is drawn from kun's data. The app holds no copy of it: change the pack, the formula or the sprint file in kun and the app follows on its next sync.
One menu per department
The gear in the chat box opens the department's own menu. The plus button opens its own list. Both come from one script answer:
node .claude/scripts/station.mjs settings --dept sales --json # tabs, choices, open, plus| Department | Gear tabs | Plus menu | Data |
|---|---|---|---|
| Video | Film, Kind, Audience, Format, Style, Stages | Images, Videos, Audio, Documents, WhatsApp, Link, Reel from a video | own |
| Support | Case, Reply, Gate, Desk | WhatsApp, Images, Documents, Link, Read the school groups, Send the waiting replies, Desk | private |
| Sales | Product, Market, Stage, Channel, Record | Documents, Images, WhatsApp, Link, Quote a school, Quote a request, CRM record | private |
| Marketing | Brand, Channel, Format, Voice | Images, Videos, Documents, Link, Draft a post, Carousel | own |
The gear. The tabs are departments/<dept>/settings.json. A tab is a set of choices, or it names a source the app draws:
| Source | What the app draws |
|---|---|
ledger | The film strip: the films and the 14 stages (Video) |
support-panel | The support desk: waiting replies, open cases, knowledge, lanes |
crm | One field for a CRM record id. It accepts twenty:<type>:<id> and nothing else: never a name, a phone number or a message |
A source the app does not draw yet hides its tab. Today that is Support's School tab and Marketing's Week tab. open in the settings file names the tab the menu shows first; Support opens on its desk. The choices compose a request (station.mjs compose): its sentence shows above the box and the round button sends it. A department with no settings file has no gear.
The plus menu. The rows are plus in the department's pack.json. A row attaches something, fills a formula into the box, or opens the gear on a source. A row the app has no handler for is hidden. A pack with no plus key gets the five attach rows the app always had.
The Issues tab
The green banner states one issue: the one you hold, else the one made for you, else the next one that is ready. It says the issue's points. With no task at all it rotates the department's quick actions and notes, as before.
Under the banner sits that issue's plan:
| Part | Where it comes from |
|---|---|
| Steps | The issue's own ## Steps checklist. Without one, kun's plan for the issue's formula: station.mjs plan <formula> --dept <d> --json |
| Tools, skills, agents, keywords | The same plan: the formula's header and the department pack |
| Configuration | The data class, the repos the task needs, the due date, the points |
The plan never shows where a run executes: no lane, no model, no mode.
Below it the queue is two groups. Due is what you hold or what was made for you, by due date. Queued is the rest. Each card shows its points and its due date. See Sprint for how a task becomes an issue.
The route
kun's router picks the skill, the agent and the tools out of a sentence. Claude Code gets its answer from a hook. The app reads the same answer as JSON:
node .claude/scripts/resolve.mjs --json "follow up the school that replied" --dept sales- The chip above the chat box reads
/funnel · funnel agent, and the routed words are underlined. A formula match still wins the chip. - A run on an agent with no hook (Codex, opencode, Antigravity, the free lane) gets the same route line Claude gets, put before the prompt. So does Claude on a computer where the hook is not installed.
- A web seat gets the person's words only.
Private work runs on Claude only
Client data and secrets run on Claude with the person's own sign-in. The app enforces this where a run starts. The class of a run is decided in Rust, from kun's files:
- The started task carries
data:private: private. - Else the formula says
"data"in its header: that class. This holds only for the turn that opens a chat. - Else the department pack's
data. Sales and Support are private. A typed message in a private department is private, and so is every follow-up, whatever formula opened the chat.
A private run is refused before anything starts when the saved model is a free route, when the driver is not Claude, or when it is a web seat. When Claude is unavailable it waits: it does not move to a free model, and a session that fell back earlier does not stay on its fallback. The rewrite of a rough brief is refused on a free route in a private department.
Own-data runs behave as before, fallback included. A teammate without Claude can still open one of the department's own-data formulas (research, public lookups): it gets its one run, and a follow-up needs Claude. Private work can go in the queue.
Carry a chat into a code agent
Send on in a web seat, and Continue in… under the latest answer of a Kun chat, list the installed code agents. Choosing one:
- The conversation is saved to a file in
~/.kun/machine/handoff/. The 40 newest files are kept. - A terminal tab opens on that agent. Its opening prompt is one fixed sentence that names the file.
- The agent starts a new session and reads the file. The first chat stays where it is.
The conversation never goes on a command line: it is web content, and the launchers run with permissions bypassed. Only the file crosses. Tool state and the first agent's own history do not.
A chat in a private department is offered Claude Code only. Each launcher says how it takes an opening prompt (seedArg in .claude/machine/launchers.json); Hermes takes none and is never offered.
Points
Mathematics → Points shows your points for this sprint, this month and all time, then the team. It reads ledger.mjs summary --json, so the rule on Mathematics is the only rule. It shows points, never money.
Go long
The plan card of the banner's issue has Go long. It takes two taps: the second line says what will happen, and only Start begins.
- The run is a child issue. The issue you see is never labelled or closed by it, so it keeps its points and a person still closes it. It gets one comment when the run starts and one when it ends.
- The card then shows the child's steps as they are ticked, with Stop while it runs and Resume when it is paused.
- The app sends only the task's id. The goal is the task's own title, a private task stays on Claude, and kun picks the agent.
- A step that fails twice on a free agent gets one try on Claude before the run stops.
Details: Long mode.
Sign-ins and the ladder
Settings → Agents has one table: a row per code agent and per web seat, with installed, signed in, config compiled and last checked. It reads what Setup already knows; a web seat is asked one row at a time, when you tap Check. A row that is not ready takes you to its Setup step.
Settings → Model shows, read-only, where a run goes when Claude is not available: Claude on your sign-in, then the pool, then Nous, then a web seat. Private work stops at Claude.
Server mode
Settings → General has the switch that makes this computer a quiet server, with the time before the screen goes dark. See Server mode.
Not there yet
- Support's School tab and Marketing's Week tab.
- A long run can be started for the banner's issue only, not for a free-typed goal.
- Linux server mode has not been applied on a real desktop, and Windows parity is still being closed.