Repository navigation
docs(web-app): Claude connections go by their names in Settings - #93
Merged
kalaspuff merged 2 commits intoDec 5, 2026
Merged
Conversation
kalaspuff
pushed a commit
to hyperstructure/fctl
that referenced
this pull request
Dec 5, 2026
## Summary
People can name their Claude connections ("Romanesco seat", "Personal"),
so that with several it's clear which one is which and which one each
workspace should use. A connection now goes by the name its person gave
it, else its account, else its kind, everywhere it's shown: Settings →
Claude, each workspace's Claude picker (Settings → Workspaces and the
workspace's own settings), the card a session shows when Claude refused
its connection, the Settings list's summary, and `fctl claude status`.
- **Settings → Claude:** click a connection's name to rename it in place
(Enter or leaving the field saves, Escape cancels, emptying it takes the
name away), as passkeys and the authenticator app rename. Its pencil
shows on hover, and always on touch screens and for unnamed connections
when there are several. The facts line now starts with what the name
hides (the account, the kind). A new line lists the workspaces whose
sessions run on each connection, as chips, with a link to choose per
workspace; for a connection that stopped working it says in red which
workspaces chose it.
- **Connecting:** the token form has an optional Name field once the
person already has a connection, and `fctl claude connect --name …`
works for every way to connect.
- **Pickers:** options go by name, with the account, kind and plan
underneath, and "added {day}" when two go by the same name.
- **API and CLI:** `PATCH /api/v1/me/claude/{id}` with `{"label": "…"}`
(`null` or `""` clears it), `fctl claude rename <connection> <name>` and
`--clear` (a blank name without `--clear` is refused). `--name` is
checked before anything connects. The audit log records "renamed a
Claude connection" without the name, since admins read it and never see
connection names.
- **Migration 0081** clears the "Claude login" label fctl gave every
login itself, which would otherwise hide the login's account now that
names come first; new logins get no label.
I checked it in `cargo xtask dev` with the new CLI: connected a token
with `--name`, renamed, cleared, tried an unknown id (404), an
81-character name (refused) and an empty PATCH (no change), and chose
connections per workspace. The screenshots come from that stack. `cargo
xtask check lint`, the web app's tests (2,142), `npm run check` and the
fctl CLI tests pass. Docs (cli.md, getting-started.md, llms.txt) and the
design docs are updated.
## Screenshots
Before, on main: two long-lived tokens look alike, as in the report.

After: named, with the workspaces each one runs.

Renaming in place:

A workspace's picker in Settings → Workspaces:

Light theme, and a phone (pencils always show on touch):


## Related
- hyperstructure/design#93
## Worth confirming
- **Decision:** a person's name goes before the account email. Before
this change the account came first and the label was a fallback, so a
login someone names now shows the name, with its account in the facts
line.
- **Decision:** a token an admin token set (`provisioned`) keeps the
name its admins gave it: the admin API reads that name and
re-provisioning sets it, so renaming one is refused, and Settings shows
its name without a pencil.
- **Decision:** workspace admins still never see a name a person gave
(People tab, `fctl workspaces members --claude`, the audit log), as the
oversight docs already promised for labels.
- **Decision:** the Name field in the token form shows only once the
person already has a connection, because the first one has nothing to be
told apart from. Sign-ins with Claude take no name in the form; they can
be renamed afterwards, and `fctl claude connect --login --name …` names
them once the sign-in completes.
- **Assumption:** nobody named a login "Claude login" on purpose.
Migration 0081 clears that label on logins, since only fctl ever set it.
[fctl session](https://app.fctl.sh/s/ses_01M931PXJPXKZ87VCG3CJD2CP5)
<!-- FCTL_REVIEW_SUMMARY -->
---
> [!NOTE]
> **Medium risk.** It adds a column and a PATCH endpoint for Claude
connections and changes how the CLI, Settings and session pages show
them, but the data is a display name only and the migration just adds a
column.
>
> **What it does.** People can now name each of their Claude connections
(for example "Romanesco seat") in Settings → Claude, with `fctl claude
rename` and `fctl claude connect --name`, or with `PATCH
/api/v1/me/claude/{id}`. The name goes before the account and kind
wherever a connection is shown, and workspace admins never see a name
its person gave it. A connection an admin token set keeps the name its
admins gave it, and renaming it is refused.
>
> **Migration.** `0081_claude_connection_names.sql` adds a column to
`claude_credentials`, so the control plane's database needs migrating on
deploy.
>
> <sub>[fctl
review](https://app.fctl.sh/s/ses_01M9334DGT328GBM6WG0NDFJH3)'s first
look at
[`6599831`](6599831)
· 28 files, +854 −86 · [Review agent
settings](https://app.fctl.sh/p/fctl?tab=reviews)</sub>
<!-- /FCTL_REVIEW_SUMMARY -->
---------
Co-authored-by: fctl-sh[bot] <343971779+fctl-sh[bot]@users.noreply.github.com>
kalaspuff
approved these changes
Dec 5, 2026
kalaspuff
deleted the
fctl/1841-it-would-be-great-to-be-able-to-name-to
branch
December 5, 2026 12:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Describes how Settings → Claude names connections, for the change in fctl that lets people name them: the title renames in place, the facts line leads with what the name hides (the account, the kind), and a line of workspace chips says which workspaces each connection runs. It also records the one naming order (the person's name, else the account, else the kind) that pickers and cards share, and that a connection without a name among several always shows its pencil.
fctl session
Note
Low risk. It only changes design documentation, with no code touched.
What it does. Documents how Settings → Claude names connections, for the fctl change that lets people name them. The title renames in place, the facts line leads with what the name hides, and workspace chips show where each connection runs. It also records the shared naming order (the person's name, else the account, else the kind), that an unnamed connection among several always shows its pencil, and that a token an admin token set keeps its admins' name, without a pencil.
fctl review's first look at
3eb76f9· 1 file, +3 −1 · Review agent settings