How a choice or a few typed words become the right prompt and a tracked piece of work — formulas, the board of three options, fill and match, routes and lanes, and GitHub issues as the record

What it is

The station is the part of Kun that turns a choice, or a few typed words, into a full request and sends it to the right place. It works like a central train station. You hold a ticket, a board shows the trains that leave now, and every train already knows where it is going. Nothing here needs a model: one script, .claude/scripts/station.mjs, does the choosing and the filling, and it costs zero tokens.

Station wordIn Kun
TicketWho is asking, the department, the repo, and where the work stands: the open film, its stage, an approval that waits
TrainA formula: a prompt written in advance, with its destination in its header
DestinationThe route the formula runs on, the gate it stops at, what comes back, and whether it is recorded as an issue
Departure boardThe three options on the home screen
SwitchThe code that maps typed text to one formula (match). No model
ConductorThe code that fills a formula's blanks (fill). A model runs only for typed text that fits no formula
SignalsThe facts the board scores with: waiting, continue, sprint, drive, due and habit

The Video pipeline page shows the same thing from the user's side, step by step.

The two kinds of word

There are two kinds of word: a department word (video, sales) and a repo word (hogwarts, mkan). Each word is four things at once: the keyword you say, the slash command, the agent, and the entry in the app's menu.

Department word (video)Repo word (hogwarts)
Where it is defineddepartments/video/pack.json.claude/memory/repositories.json
Keywordvideo, الفيديوhogwarts
Slash command/video, the department's door: its board, its formulas, its lead/hogwarts, the place's door: its rules, blocks and open issues
Agentvideo, the department's leadhogwarts, the product reference
Menu entryDepartment ▾Repo ▾
On an issuethe label dept:videothe repository the issue is in

How to say them. Say the department first, then the repo, then the request: video hogwarts intro film. In the app the same ticket is Video ▾, Hogwarts ▾ and a tap on an option.

  • A department word counts when it comes first in the prompt (sales: quote a school, /marketing this week's calendar), or among the first three words when every word before it is a repo or a department (hogwarts video intro film).
  • Anywhere else it is an ordinary word. "Add support for dark mode" is not the support department.
  • The explicit forms work anywhere: <word> department, <word> dept, <word> team, <word> desk, department of <word>, dept:<word>, and in Arabic قسم <name> or فريق <name>.

Marketing and landing. marketing alone is the department. The databayt.org site lives in a repo whose GitHub name is also marketing, so that repo has its own word, landing. Say it first (landing fix the hero), or say landing repo, landing site or in landing.

A repo word gets all four forms once a department's pack lists the repo. Today those are kun, hogwarts, mkan, codebase and catalog. Any other repo is a keyword only. One script, .claude/scripts/compile-words.mjs, writes the door skills and the reference agents from the two sources, so nobody keeps them by hand. The full list of words is on the Places page.

Formulas

A formula is a prompt written in advance for one kind of work. It has blanks, called slots, that are filled at the moment it is used. Each formula is one file: departments/<department>/formulas/<id>.md. Video has 37 formulas, Support has 11, Sales has 10 and Marketing has 10.

A formula file has two parts. The first is a header, written as JSON between two --- lines. The second is the prompt, under five fixed headings (Task, Context, References, Constraints, Deliverable), with each slot written as {{name}}.

The header fields

FieldWhat it isExample
idThe formula's name. It starts with the department and matches the file namevideo.film.plan
labelThe option's name in English and ArabicIntro film · فيلم تعريفي
iconThe icon shown beside the optionFilm
whenWhen it applies: a sentence for the reader, plus conditions the board checks{"project": "open", "gate": "script"} in video.gate.script
routeThe route it runs on (see Routes and lanes)plan
gateThe gate it stops at, or nulllook in video.stage.visual
slotsThe blanks, and where each value comes fromsee the next table
driveHow close the work is to revenue, from 0 to 1. The board scores with it1
weightThe points the work is worth in the record5 in video.order.blender
roleIts place on the board: waiting, next or startstart
boardWhether it may appear on the boardtrue
recordWhat accepting it puts on GitHub. none: nothing. issue: a work order, one issue for one person. film: the film issue and its first work ordersfilm in video.film.plan, issue in video.order.blender
triggersEnglish and Arabic phrases the switch listens forintro film, فيديو تعريفي

Some formulas carry a few more fields:

FieldWhat it doesUsed by
redirectsSends the request to another formula. It is one entry or a list; the first entry whose if holds wins. open_project: a film is open. all_locked: the open film has all 14 stages locked (see Stages, specs and locks)video.film.continue has two: all_locked goes to video.film.run, open_project goes to the formula of the film's current stage (video.stage.{stage})
needs["tools"] hides the formula while the health light is redvideo.film.continue, video.reel.footage, video.versions.fanout
dueThe weekdays on which the formula is duesales.followup.today
health_boost, health_onlyBring the formula forward only when the tools are not healthyvideo.tools.check
submitcomment when a work order's result is a reply on the issue, not a filesales.order.call

Where a slot's value comes from

SourceThe value isExample
contextA fact of the moment: the repo, your login, today's date, the open film's id or stagerepo, project
choiceOne of a short list, with a default (the default can differ by repo)audience, market
jsonRead from a JSON file in kunprice from content/media/markets.json
argvThe output of a read-only command: node and a script inside kun or ~/.claude, never a shella film's predicted video link
mapLooked up from another slot's valuelanguage from lang
mulNumbers multiplied togetherthe total of a quote: price times students
slugAnother slot's value made safe for a file namescene_slug
valueA fixed textthe brand kit's link
refA file in the film's folder, turned into a linkscript_url
askNothing: the person must give itscene, to

Formula or slot? One rule separates them. A choice that changes the work (the stages, the tools, the gate, what comes back) is a new formula. A choice that only changes a value is a slot. The old Video pack held a tree of 32 ready-made prompts. Their text was the same apart from three values, so they were really one formula with three slots, and that is what replaced them.

The three layers. A finished prompt is built from three layers, each kept in one place:

  1. The frame. The five headings and what each must hold. It is pack.json → formula.en, and every formula of the department must use those headings in that order.
  2. The department's constraints. The rules that hold for every piece of the department's work. They are pack.json → constraints, and fill adds them to the Constraints section of every prompt. Video has three: claims only from real captures, no real student or parent data, and stop at every human gate.
  3. The formula. The text of this one kind of work, with its slots.

One choice can set several values. In video.film.plan the slot market is one choice. It sets the market's name, the price and the currency, all read from content/media/markets.json, and, together with the language, the voice's dialect. Choosing sd gives Sudan, 6.4 USD and the msa dialect in Arabic. Choosing sa gives Saudi Arabia, 24 SAR and the saudi dialect. The price is per student per year. The language itself is a separate slot, lang.

The board

The board is the list of three options on the home screen. It has three fixed roles, always in this order:

RoleWhat it offers
WaitingSomething that waits for you: one of an open film's four approvals (script, look, version, publish), or a work order made for you
NextThe next step of work that is already open
StartSomething new

The board scores every formula that has board: true, then takes the best one for each role. When no formula qualifies for a role, the board fills the empty place with the next best option of any role. That is why, today, neither department shows a Waiting row.

What a person sees. Three plain rows, each with an icon and a name. There is no label for the role, the score or the route. Hovering over a row shows a ✕ at its end; pressing it takes that option off the list for this visit and counts against it next time.

The signals. A signal is one fact about the moment. Each has a weight, kept in .claude/engine.json → board.weights. A formula's score is the sum of weight times signal.

SignalWeightIt is on when
waiting5A gate (script, look, version or publish) waits in an open film, or an open issue with the department's label is yours: it is assigned to you on GitHub, or it carries the label for:<login> with your login
continue3There is an open project in the department and repo
sprint3A task of the current sprint in departments/sprint.json belongs to the department and names the formula. A task with no formula counts when its title contains one of the formula's trigger phrases
drive2Always. Its size is the formula's own drive, from 0 to 1
due2The formula's due rule names today's weekday
habit1You picked this option recently. Picks add and dismissals subtract, over the last 14 days

Three more things change the board:

  • The health light. When it is red, every formula that needs the tools is left out and Tools check takes the Start place. When it is orange, Tools check is offered. When it is green, Tools check appears only if nothing else is left.
  • Your profile. A formula listed under hidden in machines/<login>.json is never shown. A department that is not in your profile has an empty board, and the app shows the pack's own short list (quickActions) instead.
  • A film already open. video.film.plan is named "Intro film". While a film is open it is shown as "New film", so it does not look like a second way to continue.

What the board shows today. These are the two real commands and what they returned on 2026-11-22, a Sunday.

node .claude/scripts/station.mjs board --dept video --repo hogwarts --login abdout --json
node .claude/scripts/station.mjs board --dept sales --login abdout --json

Video with Hogwarts:

RoleOptionFormulaScoreWhy
NextContinue productionvideo.film.continue4.8continue: open project hogwarts-intro-introduction-v001 · drive 0.9
StartNew filmvideo.film.plan2drive 1
StartVideo scriptvideo.script.only1drive 0.5

Sales:

RoleOptionFormulaScoreWhy
NextWho to follow upsales.followup.today4drive 1 · due today
NextLog a replysales.reply.log1.8drive 0.9
StartQuote a schoolsales.quote.school2drive 1

The scores can be checked by hand. Continue production is 3 for continue plus 2 times 0.9 for drive, which is 4.8. Who to follow up is 2 times 1 for drive plus 2 for due, which is 4.

The settings menu

The home screen has a gear in the chat box. It opens a menu of six tabs. The tabs read as one sentence, left to right: Film · Kind · Audience · Format · Style · Stages. Each tab answers one clause: which film, what kind, for whom, where it is shown, how it looks, and where the line stands.

TabClauseWhat it holds
FilmWhich filmA new film, or one card for each open film
KindWhatThe brand's film types from types.json (Hogwarts: introduction, feature, tutorial, support, pitch, promo, testimonial, announcement; mkan has listing; databayt has product and case-study), then reel from a video, video script, all versions
AudienceFor whomThe audience and the version (market and language, such as sd-ar)
FormatWherePlatform, ratio, length, resolution, frame rate
StyleHowThe look, the voice, the captions, the music
StagesThe lineThe 14 stage cards, each with its lock and its gate

The menu is data, not code. It lives in departments/<dept>/settings.json, so a choice can change without a new app. A department that has this file gets the gear. Today Video, Sales, Support and Marketing each have one. Only Video has a Stages tab, because only Video has a production ledger.

The plus menu. The + in the chat box opens a list of rows. pack.json → plus says which rows. Each row is one of three kinds: attach (a file or link to add), action (a formula to start) or source (a list the app fills, such as the CRM). With no plus, the box shows the five default attach rows.

The menu opens on a tab. settings.json may name "open", the id of the tab the menu shows first. settings returns it as open, and null when the file does not name one. lint fails when the id is not one of the tabs. Support opens on its desk.

The data class. pack.json → data is private or own. A formula may override it in its own header. fill and board both carry it. It tells the app whether a run may ever use a free model: private data never does.

What one choice carries. Every option in the menu is a small record:

FieldWhat it is
labelThe name on the button, in English and Arabic
sayThe words the option adds to the sentence above the box
setsFormula slots it fills (the 9:16 option sets format to vertical 9:16, mobile)
lineThe phrase it adds to the formula's one-line settings slot (look mixed)
keywordsKun keywords it stands for, such as blender or shoot. Each must exist in the vocabulary or be a skill
toolsThe tools it calls on, by id from stages.json

Options on the Kind tab carry three more: formula (the formula the kind starts), when (new for a new film, film for an open one) and workflow (the keyword workflow it belongs to).

The film types are generated. The Kind group is not typed into settings.json. settings and compose build it from departments/video/types.json, the one catalogue of video types: the brand's types first (the brand is types.json → repos[repo], hogwarts when there is no repo), then the static options that are not films (reel, script, all versions). Picking a type sets film_type, and it also applies the type's default length, shape and platform, unless the person picked those too. compose --set kind=feature gives film_type=feature and the length about 1:00. The type list, names and URLs are in Produce.

A choice is defined once, and names the stage that owns it. The choice ratio is written once, in settings.json, with "stage": "request". The Format tab shows it, and the request stage's card shows the same choice. They are two views of one decision. look belongs to the visual stage, voice and music to audio, captions to edit, resolution and fps to render.

Tap and type are one path. The menu does not build a prompt on its own. It asks one zero-token command, compose, which turns the picks into a formula, its slot values and a sentence. The sentence is written from the same words the switch (match) listens for. It contains the formula's own trigger phrase (Introduction film is a trigger of video.film.plan), so typing the sentence by hand lands on the same formula. This is the real answer for the default picks:

node .claude/scripts/station.mjs compose --dept video --repo hogwarts --json
{
  "id": "video.film.plan",
  "confidence": 0.9,
  "dept": null,
  "set": {}
}

settings reads the menu for a department:

node .claude/scripts/station.mjs settings --dept video --repo hogwarts --json

It returns { dept, lang, project, tabs, sentence }. A tab with keys becomes groups, one for each key, and each group has its question, its stage, its default, its current value and its options. A tab with "source": "ledger" (Film and Stages) is passed through; the app fills it from produce. With --project <film>, current is the film's locked value, and the default otherwise. This is the ratio group of the Format tab, trimmed to its English text:

{
  "key": "ratio",
  "label": "Ratio",
  "q": "Which screen shape?",
  "stage": "request",
  "default": "9:16",
  "current": "9:16",
  "options": [
    { "value": "9:16", "label": "9:16", "say": "9:16", "hint": "Vertical, for phones.", "when": null },
    { "value": "4:5", "label": "4:5", "say": "4:5", "hint": "Portrait, for feeds.", "when": null },
    { "value": "1:1", "label": "1:1", "say": "1:1", "hint": "Square.", "when": null },
    { "value": "16:9", "label": "16:9", "say": "16:9", "hint": "Horizontal, for desktop and YouTube.", "when": null }
  ]
}

compose turns picks into a request. --set takes a choice key (kind, ratio), not a formula slot. With no --set, every choice takes its default:

node .claude/scripts/station.mjs compose --dept video --repo hogwarts --json
{
  "formula": "video.film.plan",
  "route": "plan",
  "record": "film",
  "set": {
    "film_type": "introduction",
    "audience": "school owners and principals",
    "market": "sd",
    "lang": "ar",
    "platform": "Facebook",
    "format": "vertical 9:16, mobile",
    "length": "about 2:00",
    "settings": "1080p · 30 fps · version sd-ar · look mixed · voice stock voice · captions burned in · music brand bed",
    "new": "1"
  },
  "sentence": {
    "en": "Introduction film · school owners · Sudan Arabic · Facebook 9:16 · 2:00 · real screens + 3D · stock voice"
  },
  "keywords": ["produce", "shoot", "blender", "edit", "captions"],
  "tools": ["shoot", "blender", "voice", "brand-bed"],
  "workflow": "film-line",
  "missing": [],
  "unknown": []
}

The output is trimmed here: it also returns picks, the value of every choice, and the Arabic sentence (the Video pack is English only, so it repeats the English). A non-default request:

node .claude/scripts/station.mjs compose --dept video --repo hogwarts --set kind=reel --set ratio=16:9 --json
{
  "formula": "video.reel.footage",
  "route": "do",
  "record": "none",
  "set": {
    "format": "horizontal 16:9, desktop",
    "new": "1"
  },
  "sentence": {
    "en": "Reel from a video · school owners · Sudan Arabic · Facebook 16:9 · 2:00 · real screens + 3D · stock voice"
  },
  "keywords": ["reel", "rough cut", "shoot", "blender", "edit", "captions"],
  "tools": ["video-use", "filmcraft", "shoot", "blender", "voice", "brand-bed"],
  "workflow": null,
  "missing": ["latest_video"]
}

(set is trimmed to the slots that differ from the first answer.) The Kind choice reel picked another formula, video.reel.footage. The ratio changed the format slot. missing names the one slot a person must still give, a source video.

The reserved slot new. compose adds new: "1" to a request for a new film. It is not a slot of any formula. It tells fill to skip the formula's redirects. Without it, the New film request would be handed over to the open film's stage formula (video.film.plan becomes video.stage.research while a film is open) and the film would be worked on with no plan.

With a film. compose --project <film> only offers the Kind options marked when: "film" (today, All versions), and there is no default: formula is null until one is chosen.

Lint. station.mjs lint checks the menu. It fails when a choice names a formula that does not exist, a sets key that is not a slot of that formula, or a keyword that is in neither the vocabulary nor the skills.

Stages, specs and locks

Three words first. A spec is one stage's decisions written down: what will be made, with which tool, from which inputs, into which files. A lock is a spec recorded in the film's ledger, with who locked it, when, and a hash of the file. The plan is all 14 locked specs compiled into one ordered list, and the run executes from it.

A lock freezes a decision before work. A gate approves a result after it. They are different, and the agent still never approves.

The table of the line. departments/video/stages.json is the one table of the 14 stages and the tool ladder. It carries the same keys, order and files as produce's own stage list, and station.mjs lint fails if they drift apart.

#StageFolderDeliverableGateSpec drafted byChoices it owns
1request01-briefrequest.jsonnonescriptkind, audience, version, platform, ratio, length
2research02-researchproduct-research.mdnonescriptnone
3brief01-briefcreative-brief.mdnoneagentnone
4script03-scriptscript.mdscriptagentstructure
5storyboard04-storyboardshot-list.jsonnoneagentnone
6assets05-assetsasset-manifest.jsonnonescriptstills
7visual06-productionvisual-manifest.jsonlookagentlook, threed
8audio07-audioaudio-package.jsonnonescriptvoice, music
9edit06-production/editingedit-project.jsonnonescriptcaptions, editor
10render08-rendermasters/master.mp4nonescriptresolution, fps
11qa09-qualityqa-report.mdnonescriptnone
12approvalnonenoneversionscriptnone
13cdnnonenonenonescriptnone
14publish10-publishingpublishing-record.mdpublishscriptnone

"Spec drafted by" says who writes the spec when a stage is opened. script means the standard choices only: no model runs. agent means the video agent, read-only, for a stage that needs writing or judgement. The four gates are unchanged: script, look, version and publish.

The tool ladder. The same file lists every tool and, for each kind of piece, the rungs from the cheapest. The plan picks the first rung that is ready. Free tools are the default. A tool marked paid is listed with its price and its setup, and is used only when the person has set it up on this machine (node ~/kun/.claude/scripts/video-tools.mjs status <tool> says ready); otherwise the plan takes the next free rung and never asks anyone to pay. See Paid tools are opt-in. The ladder is shown on the Video pipeline page.

Look at one stage. station.mjs stage shows a stage of a film: its lock, its current choices, its tool and the questions the app asks. It needs a film. For a film that has all 14 stages locked and look changed to captures, this is the real answer (the questions are trimmed to their English labels, the film's folder is written with ~):

node .claude/scripts/station.mjs stage visual --dept video --project hogwarts-intro-introduction-v001 --json
{
  "stage": "visual",
  "n": 7,
  "ask": "agent",
  "gate": "look",
  "locked": true,
  "lock": {
    "by": "Abdout",
    "at": "2026-11-23T06:47:51.981Z",
    "sha": "f73720c32d17a88704d9c9b4c36f731e4576f09a8a59064702a23b21d558877f",
    "source": "set"
  },
  "current": { "look": "captures", "threed": "order" },
  "tool": "blender-order",
  "summary": [
    "Look: Real screens",
    "3D: A work order to a teammate",
    "Tool: A Blender work order to a teammate",
    "Output: 06-production/visual-manifest.json"
  ],
  "questions": [
    { "key": "look", "question": "Which look?", "header": "Look",
      "options": ["Real screens", "Real screens + 3D", "3D", "Generated"] },
    { "key": "threed", "question": "Who builds the 3D scenes?", "header": "3D",
      "options": ["A work order to a teammate", "Blender on this Mac", "No 3D"] }
  ]
}

Each question is one owned choice that has two to four options, and the option that holds the current value comes first. An owned choice with more than four options is not a question; it gets a summary line that ends with (change it in the <Tab> tab). The real answer also carries the film, label, done, tool_label, lane, the spec's path and link, and the deliverable's path and link. The commands that write a lock are on the Produce page.

The formula that runs a locked plan. video.film.continue now has two redirects, tried in order. When every stage is locked it hands over to video.film.run, which executes the plan from the next stage that is not done to the next human gate. Otherwise it hands over to the formula of the film's stage, as before. With the throwaway film all 14 locked, the real answer to fill video.film.continue was video.film.run; after produce unlock … cdn it was video.stage.research. Each piece video.film.run hands out is briefed by a filled order formula:

FormulaMakes
video.order.stillOne still with Nano Banana in the Gemini app seat
video.order.clipOne generated clip. Its free rung is a person in the Gemini app seat
video.order.motionOne HyperFrames piece: a title card, a counter, a price card
video.spec.stageNot an order. The read-only discussion of one stage's spec

Two blocks an agent turn may end with. Besides kun-questions, the Video prompt (departments/video/prompt.md) defines two fenced blocks, each the last thing in a turn and JSON only. kun-plan ends the film plan: the film, all 14 stages with their decisions and tool, and the cost. The app draws it as a plan card. kun-spec ends a stage discussion: one stage, its decisions and its tool. The Lock button records it, and the agent never writes the spec file itself.

The plan of a formula

station.mjs plan <formula-id> --dept <d> --json answers one question: what will this formula do. The Machine app's Issues tab reads it. The tab shows one issue, and an issue made from the sprint file carries only the formula id. The plan under the banner comes from here, with no model and no network.

The answer holds the label, the intent, the route the formula names (or the pack's default), the data class, the record and the gate. It lists the steps, the stages, the agents, the skills, the tools, the keywords, the workflow, the pack's items and its repos. A formula header may carry steps, a list of strings or {en, ar} records. Without it, the steps are the bullets under the filled Deliverable, and steps_from says which one was used. A slot that stayed empty loses its braces. Nothing is invented. An unknown formula answers { "error": "…" } and still exits 0.

Fill and match

A tap fills. When you tap an option, the app runs station.mjs fill with the option's formula and the values the board attached to it. The script fills every slot from files and from the state of the work, and the finished prompt appears in the box at once. No model runs and nothing is sent. The formula's route is set silently at the same moment.

Continue production shows the redirect at work. Its formula, video.film.continue, looks at the open film's stage and hands over to that stage's formula. Today the film is at the visual stage, so the tap fills video.stage.visual.

The sparkle button matches first. When you type your own words and press the sparkle button, the app first runs station.mjs match. This is the switch. It answers with a formula, a confidence between 0 and 0.99, and a set: the values it could read out of your words. With a formula and a confidence of 0.6 or more, the app fills that formula exactly as a tap does, handing the set to fill. No model runs.

Typing matches too, without the button. Since 2026-11-22 the composer runs the same switch on its own: when you stop typing for a quarter of a second and the box holds three words or more, it asks match. A formula that clears the bar shows as a quiet chip above the box, for example ⇥ Tab · Intro film · Balqalam · 9:16, with up to three values the switch already read from your words. Tab fills that formula, exactly as a tap or the sparkle button does; Esc dismisses the chip and records a dismissal for the board's scoring; Enter sends your words as typed. When no formula fits but a skill's trigger words do, the chip offers the skill instead (⇥ Tab · /edit). Typing / opens a menu of this department's formulas, then its pack's skills, then the rest, the way Claude Code lists its commands. Words the app picked up are underlined lightly.

The switch finds a formula in three ways, tried in this order:

  1. Another department's word. When the text names another department and not your own, the switch matches it against that department's formulas and names the department in its answer. The app then moves the Department menu to it, without asking, and fills the formula there.
  2. A hand-over sentence. "Give, hand, assign or send a piece to a person", or in Arabic اعط، سلّم or كلّف with لـ or إلى before the person. The words of the piece choose the work order: a scene is a Blender order, a script is a script order, a voice is a voiceover order. The answer carries the person as to and the piece itself.
  3. Trigger phrases. Each formula lists phrases in English and in Arabic under triggers. The longest phrase found in your text wins.

A text that names another department, typed in Video:

node .claude/scripts/station.mjs match "sales quote a school for 48 students" --dept video --json
{
  "id": "sales.quote.school",
  "confidence": 0.99,
  "dept": "sales",
  "set": {}
}

The set is empty here: the switch finds the formula and does not read the number out of the sentence. After the fill, the number of students and the school's record id stay in the box as unfilled slots for you to write. A request that fits a trigger phrase is simpler still: «فيديو تعريفي لهوغورتس السودان» returns video.film.plan with a confidence of 0.92. The hand-over sentence is shown in the worked example below.

Only when nothing fits does a model run. That run is called refine: a short, read-only Claude run on sonnet at medium effort that rewrites your words into the frame. Before it writes, it reads the department's CLAUDE.md and everything the pack's gather list names. Step 4 of the Video pipeline page covers it.

A slot that cannot be filled stays visible. The script never leaves a blank silently. The slot appears in the prompt as [unfilled: scene], and the answer lists it under missing. In the app you see the marker in the box and write the value yourself. A work order is stricter: produce order refuses while anything is missing, and names the slot to pass with --set.

How a film is pinned. With no instruction, fill uses the first open film of the repo. To name the film, pass --project <film id> (or --set project=<film id>). Every slot, every reference link and every upload then comes from that film. An id that is not a known film is reported as missing: ["project"]; the script never falls back to another film. The board pins for you: Continue production carries the film's id, and produce order always pins its own film.

The formula's question fields

The app no longer asks these questions locally. A tap fills the box, Send starts the chat, and the plan run asks its own questions (see pipeline). The fields below stay in the formulas as data, and the zero-token command still answers them:

node .claude/scripts/station.mjs questions video.film.plan --dept video --repo hogwarts --json

It returns { id, intro: {en, ar} | null, questions: [{ slot, kind, q: {en, ar}, options: [{ value, label: {en, ar}, sets? }], default, current }] }. intro is the optional header line ({{slot}} placeholders filled like the body, so it names the brand). kind is choice (a list), ask (free text, options empty) or market (one question, options from content/media/markets.json, such as "Sudan · Arabic + English · 6.4 USD per student per year"). Slots already in --set, and every context, map, json, argv, slug, value, ref and mul slot, are skipped.

A choice slot can be a combined question: options: [{ value, label: {en, ar}, sets: { platform, format, length } }]. Picking one (fill --set cut=<value>) sets the other slots in sets; an explicit --set of one of those slots still wins. Such a slot is only a selector, so it need not appear in the body. intro and options are linted, and order lists the questions asked (for video.film.plan: audience, market, cut).

A formula tunes this in its header, all optional: order (the slots to ask, in order; [] asks nothing), q: {en, ar} on a slot (the question; without it the slot name is humanised), choice_ar (Arabic labels, one per choice), model (opus, sonnet, haiku) and effort (low to xhigh). fill --json carries model and effort when the formula sets them. Lint rejects anything else; the escalate model is never allowed.

The app does not call questions; intro, q, order and choice_ar are unused by it for now.

Brand and exec slots

Two slot kinds carry what nobody should retype.

brand reads content/media/brand-kit.json → production.<identity>. The identity is the open film's own (project.json → identity), else the slot's brand, lowercased. One slot gives one field:

"palette": { "brand": "{{brand}}", "field": "palette" }
fieldFillsExample
logoThe mark. A link in a work order, an absolute path elsewherehttps://github.com/databayt/kun/blob/main/public/brands/hogwarts.png
fontsNames without the file extensionArabic headline thmanyah-serif-display-900 · Arabic body thmanyah-sans-500 · Latin Geist
paletteHex values by rolecanvas #faf9f5 · ink #141413 · accent #d97757 · …
voiceThe voice id and its note, never a TODOhouse-ar
directionThe look in wordstrustworthy, modern, educational, product-focused

A draft identity is never guessed: the slot stays unfilled.

exec runs one fixed command and puts a short summary in the slot. The formula names an id and fills its parameters. It can never name a command. The ids are in EXEC in station.mjs; lint rejects any other.

execRuns (no shell)ParametersFills
projectsproduce.mjs list --json --repo <line>linehogwarts-intro-v001 (intro, in-production, next visual, sd-ar); … or none open
statusproduce.mjs status <project> --jsonproject<id>: 5/14 stages done (…); next <stage>

A parameter may hold only letters, digits, dot, dash and underscore. Anything else, or a missing one, runs nothing and the slot falls to its default.

A context slot can also read the company brief: {"context": "company.why"} returns the "Why this film" section of departments/_shared/company.md. company-brief.mjs writes that file (40 lines or fewer) from the Drive, the North Star, the sprint, the epics and the markets.

English only

A pack can say "lang": "en". The video pack does. questions, board and fill then return English in every ar field, and carry lang: "en". The headers keep their ar strings for other departments.

The video orders that carry the brand

FormulaForThe brand slots give it
video.order.blenderA Blender sceneLook, palette, fonts and logo. Camera, lens and light are set per shot from the shot list; every material takes a palette hex
video.order.filmcraftAssembling the shot list over the source voiceover with the filmcraft MCPThe voiceover is the timing master; palette, fonts, logo and voice are filled
video.order.imageOne picture from the ChatGPT seatA prompt to paste: scene, style, palette hex, a 1088×1920 size, no text in the image. The seat is human: a person pastes it and saves 05-assets/images/<scene>.png

All three are work orders on sonnet at medium effort. The film plan takes an optional source slot, the path of a source video, and a {{projects}} line.

Routes and lanes

A route is one way of running a request: plan it first, do it now, fan it out to several agents, or do a quick small job. A lane is a row in the engine's table that fixes the model and the effort for one kind of work. A route names a lane, and the lane decides the model: when a route names a lane, the app takes the lane's model and effort over the route's own. The lanes are on the Lanes page.

The four routes of the Video pack (departments/video/pack.json → routes):

RouteModeLaneModel · effort from the laneAgentUsed for
plan (default)plan, read-onlyjudgeopus · highvideoA new film: gather, ask, propose the journey. Changes nothing
doautoworkopus · mediumvideoWork one stage, then stop at the gate
workflowautojudgeopus · highvideoMany versions at once: one Sonnet agent per version, each one verified
quickautoresearchsonnet · lownoneStatus, checks, lookups

Routes are never shown in the app. A formula names its route in its header, and the app applies it silently. Sales has three of the same routes (plan, do, quick) with the sales agent.

Done means an issue

Three words first. A gate is a point where the work stops until a person says yes. Video has four: script, look, version and publish. A work order is one request for one person with one deliverable, written as a GitHub issue. A receipt is the comment on that issue that records what was delivered.

"Done" means something different at each level, and each level has its own proof:

LevelDone meansProof
A promptThe right formula, filled, in the boxNone. It lives in one window
Phase 1The plan is accepted and on GitHub: the film issue and its first work ordersThe film issue's link
A work orderIts deliverable is submitted and the receipt is on the issueThe receipt comment
A gateA person's approval is recorded on the film issueThe approval comment
The filmThe CEO closes the film issue after publishThe closed issue

The formula and the issue are not two things. The body of a work order is the filled formula.

How a plan gets onto GitHub. Under a finished plan the app shows one button, Accept. A typed reply never starts work: it stays in plan mode and only answers or changes the plan. Accept moves to the working route and sends one fixed English message. The formula that filled the box decides the message, through its record:

The formula's recordWhat the message asks the lead to do
filmCreate the production if it does not exist yet, lock all 14 stages (produce lock <ID> --all --plan <file>), then its film issue (produce issue <ID> --create). For each piece the plan gives to another person, create its work order (produce order <ID> <formula> --to <login> --create). Reply with the links, then stop at the next gate
issueCreate the work order as an issue and reply with its link. Then stop
noneCarry out the first step, then stop at the next gate

The formula that plans a film, video.film.plan, has record: film. So accepting a film plan is what puts the film on GitHub, and phase 1 ends there. The video agent's own instructions cover the moment: it prints each draft, reads it, and then creates it. A piece the agent does itself needs no work order.

The two kinds of issue

Film issueWork order
How manyOne for each filmAs many as the film needs: one for each piece a person does
ShowsThe brief, the versions with their links, the 14 stages as a checklist, the four gates, and a line for every work orderOne request under the five headings
Labelsdept:video, P2, filmdept:video, P2, for:<login>
Held byNobody. It is the trackerOne person
Created byproduce issue <ID> --createproduce order <ID> <formula> --to <login> --create
Closed byThe CEO, after publishThe CEO, after the receipt is reviewed

Why a work order must travel. A prompt that names a file on one Mac is useless on another machine. A work order is read by a teammate on his own computer, so three things hold, and station.mjs lint refuses a formula that breaks them:

  • Links, never paths. Each reference in the film's folder becomes a link on the CDN, https://cdn.databayt.org/work/<film>/ref/<file>. The files are uploaded when the order is created.
  • Where to submit. The Deliverable section names the place the result goes: work/<film>/<issue number>/<file>. An order whose result is words, not a file, says "Reply on this issue" instead.
  • Who it is for. Every order has a to slot, and the Context section names both the person it is for and the person who ordered it.

A worked example: the classroom scene goes to Sedon

The owner wants a teammate named Sedon to build the classroom scene of the Hogwarts intro film in Blender.

1. The sentence, then the command. In the app the owner can simply type "give the classroom scene to sedon" and press the sparkle button. The switch recognises a hand-over sentence. This is the real answer:

node .claude/scripts/station.mjs match "give the classroom scene to sedon" --dept video --repo hogwarts --json
{
  "id": "video.order.blender",
  "confidence": 0.92,
  "dept": null,
  "set": {
    "to": "sedon",
    "scene": "the classroom scene"
  }
}

The word "scene" chose the Blender order, and the sentence gave the person and the piece. The app hands that set to fill, so the box holds the whole request for Sedon, ready to read and to edit. Filling the box creates nothing.

Sending it does not start the work on your own machine. Because the formula records to an issue, the app puts one fixed line in front of the text, "This is a work order for another person, not work for you", and the video agent answers it by creating the issue and replying with the link.

What creates the issue, from the app or from a terminal, is one command, produce order. Without --create it is a draft: it prints what would be made and changes nothing.

node ~/.claude/skills/produce/scripts/produce.mjs order hogwarts-intro-introduction-v001 \
  video.order.blender --to sedon --set scene="the classroom scene"

2. What the issue will contain. This is the real draft the command printed (the home folder is shortened to ~):

DRAFT — nothing created, nothing uploaded.
film issue: (none yet — run `produce issue hogwarts-intro-introduction-v001 --create` before --create here)
title: Blender scene: the classroom scene — hogwarts intro — introduction
labels: dept:video, P2, for:sedon
references to upload (2):
  ~/media/_projects/hogwarts-intro-introduction-v001/03-script/script.md
    -> work/hogwarts-intro-introduction-v001/ref/03-script/script.md
    => https://cdn.databayt.org/work/hogwarts-intro-introduction-v001/ref/03-script/script.md
  ~/media/_projects/hogwarts-intro-introduction-v001/04-storyboard/shot-list.json
    -> work/hogwarts-intro-introduction-v001/ref/04-storyboard/shot-list.json
    => https://cdn.databayt.org/work/hogwarts-intro-introduction-v001/ref/04-storyboard/shot-list.json
 
## Task
Build the classroom scene in Blender from the shot list and render a preview, on your own machine.
 
## Context
- Work order: Blender scene, for sedon · ordered by Abdout
- Film: hogwarts-intro-introduction-v001 · hogwarts / Balqalam (the name the viewer sees)
- Piece: the classroom scene
- Format: vertical 9:16, 1080×1920, 30 fps
 
## References
- Script: https://cdn.databayt.org/work/hogwarts-intro-introduction-v001/ref/03-script/script.md
- Shot list: https://cdn.databayt.org/work/hogwarts-intro-introduction-v001/ref/04-storyboard/shot-list.json
- Brand kit: https://github.com/databayt/kun/blob/main/content/media/brand-kit.json
- Product look to match: ed.databayt.org
 
## Constraints
- Match the shot list for this scene: camera, timing, props and characters; phone and laptop screens show real captures only, supplied on the issue.
- Characters and places are illustrative: mark them so in the file's notes.
- Use the brand colours and type from the brand kit; never a licensed font that is not already in the kit.
- The order is one piece for one person. If something blocks you, say so on the issue instead of widening the work.
- Claims only from real captures; generated scenes are illustrative.
- No real student or parent data; brand name as the viewer sees it.
- Stop at every human gate (script · look/animatic · version · publish); never approve.
 
## Deliverable
- The .blend file `the-classroom-scene.blend` (packed textures, no absolute paths) and a preview render `the-classroom-scene-preview.mp4`.
- Note in the reply the Blender version and any add-on you used.
- Submit through Machine: open this order and press Submit with the files attached. The app uploads them to `work/hogwarts-intro-introduction-v001/<issue number>/<file>` on the CDN and posts the receipt on this issue.
- Reply on the issue with one line for the next person: what you did, what is left, anything they must know.
 
<!-- kun: repos=hogwarts; items=skill:blender; after=; film=hogwarts-intro-introduction-v001; formula=video.order.blender; weight=5 -->

The last three lines under Constraints were not in the formula. They are the Video department's constraints, added by fill. The last line of all is the kun block; the app reads it and people do not need to.

3. The film issue comes first. The second line of the draft says this film has no film issue yet. order --create refuses until one exists. A film planned today gets its film issue when its plan is accepted. This film was started before that, so the owner creates the issue once: produce issue hogwarts-intro-introduction-v001 --create.

4. Create the order. The same command with --create uploads the two references to the CDN, creates the issue in the film issue's repository with its three labels, adds a line for it under "Work orders" on the film issue, and records it in the film's ledger.

5. What Sedon sees. The order reaches him in two places in his Machine.

  • On the board. The label for:sedon counts exactly like an issue assigned to him on GitHub. So the Video board puts the order in his Waiting place, as the option "Start my work order".
  • In the queue. The app lists every open order labelled for: his login, whatever its department.

The board of a department shows only to a person whose profile has that department. If Video is not in Sedon's profile, the queue is where he finds the order. The kun block says the order needs skill:blender, so the app's readiness check offers to install it if it is missing. (Sedon needs a profile in machines/ before the app can show him anything; the example uses his name only.)

6. Start. Start claims the order. The issue gets the labels holder:sedon and status:in-progress, and a chat opens with the request in it. Nobody else can start it: for anyone else the claim is refused with "this order is for sedon".

7. The work. Sedon builds the scene in Blender on his own machine. The references open as links.

8. Submit. In the order's chat he writes one line about the work in the box. A line that starts with next: is kept apart as the line for the next person. He presses Submit and chooses the files, at most 20 at a time. The app asks kun for one short-lived upload link per file and sends each file straight to work/hogwarts-intro-introduction-v001/<issue number>/<file> on the CDN. No cloud key is ever on his computer. One line shows the progress, for example "Uploading the-classroom-scene.blend (1/2)" with a percentage, then "Sending the receipt…", then "Submitted. It is waiting for review."

9. The receipt. When every file is up, the app posts the receipt as a comment on the issue: the summary, the links, a sha256 hash of each file, and the line for the next person. The issue moves from status:in-progress to status:review. Only the person who holds the order can post it.

10. Review and close. The owner opens the links and reviews the work. Closing the issue is what makes it done, and only the CEO closes. The next time the film issue is rewritten, the order's line on it is ticked, and produce status lists Sedon among the film's contributors.

The record

What a receipt carries. Every receipt is one comment with the same layout, so it can be read by a person and counted by a script:

<!-- kun:receipt -->
### Run receipt — <login>
 
Driver: <driver> · Model: <model> · Duration: <time>
Formula: <formula id> · Stage: <stage>
 
**Summary**
<what was done>
 
**Commits**
- none
 
**Artifacts**
- https://cdn.databayt.org/work/<film>/<issue number>/<file>
 
**Hashes (sha256)**
- <hash>  https://cdn.databayt.org/work/<film>/<issue number>/<file>
 
**Next**
<one line for the next person>
 
Ready for review (`status:review`). Only the CEO closes.

The first line is a marker the app looks for. The Formula line, the hashes and the Next line appear only when they exist. A receipt posted by Submit in the app records the model as human.

The kun block. Every film issue and work order ends with one hidden line that machines read:

FieldWhat it namesIn the example
reposThe repos the work needshogwarts
itemsThe skills or agents the machine must have installedskill:blender
afterThe issues that must be closed before this one can startnone
filmThe film the order belongs tohogwarts-intro-introduction-v001
formulaThe formula the order was filled fromvideo.order.blender
weightThe formula's weight5
driverThe agent program to use, when the order names onenot set

Only the CEO closes. The labels say where an issue stands: for:<login> is who it was made for, holder:<login> is who has claimed it, and status:in-progress and status:review are its state. The holder and status labels are set by the machines, never by hand. Closed means done, and nothing else does.

Points come from the weight. A formula's weight is copied into the kun block of every order made from it, and the receipt names the formula. Points are the weight of the work, not the hours spent on it. The calculation that turns points into a share is not built yet (see Later).

Issues are public. An issue is written for anyone to read. A list price is fine, for example the 24 SAR per student per year in content/media/markets.json. A commission or a share of revenue is not. produce order checks the filled prompt for those words in English and Arabic; a draft prints a warning, and --create refuses. A Sales issue names a school by its CRM record id only, never by its name.

Adding a department

Sales was the second department on this contract, and it is the example to copy. Support and Marketing follow the contract too. To see the tabs and the plus rows of any department, run node .claude/scripts/station.mjs settings --dept <d> --json.

  1. The pack, departments/<word>/pack.json. It holds lead (the agent that talks to the person), guard (the check before anything goes out), keywords in English and Arabic, constraints, the routes with a lane each and a defaultRoute, formula.en (the frame, starting at ## Task), and quickActions (the short list shown when the board cannot answer; an action with an id must be a formula). health and gather are optional. Two more keys are optional too. plus lists the rows of the + menu, each a kind of attach, action or source. data is private or own (the default), and a formula may override it.
  2. The ledger. A ledger is where the department keeps its projects, stages and gates. Video's is produce, with 14 stages and four gates. Sales has none, and says so: "ledger": { "adapter": "none", "gates": [], "stages": [] }. A department with no ledger has no project slots and no gates, so its board scores from issues, sprint, drive, due and habit.
  3. A formulas/ folder beside the pack. The board needs at least one formula with board: true for each role: waiting, next and start.
  4. Check the formulas: node .claude/scripts/station.mjs lint --dept <word>. It lists every error and exits with 1 when there is one.
  5. Check the words: node .claude/scripts/compile-words.mjs --check. It lists any door skill, agent or spell that is missing or out of date. It is the check to run before the work is committed. Running it without --check writes the generated ones.

A Sales work order shows the other way to deliver. sales.order.call has "submit": "comment": its result is a reply on the issue, not a file on the CDN.

Commands in one place

The station (node .claude/scripts/station.mjs …). Always pass the department with --dept; without it the script uses video.

CommandWhat it does
board --dept <d> [--repo <r>] [--login <l>] [--health green|orange|red] --jsonReturns at most three options, each with its role, score and why
fill <formula-id> --dept <d> [--repo <r>] [--login <l>] [--project <film>] [--set k=v]… --jsonReturns the filled prompt, its route, its record, what is missing, and the references to upload
match "<text>" --dept <d> [--repo <r>] --jsonReturns the formula the text fits, a confidence, the values read out of the text (set), and the other department when the text names one (dept)
lint [--dept <d>]Checks every formula; with no department it checks every department that has formulas
plan <formula-id> --dept <d> [--repo <r>] [--login <l>] [--set k=v]… --jsonReturns the execution plan of one formula: steps, route, stages, agents, skills, tools, keywords, workflow, items and repos
settings --dept <d> [--repo <r>] [--project <film>] --jsonReturns the tabs of the settings menu, each choice with its options and its current value
compose --dept <d> [--repo <r>] [--project <film>] [--set <choice>=<value>]… --jsonTurns menu picks into a formula, its slot values, the sentence, the keywords, the tools and what is missing
stage <stage> --dept video --project <film> --jsonReturns one stage of a film: its lock, its current choices, its tool and the questions the app asks
--testRuns the fixed test cases. No network
--pageWrites the formula matrix of every department at the end of this page

The issues (node ~/.claude/skills/produce/scripts/produce.mjs …). Every command that writes to GitHub prints a draft first; only --create writes.

CommandWhat it does
issue <ID>Prints the draft of the film issue
issue <ID> --createCreates the film issue once. When it exists, --create or --sync rewrites its body from the current state
order <ID> <formula> --to <login> [--set k=v]… [--after <refs>]Prints the draft of a work order: title, labels, references, body
order … --createUploads the references, creates the work order and adds its line to the film issue
submit <issue> <file>…Prints what would be uploaded and the receipt. With --create, from a machine that holds the CDN keys, it uploads, posts the receipt and sets status:review
advance <ID> <stage> --file <deliverable>Records a stage. With a film issue it also ticks the stage and comments
approve <ID> --gate script|look|version|publish --version <Vnnn> --by <login>Records an approval. With a film issue it also ticks the gate and comments
status <ID> [--json]Shows the stages, the gates, the work orders and who did what
lock <ID> --all [--plan <file>] [--set k=v]…Writes one spec for each of the 14 stages, records the locks and compiles the plan
lock <ID> <stage> [--set k=v]… [--spec <file>]Locks or re-locks one stage
unlock <ID> <stage>Removes a lock and keeps the spec files
plan <ID>Recompiles 00-plan/plan.json and plan.md and prints the plan
mirror <ID> [--stage <s>] [--create]Prints what a stage folder would send to the CDN under work/. With --create, uploads it
url <ID> --path <file>Prints the CDN link of any file in the film's folder, before it is uploaded

What we took from other products

PatternSeen inEvidenceWhere it lands in KunState
A preset is an id, a name and a few parameter defaults, sent beside the person's own prompt, which stays requiredHiggsfield Marketing Studio API docsmaker's docsA formula's header and slots; the box stays editablebuilt
A skill is listed by one short line and loaded in full only when chosenHermes (skills/AGENTS.md: a 60-character description)sourceDoor skills with a 60-character description; a formula's header is read for the board, its body only on fillbuilt
Three outcomes for an action: go ahead, ask first, hand back to the person, and a short list no rule can unlockOpenAI Dots controls; Grok Bot auto reviewmakers' docsThe mandate in engine.json, the gates in formulasalready had
Park a pending approval and finish the rest of the workClaude Duet help pagemaker's docsA gate waits on the film issue while other work orders go onbuilt
Fail closed when nobody can answerDeepSeek Harness user-approvalsourcePlan mode is read-only; anything that writes needs --create or Acceptbuilt
One lead talks to the person; named single-job workers do the workGrok Bot (primary and specialists); DeepSeek Harness (named children, depth limit)docs and sourceThe department's lead agent and its sub-agentsbuilt
Check every few hours, not all the timeClaude Duet (sources disagree)coverageaware.mjs every 30 minutes at zero tokensalready had
Suggestions ranked from a person's own statenone of the seven documents itnoneThe board's scoring is our own bet: three fixed roles keep it stable and the weights sit in one placewatch
Work recorded as GitHub issuesnonenoneThe film issue and its work ordersour own design
One harness, any model behind itfree-claude-code (a router; AGPL-3.0)sourceAn engine choice on a routelater
An always-on cloud computer for each agentDots, Muse, Grok Botmakers' pagesNothingskipped: 120 to 500 dollars a month against a subscription-only rule
A selection travels as a reference id plus where it came from (a preset or free text), not as expanded text, so the same id can be linked to directlyHiggsfield Marketing Studioown session, the page's codeThe formula id on the issue's kun block and on the receipt; recording whether a run began from a tapped option or typed text is still to dobuilt, one part later
A small fixed set of presets ships with the app; the long tail comes from a catalogueHiggsfield Marketing Studioown session, the page's codeFormulas read from the kun clone; the pack's quick actions as the fallbackbuilt
The rig (camera, lens, light, genre) is structured settings, and the prompt describes only the sceneHiggsfield Cinema Studio 4.0 (blog)makers' documents, read on 2026-11-23The shot fields in shot-list.json; the Format and Style tabsbuilt
A cheap still is approved before costly motionHiggsfield hero frames (guide); Google Flow, frames to video (help)makers' documents, read on 2026-11-23The look gate is signed on hero stillsbuilt
A chat assistant fills the form but never spendsHiggsfield Cinema Studio (help)makers' documents, read on 2026-11-23The agent proposes a spec (kun-spec); only a tap locks itbuilt
Timed beats and labelled sound linesVeo 3.1 (prompting guide); Sora 2 (prompting guide)makers' documents, read on 2026-11-23beats and audio on a scene in the shot listbuilt
Result, details, exact text, constraintsOpenAI image prompting guide (cookbook)makers' documents, read on 2026-11-23video.order.image and video.order.stillbuilt

The evidence is of four kinds. The rows for Hermes, DeepSeek Harness and free-claude-code come from reading their source code. The rows for Higgsfield's API, Dots, Grok Bot and Claude Duet come from the makers' own documents and help pages. The last two rows come from an observation made on 2026-11-22 in the owner's own signed-in Higgsfield session, by reading the page's code. The row about how often Duet checks comes from coverage, not from the maker, and the sources disagree. Muse's help pages did not load, so Muse appears only where its public pages say something. Two rows have no outside evidence at all: ranking suggestions from a person's own state, and recording work as GitHub issues. Those are our own design.

The five rows about shots and stills come from the makers' own documents, read on 2026-11-23. The exact labels in the Flow and Sora prompt boxes were not verified: no official page shows them, and nothing in Kun depends on them.

Claude Duet could not be observed: the account's pages showed no Duet surface by the routes tried, so nothing was learned about how it lists tasks. Whether choosing a Higgsfield preset rewrites the prompt box also stayed unanswered, because nothing was clicked.

Later

These are understood and not built.

  • The operations room. One list of everything that waits for a yes, across all departments.
  • The share calculation. Turning the points on closed issues into each member's share.
  • Native AskUserQuestion. The plan run asks through a kun-questions block today. An Agent SDK helper could receive AskUserQuestion and ExitPlanMode directly and drop the block.
  • free-claude-code as a local engine. It could run the cheaper lanes on a teammate's machine, under three conditions. It is licensed AGPL-3.0, so it runs as its own program and its code is never copied into Kun. Prompts leave to third-party providers, so no CRM, student or customer data goes through it. It is measured before any lane depends on it.

The formula matrix

Every formula of every department that has a formulas/ folder, Video first, written by node .claude/scripts/station.mjs --page. Do not edit the tables by hand; edit the formula and run the command again.

Video

IdLabelRouteRoleGateRecordBoardWeightDrive
video.film.continueContinue production · متابعة الإنتاجdonext—noneyes10.9
video.film.planIntro film · فيلم تعريفيplanstart—filmyes11
video.film.runRun the locked plan · تشغيل الخطة المقفلةdonext—none—10.9
video.gate.lookReview the look · مراجعة الشكلdowaitinglooknoneyes20.9
video.gate.publishApprove publishing · اعتماد النشرdowaitingpublishnoneyes20.9
video.gate.scriptReview the script · مراجعة السكربتdowaitingscriptnoneyes20.9
video.gate.versionApprove a version · اعتماد نسخةdowaitingversionnoneyes20.9
video.order.blenderBlender scene · مشهد بلندرdonext—issue—50.6
video.order.captureProduct capture · تصوير المنتجdonext—issue—30.6
video.order.clipClip for Veo · مقطع عبر Veodonext—issue—40.6
video.order.filmcraftAssemble in FilmCraft · تجميع في فيلم كرافتdonext—issue—50.6
video.order.imageImage for ChatGPT · صورة عبر ChatGPTdonext—issue—40.6
video.order.motionMotion graphic · رسم متحركdonext—issue—30.6
video.order.pickupStart my work order · ابدأ طلب العملdowaiting—noneyes10.8
video.order.reviewReview of a version · مراجعة نسخةdonext—issue—20.6
video.order.scriptScript writing · كتابة سكربتdonext—issue—30.6
video.order.stillStill, Nano Banana · صورة عبر نانو بناناdonext—issue—40.6
video.order.voiceVoiceover · تعليق صوتيdonext—issue—20.6
video.reel.footageReel from a video · ريلز من فيديوdostart—noneyes20.4
video.script.onlyVideo script · سكربت فيديوdostart—noneyes10.5
video.spec.stageDiscuss a stage · نقاش مرحلةplannext—none—10.5
video.stage.approvalVersion approval · اعتماد النسخةdonextversionnone—20.8
video.stage.assetsAssets · الأصولdonext—none—30.8
video.stage.audioAudio · الصوتdonext—none—30.8
video.stage.briefCreative brief · الملخص الإبداعيdonext—none—20.8
video.stage.cdnShip to the CDN · رفع إلى CDNdonext—none—20.8
video.stage.editEdit · المونتاجdonext—none—40.8
video.stage.publishPublish package · حزمة النشرdonextpublishnone—20.8
video.stage.qaQuality check · فحص الجودةdonext—none—30.8
video.stage.renderRender · الإخراجdonext—none—30.8
video.stage.requestOpen the project · فتح المشروعdonext—none—10.8
video.stage.researchResearch · البحثdonext—none—20.8
video.stage.scriptScript · السكربتdonextscriptnone—30.8
video.stage.storyboardStoryboard · القصة المصورةdonext—none—30.8
video.stage.visualVisuals · المرئياتdonextlooknone—50.8
video.tools.checkTools check · فحص الأدواتquickstart—noneyes10.3
video.versions.fanoutAll versions at once · كل النسخ معاًworkflownext—noneyes30.7

Marketing

IdLabelRouteRoleGateRecordBoardWeightDrive
marketing.carousel.makeCarousel · كاروسيلdonext—noneyes30.6
marketing.draft.approveReview the drafts · راجع المسوداتdowaiting—noneyes20.8
marketing.draft.writeDraft a post · اكتب منشوراًdonext—noneyes20.7
marketing.feature.postPost about a feature · منشور عن ميزةdostart—noneyes20.7
marketing.order.pickupStart my work order · ابدأ طلب العملdowaiting—noneyes10.8
marketing.page.connectConnect a Facebook Page · اربط صفحة فيسبوكdostart—none—20.3
marketing.post.measureHow did the posts do · أداء المنشوراتquicknext—noneyes10.5
marketing.post.publishPublish the approved posts · انشر المعتمدdowaiting—noneyes10.8
marketing.social.runA post, start to finish · منشور من البداية للنهايةdostart—noneyes30.8
marketing.week.planThis week's calendar · تقويم الأسبوعplannext—noneyes20.7

Sales

IdLabelRouteRoleGateRecordBoardWeightDrive
sales.followup.todayWho to follow up · من أتابع اليوم؟plannext—noneyes21
sales.lead.qualifyQualify a reply · أهّل الردdonext—noneyes20.9
sales.leads.findFind leads · عملاء جددplanstart—noneyes20.8
sales.order.callCall or visit order · طلب اتصال أو زيارةdonext—issue—20.9
sales.order.pickupStart my sales order · ابدأ طلب المبيعاتdowaiting—noneyes10.9
sales.proposal.writeWrite a proposal · اكتب عرضاًdostart—noneyes40.85
sales.quote.schoolQuote a school · عرض سعر لمدرسةdostart—noneyes31
sales.reply.logLog a reply · سجّل رداًdonext—noneyes10.9
sales.request.quoteQuote a request · عرض سعر لطلبdostart—noneyes41
sales.sprint.closeClose a sprint deal · أغلق صفقة الدورةplannext—noneyes31

Support

IdLabelRouteRoleGateRecordBoardWeightDrive
support.case.diagnoseDiagnose a case · شخّص حالةdonext—none—30.8
support.case.replySend the waiting replies · أرسل الردود المنتظرةdowaiting—noneyes20.9
support.deploy.sweepDeploy sweep · فحص النشرquickstart—noneyes10.4
support.domain.checkDomain health · صحة النطاقاتquickstart—noneyes10.4
support.group.readRead the school groups · اقرأ مجموعات المدرسةdonext—noneyes20.8
support.incident.openOpen an incident · افتح حادثةdostart—none—30.7
support.kb.recordRecord the answer · سجّل الإجابة في قاعدة المعرفةdonext—noneyes20.6
support.ledger.logLog the case · سجّل الحالة في الدفترdonext—none—10.5
support.loop.runRun the support loop · شغّل حلقة الدعمdostart—noneyes30.9
support.order.pickupStart my work order · ابدأ طلب العملdowaiting—noneyes10.8
support.report.decideTake or reject the reports · اقبل أو ارفض البلاغاتplanwaiting—noneyes20.7