Skip to content
Engine has no release yet: these pages describe unreleased main.

The Org Builder

Company › Structure is the dashboard’s one page for the organization: where a running company is read, watched and edited, and where it is created on an engine that has none. Its sidebar row is Structure (g a opens it), with two tabs:

  • Org chart (#/company/org, the default): the organization by teams or, with the Reporting view switch, by reporting lines.
  • Table (#/company/org/table), its tab carrying the seat count: one row per company, team and seat, in the chart’s order, with each seat’s state and run-time controls.

Both tabs are the org builder: a draft and its selection carry across, and both draw each seat’s live state. It edits the company document GET /config serves and PATCH /config writes, so every change is an ordinary configuration revision: stored, activated, audited, applied by every node on its own tick.

The engine is the validator. The builder checks every draft by sending a dry run of exactly the write a save would send, and draws the problems, warnings and derived hierarchy the engine answers with. It implements no configuration rule.

Changes go to a draft in the browser. Nothing reaches the engine until you review and save, and the builder keeps every field of the document it does not show. What it shows and can change is under Editing a node.

The builder needs admin, to read the document (credentials masked) and to save it, a removal included. A save may ask you to confirm your password first, as every configuration write does. Without admin, the lead of a unit edits the units they lead (Editing as a unit lead). Anybody else signed in reads the page from the org projection every reader holds, every edit and control held with its reason in its tooltip.

The credential is a person signed in holding admin, or an API token that carries it, exchanged for a session on the sign-in screen. Authentication cannot be turned off; crewlet run -dev-principal is a flag on a node reached over loopback, not a configuration a browser can meet. What the builder shows follows what the engine answers, never whether somebody is signed in:

The engine answers GET /config withThe builder shows
the active revision (the fleet’s, which every node answers whatever it runs)the organization, ready to edit
404 no_active_revision (no fleet activation, this node knows no company) and the organization the node pushes names no companycreating the company
404 no_active_revision, while the organization names a company“This node is still catching up”. Try again shortly, or use another node
503 unavailable: the node could not read the fleet’s activation from the coordination store“The engine could not serve the configuration”, with Retry. A coordination store electing a leader is out for a few seconds
401 or 403, to somebody signed inthe organization from the org projection, read-only, every edit and control held with its reason in its tooltip. Where the projection names no company yet, “Reading the configuration needs Admin access.”, with Sign in as somebody else
401 or 403, to nobody signed in“Editing the organization needs you to sign in.”, with Sign in, which comes back to the builder
a plain 404, or an answer that is not JSON“This process does not serve the configuration.” It has no configuration store; open the dashboard on a node running the engine
nothingthe engine could not be reached, with Retry

A node that has not applied the fleet’s revision yet (just joined, or it refused it) still answers GET /config with the fleet’s revision, so the builder edits there as anywhere. Create mode is never offered while the fleet runs a company, nor on a node whose engine runs one while it answers that there is none: a create would replace it.

A draining node refuses every check and save with 503 draining, a starting one with 503 starting. The builder treats either as unreachable: the draft is kept and the check retries until a peer or the node answers. A refused write writes nothing.

Signing in as somebody else (in another tab, since the session cookie is the browser’s) while a draft is open keeps the draft on screen. The builder reads the company again, checks the draft as the new reader and forgets the copy it kept for the last one; if the engine refuses it, editing pauses until somebody who may edit it (an administrator, or its lead) signs in. Signing out empties the tab’s kept draft too.

When another system manages the company document (Tier A names its writers in api.auth.company_writers), the builder is read-only for every other token: every editing control is disabled and a callout says who manages it. Change the company at its source. A writer’s token edits as usual.

A link from another screen that asks to change one thing opens the builder on it. The address names a node by its address (a seat by its handle, a unit by its key, never a name, since names can repeat):

The link carriesThe builder opens
seat=<handle> and editor=openthat seat’s editor (a seat’s Edit beside its setup on its page, Edit in org in its menu)
seat=<handle> and editor=model or editor=advancedthat seat’s editor on its Model or Advanced tab (a seat’s Settings tab: Edit models, and Change beside Learning)
unit=<key> and editor=openthat unit’s editor
add=agent, add=human or add=unitthe Add on that kind at the company’s top level
unit=<key> and add=…the Add under that unit
unit=<key> or seat=<handle>, and project=<KEY>that node’s editor on its Work tab, its tracker project set to the key and not yet applied: Worklet’s New project continues here, and saving it creates the project. Setting a project takes admin, so a reader without it finds the field held with that reason

This happens once, on arrival, and only when the builder can edit: the draft is loaded, no kept draft waits for Keep or Discard, no save’s outcome is unknown and the company has not changed under the draft. The request waits for those and opens once they settle. editor=, add= and project= are then removed from the address, so a reload or copied link does not ask again; so is a request the reader overtakes by selecting another node.

A selection alone opens nothing. seat= and unit= without editor=open only select the node, because they are also where the builder keeps its own selection (see Selecting a node and Where Structure keeps your place). A link naming an address the draft does not hold selects and opens nothing.

The addresses of the pages Structure replaced still open: Edit org (#/company/org/edit) opens the Org chart, or the Table where it carried view=table, and a seat= or unit= it named opens that node’s editor; the Roster (#/company/org/roster) and Teams (#/company/org/teams) open the Table; a team’s page (#/company/org/teams/{unit}) opens the Table with that unit’s panel open (peek=unit:<key>). A unit has no page: its panel over the Table is its page.

The mission, vision and standing policies are written on Company › Principles, and every way into them links there (see The company).

On an engine with no active configuration the builder opens on a form: the company’s name, a shape to start from, and Add a seat for yourself, ticked and named “Founder” (rename it for the role; the seat outlives whoever holds it), with an optional contact identity.

Leave that seat ticked unless agents alone will run the company. Every person holds exactly one human seat for as long as they exist, put there by an invitation or an administrator’s create that names it. So this seat is the one you put yourself on once the company exists: sign in with the deployment’s API token, open Company › Structure, open the seat, and press Invite or Add person (see How the first person exists). A company with no human seat can admit nobody, the operator included, until one is added, and its check warns about that at roles. Unticking is legitimate for a company its agents run alone, administered through the deployment’s Tier A tokens, which act as themselves and need no seat.

Start fromWhat it writes
New companyA chief executive and three units (Engineering, Product, Marketing), each with one agent seat reporting to the chief executive
Established companyA chief executive, Engineering with a Reliability team, Product with a Design team, and Go to Market, with each unit’s lead reporting up the chain
Start emptyThe company alone

The Established company template asks whether unit leads are agents (seats the engine runs) or people (human seats). A template never invents a contact identity: human leads are created without one, and the only identity written is the optional one you type for your own seat. A human seat with no contact identity is legitimate. On the engine’s own chat an agent mentions a person by the seat’s handle (a lead’s roster gives each human report as @handle); on a company that talks on Mattermost or Slack, nothing addressed to the seat there reaches anybody, so the configuration warns about it at the seat’s contact, and the review lists that warning, until an id on that workspace is added.

A contact identity is where a message goes, never what a person may do. A human seat with contacts and no person on it is somebody agents hear from and act for with no app at all: the apps an agent uses in a turn a person woke are that person’s permissions, and a seat nobody holds carries none. Put the person on the seat with Add person and the apps they use, and their agents act for them from then on; they need never sign in (An agent uses only the apps of the person it works for).

Everything the template writes is one change: undo returns to the form. From there the organization is edited like any other, and Review and save creates the company with PUT /config and If-None-Match: *, which is refused if a company exists anywhere in the fleet. If one was created while you were writing yours (the builder hears of it as soon as the node reports the new organization, not only when you save), the builder says so and offers to discard your draft and open the company: a draft that starts a company is never applied to one that exists, nor replayed onto it. Keep my draft leaves it on screen, read-only, with the same offer beside it.

After a successful create, four steps remain. Open Principles opens Company › Principles in edit, to write the mission, the vision and the standing policies every agent reads. The builder cannot take the other two: connecting chat and trackers in Company › Integrations, and adding a model provider. The engine applies the company without one, but until the provider is added no agent seat takes a turn: what is sent to a seat waits in its inbox and runs once the provider exists. Add a model opens Settings › Models & Fleets on its wizard, which adds the model, signs it in and tests it; the panel also gives the terminal steps, folded, which Giving the company a model explains. On a company another system manages, it says the model is added there. Open the advisor opens the Advisor: the company’s numbers and what would block or cost it, each with a fix you preview before it is made.

Every model is a harness the engine drives. Settings › Models & Fleets adds one from the dashboard. To add it at the node’s host instead, in a terminal beside the node’s crewlet.yaml: the company the builder created is in the store and in no file, so the steps start by writing it to one. The builder’s panel after a create gives them, and so does its caution while the company has no model:

Terminal window
# Stop crewlet run first (Ctrl+C), and run these beside its
# crewlet.yaml: the export reads the company out of the store,
# which a running node holds.
# 1. Write the running company to a file
crewlet config export > company.yaml
# 2. Add the model to it, and the sandbox every seat's executor
# runs in: here this machine, as your user
providers:
llm:
default:
model: sonnet
sandbox:
local: {}
default_run_in: direct
# 3. Sign its harness in to your subscription, and check it end to end
# (on a member of a cluster, add -api with a running member's URL
# and a Tier A token in CREWLET_API_TOKEN: a member alone cannot
# reach the fleet's store)
crewlet llm login default -capture-token
crewlet llm doctor default
# 4. Import the file, and start the node again
crewlet config import company.yaml
crewlet run
  • The node is stopped first because crewlet config export reads the company out of the node’s own store, which a running node holds. Run the steps on the host and in the directory of the node that holds the store. With the node stopped, crewlet llm reaches the fleet’s secret store itself: on a solo node it starts the node’s own broker on its stream.store_dir, listening on nothing, and stops it when the command ends; on an external broker it dials it. A member of a cluster cannot (alone it never reaches the quorum the store needs), so there step 3 runs with -api naming a running member, with one of its Tier A tokens in CREWLET_API_TOKEN.
  • The file comes from crewlet config export: the company the node’s store knows (the fleet’s revision as the node last saw it, plus any offline change made on it), as stored. Not GET /config?format=yaml or Copy as YAML: those are redacted, and crewlet llm refuses a company file that still carries a __redacted__ mask (it writes no revision and restores nothing). A ${NAME} reference comes out as the reference, and a credential written inline comes out in the clear (a company the builder created holds none).
  • The entry needs only its model. default drives Claude Code, the default harness, on your subscription; -capture-token mints a headless token and stores it in the fleet’s secret store under the harness’s own token variable, which an entry that names no auth.token reads. It is written directly with the node stopped, so the row’s source is llm-login and its author your shell’s user, and the node reads it at start. crewlet llm doctor makes a real call with a tool to prove the harness is installed, signed in and still matches the profile Crewlet drives it with. For another harness or an API key, write the entry LLM Backends describes.
  • The sandbox is this machine. A direct box runs the harness as your user on the node’s own host and calls the seat’s tools back through the node’s own listener on loopback, so only the node’s api.port is needed, whatever its roles. A container cell, or a seats node started with api.port: 0, instead needs CREWLET_MCP_BRIDGE_URL, the fleet’s address as that box reaches it (see Code Sandbox). The harness runs fully permissioned there, so direct is for a first run on your own machine while its seats take work from you alone, a dedicated host you will hand to an autonomous agent, or the entry that needs the host itself; before a seat takes work from anyone else, place the runs in container with an image of your own (see Choosing a cell).
  • The import is offline, with the node stopped: it makes the file what the node boots on, built on the fleet’s revision the export came from, and the node publishes it to the fleet as it starts, as long as the fleet still runs that revision. Work that waited in the seats’ inboxes runs on the new model. If another node changed the company while this one was stopped, the import is withheld rather than published over that change: the node starts on it, logs offline_revision_not_published at warn, and moves to the fleet’s revision once it applies it. Then add the model through a running node: a PATCH /config carrying only step 2’s providers block (its llm entry, and its sandbox block unless the fleet’s company already has one, since a company with an agent seat and a model is refused without it), which keeps the other node’s change. Importing company.yaml with -api would replace the whole document with the one exported before that change. See Offline commands make an offer.

None of this applies to a company another system manages: an offline import of a managed document is refused, so the model is added at its source, and the builder says so instead of giving these steps.

The two tabs are two views of the draft: the Org chart, by teams or by reporting lines while the Reporting view switch at the canvas’s top left is on, and the Table, the same structure as rows and columns. The draft, the selection and the status filter carry across.

Both views draw the draft as it stands and take what the engine derives from its last check of it: where a seat declared at the top level with a unit reference is placed, the lead a unit inherits, and who each seat reports to. A derived value shows only while the draft still holds what the check saw, so just after a change a node can read “Reports to: known after the check” or “Manager after the check”.

Agent seats are Crewlet characters on cards toned in their own colour, with branch and table row in the same hue; a person’s seat is a person’s glyph in a dashed ring; a unit has its own glyph; every node but an agent seat is on the same neutral surface. The company’s card and row carry its logo (the square mark of the brand adopted in Company › Brand, else its primary logo), or the company’s glyph where it has none. An agent’s character and colour are its author’s choice (see A seat), or until then picked by the engine from the seat’s handle, never its name, so a renamed seat keeps them. The selected node’s card takes the accent on its edge. The chart is drawn on a dotted field, which says it pans before you drag it. Each seat says what it is doing (see The running company).

Structure keeps the reader’s view in its address, so a seat page’s crumb back to it, the browser’s Back and a reload all land on the same place:

In the addressWhat it keeps
showthe status filter (a Table chip, or a chart legend key)
sortthe order a Table head put each level in; empty is the chart’s order
colsthe columns the Table draws, in order; empty is all of them
closedthe teams you closed on the chart
chart=reportingthe Reporting view
seat, unitthe selected node (see Selecting a node)
peekthe seat’s or unit’s panel open over the tab
athow far down the page you scrolled
zoomthe chart’s zoom and pan, put back only on the chart it was taken on

A seat’s page opened from Structure (a row’s name, a Reports to chip, a chart card’s Open seat, or Open on the seat panel Find a seat opens) carries Structure’s whole address as from. Its trail names where it was opened from (“Structure › Table › Product Lead”, “Structure › Org chart › Product Lead”), and the crumbs before the seat go back to exactly that place. A seat panel opened over the Table keeps the Table’s scroll, and Back takes the panel off.

The company is the root; the top-level seats and units hang off it, and each unit’s seats and child units off that unit, every seat a node joined to its unit by an orthogonal branch. A node shows its mark (an agent’s figure, a person’s ringed glyph, a unit’s glyph or the company’s logo) and its name. Under a seat’s name are its kind and handle: “agent · @pm”. An agent’s live state is a dot on the corner of its mark, explained by the status legend, with its word in the node’s tooltip; a state change never changes a node’s size. A person’s seat, and an agent the engine has given no state yet, draw no dot. Under a unit’s name is its kind of thing, with these marks as small glyphs on that line, each saying its sentence as its name and tooltip:

MarkMeaning
Declared at the root with a unit referencea seat declared at the top level that its unit: reference places in this unit
No unit named Xa unit: reference the engine resolved to no unit; the seat stays at the top level
Lead names no seatthe unit’s lead names no seat of the company
Alerts that name no seat wake this seatthe Datadog fallback seat, while Datadog is enabled

A node carries no problem count: the Table writes each seat’s problems out, the toolbar’s status counts the draft’s configuration problems, and each shows in the editor of the node it names. A name too long for its node is shortened, so the chart does not move while a check is on its way. The status legend sits inside the canvas at its bottom right, and a seat its pressed key leaves out is drawn in grey.

A unit’s node carries a Reports to pill on its bottom edge: “Reports to: seat” for the lead it declares or inherits from the unit above (marked inherited), or “Reports to” alone where it has none. Pressing it opens the lead choice in place: No one (saying what the unit would then inherit), each seat in the unit, and Choose another seat, which opens the unit’s editor at Reports to.

A node’s controls appear when it is reached by pointer or focus, or selected: the expander on its leading edge, Edit and Delete down its end (the company has neither, see The company), and, under a node that can take a child, the Add on its branch, which splits into Add unit, Add agent seat and Add human seat.

Every node is one stop in a tree. The arrow keys walk the visible order: Right opens a closed unit or steps into an open one, Left closes it or climbs to the unit above, Home and End jump, and typing a name moves to the next match. On a unit or a seat, Enter or a double-click opens its editor (on the company they do nothing), Delete or Backspace deletes it (never the company), Alt+Up and Alt+Down move it among its siblings, as they move a row in the table, and the context menu key or Shift+F10 opens its menu, which holds everything the node’s own controls do not. Each unit collapses and expands on its own; Expand all and Collapse all in the toolbar do the whole chart.

The chart pans with a drag, or the wheel while it has focus; Ctrl or Command with the wheel zooms toward the pointer, and plus, minus and zero zoom and fit while the chart has focus. On a touch screen one finger scrolls the page until you tap the chart, which then pans with one finger until you press Done; two fingers pinch at any time.

Every chart opens fitted to the canvas, whole and centred. A company too wide to read at half size opens on its top ranks instead, deeper teams closed, each saying how many seats it holds: open one, or Expand all for the whole company at any size. A selected seat’s path stays open, and your address keeps what you opened. The chart fits again after Expand all, Collapse all, the Reporting view switch, opening or closing a team, a legend key, coming back from the Table, a fresh read of the company, and, while you have not moved it, a change of canvas size. Your own zoom or pan holds until the next of those: a live update changes no card and never moves the view, and neither does an editor or a dialog, which pushes the chart back behind it, blurred, rather than easing onto its node. Fit (the control or zero) fits it at any time, and a return to the address (a crumb, a Back or a reload) puts back the view you left.

With the Reporting view switch on (chart=reporting), the chart draws who each seat reports to, as the engine derives it from manages, unit leads and the unit tree: a seat’s primary manager is the first seat, in the engine’s order, that manages it. Seats with no manager are the tops, marked “No manager”, and seats that manage each other in a loop are drawn under one Reporting cycle group, each loop from its first seat in the engine’s order. The view is read-only, because a reporting line is not written anywhere as such: Edit reports on a seat (Enter on its card) opens its editor at Manages, where the lines are changed. Until the first check answers the chart says the lines appear after it, and while a later check is on its way, that it shows the last one’s lines.

The Table tab is the structure as a tree of rows, one per company, team and seat, in the chart’s order, with the columns:

ColumnWhat it holds
Namethe node’s mark and name, with a select box before it, and under the name a seat’s kind and handle (“agent · @qa”, “human · @avery”), a unit’s type and size, or “company”. A seat’s name opens its page. Each team and the company carry a small add pill beside the name (“Add to team”: unit, agent seat, human seat)
Statusa seat’s state over what else is true of it, in the row’s two lines (see The running company); a team’s or the company’s, a summary of the agents in it, what waits on a person over the rest
Reports toa seat’s primary manager, or a team’s lead, drawn as that seat; a seat’s chip opens its page
Problemswhat a person would act on about the seat, as the worst one’s tag and a count of the rest, each with its sentence in its tooltip: a failure, every model at its plan’s limit, running on its fallback, a spent or nearly spent budget, a seat no node runs
Controlsthe seat’s run-time controls (see The running company)
EditEdit, Delete and the row’s menu, drawn at rest

A press on a head sorts each level among itself, ascending, then descending, then back to the chart’s order, which no head marks: a sort never lifts a row out of its team, and the address keeps it. A team sorts by Status as the agent in it that most needs a person. Status, Problems, Controls and Edit are of fixed width and hold the row’s two lines, and Name takes the rest, so while no live column orders the rows a live change moves nothing; sorted by Status or Problems, a state change moves the row.

Columns give way to the name, measured at the table’s own width, so a panel opened beside it narrows it as a window would: Reports to goes first, then Problems, then Status, whose words move under the name, and the foot under the rows names what went (“Hidden to fit: Reports to”). A seat’s problems are never left out with their column: the worst one joins its status, and every one’s sentence its tooltip. In a narrow table a seat’s controls fold to Pause or Resume, and its remedy (Review call, Raise budget), Pause and stop and Steer move into the row’s menu, so no row changes height. On a phone a row keeps its name, its one control and its menu, which holds the rest. A row takes the same keys as a chart node, and Right also steps from a row into its cells, Left back out; in a cell, Up and Down keep the column, and a cell that holds a control (a chip, a control, the actions menu, an add pill) puts focus on the control.

The Edit column holds Edit and Delete on every row but the company’s, which has no Edit and cannot be deleted, and a menu of the rest (Open seat, Edit reports, Move to and the two moves among the siblings, and Rename company on the company’s row). A purple outlined Add beside Review and save in the toolbar adds a unit, an agent seat or a human seat at the company’s top level. Where the builder cannot write, the controls are disabled with the reason, never hidden.

Alt+Up and Alt+Down move a row among its siblings of the same kind (a seat among its unit’s seats, a unit among its parent’s units), past the row drawn beside it. A seat placed in a unit by its unit reference is declared at the top level, so it is not reordered inside that unit; move it into the unit first. Order matters to the engine: a seat’s primary manager is the first seat that manages it, so when the check of a reordered draft reports that a seat now reports to someone else, the builder says so. While a head orders the rows the moves are held, because a sorted table is not drawing the chart’s order: clear the sort to move a row.

Both tabs draw the company as it runs, from the engine’s own reading of each seat, never the draft: a seat added in the draft has no state until it is saved and placed. Before the first reading arrives, nothing is counted and no control is drawn.

The status chips above the Table count the agents each state holds and filter by one of them (show): All agents, Working, Needs you, Paused or stopped, Idle, No state yet (drawn only while some agent has none) and Agents with problems, which is named apart from the configuration check’s pill in the toolbar (“Configuration OK”, or “N configuration problems”), since one is about the agents and the other the document. Rows are pruned to the seats the chip keeps, a team kept while it holds one. A seat counts in Paused or stopped from the moment it is paused, while the turn it is on finishes or its executor asks too, so the state chips always add up to All agents; its Status still says what it is doing.

The status legend on the chart, at the canvas’s bottom right across from the zoom controls, has Working, Needs you, Paused or stopped and Idle, each with its dot and a quiet count. A key filters by the same show: pressing one greys every seat it leaves out and fits the chart again; pressing it again shows every agent. No state yet and Agents with problems have no key, so while one of those is chosen on the Table the chart greys nothing. When a model limit stops seats, one banner above the Table says so once, with how many seats wait and the remedy.

A seat’s Status is two lines, in the height its row already has: a dot and the state’s word, then quiet notes for “N waiting” (what waits in its inbox), “pausing” (a pause not reached yet, because the turn it is on finishes first) and its worst problem where the Problems column has given way. A line the column cuts is whole on hover. The work item it is on, who waits, why it was paused and a person’s availability are in the word’s tooltip and the seat’s panel. A team’s summary takes the same two lines: what waits on a person, then the rest. Where the Status column has given way an agent’s state moves under its name, in place of its kind (“Idle · @qa”).

Controls are the engine’s own run-time controls, which act at once rather than through the draft:

ControlWhat it does
Pausethe seat starts no new turn; the turn it is on finishes first
Pause and stopthe pause, and its running turn and its executor end at once; it asks first
Resumeone press, for one seat
Steera note the running turn reads at its next step
Review calla held tool call’s Allow once, Always allow or Deny
Raise budgetraises the ceiling a spent budget stopped the seat on

The state’s remedy (Review call or Raise budget) leads, beside Pause; where it does, Pause and stop and Steer move into the row’s menu. An executor’s question is answered in the seat’s panel and the Inbox, not on its row, whose status says Needs you. See Pausing a seat and Steering a running turn.

The select boxes pick agents for the selection bar: a box per seat, per team and for the company, the last two picking every agent in them. On a phone, Select agents shows the boxes first. The bar replaces the status chips above the rows and stays in view as they scroll (on a phone at the foot of the screen), and offers Pause n, Resume n and Pause and stop n, the last in its More on a phone; a control of many seats sends one press per seat and reports once which seats were changed, and which were not and why.

Only an admin or a lead above a seat may pause, resume or steer it. For anybody else each control is drawn held, its reason in its tooltip, and so is a remedy the reader may not take.

Selecting a unit or a seat names it in the URL by its address (unit= with the unit’s key, seat= with the seat’s handle, never a name), and the toolbar carries that node’s actions: the same menu as its node and its row, so every action is reachable from the keyboard. Open seat is offered only for a seat the saved company has: a seat added in the draft has no screen until it is saved. A new address rewrites the URL rather than leaving a link pointing at something that no longer answers to it. The selection carries across tabs and alone never opens an editor: a link that asks for one says editor=open as well (see Arriving from a link). Selecting the company carries its Edit principles, Rename company and the same Add menu (see The company); it names no filter. Where the builder cannot write (a guarded or read-only posture, or a draft waiting to be updated) the actions stay in the menu, marked unavailable.

A click on empty space puts the selection down: on the chart’s field, in the space round the table, or on the page under either. The node’s card or row lets go of the accent, and the URL and the toolbar’s actions drop it. A click on a node, a row or a control is that thing’s own, nothing inside a menu or an editor counts, and dragging the chart to pan it keeps the selection.

The toolbar’s check status says what the engine made of the current draft. It is separate from the Table’s Agents with problems chip, which is about running agents, not the document:

StatusMeaning
Checkinga dry run of the draft is on its way
Configuration OKthe engine would accept the draft
N configuration problemsthe engine would refuse it; each problem is marked on the unit or seat it names, and whole-document problems are listed above the chart
Could not reach the engine to checkthe dry run got no answer; the builder retries with an increasing wait
The configuration changedanother revision was activated after this draft was started
Needs Admin accessthe session was accepted and does not carry admin; sign in as somebody who holds it
Needs confirmationthe write asks to confirm your password first and you declined; Check again asks again
Refusedthe engine refused the check for another reason, given in the banner under the toolbar
Needs sign-innobody is signed in, or the session ended

A change is checked about a third of a second after it is made, so a burst of changes (a held key, several undos) is checked once.

When the company has no model provider, a caution says so. The engine applies such a company and places its seats, but no agent seat takes a turn until a provider exists: work sent to a seat waits in its inbox and runs once one is added (A Company With No Model Provider). The builder does not write providers. The caution sends the reader to Settings › Models & Fleets, where a model is added, signed in and tested, and folds away the terminal steps that add one at the node’s host, starting from the company the store holds (Giving the company a model).

On a company another system manages it gives no steps and says the model is added there, by whoever reads it, a writer the document names included. The steps end in an offline crewlet config import, which a managed document refuses, and the managing system replaces any revision written around it at its next reconcile. The model is added at the company’s source like any other change: the repository a pipeline applies, or the resources an operator renders it from.

The caution waits while the panel a create leaves is on screen, which says the same and gives the same steps. Any write of the document adds the entry, PATCH /config included (Configure via the API); only a terminal signs its harness in, and crewlet llm reads the entry it signs in from a company file.

Add unit, Add agent seat and Add human seat on the company or a unit (the Add on its branch or row, its menu, or the toolbar) add the new node at the end of that unit, or at the top level of the company. On the org chart a dashed card marks the place: the chart makes room in that rank, draws the branch and eases onto it, and the form opens beside the card at its own size whatever the zoom. You can pan the chart behind the form, and the card names the node as you type. On the Table, in the Reporting view and on a phone, the same form opens as a dialog.

A name is prose, and two seats or units may share one. Every reference names a seat by its handle and a unit by its key, and the form asks for that address beside the name. It follows the name until you type one (handle: lowercase letters, digits and hyphens; unit key: starts with a letter, may hold underscores; at most 64 characters). It is never an address a seat or unit of the saved company or the draft holds, one this draft removes included, because a new seat under a removed seat’s handle would be that seat again, memory and mailbox included. A lead’s draft avoids the rest of the company’s addresses too, though it holds only their unit. The address is fixed once the draft is saved.

A human seat’s contact identity is optional: add it later in the seat’s editor; without one the person is reached through the dashboard only. An agent seat is added with a profile icon: the form suggests the first Crewlet character no agent in the draft wears yet and the next colour round the six, and you can pick another before adding.

A new human seat is vacant until somebody is put on it, which no save does: who holds a seat is the identity directory’s, not the company document’s. Once the save is applied, the seat’s card in Company › Org chart reads Open seat to everybody. An administrator invites somebody onto it or creates a person on it from there, its peek, its page or the Person section of its editor’s Profile tab (Putting a person in the seat). That section shows who holds the seat, by name, to everybody, with Invite, Add person and Cancel invitation for an administrator alone. Those gestures write the identity directory at once, about the seat the running company holds, so the draft’s Apply and Undo reach none of them. A seat added in the draft is filled only once saved, since the directory knows only seats a saved revision declares.

Choose Edit on a unit or a seat to open its editor at the side of the chart. The head shows the node’s mark (an agent’s profile icon, which opens its picker), its name as you type it, and under it the seat’s handle and kind (or the unit’s type). Where the node sits in the organization is on its Work or Leadership tab. Cancel and Apply stay in the head while the form scrolls.

Fields are split into tabs:

NodeTabs
Agent seatProfile (name, email, handle, kind, profile icon, goal, backstory, responsibilities, behavioral guidelines), Work (manages, owns, schedules), Model (providers, models per phase and token ceilings), Integrations (the seat’s code access first, where the company runs Gitlet, then one card per connected tool), Advanced (learning, workers, placement and the executor box’s numbers, then what the configuration document sets, and Delete)
Human seatProfile (name, email, handle and kind; the Person who holds the seat; and the role: goal, backstory, responsibilities), Contact (contact identities and availability), Work (manages, and Delete)
UnitProfile (name, key, type, purpose, goals), Leadership (Reports to, the unit’s lead, and channel), Work (owns, references, schedules), Advanced (tool credentials, and Delete)

The company’s name form is one field, with no tabs. A tab carries one marker, the most urgent: the number of problems in it, else a warning, else a dot for changes made there and not applied. A field that stops Apply marks its tab the same way, and pressing Enter in any field opens the tab holding the reason.

A field’s help line shows while it has focus. A value the builder shows and does not edit is a locked row: hover it, or read it with a screen reader, for the reason and where it is changed instead.

Edit reports opens a seat’s editor on Work at Manages, and a lead pill’s Choose another seat opens a unit’s on Leadership at Reports to. The editor holds your changes in its own form until you press Apply, which adds them to the draft as one step: one Undo takes the whole edit back. Closing an editor that holds changes (Cancel, Escape or a click outside) asks before discarding them, as does anything that would leave the builder: one of its links, the browser’s Back or Forward to another screen, or a reload. Keep editing leaves you where you were. Moving between Structure’s two tabs (Table and Org chart) keeps the editor open with your changes and asks nothing.

If the engine refused something about the node at the last check, the problem is shown beside the field it names; problems naming no field in the editor are listed at its top. A warning (a lead that names no seat, for example) does not stop a save, so it is listed at the top as a caution with its path, never as a field’s error.

The company’s mission, vision and standing policies are written on Company › Principles, in place, and nowhere else. So the company’s node carries no Edit: no pencil, and Enter or a double-click does nothing. Selecting the company offers Edit principles in the toolbar’s menu, which leaves the builder for that page, opened in edit for a reader who may write the principles; a reader who may not is offered Open principles, which opens it to read. Your draft is kept for when you come back (see A draft survives a reload); if the principles were saved meanwhile, your next save meets the newer revision and is updated onto it like any other. The builder never records or sends a change to the principles, so a save from here cannot put an older copy back.

The builder writes only the company’s name, through Rename company in the company’s menu (its card, its row, and the toolbar’s menu while it is selected):

You can changeNotes
NameAsks you to confirm. An agent seat’s id is derived from the company name and its handle, so every agent seat gets a new id: each seat’s diary and onboarding progress stay under the old id and are no longer read, and every agent seat onboards again. Handles, mailboxes and episodes are unchanged.

While you are creating the company it has no Principles page yet, so its menu offers Rename company alone, which opens the name form in the builder; write the principles once it is created, from the next steps the builder shows.

A problem the engine reports with the mission, the vision or a policy is listed with the whole-configuration problems, with Open Principles beside it.

Everything else in the company document (providers, integrations, workers, MCP servers, sandbox and scheduling settings) is edited in the configuration document, not the builder.

A company has no lead. The Reporting view’s roots are the seats no one manages, so the top seat is the one nothing else manages, not a field somebody sets.

You can changeNotes
NameProse; two units may share a name. Renaming re-onboards the agent seats in it and in its units, because onboarding pages are looked up under the new name.
KeyThe address every manages entry and seat placement names the unit by, and the unit’s identity: its schedules and work are filed under it. Editable on a unit this draft added; shown and not edited on a saved one, since another key is another unit (remove it and add a new one).
TypeA row of chips, one per type the engine knows (division, department, group, team, squad, pod, guild, chapter, unit), and Custom, which opens a box for any other name. Informational; a unit naming no type is a team, so Team shows as chosen.
Purpose, goals
Reports toThe unit’s lead: any seat. The empty choice, No one, shows the lead the unit inherits from the unit above it, as the last check reported it.
ChannelAn empty channel inherits the one above it.
ReferencesThe unit’s knowledge list: free-text references, not a read scope.
Owns: tracker project, knowledge spaceThe unit’s project and space: where unrouted work for the unit goes and where it files its own. Not a permission. Each names a container on whichever tracker and knowledge base the company runs, the engine’s own included, so each is shown unless the company runs none (tracker.backend: none, knowledge.backend: none). Changing either takes admin, because a lead’s authority is derived from them, and a space is where pages may be created at all.
Schedules: enabledEach schedule can be switched on or off.

Shown and not changed: each schedule’s cron, timezone, runner and task, and the unit’s tool credentials as server and variable names. Both are written in the configuration document.

You can changeNotes
NameProse; two seats may share a name. A renamed seat keeps its handle, memory and mailbox, but an agent seat onboards again: its onboarding progress is stamped with its own name and the names of the units above it.
HandleThe address every lead, manages entry and mention names the seat by, and the seat’s identity: its mailbox, schedules and everything it has learned (diary, episodes, skills, colleague profiles, executor sessions) are keyed on it. Editable on a seat this draft added; shown and not edited on a saved one, where Replace this seat… gives the role another handle (see Replacing a seat).
KindNever. A seat keeps the kind it was added with; see A seat keeps its kind.
Profile icon: character, colorAgent seats. One of the thirty Crewlet characters and one of six colours, written to the seat’s avatar; it is the seat’s badge on every screen and its node on both charts. A seat that never chose is drawn as the look the engine picks from its handle, and changing only one of the two writes only that one.
EmailThe address inbound Jira and GitHub payloads identify the seat by, written as typed.
Goal, backstory, responsibilities
Behavioral guidelinesAgent seats.
ManagesSeats and units. Seats this seat manages automatically as a unit’s lead are listed apart, because the engine adds them whatever the list says.
Contact identities, availabilityHuman seats. Contact identities are optional: a seat with none is reached through the dashboard only, and the configuration warns about it at the seat’s contact.
Providers, in orderAgent seats. An ordered chain of the company’s providers.llm keys, tried in the order shown; each chip moves earlier or later in place. A seat with none runs on the provider keyed default, else the first in the company’s order. A per-phase mapping is shown and edited in the configuration document.
Token ceilings: daily, weekly, monthlyAgent seats. One optional box per calendar window on the company’s clock: empty is no ceiling on that window, and 0 is refused rather than read as unlimited. A turn runs only while every capped window has room, and the company’s own token_budget applies on top. The check warns about a ceiling that can never refuse anything: a week at or above seven days of the daily one, a seat at or above the company.
Schedules: enabledAgent seats.
IntegrationsAgent seats; see below.
Owns: tracker project, knowledge spaceAgent seats. The seat’s own project and space, as for a unit: not a permission, shown unless the company runs no tracker or no knowledge base. Changing either takes admin.
Models per phase: reviewer, sub-agents, auxiliary, round-cap judge, wake triageAgent seats, on Model. llm_review, llm_subagent, llm_auxiliary, llm_judge and llm_triage, each a chain of the company’s providers in order; empty uses the seat’s model. A chain written as a per-phase mapping is shown and left to the configuration document.
LearningAgent seats, on Advanced. learning_enabled: the company’s default (unset), on or off. Off skips reflection after the seat’s turns; episodes are still written.
Workers it may delegate toAgent seats, on Advanced. workers, chosen from the delegate templates the company publishes; empty is every one.
Placement: pinned to node, node labelsAgent seats, on Advanced. placement.node and placement.labels, each label written key=value; a node must carry every label to run the seat.
Executor box: paused for, rounds per run, runs at onceAgent seats, on Advanced. sandbox.pause_ttl_seconds, sandbox.max_turns and sandbox.max_concurrent_runs, whole numbers; empty is the default. 0 is a setting for the first two (never pause, or no round cap); rounds per run takes at most 1,000, and the engine’s refusal past it shows on the field; runs at once takes 1 or more.

Shown and not changed, each depending on a company-level block the builder does not edit: the rest of the executor box (setup steps, variables, tool servers and its browser; where it runs is its model entry’s run_in), tool credentials (names only) and whether the seat is the Datadog fallback.

Delete seat is on the editor’s last tab (Advanced for an agent seat, Work for a human seat) and opens the same dialog as the chart’s Delete.

A seat has no skills to edit. A skill is a knowledge base page the engine admits and injects per phase, and the learning subsystem drafts new ones from what turns did, so skills are managed in the knowledge base. See Tool Skills.

A saved seat’s handle never changes, because another handle is another seat: new mailbox, new memory, new agent id. Replace this seat…, beside the handle in the editor, gives the role a new handle by doing exactly that, and says so before it records anything. The new seat takes the old one’s place and fields, and every unit lead, manages entry, Datadog fallback and GitLab access level that named the old handle moves to the new one.

A credential the old seat holds as a value rather than a ${NAME} reference does not come along: the engine fills a masked value back in by the seat’s handle, which the new seat does not share, and the builder never holds the value to copy it. The replacement names each one it leaves behind and the review lists them again. A reference carries over as written.

The old seat’s work, memory and history stay with its handle, and its mailbox is retired like any removed seat’s (Deleting a node). The replacement is one step: one undo puts the old seat back. It waits while the editor holds changes of its own; apply or discard them first. A seat this draft added has nothing to replace: edit its handle in place until the save.

An agent seat’s Code section, first on its Integrations tab, holds its code access (code.access): read only (the default), review or full access. It is Gitlet’s alone: it caps what the chart grants the seat there, so it is drawn only when the company sets code.backend: gitlet. GitHub never reads it. What a seat’s app may do is its own permissions (integrations.github.permissions), which GitHub’s Agents tab on the Integrations screen sets in GitHub’s own terms, and which says what a raise past the app’s registration waits for at GitHub (Access in GitHub’s own terms). A human seat has none: a person acts as their own identity on every code host. The GitHub card holds the seat’s repositories and its app, and names the Agents tab beside the app.

Each tool the company has connected is a card with the tool’s mark, name and state in the Integrations screen’s words and colour: Connected, Action needed (or Credential expiring), Connecting, Paused or Status unavailable. That state is the company’s, one word per tool everywhere. What is this seat’s own (its GitHub app, and whether it is installed yet) is a row inside the card, never a second status. Tools the company does not use are one line under the cards, linking to Integrations. No credential is ever shown.

  • GitHub: the repositories the seat works in (empty means every repository the installation covers). Naming repositories on a seat with no GitHub block enrols it in GitHub; create its app from Integrations, where turning the seat on in GitHub’s Agents tab prepares the app with the permissions chosen there.
  • Slack: whether the seat speaks as its own Slack app. A seat’s app has no channel of its own: the seat speaks in its unit’s channel.
  • Mattermost: the default channel name, for a seat with its own bot. The engine provisions a bot only where the seat’s bot_token is a whole ${NAME} reference, so for such a seat the bot username is read-only: changing it would make the provisioner find or create a second bot. A seat whose token is a literal is a bot somebody manages by hand, and its username stays editable. Empty means the provisioning username prefix and the seat’s handle, lowercased.
  • GitLab: the access level (developer or maintainer) the seat’s account joins with, when GitLab provisioning is set up. Levels are kept in the settings by handle, so a new handle carries its level with it.

Not in the builder: a seat’s own Slack channel, per-seat allow or block lists for GitLab, Atlassian, Datadog or Mattermost (the engine provisions every agent seat), a per-seat Datadog role, GitLab tiers beyond developer and maintainer, and flags granting access to everything (an empty repository list already does). Also no colour made from a name: an agent seat is drawn in the colour its profile icon names, or the one the engine picks from its handle, and a person’s seat and a unit in none.

Zoom is the chart’s own: zoom in, zoom out and fit are buttons on the chart and keys while it has focus (plus, minus and zero), the percentage between the buttons opens a field to type one into, and Ctrl or Command with the wheel zooms toward the pointer.

Move to moves a seat or a unit (with everything inside it) to the end of another unit, or to the top level of the company. A unit is never offered a destination inside itself. Before you confirm, the dialog shows what the move changes, read from the engine’s check of the draft as it stands; while that check is on its way, it says so rather than reading an older answer:

  • who a moved seat reports to before the move, and whether that ends with it: a unit’s lead manages the unit’s direct members, so a seat managed only that way stops reporting to the lead of the unit it leaves;
  • the lead of the destination, who manages its direct members unless another member manages the seat;
  • the lead and the channel a moved unit, and the units inside it that declare none, would inherit instead;
  • the agent seats that onboard again because the units above them change;
  • the tool credential servers a moved agent seat gains or loses from its home unit’s mcp_env (names only).

The next check confirms the result, and the review lists it before you save.

A unit’s lead is a seat’s handle, so a seat that leads a unit stays its lead wherever it moves. The dialog says so and offers Clear lead to remove it as part of the move. A seat placed in a unit by its unit: reference is written into the destination and the reference is removed.

The dialog also names any unit schedule the move would leave with no runner (a schedule for members needs a direct agent member; a schedule for the lead fails when the effective lead is a human seat), because the engine refuses the save until the schedule is disabled or has a runner. It says when a seat being moved is working: its current turn continues on the previous configuration until the engine applies the change.

Delete removes a seat, or a unit with every unit and seat inside it, from the draft. Undo brings it back until the draft is saved. The dialog lists what the removal clears inside the chart (a unit’s lead, a manages entry, a root seat’s unit reference), the unit schedules it would leave with no runner, and the seats working now.

Root seats declared at the top level with a unit: reference to the unit being deleted are drawn inside it, so the dialog asks whether to delete them too or keep them at the top level with the reference cleared.

A human seat that something holds cannot be removed while it does: a person on it at any stage short of removal (a suspended or retired person keeps their seat), a service account bound to it, or an open invitation naming it. The engine refuses the save with 409 seat_held, naming the one thing holding each such seat, and the builder places that refusal on the seat with the remedy for that holder, then keeps the draft:

What holds the seatThe builder says
A person“@pat is held by pat.doe: move them to another human seat (crewlet iam bind <person id> SEAT) or remove them (crewlet iam remove <person id>) first, then save again”
A service account“@pat is held by the service account ci:release: unbind it first (crewlet iam unbind <person id>), then save again”
An open invitation“@pat is held by the open invitation : cancel it first (crewlet iam cancel-invite <id>), then save again” (never the invitee’s address, since the editor may be a unit’s lead with no grant over the directory)

A person is never unbound: they hold a human seat for as long as they exist, so the engine refuses an unbind, and moving or removing them frees it. Each remedy is an administrator’s, and there is nothing to retry until it has landed; the seat’s page says what holds it. The same refusal meets a held seat replaced (Replacing a seat), and a document written outside the builder that makes a held human seat an agent’s.

A node that cannot read who holds the seats a change removes refuses it with 503 seat_holders_unavailable, and nothing is written. Where waiting clears it (the engine names a wait), the check asks again by itself and reads Could not reach the engine to check meanwhile. Where it does not (the node has been evicted, or its identity log is full), each seat the change removes shows the engine’s own sentence for what clears it, until the draft changes or the node can read them again.

Removing more than half of the saved company’s seats asks for an acknowledgement first.

Some of what a seat has is not in the chart, and the dialog says so before the seat goes:

  • The Datadog fallback. While Datadog is enabled, an alert whose tags name no seat wakes the fallback seat, and the engine refuses an enabled Datadog block whose route_to names no agent seat. Deleting the fallback seat therefore asks for the agent seat that takes over, and writes it with the removal. When the removal would leave no agent seat at all, the dialog says so instead: add an agent seat first, or disconnect Datadog. A switched-off Datadog block wakes nobody and needs no fallback, so its route_to asks nothing of a removal.
  • A GitLab access level. The per-handle override is removed with the seat, because a leftover entry would grant its level to the next seat added under the same handle.
  • Vendor identities and sealed credentials. The seat’s GitHub App, Slack app and Mattermost bot, the GitLab, Datadog and Atlassian accounts it is enrolled for (it holds a credential for that tool’s mcp_env server, or its unit does), and the secret store entries its config references, stay until you decommission them. They are listed by name, never value, with links to Company › Integrations and Settings › Secrets. A seat added in this draft was never saved, so nothing exists for it outside the chart. An Expo robot is never listed: the engine clears its token once its seat is off or gone, and Expo’s Agents tab asks you to delete the robot at Expo.
  • The mailbox, executor and memory. A removed agent seat’s mailbox, and the mail still addressed to it, is kept for 24 hours after the engine applies the change and then retired, together with its executor on any turn it still has out. Its memory (diary, episodes, counterparty profiles, onboarding markers) is kept, and a seat added later under the same handle reattaches to it. See Seat Ownership.

The builder does not change a seat from an agent to a person or back. The engine refuses a human seat every runtime field (models, sandbox, token budget, workers, learning, schedules, placement, chat app blocks, the project and space it owns, tool credentials, behavioral guidelines, its own GitHub App and its profile icon) and refuses an agent seat contact and availability, and an agent seat’s memory, mailbox and vendor accounts belong to the agent it was. The editor shows the kind as a locked row.

To change kind, delete the seat and add a new one of the kind you want; the delete dialog lists what the removal leaves behind. A draft never gives a new seat an address it removes, so the new seat takes another handle, or the same one in a later draft, where it reattaches to the memory the handle kept. A human seat somebody holds is deleted only once nothing holds it (Deleting a node).

Review and save opens once the draft has changes, and says what the save would do before it does it:

  • What changes: the units and seats added, removed, renamed, moved and edited, and the company’s new name when the save renames it.
  • What follows: the consequences the engine attaches, computed from the hierarchy it derives for the base and for the draft: a replaced seat (listed as the old seat removed and the new one added, since the new seat carries none of the old one’s memory or mail), seats that onboard again (and why), reporting lines and leads that move (including a reorder that only changes which manager comes first), channels, where unrouted work goes, the tool credentials a seat gains or loses (names only), credentials a replaced seat leaves behind, references a removal clears, the Datadog fallback seat and GitLab access levels.
  • Warnings the engine gave for exactly this save.

A company rename, a change of tool credentials (a credential a replacement leaves behind included) and removing more than half of the seats each need an acknowledgement before Save enables. While the engine reports problems the review opens so you can read it, with Save disabled until they are fixed. While a check is out, Save waits for it. If the engine could not be reached to check, saving is still allowed: the write itself is validated.

The audit summary is prefilled from the changes and recorded with the revision. The record adds a write id such as (write 4f1c9a0b2e7d4c81a3b5f6e7d8c9b0a1), which the review does not show. A save is the same request as its checks: a PATCH /config merge patch of what changed, with If-Match naming the revision the draft was started from, so a newer revision is refused (and offered as an update) rather than overwritten. A unit’s lead saves that unit whole instead, with PUT /config/units/{key} under the same If-Match (Editing as a unit lead).

A save whose answer is lost (a dropped connection, a gateway timeout) may still have been stored. The builder never assumes either way: it reads the revision history and treats the save as done when it finds a revision whose parent is the draft’s base and whose summary carries the write id. It walks back from the active revision, so it also finds a save somebody has built on since; it then says “Saved. Revision <id>, built on it, is active now.”, naming that later revision, which every node applies with your changes in it. If the save did not land, it says so and offers to save again. If the engine cannot be asked, editing pauses and the review offers Check again and Save again; a second save carries the same write id, so a first save that did land is recognized as yours rather than replayed on top of itself.

The same holds when you leave the builder, or the tab reloads, before the answer arrives. The kept draft is marked with the save’s write id before the save is sent, so the next time the builder opens in this tab it settles that save first. If it landed, the builder says “Your last save was stored and is being applied” (or, when a revision built on it is active by then, “Your last save was stored. Revision <id>, built on it, is active now.”) and does not offer the draft again, since replaying it onto its own revision would apply every change twice. If it did not, the draft comes back as any kept draft does. While the engine still cannot say, editing stays paused, with Check again. Coming back while that save is still on its way, the builder waits for its own answer before settling anything.

A save stores and activates a revision. It does not apply it: every node applies on its own reconcile tick (about every fifteen seconds, spread a little per node so a fleet does not apply at once), and a node can refuse a revision and go on serving the previous one, starting on that one again if it restarts. The configuration itself answers the saved revision at once, on every node: GET /config, the next check and Copy as YAML read it whether or not the serving node has applied it, so Structure draws the saved organization at once. What each seat is doing, and its controls, come from what this node runs, so a seat the save added reads No state yet until the revision is applied and the seat is placed, and joins no problem count. If it is still not placed half a minute after the save, it reads what the engine says of it: stopped, with no node.

The strip under the toolbar follows the revision:

It readsMeaning
Saved. The engine is applying it.stored and activated; no node has reported this epoch yet
Saved. Applied on N of M nodes.the fleet is converging: N nodes have applied it
Saved. Applied.every node has applied it: each reported this revision applied at this epoch, runs it, or has applied a later epoch
Node <id> refused this revision: <reason>.that node goes on running the revision it ran before. Open the fleet for the rest
This node refused this revision and goes on running the one before.a unit lead’s view, which reads no fleet: the node serving the dashboard attempted the revision and failed. Why is on Settings › Nodes, which is admin’s
Revision <id> has been activated since.another revision was activated before every node had applied yours, often one built on it, carrying your changes. Every node has either applied yours or gone straight to the later one without running yours (two activations inside one reconcile tick are never attempted one by one) and failed to apply it there. Also said of a save whose answer was lost, found afterwards, by when another revision had been activated. The strip stops following it; Settings › Nodes shows how the nodes take the newer one
Whether it has been applied can’t be followed from here. The org chart shows its changes once this node applies them.a unit lead’s save whose answer was lost. Without admin the strip reads no fleet, and the save carries no epoch to compare this node’s against until this node attempts the saved revision, when the strip follows it from there

Beside it: View changes, which opens what the save changed on the Configuration screen (the saved revision against the one the draft started from; after creating the company it is View the configuration, since a first revision has nothing to differ from), and Copy as YAML, which reads the active company as YAML (credentials redacted, as every configuration read is) so a company.yaml kept in a repository can be brought back in step. crewlet config import company.yaml writes it back. Both read the company document, so a lead without admin is offered neither.

Without admin, the strip follows a save by the node serving the dashboard alone: its health push says the epoch it applied and what its last attempt made of which revision, so a refusal there is said as one rather than as an apply that never ends. With admin, each node’s row in the fleet view is read by the same rule, since the row carries the epoch the node last applied beside the one it last attempted: a node that moved past the save’s epoch has applied the save once it has applied an epoch at or past it (even if it has refused a still later one since), or when it runs the saved revision, which only the row says. While the dashboard has lost its connection to the engine, the strip keeps what the node last said about the save rather than going back to saying it is being applied, and so does Structure opened during the outage after another page.

A node that restarts forgets the epoch it applied, on its push and on its row alike: a node with the data role boots on the revision it applied before, and reports no applied epoch until it applies one again. So such a node that restarted and then refused a later revision reads as having gone past your save rather than as having applied it. (A node without data boots on nothing and runs no company until it applies one, so for it that reading is simply true.) The one exception is the strip of somebody with admin, for a node that booted on your revision itself: its row says it runs it. A verdict the strip gave before the restart can then change from Applied. to Revision <id> has been activated since. Settings › Nodes shows the revision each node runs. Neither the push nor the row says which activation a restarted node booted on, so the dashboard cannot tell such a node from one that never ran your revision; carrying that across a restart belongs with #322, an activation’s identity across pointer lifetimes.

A save whose answer was lost (When the answer does not arrive) carries no epoch of its own. The strip takes the one in the fleet’s activation, and only while that activation names the saved revision (for a lead, the one in this node’s last attempt, only while it names the saved revision). While the node cannot read the activation from the coordination store, it goes on saying the engine is applying it and keeps asking, rather than counting every node as past an epoch it does not know. Once either names it, the tab keeps that epoch for the save, so a revision activated afterwards does not turn an applied or refused save back into one that cannot be followed.

A company.yaml in a repository and the builder are two writers of one document; the start flag decides which wins a restart (Configuration):

  • crewlet run -company company.yaml only creates a company where none exists (the node boots on one, has seen the fleet run one, or the fleet runs one). Otherwise the file is ignored, so a restart never undoes a builder save.
  • crewlet run -import-company company.yaml makes the file the company at every start, replacing what the builder saved since the file last changed.

So after a save, Copy as YAML and commit it; the next import then writes back what the builder wrote. Keep every seat’s handle and every unit’s id in it: a file without them is minted afresh from its names on every import, so a corrected name would replace that seat or unit. Credentials in the copy read as __redacted__ (a whole ${NAME} reference is shown as is). Importing the file over the running company restores each masked value by the identity of what holds it (a seat by its handle, a unit by its key):

  • crewlet config import through a running node restores from the fleet’s revision.
  • Offline, and a node starting on the file with either flag, restore from the company the node’s own store knows: the fleet’s revision as it last saw it, or an offline change made on it since.
  • A store that knows no company, or a member new or renamed in the file, has nothing to restore from; the import is refused naming the field. So keep ${NAME} references, not values, in a repository file.

The builder keeps the draft’s list of changes (never the document, which holds contact identities and policies) in the tab’s session storage, so a reload or another screen does not lose the work. The storage belongs to the tab: it is emptied when you sign out or when somebody else signs in after your session ended, and a kept draft is only offered to the person it was kept for. On opening with a kept draft:

  • Made against the revision that is still active: a banner offers Keep the draft or Discard it; nothing can be edited until you choose. Leaving Structure and returning (a seat’s page and its crumb back, say) restores it without asking.
  • Made against an older revision: restored through the update described below; Discard the kept draft removes it instead.
  • Made for creating a company, where a company now exists (or the other way around): discarded, and the builder says so.
  • Made of a unit you no longer lead (a lead’s draft): discarded, and the builder says so. While you still lead it, the builder opens that unit, whichever unit a link names, so a reload never loses a draft of your second unit.

The kept draft is removed on save, on discard, when the reader changes, and when the engine refuses the credential, since each may mean the tab changed hands. While the draft holds changes the browser asks before the tab closes, and on a reload too (it cannot tell them apart); the draft survives the reload.

A browser that refuses session storage (a private window, blocked site data) shows a caution: editing works, but the draft will not survive a reload or leaving the builder, which asks before discarding it. A draft of more than 500 changes is not kept either; save it in steps.

Every check is conditional on the revision the draft started from, so a revision saved by somebody else (another operator, crewlet config import, a setup flow in Company › Integrations) is found at the next check, not at the save. The status reads “The configuration changed”, editing pauses, and a banner offers Show what changed (the newer revision against the draft’s base, to a reader who may read the company document) and Update my draft. A builder with no changes moves onto the newer revision by itself. An open editor keeps what you typed and the selection stays, so an unapplied edit applies to the newer revision.

Updating replays each change onto the revision the engine holds now, with one of three outcomes:

  • Still applies: replayed as made.
  • Dropped: what it changed no longer exists (the seat was removed, the unit it moved into is gone), with the reason.
  • Changed by somebody else as well: a value it recorded changed in the newer revision. The dialog shows the value when you started, the value saved now and yours; you choose Keep mine or Keep theirs for each. A change is never replayed over somebody else’s value without that choice. For a whole seat or unit (a removal) the dialog names the fields somebody changed, and a position reads as where the node sits; a credential is never shown, only that a literal value is set.

“The same seat” means what it means to the engine: a seat is its handle and a unit is its key, since its memory, mailbox, schedules and credentials attach to those. A seat removed and recreated with a different handle is a different seat, so a change to the original is dropped. Recreated under the same handle (or a unit under the same key), it is the same one, so a change to it is held to its recorded values: a field somebody set differently is a conflict for you to decide.

Every node answers GET /config with the fleet’s revision, so the update reads the newer revision wherever the request lands, even on a node that has not applied it yet. If the revision read is still the draft’s own, or cannot be traced back to the newer revision through its parents, the update waits: “Still catching up. Try again shortly.” If the configuration the draft edits is no longer active at all, the banner offers Discard and reload.

The lead of a unit edits that unit and everything inside it without admin: its fields, its seats, the units inside it and theirs, seats added, moved between its teams, reordered or removed. A lead is the seat a unit names as lead, or inherits from the unit above when it names none, so leading a unit means leading every unit inside it, a sub-unit with its own lead included. A person leads through the human seat they hold (every person holds one) and needs no permission for it; an administrator edits the whole company, units they lead included.

Opening Structure, a lead is shown the unit they lead rather than the company, its counts, chips and legend scoped to it, and the toolbar says Editing unit as its lead. Somebody who leads several units not inside one another edits one per draft; that label is a menu of the others, and another unit opens only while the draft has no changes. A link naming a seat or a unit opens the unit holding it.

The draft is that unit, whole, read with GET /config/units/{key} and checked and saved with PUT /config/units/{key} under If-Match, so the rest of the company is never sent and a newer revision refuses the save as it refuses a whole-company one. An unchanged unit is checked too, so its managers and inherited leads are drawn before anything is edited; the engine refuses a lead only the save of a unit as it was, which would re-publish the company. The engine judges every write part by part and refuses what reaches outside the units the caller leads, naming each part; the builder marks each on the seat or unit it is about:

  • the company’s name, its settings and its top level, and the unit’s own lead and place (a move or a deletion), which decide who leads it. The builder draws these controls disabled with the reason; the Reports to of a unit inside it stays the lead’s to change;
  • a lead or a manages entry naming a seat outside the units the caller leads;
  • a value another system finds a seat or a unit by (a project, a knowledge space, a channel, an email address, a contact identity) on any seat or unit, one the draft adds included, and every credential, a ${VAR} anywhere and a tool server’s mcp_env block included. These take admin. The builder draws the first kind disabled with the reason, asks for no contact identity when a lead adds a human seat, and refuses to replace a seat that holds one.

A lead reads no revision history, which takes admin. A save whose answer is lost is settled by reading the unit back: still on the base revision, it did not land; at a newer one holding exactly the unit as sent, it did; anything else is a newer company, which the draft is updated onto as in When somebody else saves first, finding the save’s changes already there. Show what changed, View changes and Copy as YAML read the company document and are not offered.

The rule also reaches a lead outside the builder, for seats in the units they lead: a seat’s profile shows its settings, read through GET /config/roles/{handle} and its unit’s own fields, and its token ceilings are changed in Company › Budgets and with Raise budget where a decision about a stopped seat offers it, through PUT /config/roles/{handle}. The company’s own ceilings stay admin’s.

Every change is an operation in the draft’s log. Undo and Redo in the toolbar, or Ctrl+Z and Shift+Ctrl+Z (Command on a Mac), walk the log from anywhere in the builder except a text field, where the same keys undo typing. Each change is announced to screen readers (an undo or redo says so), and focus moves to the unit or seat it touched: an added node, the node before a deleted one (or its unit), a moved node where it went. Discard changes throws the draft away after a confirmation; the saved configuration is untouched. The chart and table keys are under Reading the organization.

At narrow widths Undo, Redo, Discard changes, Expand all and Collapse all move into the More menu, and so does Review and save while there is nothing to save, keeping the toolbar to one row; the check status stays visible, and a change brings Review and save back beside Add.

Fullscreen, where the browser offers it, takes the whole builder (toolbar, chart, editor and dialogs), not the chart alone.

Part of Crewlet. Generated from crewlet/crewlet main at 3f5565e.