Four asks in one pass over the desktop head, and two of them are furniture moving rather than anything new. THE STRIP IS THE WINDOW'S NOW, not the terminal's. Vaults, SFTP and S3 sit at its head and cannot be closed, and open terminals follow them. SFTP and S3 left the nav rail to get there, which is the one semantic change: they are the two destinations you stay in while something runs, and a rail entry is for somewhere you go and come back from. So the rail belongs to the Vaults tab and collapses with it, which also means SFTP, S3 and a terminal each get the full 1016 rather than the 826 a page gets. The tab is expressed as "a page, and not one of the two the strip took" rather than as a fourth ShellSurface. Both are still ShellScreen members and have to be — that is what they are on the phone, where they are two rows in a hub — so a surface each would have been a second way to say a thing Screen already says. IsTransfersShowing and IsBucketsShowing light the other two tabs unchanged. What is new is one field: the page Vaults comes back to, because it is the one tab with sub-navigation and therefore the one that can return to the wrong place. That is not the hidden field ShellSurface argues against — that one would be a second copy of "which page"; this is a tab remembering its own. THE HOSTS SCREEN IS A GRID, and the 268-pixel sidebar is gone. That column was choosing among forty machines and editing one of them at two-thirds width, and it was narrow so the editor beneath it could be a column at all. Cards took the first job at full width; a 304-pixel drawer took the second and collapses when nothing is selected. Pressing a group card narrows the grid; SHOW ALL is the way back. The group editor moved into the drawer as well, which finally makes IsEditingGroup mean the same thing on both heads — it was the phone's alone, because the desktop's editor was a bar that was always on screen. AreHostsExpanded and ToggleHosts went with the control that used them. They folded the whole list away under one heading, an affordance that existed because the column was narrow. Folding a single group is a different thing and is still here. THE TYPE SCALE IS A POINT LARGER and the text ramp is white. The base size was never stated anywhere — a bare TextBlock took TextElement's default of 12 — so raising the scale meant naming it, on Window and on UserControl. The second selector is not redundancy: the layout harness hosts a UserControl in a window it builds itself, and without it the suite would measure every screen a point smaller than it ships, silently. A selector on TextBlock would have been the obvious way and is wrong, because a style setter beats an inherited value and would collapse every deliberate step back to one number. #E3E7F4 is a blue-tinted white on blue-black surfaces, which costs contrast twice — once for being darker than white and once for sharing a hue with what it is drawn on. Pure white is 18.3:1 against the canvas where that was 15.5:1. Every step below moved with the top, so the intervals the design chose are kept and TextDim clears 9:1 against 6.4:1. The palette is shared, so the phone has both changes too. TWO DEFECTS THE HARNESS STRUCTURALLY CANNOT SEE, found by rendering the screen rather than by measuring it, and both now covered. The tile was 232 and was first written as 248, from arithmetic that left out the scrolling stack's own margins. Every layout test passed — the harness asks whether a control is inside the window, never how many fit on a line — so the grid quietly became one column wide at exactly the minimum this application guarantees, which is the shape cards exist to avoid. TheHostsGridKeepsTwoColumnsAtTheMinimumWithTheDrawerOpen counts columns instead, and fails at 248. And a card's text ran past its own border, because a horizontal StackPanel measures children with infinite width: a TextBlock inside one never learns it is short of room, so TextTrimming never fires. Both card rows are grids with a star column that gives way and an Auto column that does not — a hostname with its tail cut is still the machine you were looking for, where a badge or the word naming an auth method is not. The keychain header changed shape for the same class of reason. It was Auto,Auto,*,Auto with the buttons last, so the slack column was the only thing absorbing a change of width and five buttons fell off the right edge the moment the type grew. That is how GENERATE lost the word KEY once already. The summary sits in the star column and trims now, so the buttons always get their width. HostSidebarTests became HostGridTests and moved to the grid with the gestures it drives. docs/design-import-gaps.md gains a v3 section naming the five toolbar controls in the design with nothing behind them — a view-mode switch, a tag filter, a calendar, a share control and Serial — and manual-checks.md and the README follow the controls that moved.
45 KiB
What the design asked for and this build has not got
The Avalonia client's interface was rebuilt from a Claude Design project — a five-screen spec covering the chrome, hosts and terminals, file transfer, the vault, teams, and preferences.
The second import — v2, phone
A later design in the same project, DodoSSH Android v2, is what the phone head now draws: eight screens, a bottom bar of four with the rest behind MORE, and a new palette. It has been imported, and this section is the same accounting for it. The desktop's own v2 has not been imported — only its palette, because the palette is shared and the two heads may not disagree about a colour.
The palette went from green to blue, and one colour changed meaning rather than value. Green used to be the accent, so
Ellipse.dot.livefilled withAccentand "the thing to press" and "a shell is open here" were the same colour by construction. v2 makes the accent#5B8CFFand keeps a green,#3DDC97, for status alone. That is nowLive, and nothing merely interactive may use it. The accent is also two colours —Accentfills,AccentTextwrites — which is what stops a row of chips reading as a row of primary actions.Five destinations moved under MORE and four of them were built: snippets, SFTP, S3 and logs, each over a view model that already existed, plus preferences.
ShellScreengainedMoreandBuckets; SFTP and S3 are one screen over oneTransfersViewModel, differing only in which picker they offer.
v2 element What ships instead The FORWARDING screen: local/remote/dynamic rules, toggles, bytes transferred Nothing, said out loud. ISshConnectionoffersOpenShellAsyncand nothing else, so there is no tunnel for a rule to run through;SyncEntityType.PortForward = 9is still reserved and still unused. The MORE screen carries a paragraph naming the absence, for the reason the desktop keeps TEAMS in its rail.23 ms · fwd 5432on the terminal's connection lineThe account and endpoint actually dialled. There is no RTT measurement in SSH.NET and nothing forwards anything. ED25519badge andSHA256:kQ9f…Zw2Mon every keychain cardDetail, which is what is genuinely known about an item. Unchanged from the first import: no algorithm field, no fingerprint, and computing either means parsing armour the type stores verbatim.An agentchip on a keyOmitted. There is no agent of any kind — see the first import's Vault section. Snippet cards footed with edge-eu-1 · today 10:58 · exit 0The command and its badge. Nothing records where a snippet ran, when, or what it returned; the shell it is typed into never reports back. Logs: a blinking FOLLOW pill over a live tailA REFRESH button. These are the keychain's own synced audit records, written once at close and read when the screen opens — there is nothing to tail. Logs: ALL 8 / INFO 5 / WARN 2 / ERROR 1and per-host chipsThe real two-way choice: connections, or keychain activity. A connection record is not a syslog line and carries no level, and neither log filters by host. SFTP: the LOCAL / REMOTEtoggleOne remote pane. Scoped storage means there is no browsable local filesystem, which docs/android-port.mddecided before any of this was built.SFTP: the transfer card, and moving files at all ◆ Browsing, opening and deleting only, and the screen says so. Both transfer commands exist and both work — against the local pane. QueueDownloadswrites toPath.Combine(LocalPath, name), andLocalPathstarts atSpecialFolder.UserProfile, which on Android is the application's own private directory: a download would report success and leave the file somewhere the person who asked for it cannot open. That is worse than not offering it, because a refusal is visible and a file in/data/user/0/…is not. The queue is not drawn either, since nothing on this head can put anything in it. Both return with the document picker.S3: 96 objects · 412 GBandlifecycle: IA after 7dOmitted. Neither a bucket total nor a lifecycle policy is fetched; the listing is what IRemoteFileStorereturns.A +floating button on HOSTSShipped in v3. It was omitted twice, on the grounds that it would open a host editor this head had not got — and that was true until one existed. It raises a sheet rather than a form, because "add" on this screen is two operations: a host, or a group to file hosts under. A 14px rounded inset around the terminal Not drawn. The renderer is a native child view composited above everything Avalonia draws, so a rounded frame behind it clips nothing. What the design was after comes from the page's own background, which is the design's #171A26.Instrument Sans / Fira Code Inter and the system monospace stack, as before and for the same reason — see the note on MonoFontinPalette.axaml.A theme toggle ( ☀) in the header, and the desktop v2's light themeOmitted. There is one theme by decision, and a switch with one position is a control that does nothing. The desktop's v2
DodoSSH v2 — the desktop design in the same project — has since been imported too, dark only. Its light theme is not built: the light accent is
#6D5AE6, a different hue rather than a tint, so it needs every colour doubled, a theme variant to switch on, the renderer's page switching with it, and contrast checked twice. That is a piece of work, not a setting, and it is separable from the layout.The window's minimum grew, and by exactly what v2 added. The 54-pixel icon rail became a 190-pixel labelled sidebar and the chrome went from 72 tall to 86, so
880x560became1016x574— leaving every screen the same826x464it was designed against. Four of the tables stop fitting at 690 wide, so widening the sidebar without widening the window would have broken them where the layout suite was not looking.Buckets became a destination rather than a toggle inside the files screen, matching the phone: the
HOST/BUCKETpair is gone andShellScreen.Bucketsdraws the sameTransfersScreenwith the other picker. That also settled an old disagreement —TotalItemCountexcluded buckets and disagreed with the list under it. It counts every kind now, tags included.
v2 element What ships instead The FORWARDING screen, the ⇄ N forwardschip on the session strip, and the host detail's FORWARDING cardNothing, as on the phone and for the same reason. Three surfaces for a feature the SSH layer does not have. The host detail's 2×2 card grid — IDENTITY fingerprint, TAGS, LAST SESSION Not drawn as a grid. There is no fingerprint on a stored key and no last-used timestamp at any layer, so two of the three cards have nothing behind them. Tags are real and are drawn — as chips on the row and a picker in the editor, which is where they are used rather than in a card beside two empty ones. The keychain detail's public-key block, USED BY hosts, and Rotate The detail pane as it stands. Copy public key is real and already there; rotation is not a thing this client can do. Logs: FOLLOW, the severity chips, and tailing via ssh · journald + filesThe two logs it really has. Same as the phone — these are synced audit records, not a tail, and the footer sentence describes a feature rather than the screen. Snippets: RUNS ON host tags and a last-run line The command and the two buttons that name the terminal they type into. The session footer: latency, forwards, utf-8 · xterm-256colorOmitted. The first two have no source; the third is a constant, and a constant printed as though it were a reading is decoration. The terminal as an inset rounded panel Not drawn, for the reason the phone does not draw it: it is a native child window that composites above everything Avalonia paints, so a rounded frame behind it clips nothing. Split ⌘D Still omitted — the renderer stacks panes and shows one; tiling needs a pane geometry it has not got. macOS traffic lights, and ⌘KThe window's own minimise/maximise/close, and CTRL K. Development is Windows-first and the chrome isBorderOnlyfor a documented reason.No status bar Kept, and cut down to the one thing the titlebar does not now carry: Vault.Status, which is the only channel this application has for saying a save failed or a merge picked a winner. The design is a mock-up of a working afternoon and has nowhere to put a sentence like that.The sidebar's five destinations, and a Team vault card at its foot Seven destinations, because Pins, Teams and Preferences are built screens and dropping their entry would strand them — and two fewer than v2 shipped with, because SFTP and S3 became tabs; see v3 below. The card is not drawn: it is a second route to a screen already in the list, carrying a seat count nothing here produces. The desktop's v3
A third pass, and the smallest of the three: it moves furniture rather than adding screens. Nothing in it needed a layer below
client-app, which is why it has no table of its own — there was nothing to omit.The tab strip became the window's, not the terminal's. Three fixed tabs sit at its head — Vaults, SFTP, S3 — and terminal tabs follow them. SFTP and S3 left the nav rail to get there, which is the one semantic change: they are the two destinations you stay in while something runs, and a rail entry is for somewhere you go and come back from. The rail is drawn under Vaults alone, so SFTP, S3 and a terminal each get the full window width instead of
826. SeeMainWindowViewModel.IsVaultsTabfor why the tab is a page test rather than a fourthShellSurface.The hosts screen became a grid of cards — groups above, hosts below — and the 268-pixel host sidebar went with it. That column was choosing among forty machines and editing one of them at two-thirds width; the grid took the first job at full width and a 304-pixel right-hand drawer took the second. The drawer collapses when nothing is selected, which is most of the time. Pressing a group card narrows the grid to that group;
SHOW ALLis the way back.The type scale went up a point and the text ramp went white.
#E3E7F4was a blue-tinted white on blue-black surfaces, which costs contrast twice — once for being darker than white and once for sharing a hue with what it is drawn on. Every step of the ramp moved with the top, so the intervals the design chose are kept. Both are in the shared palette, so the phone has them too.
v3 element What ships instead The hosts toolbar's view-mode switch (grid / list / table) One view. A switch between three layouts where only one is built is two disabled buttons. The hosts toolbar's tag filter, calendar and share control Omitted. There are no saved filters, nothing in a vault carries a date, and sharing outside a team vault does not exist. Tags are real and are searched by being read off the cards. Serial beside Terminal in the toolbar Omitted. Every session here is an SSH channel; a serial transport is not a button, it is a second session kind. The strip's tabs inside the titlebar row, with a hamburger A row of its own under the titlebar. The titlebar already carries the drag region, the search box, the sync light and three window controls, and the strip scrolls — putting both on one 44-pixel row would make the thing that scrolls fight the thing that drags. A count on the S3 tab Omitted. The rail entry it replaces carried one; a number on two of five tabs reads as a fact about those two rather than as the tab's own state, and a terminal tab has nothing to count. The count is on the S3 screen.
Most of it landed. This file is the rest: every element of that design with nothing behind it, which project each piece would have to land in, and what the shipped interface does instead. That last column is the important one. This codebase states its limits rather than implying them — the README does it for revocation, for relay session recording and for what locking does not do — so nothing here was rendered with invented data to make a screenshot look finished. Where a feature does not exist, the interface either omits it or says so.
Read alongside the milestone plan. Most of what follows is not a defect; it is M2 and M3 arriving in a design before it arrives in the code.
The shape of the problem
Three facts explain nearly every row below.
An SSH connection here opens exactly one channel. ISshConnection offers OpenShellAsync and nothing
else (src/DodoSSH.Client.Ssh/SshConnection.cs). No port forwarding, no ProxyJump. That one fact removes
the FORWARDS chip, the status bar's port list, and every via bastion-eu in the design.
It used to remove the file-transfer screen too. M2 did not lift the restriction — it worked around it:
file transfer is a separate connection rather than a second channel, because SSH.NET's SftpClient owns
its own transport. See File transfer, which is the one place in
this document where what shipped differs from what the row predicted.
Teams are schema and nothing else. Built in M3. The team and team_membership tables were there
from the first migration with nothing reading them, and VaultAccessService.ResolveAsync denied every vault
that was not the caller's own. Both changed in M3 and neither needed a migration, which is what carrying two
unused tables bought. See Teams. What has not changed is the split underneath: the server
decides what it will serve, and only a client can decide who can read it — so "shared with" is two facts on
this screen, not one.
The client has no preferences store. It writes exactly two files — cache.db and device.key — and the
cache has six tables, none of them settings. Nothing on the design's TERMINAL preferences panel can be
saved, and there is no frame on the terminal data plane that would carry a change to the renderer anyway.
Three things the design did not ask for and this build now has. A key can be generated in the client
rather than pasted in (SshKeyGenerator, and the openssh-key-v1 container is written by hand — see
OpenSshKeyWriter for why there was no alternative and why it is written unencrypted). Hosts can be
imported from ~/.ssh/config (DodoSSH.Client.Import; it reads no key material, and ProxyJump is
recorded as intent because the SSH layer still has no jump hosts). And the file-transfer screen takes drag
and drop in four directions — remote to Explorer is the one that does not ship, because it needs a virtual
file the platform layer cannot supply; see docs/manual-checks.md.
The rail has six destinations, not five. The design gives host keys no slot at all. They were a fourth
category on the keychain screen for a while and are now a screen of their own, KnownHostsScreen, because
the other categories are things somebody creates and edits and a pin is a decision recorded at the moment
of connecting — and because comparing an untruncated fingerprint against a published one needs a column
layout the shared table could not give it.
The product surface says "keychain" and everything under it says "vault", deliberately. The nav rail,
the unlock and enrollment copy, and every sentence a user reads now call the encrypted store a keychain.
The wire does not: the route is /api/v1/vaults/{vaultId}, the tables are vault and vault_key_grant,
the CLR types are VaultViewModel and VaultSession, and docs/crypto.md — which is normative — says
"vault key". Renaming those would break every deployed client, need a table-rename migration, and put
CryptoSpec.AadResourceType.Vault = 3 inside the blast radius of a find-and-replace, where changing it
would make every item in every vault permanently unreadable. So the split is the answer rather than a
stage on the way to one: read "vault" in this repository as the name of the cryptographic object, and
"keychain" as what the product calls it.
One thing cuts the other way and is worth knowing before planning any of this: the wire protocol already
reserves the slots. SyncEntityType (src/DodoSSH.Contracts/SyncEntityType.cs) has HostGroup = 4,
Tag = 5, HostTag = 6, HostCredential = 7, Snippet = 8 and PortForward = 9 — reserved, unused, and
already covered by the AAD resource-type table. Groups, tags and snippets are new item types on an existing
protocol rather than a protocol change.
Two of those slots are now taken. HostGroup and Snippet shipped as full item kinds — a table, an EF
configuration, a server kind that refuses every plaintext field, a codec, a merge, a cipher and a repository
— and neither needed a contract change, which is what the reservation bought. Tag = 5 has since shipped the
same way, for the same cost, and is the clearest case the reservation ever paid for: a whole item kind, a
table, a migration and an AAD arm, with PublicAPI.Unshipped.txt untouched.
HostTag, HostCredential and PortForward are still reserved and still unused — and HostTag is now
reserved against a decision rather than pending one. Which hosts wear a tag is a set of ids inside each
host's payload, not a join: the one thing a join buys over that is two machines tagging the same host
without either losing, and the client's per-key three-way merge already gives it. A second item type would
be a second table and a second pass through every rule in this file, for nothing.
A third was added for something the design never mentioned: ObjectStore = 13, an S3-compatible bucket
and the keys that reach it. It is a keychain item like any other — the endpoint and the secret access key are
both inside the payload, and the server refuses every plaintext field including the endpoint, because for
everybody self-hosting that is an address on their own network.
What made it cheap is that the transfer queue never needed anything SSH-specific: IRemoteFileStore was
lifted out of ISftpSession with only the host key left behind, and a bucket is the same contract with a
different implementation. Three things a bucket genuinely cannot do are refused with a reason rather than
approximated — there are no directories (only keys with slashes in them, and a marker object for an empty
one), no resumable upload (an object cannot be written from the middle), and no atomic rename (a copy and a
delete). Downloads do resume, because a ranged GET is part of the protocol.
Two members were added rather than claimed: ConnectionLogEntry = 11 and ActivityLogEntry = 12, the
first additions to SyncEntityType since it was frozen. Logs are synced items rather than local files
because they are audit records — an administrator has to be able to read a shared vault's history once teams
land, and a log kept only on the machine that produced it can be neither read nor trusted by anybody else.
ADR 0001 records what that costs in metadata; it is not free and it is not hidden.
Three properties are worth knowing before touching them. An entry is written once, at close and never updated, which is what lets a synced log avoid a merge entirely. Neither kind is audited, which is the guard that stops the activity log producing an entry for every entry it writes. And both are excluded from the pending-change count and from what a background sync announces — those numbers answer "how much of my work is not yet safe", and a log entry is not somebody's work.
One plaintext field was taken away rather than used. SyncPlaintextFields.GroupId has existed since the
contract was frozen and host.group_id since the first migration; no client ever wrote either. Group
membership is inside the encrypted payload instead, the column is dropped, and the server now refuses the
field with a reason — because what it would have handed the operator is a clustering of every user's estate,
and ADR 0004's test for a plaintext concession is that the server cannot function without it. The wire
field cannot be removed and stays as a permanently refused member; SyncEndpointTests holds the refusal.
Chrome — titlebar, nav rail, status bar
| Design element | Layer | What it would take | What ships instead |
|---|---|---|---|
Org chip dodotech / platform |
contracts + server | An organisation above teams, which does not exist — VaultSummary.TeamId is no longer always null since M3, but a team is not an org and there is exactly one tenant per deployment. |
The vault's own name, and the account this machine is enrolled as. Team names are on the TEAMS screen, where they are about something. |
SYNCED dot, always green |
client-app | Nothing — the design's claim is simply unconditional. | Green only when a connection is held, the last sync pass actually reached the server, and the outbox is empty; otherwise UNREACHABLE, the count of changes still waiting, or OFFLINE. Holding an IVaultServer proves a sign-in once succeeded and nothing more, so a laptop whose lid has been shut all afternoon still has one — reachability comes from the outcome of the last pass. A permanently green light is the same as no light. |
VAULT SYNCED 11:02 |
client-session | StoredSyncState.LastPulledAt/LastPushedAt are persisted, but VaultSession exposes the store as internal. A property away. |
Omitted. The one honest sync fact — the outbox depth — is in the titlebar and the status bar. |
⌘K command palette running commands |
client-domain | A snippet or saved-command item type (SyncEntityType.Snippet = 8 is reserved). |
Ctrl+K opens a real host search that connects on Enter. The box says "search hosts", not "search hosts · run command". |
Status bar · via bastion-eu |
client-ssh | Jump-host execution. See below. | Omitted. |
| Status bar port forwards | client-ssh | Port forwarding. See below. | Omitted. |
Status bar sftp · 2 transfers |
client-app | Nothing now — file transfer is built. What is missing is the count reaching the status bar, which is a screen away from where the queue lives. | Omitted from the status bar. The queue itself is on the FILES screen, with a row per transfer. |
Status bar locks in 09:41 |
client-app | An idle auto-lock. See preferences below. | Omitted. |
| IBM Plex Mono / IBM Plex Sans | ui | Shipping the font files as AvaloniaResource and registering them. The design loads them from Google Fonts, which a desktop app cannot. |
Inter (already embedded) for prose, and the system monospace stack the terminal already names. Named once in App.axaml as MonoFont, so the substitution is reversible in one place. |
⌘K, ⌥↵ |
ui | Nothing; the design is Mac-flavoured. | CTRL K. Development is Windows-only today (docs/platform-flags.md). |
Also worth knowing: custom chrome went in as SystemDecorations="BorderOnly", not by extending the
client area. ExtendClientAreaChromeHints was removed in Avalonia 12, so extending leaves the system
caption buttons and window title drawn on top of the application's own — two sets of window controls, and
"DodoSSH" printed twice. Measured, not assumed.
Hosts + terminal
| Design element | Layer | What it would take | What ships instead |
|---|---|---|---|
Tag chips (nginx, eu, pg16) |
client-domain | A tag item type, and a way to put one on a host. | Shipped. Tag = 5 is a live item kind and HostSecret.TagIds names them, merged per tag so two people tagging one host both keep theirs — which is what HostTag = 6 was going to buy, so it stays reserved and unused. Chips are drawn on host rows on both heads and toggled in the host editor, which also creates one inline; renaming and deleting are a TAGS category on the keychain screen. The filter box still searches name, address and notes only — a chip is read rather than typed. |
Groups PRODUCTION / STAGING / PERSONAL |
client-domain | A host-group item type (HostGroup = 4, reserved) or a group field on HostSecret. |
Shipped, as both: VaultHostGroup is a synced item kind and HostSecret.GroupId names one. Nested in the data and drawn flat — a group carries a ParentId and the defaults its hosts inherit, and the sidebar still emits one heading per group in label order with no indentation. A keychain with no groups renders exactly as it did before — one flat list, no headings. |
Group badge TEAM·PLATFORM |
server | Built in M3. | The vault's name on each row, and the personal vault ordered first. Not the team's name: two of a team's vaults would then carry the same badge and the badge would be naming the wrong thing. Distinct from the groups above, and deliberately so — a group is a shelf the user chose, a vault is who can read the item. |
| Groups on a team's hosts | client-domain | A vault id on each group row for rename and delete, and a way to tell two vaults' identically-named groups apart in a list with one heading per group. | Half shipped, and the half that shipped had to. Every readable vault's groups are now read into the resolution map, because a group lends a port, a username and a binding — so a host whose group went unread would silently dial 22 as nobody while the machine is on 2222 as deploy. A missing heading is cosmetic; a missing port is a connection to the wrong place. The editable list is still the active vault's alone, so a host a teammate filed still shows under UNGROUPED and cannot be renamed or unfiled from here. |
| Per-host status dot, three colours | client-ssh | The amber state would mean "reachable but not connected", and nothing here ever probes a host. | Two states, both real: green when a terminal is open on that host, grey when not. |
· ⤷ bastion-eu in the host subtitle |
client-ssh | Jump hosts are data-only. HostSecret.JumpHostIds is a JumpChain that is stored, encrypted, synced and three-way merged — and nothing reads it at connect time. SshConnectionRequest carries one host. |
Omitted. The stored chain is preserved untouched by every edit. |
SPLIT ⌘D and side-by-side panes |
client-ssh + ui | The renderer stacks panes and shows one (terminal.css: .pane { position:absolute; inset:0; display:none }). Tiling needs a real pane geometry and a splitter. |
Omitted. Tabs ship instead, over the same one-WebView multiplexing. |
⇄ FORWARDS · 2 |
client-ssh | Port forwarding. SyncEntityType.PortForward = 9 is reserved; nothing in the SSH layer forwards anything. |
Omitted. |
SNIPPETS panel, ↵ to run |
client-domain | A snippet item type (Snippet = 8, reserved). |
Shipped, as a screen rather than a panel. ↵ is per snippet and off by default: inserting types the command at the prompt and stops, because nothing here can tell whether the terminal is at a prompt at all. |
Broadcast to all panes (⌥↵) |
client-ssh | Input is routed strictly by session id in TerminalDataPlane.Dispatch; there is no fan-out. Needs splits first. |
Omitted. |
Pane header 24ms |
client-ssh | Round-trip measurement. SSH.NET offers no RTT API. | Omitted. |
Pane header aes256-gcm |
client-ssh | The closest miss on this list. SshNetConnection holds the SshClient, so ConnectionInfo.CurrentServerEncryption is right there — it just is not on ISshConnection or surfaced by TerminalWorkspace. |
Omitted; the tab strip shows the account and endpoint actually dialled. |
Pane header showing the running command and following |
client-ssh | The host moves opaque bytes and never parses terminal output. Would need shell integration (OSC 133) on the remote. | Omitted. |
A local · zsh tab |
client-ssh | Every session here is an SSH channel. Needs ConPTY and a second session kind. | Omitted. |
Tab strip + button |
ui | Not missing so much as redundant: the real operation is select a host, press Connect, which the hosts grid already is. | Shipped, as the palette rather than a menu: it opens what Ctrl+K opens, so the strip and the shortcut are one way of doing one thing. A MenuFlyout offering "SSH" and "local shell" is the nicer answer and is not verifiably safe above the terminal's native child window — and there is no local shell to offer. |
Terminal font size (--termfs, 11–16px) |
client-storage | See preferences. | Fixed at the renderer's 13px. |
File transfer (the design's SFTP screen)
Built in M2. The screen ships: two directory panes, a breadcrumb trail on each, and a queue that moves one file at a time with progress, throughput and resume. What follows is what it does not do, and one thing this document got wrong before it was built.
The correction. The row below used to say an SFTP subsystem channel on ISshConnection was what it
would take. SSH.NET does not offer that: SftpClient derives from BaseClient and owns its own transport,
and there is no supported way to hand it a session an SshClient already has. So the transfers screen
opens a second authenticated connection to the host rather than a second channel on the terminal's. That
is visible to a user — the host records a second login, and a host whose password is typed each time asks
for it again on this screen — so it is named for what it is: ISftpSessionFactory.OpenSftpAsync is a
connect, and it goes through the same host key gate, the same pin and the same two refusals a shell does.
| Design element | Layer | What ships |
|---|---|---|
| SFTP itself | client-ssh | ISftpSession over SSH.NET's SftpClient: listing, stat, offset-based read and write, mkdir, delete and rename. Delete is deliberately not recursive. |
Remote listing with NAME/SIZE/MODIFIED/PERMS |
client-ssh | All four. PosixMode renders drwxr-xr-x from the bits SFTP hands over; setuid, setgid and sticky are not shown, because SSH.NET does not surface them and rwx where rws is true would be worse than nothing. |
| Local listing | client-transfer | LocalDirectory, which is where this client's System.IO now lives. PERMS is blank on the local side rather than filled with a plausible-looking POSIX mode that is not a fact about a file on Windows. |
| Transfer queue, progress, throughput | client-transfer | FileTransferQueue. One transfer at a time, so the rate on a row is the rate of the link rather than a share of it. Throughput is measured over a half-second window, not averaged since the start. |
resume supported |
client-transfer | Within a run of the application. Every transfer writes to a .dodossh-part file beside its destination and is renamed into place at the end, so an interrupted one can never be mistaken for a finished one, and RESUME carries on from the part file's own length. A part file found at startup is not resumed: nothing records what wrote it, and resuming on the strength of a name matching is how a corrupt artefact gets delivered with nothing reporting a failure. Making it survive a restart needs the preferences store this client has not got — see below. |
| Design element | Layer | What it would take | What ships instead |
|---|---|---|---|
| Per-host last directory | client-storage | Somewhere to persist two panes' navigation state. There is still no settings table. | The remote pane opens on the account's home directory, which the server canonicalises during the handshake; the local pane opens on the user profile. |
sftp over bastion-eu |
client-ssh | Jump hosts, as above. HostSecret.JumpHostIds is still stored, synced, merged and read by nothing. |
Omitted. |
| Overwriting a file that is already there | ui | A prompt, which means a modal this window has no idiom for. | Refused, with the name that is in the way. The remote pane has DELETE and MKDIR so the refusal is not a dead end. |
| Dragging between the panes | ui | Drag-and-drop between two ListBoxes, plus a drop target that is a directory rather than a row. |
Two arrow buttons between the panes, pointing at the pane the file is going to. |
| Transferring a directory | client-transfer | Recursive enumeration on both sides, and a policy for what a partial directory means. | One file at a time. A directory cannot be selected as a transfer source. |
Not to be reached for: CreditWindow is a 256 KiB flow-control window for terminal output, not a
transfer primitive. The queue does its own 64 KiB copy loop and shares nothing with the terminal data plane.
Vault
The screen ships and is real: four categories over the vault's four item types, one table, a detail pane, and both editors. What follows is what the design drew around them.
| Design element | Layer | What it would take | What ships instead |
|---|---|---|---|
ACCESS column and your access → CONNECT-ONLY |
server | Per-item ACLs. EncryptedPayload.DataKeyId is documented as the seam for per-item grants in M5. VaultSummary does carry an opaque int Permissions, but nothing gives the bits a meaning on the wire — PermissionFlags itself lives in DodoSSH.Domain — and those are per vault, never per item. There is no ConnectOnly role in TeamRole at all. |
Omitted. The column shows sync state instead — whether a change is still sitting in this machine's outbox — which the design had no column for. |
SHARED WITH · 6 avatars |
server | Built in M3, minus the avatars — no picture is stored anywhere. GET /api/v1/vaults/{id}/grants lists who holds a key. |
The list lives on the TEAMS screen, beside the members it is about, rather than as a count on an item row: a grant is per vault, and putting a number on an item would imply per-item sharing, which is M5. |
| "Private key never leaves the vault. Sessions sign through the team agent (dodod)" | client-ssh | Both sentences are false here, and the second cannot be made true by this architecture. There is no agent of any kind, and the connect path decrypts the private key and hands the bytes to SSH.NET. | Omitted. The key editor already says what is true: the key and its passphrase are encrypted here and never reach the server in a readable form. |
Scope rail: PERSONAL / TEAM · PLATFORM / TEAM · DATA |
server | Built in M3. VaultAccessService.ListAsync resolves team membership, so a session can hold several vaults. |
Not a rail, because it would be a selector with nothing to select: every list on the screen already spans every vault this session can read. What replaces it is a picker for where a new item is filed, which is the only vault question with an answer. |
SCOPE column |
server | Built in M3. Scope is a property of a vault, never of an item, and that has not changed. | Each row names the vault it is in, and rows are grouped by vault. |
LAST column (11:02, 1d ago) |
contracts | No last-used timestamp at any layer. VaultItem<TSecret> is (id, secret, version, three sync flags). |
Omitted. |
FINGERPRINT for SSH keys |
client-domain | SshKeySecret has no fingerprint field, and computing one means parsing key formats the type deliberately stores verbatim. |
The DETAIL column carries what is known — whether a passphrase and a public half are stored. Pins show their real fingerprint, in full and untruncated. |
•••• rotated jul 14 for passwords |
client-domain | CredentialSecret has no rotation date or password age. |
The account the password is for. |
IDENTITIES category |
contracts | A new item type, not even reserved in SyncEntityType. |
Omitted. |
CERTIFICATES category, expires 2026-09-01 |
contracts | Same ladder, plus certificate parsing. | Omitted. |
18 items · 12 shared |
server | The sharing stack. | N items · N not synced, counted over the rows on screen. |
added by anna@dodotech.dev |
contracts | The server records CreatedByUserId, but SyncChange carries no actor field and no other user's name is fetchable. |
Omitted, and the detail pane says in one line that items record no author, no timestamps and no sharing. |
created 2026-03-14 |
client-sync | Recoverable in principle — entity ids are UUIDv7 and carry a timestamp — but nothing surfaces it. | Omitted. |
TEST CONNECT |
ui | Connecting is host-scoped, not credential-scoped: there is nothing to test a credential against without a host. | Omitted. |
REVOKE |
server | Built in M3, as WITHDRAW KEY on the TEAMS screen — because there are now grants to revoke, and a grant is what it acts on. ADR 0001 constrains how it is presented, and it is: the message says it blocks future reads only, and that what they already hold is unaffected. | On this screen, still Delete, named for what it does. Deleting an item and withdrawing somebody's key remain different acts. |
SSH KEY · ED25519 |
client-domain | No algorithm field, and deriving it means parsing the armour. | The type without the algorithm. |
One + ADD CREDENTIAL button |
ui | — | Two buttons, one per kind that can be added. "Credential" is a specific item type in this codebase (a username and a password), so using it as an umbrella word would collide with the vocabulary. |
| — | — | — | HOST KEYS is the reverse case: a fully-backed, shipped category the design had no slot for. It is in the rail. |
Teams
Built in M3. The screen ships: a team list, a members table, the team's vaults, and the two buttons the whole design was really about — add a member, and share a vault key. What follows is what it still does not do, and one thing this document got wrong before it was built.
The correction. The rows below used to describe a screen with nothing behind it, on the grounds that
VaultAccessService.ResolveAsync denied every vault that was not the caller's own. That is now the one
place that changed, exactly as its remark predicted, and no migration was needed: team,
team_membership, vault.team_id and vault_key_grant have all been there since the first migration.
What the row did not anticipate is that the interesting half is not the endpoints at all. It is that
membership and readability are different things, and the screen is arranged around saying so.
| Design element | Layer | What ships |
|---|---|---|
| The team itself | server | POST/GET /api/v1/teams, plus members, roles and team vaults. Ids are client-chosen, so a create whose response was lost is safe to repeat. |
| Shared vaults | server + client | A team owns vaults; each is created with the creator's own grant, because a vault with no grant is a container nobody can open. |
| Roles | contracts + server | TeamMemberRole on the wire, numerically pinned to DodoSSH.Domain.TeamRole by a test. Viewer reads, Member writes, Admin and Owner also share and administer. |
| Members table | server | TeamMemberSummary, and a directory that resolves an exact email to a public key. |
| Sharing an item | client | VaultSession.ShareVaultAsync: verify the recipient's key against the key log, wrap, sign, record. The server stores the wrap and the signature and can check neither. |
| Design element | Layer | What it would take | What ships instead |
|---|---|---|---|
CONNECT-ONLY role |
— | Nothing that would be true. Connect is a user-interface hint, not a boundary: SSH terminates on the client, so a session needs the credential's plaintext on that machine. See ADR 0001. | Four roles, all of which are enforceable. Connect rides along with Read and is documented as a hint. |
2FA ENFORCED and the per-member 2FA column |
server | No two-factor concept exists anywhere — the only hit in the whole worktree is an aside in docs/crypto.md. |
Omitted. The member column carries what is known and matters: whether they have published a key a vault can be wrapped to. |
LAST ACTIVE |
server | UserAccount.LastSeenAtUtc is written at just-in-time provisioning and at enrollment and never on an ordinary authenticated request, so the column cannot answer "last active". |
Omitted. |
| Avatars | server | No picture is stored anywhere. | Omitted; the row shows a name and an address. |
| Pending invites, resend, revoke | server | An invitation entity, a token with a lifetime, and an outbound mail path. MembershipStatus.Invited remains unwritten. |
Adding a member resolves an address the caller types against the directory, so the account has to have signed in here once. The screen says that when the lookup finds nothing. |
SSO · OIDC · okta.dodotech.dev |
server | Per-team SSO. Authentication is one global JWT scheme bound to one authority. | Omitted. |
| A rekey after a membership change | client | Re-wrapping every item's data key under a fresh vault key, which only a client holding the current one can do. M5. | The vault is flagged RekeyRequired and the row says a rotation is owed. |
| Ownership transfer | server | A confirmation flow and a rule for what happens to the outgoing owner. | The owner cannot be removed or demoted, with its own problem code rather than a bare 400. |
The trap this document warned about is still a trap.
GET /api/v1/metaadvertisesfeatures: ["teams"]unconditionally (MetaEndpoints.cs). It was meaningless when nothing implemented teams and it is meaningless now that everything does — it has never been computed from anything. Do not gate a client feature on it.
Preferences
The screen ships with what is real — this machine's device key, locking, syncing, and signing out — and lists the rest as absent rather than omitting it silently.
Signing out is not on the design and is here anyway. The design has no way to leave a machine, and without one there is no way to hand a laptop on, to enrol a second account, or to get past a forgotten passphrase — which is unrecoverable by construction, so the unlock screen would otherwise be a dead end. It empties the local cache and withdraws the device key from the account; it cannot end the session at the identity provider, and says so.
| Design element | Layer | What it would take |
|---|---|---|
| Any preference, saved | client-storage | A seventh table in the client cache, or a preference item type in the vault. Which one matters: the vault syncs, so a preference stored there follows you between machines, and a terminal font size probably should not. |
| Terminal font, size, cursor style, cursor blink, scrollback | client-terminal | The store, and a frame to carry it. TerminalServerOpcode has four values (Output, SessionOpened, SessionClosed, SessionActivated) and none carries an option. |
| Font family picker offering IBM Plex Mono | ui | Shipping the font, as above. |
| Audible bell | client-terminal + ui | xterm.js 6 removed bellStyle and bellSound; what remains is an onBell event, so the page would have to make the sound itself. |
GENERAL section |
ui | There is no general setting to put in it. The theme is fixed by decision, and window size is not persisted. |
KEYS & AGENT section |
client-ssh | There is no agent, at all — no own agent, no forwarding, no Pageant or OpenSSH-agent interop. |
SYNC & VAULT section |
client-domain | Nothing here is adjustable. The auto-sync interval is a private static readonly with a remark arguing for its value. |
SECURITY & SSO section |
server | The SSO half needs team endpoints; there is no policy for the screen to show. |
SHORTCUTS section |
ui | There is no keybinding infrastructure and no rebinding surface. |
| Auto-lock after idle | client-session | An activity source, a decision about what counts as idle, and — the hard part — a policy for a shell mid-job. LockAsync's own remark already argues that an unattended timeout which killed a running job would be worse than the exposure it removed. |
| Require biometric to sign | crypto | Three separate falsehoods in one row. There is no signing service — the private key is decrypted and handed to SSH.NET whole, so there is no per-signature moment to interrupt; there are no connect-only keys; and per-use consent would need the key to live in the TPM, which is a different key hierarchy from the one in docs/crypto.md. |
| Pill toggle switches | ui | Purely presentational — App.axaml has no ToggleSwitch selector, so Fluent's default would appear un-themed beside the hairline chrome. |
Two things the import changed on purpose
Hosts left the vault column. They have their own screen and the vault screen holds keys, passwords and
pinned host keys. This follows the design, and it is also the better split: the host list is what you look
at while you work, and the rest is what you go and manage. VaultSection lost its Hosts member and
gained All.
That screen was a 268-pixel sidebar beside the terminal when this paragraph was written, and v3 made it a grid of cards with a drawer — see above. The split it describes did not change; only which half is wide.
Tabs moved to the shell, not the vault. Locking disposes the vault and deliberately leaves shells
running, so a tab list rebuilt per unlock would lose track of sessions that are still connected — the very
sessions the unlock screen already counts. TerminalWorkspace gained SessionActivated on the wire,
IsSessionLive, and a SessionEnded event so a tab can stop claiming to be connected.