Repository navigation
ACCOUNTS
Status: Partial
Last Updated: 2026-11-13
Audience: Developers and coding agents
Last verified: 2026-11-13 against b1688a8de
Code: src/Martlet.Core/Accounts/, src/Martlet.Core/Creations/, src/Martlet.Core/Installation/, src/Martlet.Core/Settings/SettingsFiles.cs, src/Martlet.Core/Settings/ThinkingPoolShare.cs, src/Martlet.Core/Sharing/, src/Martlet.Core/Sync/, src/Martlet.Desktop/, src/Martlet.Gateway/, src/Martlet.HostClient/
Several people use Martlet in one home. Each person has their own companion: their own characters, personalities and memories, so each person's character seems like its own individual. The household shares its computers, hosts, paid API keys, Home Assistant and the voices Martlet recognizes.
Requirements from the owner:
- Each Windows sign-in (Microsoft account, work account or local account) is a Martlet user. It signs in automatically, with no password, until the person adds one.
- A person can make a Martlet account and link any login to it: Windows logins, a Martlet password, Google, Microsoft, Authentik and other providers.
- A local Windows account is a separate person until that person links it.
- A person can switch accounts on one Windows login, and can add a new person.
- Each account has its own characters, personalities and everything that goes with a character.
- Each account has its own memories. Every host keeps every account's memories, because people share computers.
- A person can share a character, and can share memories, with the household.
- Voiceprints are always shared, so Martlet learns everyone's voice.
- Paid API keys are shared in the household.
| Thing | What it is | Key |
|---|---|---|
| Household | The Martlet network: the hosts and devices of one home | Network ID (exists) |
| Account | A person. Owns characters, personalities, memories, history and preferences | Account ID |
| Login | One way to prove an account | (kind, provider, subject) |
| Device | One Windows user on one PC: a roster entry with its own network key | Device ID |
| Memory space | One memory store with one owner | Space ID |
Rules:
- A login proves an account. A voice never proves an account: a voice only tells whom a fact is about.
- An account has one or more logins.
- A device acts for an account only while that account is signed in on it.
- Linking a login to an existing account always needs a Prove sign-in (below), so a PC cannot take over someone else's account.
| Kind | Proof | Checked by |
|---|---|---|
windows |
Windows signed the person in | This device. Valid only on the device that made it |
martlet |
User name and password, optional authenticator code | Hosts, or a cached verifier on a PC where the account signed in before |
oidc |
Google, Microsoft, Authentik, Authelia, Keycloak, Pocket ID | Hosts (they keep the client secret) |
discord, steam
|
Provider sign-in | Hosts |
Two strengths of sign-in:
- Unlock switches to an account that is already signed in on this device: the Windows login, a PIN, Windows Hello or the password. It works offline.
- Prove adds an account to a new device, links a login, signs in from outside home or changes household settings: the password (and the authenticator when set), a provider, or Allow on a device where the account is signed in (with the six-digit check number that joining uses).
A Microsoft or work e-mail on a Windows login is a hint only. When it matches an account, Martlet asks Continue as Sam? and then needs a Prove sign-in.
Every setting, file and synced document has exactly one scope.
| Scope | Holds | Changed by | Synced to |
|---|---|---|---|
| Device | Microphone, speakers, cameras, screens, terminal, local engines, pairings, network key | That device | Nowhere |
| PC | Companion or host PC, the host service on it, large downloaded models | Any Windows user of that PC | Nowhere (machine-wide folder) |
| Household | Hosts, who does what, work sharing, Thinking, Listening and Speaking routes and paid API keys, Thinking fallback, Home Assistant, updates, model abilities, People and voiceprints, speaking voices, character models and their emotes, the account directory, sign-in providers (on every host; W13) | Owner and admins | Every host and household device |
| Account | Characters, personalities, character profiles, prompts, reply style, lorebooks, the character shown, how you talk, speech display, theme, Voice ID filter, reminders, creations, conversations, memory on or off | That account | Every host; only devices where the account is signed in |
| Memory space | Facts | See Memory spaces | Every host; only devices that may read the space |
Today's shared-settings sections:
| Household | Account |
|---|---|
thinking, listening, speaking, thinking-fallback, character-actions, character-touch-zones, character-eyes, vroid-hub-looks, voice-recognition, voice-clips, smart-home, discord, messaging, pool-keys, thinking-pool, thinking-pool-choices, pictures-workflows, chatterbox-style, recommended-setup, updates, model-abilities, work-sharing, motion, pools, pc.*, role.*, setup-run.*, any other key (for example sharing.*), the voice list, speaking voices, character models, the cluster plan |
companion (personalities and character profiles), replies, prompts, skills, memory, lorebooks, character, talk, speech-display, appearance, appearance-custom, voice-id, touch-temperament, conversation-history, character-reaction-changes, check-ins, memory-brief, game-state, user-preferences, advanced-settings, reminders.* (in each account's own document, one entry per device) |
Martlet.Core.Sync.SettingScopes is the list in code. See
Account settings.
People and voiceprints sync even when Keep Martlet the same on all my computers is off.
Built (W6). What the PC is for is the same for every Windows user of the PC:
-
Where. The PC folder is
%ProgramData%\Martletwhen Martlet uses the default data folder (%LOCALAPPDATA%\Martlet). Martlet started with any other--data-directory(tests, MCP verification) keeps these files in that data folder, so it never changes the real PC.MARTLET_PC_DIRECTORYpoints several data folders at one PC folder for verification. -
What.
device-role.txt(companion or host PC) andthis-pc-host-roles.txt(the roles of this PC's host service, with the SID of the Windows user whose Docker Desktop Martlet read them in). No secrets. -
Who may change it. Martlet installs per user and never asks for
elevation. The Windows user who makes the folder gives
BUILTIN\UsersModify, inherited by its files, so every Windows user of the PC can change them. -
Moving. On the first start after the update, a Windows user's earlier
device-role.txt(and host roles) moves to the PC folder when the PC folder has none. Each data folder keeps its own copy of the last choice made or followed there: it marks that this Windows user chose (or skipped the welcome tour), and an older Martlet reads it. -
Following. A running Martlet reads the PC folder every 30 seconds and
follows a switch made by another Windows user. A switch asked from another
computer (
role.<device ID>) writes the PC folder, so every Windows user of the PC follows it. Therole.<device ID>entry's time is the time the PC folder's choice last changed. - Welcome tour. It shows when nobody on the PC chose yet, and for a Windows user who hasn't chosen yet on a companion PC. On a host PC a new Windows user lands on the host dashboard.
- Host service. Docker Desktop keeps its containers for the Windows user who runs it. A host PC starts the host roles by itself only in the Docker Desktop of the Windows user who ran them. Another Windows user sees in another Windows user's Docker Desktop: sign in to Windows as that user to manage it. The pairing with the host service stays with each device (Device scope).
PC scope does not yet include downloaded Ollama, Parakeet or voice models. Each engine keeps its files in its current location, often per Windows user.
MCP: pc_scope and the desktop's DeviceRoleWhere (MCP).
| Space | Owner | Read by default |
|---|---|---|
account-<id> |
One account | All characters of that account |
character-<id> |
One character set to its own memories, or shared together | That character |
household |
The household | Every character |
- A fact keeps
voice_id: whom the fact is about. The space tells who remembers the fact. - Recall reads the active character's space and
household. It loads them at sign-in or switch, so recall stays as fast as now. A character shared together keeps its memories in its owncharacter-<id>space, and only that character reads it: your other characters don't, so each character stays its own individual (MemoryAccount.Sharedstays empty). - Every host keeps up to 64 spaces. Creating another returns
memories.spaces_full. A device downloads only the spaces it may read. - Hosts decide from the account directory and the household's sharing entries:
account-<id>only for a device where that account is signed in,householdfor every member device, andcharacter-<id>for a device where someone of the household is signed in while the character is shared together (or not named by any sharing entry), but only for its owner's devices once it is private again. Giving facts (GatewayMemorySpaceUse.Give) is for every member device. Friends never. An account's own space is never shared, because the same rule guards that account's settings on hosts. - Desktops: see Memory spaces on the desktop.
| Choice | Effect |
|---|---|
| Private (default) | Only the owner sees and uses the character |
| Share a copy | Household members can Use a copy: personality, look, voice, emotes and lorebooks are copied to their account, with its own memories |
| Share together | Household members talk to the same character. It uses a character-<id> space and remembers everyone |
| Share a fact | The Memory window moves or copies a fact to household or to another account's space |
| Share new memories about me | New facts about this person go to household, which every character reads |
Built by W10 (user guide,
memories). Source code is in
src/Martlet.Core/Sharing/, src/Martlet.Desktop/ and src/Martlet.Gateway/.
-
What an account shares is its household entry
sharing.<account>(shared contracts). It is the only place another person can read a shared character, because each account's settings are its own. The account's devices write it from Companion › Profiles and refresh the snapshot every 30 seconds and after each profile change, never during a reply and never during a switch (only whileaccounts\working-copy.jsonnames the account signed in). - Use a copy runs on the receiving person's device: a new personality, character profile and lorebooks with new IDs (names made unique) in that person's own settings, then Martlet switches to it. The copy is a snapshot.
-
Talk to it adds a mirror with the same profile, personality and
lorebook IDs as the owner's, records it in the person's own entry
(
joined) and switches to it. After every check, the mirror follows the owner's changes. When the owner no longer shares it together, it leaves the person's characters. Only its owner edits it; the others can Leave. -
Memory: a character shared together, or one that was (
own_spaces), and every mirror remember incharacter-<id>(MemoryAccount.Character). A character that becomes private again keeps that space, so it forgets nothing; hosts then let only its owner's devices use it. - Share a fact copies the selected facts with the same words, person and keeping. The household's space (and the character space in use) is kept on this PC, so the copy is saved there and the memory sync takes it to the hosts. Another person's space is given through the hosts' give route, and the giving device never reads it. Move deletes the facts here only after the copy.
-
Share new memories about me is
new_facts_about_mein the household entry, so it works on every PC, also before the account reaches the directory. It is copied to the directory entry'ssharing.memories_about_mewhen the account is there. Remembering then saves a new fact whose voice People links to the account (LocalVoices.Yours) inhousehold(DesktopMemoryService.NewFactSpace), after the reply. - Accounts are kept apart, not secret: a host doesn't check which device writes
sharing.<account>. A later change can bind the writer to the account with an account attestation.
The People list is one household list. A voice can link to one account (This is me becomes This voice is Sam). When Alex speaks at Sam's PC, Sam's character answers and saves the fact in Sam's space with Alex's voice ID. A voice never switches the account, unlocks settings or spends money.
Built (W11): People's This voice is links a voice to the signed-in
account. Your voice everywhere (memory's me and new facts, Someone else is
here, the echo check, the (you) labels and the voices block of each message)
means a voice linked to the signed-in account. A voice marked This is me by an
older Martlet links to the owner account. The Voice ID filter is per account
through the account-scoped voice-id section (W8).
| Role | May |
|---|---|
owner |
Everything. The current install becomes the owner |
admin |
Household settings, paid keys, invite and remove people, allow devices |
member |
Their own account; use household engines and keys |
- First start for a Windows user. A device with an account binding signs that account in. Else, when the Windows e-mail matches an account, Martlet asks Continue as ...? and needs Prove. Else it makes a new account named after the Windows display name, bound to this Windows login, with no password.
- Switch account (avatar menu): accounts signed in on this device, Sign in as someone else and Add a person. Switching ends the conversation, stops listening and reloads the account. It never happens during a reply.
- Account page: add a password and an authenticator, link a provider, link or unlink this Windows login, Ask for my password on this PC, and Merge another account into this one (after Prove for both).
- The current install becomes the owner account.
- Every existing member desktop binds to the owner account on update.
- Today's personalities, profiles, prompts, memories, creations and reminders
go to the owner's account. Facts keep their
voice_id. The This is me voice links to the owner. - Each host's owner login and its
memberidentities become logins of the owner account. Friends stay friends. - Hosts keep serving the old
/martlet/v1/memoriesdocument as the owner's space to desktops on an older Martlet: to devices where the owner is signed in and to devices with no account yet. Hosts never copy between it andaccount-<owner>; the owner's desktops sync both, so they stay the same. This PC's store from before accounts moves into the owner's space.
Accounts are kept apart, not secret from a person with administrator rights on a host or PC. An account lock can encrypt that account's folder on a shared Windows login: Encrypt my files on this PC while locked (Account security), opt-in and off by default. End-to-end encrypted spaces are later work.
Sign-in, switching and space loading happen at start or at a switch, never in a reply. Per-speaker context stays in the message notes. The start of each Thinking request stays stable for each account.
All workstreams use these forms. Change them here first.
| Contract | Form |
|---|---|
| Account ID |
Guid. In JSON as a normal Guid; in paths and space IDs as 32 lowercase hex digits ("N") |
| Space ID |
household, account-<32 hex> or character-<32 hex>; regex ^(household|account-[0-9a-f]{32}|character-[0-9a-f]{32})$
|
| Device ID | Existing devices keep theirs. New ones: desktop-<pc name>-<6 of [a-z0-9]>, at most 64 characters. Kept in device.json ({"version":1,"deviceId":"..."}) in the data folder, one per Windows user; DeviceIds in Martlet.Core.Network, NetworkIdentity.ThisDevice in the desktop |
| Windows login |
WindowsLogin.Current in Martlet.Desktop: Sid, Kind (microsoft, work or local), UserName, DisplayName and EmailHint. The e-mail is a hint and personal data: never logged and never in MCP output |
| Login |
kind (windows, martlet, oidc, discord, steam), provider (windows: the device ID; martlet: martlet; others: the household provider ID), subject (windows: the SID; martlet: the lowercase user name; others: the provider's subject). A windows login can belong to several accounts (Add a person binds each new person to the same Windows login); another kind belongs to one account, and on a conflict the account that added it first wins |
| Role |
owner, admin, member
|
| Account directory |
accounts.json beside network.json on desktops and beside host.json on hosts. One last-writer-wins entry per account with the hybrid revision of shared settings, signed by the writing member desktop's network key. Public facts only, never secrets. Format and rules: Account directory
|
| Owner account ID |
OwnerAccount.IdFor(networkId): a UUID version 5 (RFC 9562) with the namespace e44b5fc7-4473-46d2-9844-25457de2bfa8 and the name "martlet-household-owner\n" + networkId (one LF, no trailing newline). "net-example" gives 8a58da66-fddc-5c5b-9282-fb119c84915f. Its created_by is the device that founded the network |
| E-mail hint | Lowercase hex SHA-256 of the UTF-8 text "martlet-email-hint-v1\n<network ID>\n<trimmed, lowercase e-mail>" (Account.EmailHintFor). The directory keeps only hints, never an e-mail address |
| Directory routes |
GET /martlet/v1/accounts, GET /martlet/v1/accounts/digest, POST /martlet/v1/accounts (merge and return). Paired member devices only; friends are refused |
| Memory space routes |
GET /martlet/v1/memories/spaces/{space}, GET .../{space}/digest, POST .../{space} (merge and return). The document is today's SharedMemories. The old /martlet/v1/memories keeps working. Answers name the space. A host keeps at most 64 spaces (memories.spaces_full). An access hook on the host (GatewayMemorySpaces.Access) may refuse a device (memories.space_denied); a POST needs read and write access. Martlet.Core.Sync.MemorySpaceId makes and checks space IDs. Client: ReadMemorySpaceAsync, ReadMemorySpaceDigestAsync, MergeMemorySpaceAsync. The hook's rules (GatewayMemorySpaceRules): account-<id> only for a device bound to that account in the directory, household for every member device, character-<id> for a device with an account signed in; the old document for the owner's devices and devices with no account |
| Memory give route |
POST /martlet/v1/memories/spaces/{space}/give: 1-64 facts and no forgotten ones. The hook is asked with GatewayMemorySpaceUse.Give, which every member device gets. The host adds only fact IDs new to the space and answers host_id, space and taken, never the space. Client: GiveMemoriesAsync. Share a fact uses it for another account's space |
| Household sharing entry |
sharing.<account 32 hex> in the household shared settings (Martlet.Core.Sharing.HouseholdSharing). Only that account's devices write it, members too. Snake-case JSON, schema 1, at most 4 MiB: account_id, characters (at most 1,000: id, mode copy or together, name, persona {id, name, text, breaks}, model_id, voice_id, lorebooks that are on only for that persona), joined ({account_id, character_id} of characters shared together that this account talks to), own_spaces (this account's characters that remember in their own character-<id> space: each one shared together, kept after sharing stops) and new_facts_about_me (Share new memories about me). A reader ignores an entry whose key and account_id differ. A private character isn't listed. SettingScopes.IsAccountKey is false for it: a household key |
| Desktop memory folders |
Martlet.Core.Sync.MemorySpaceFolders: an account's own space in its memory setting's folder (default <account folder>\memory, a custom folder stays custom), every other space in <data>\memory-spaces\<space>, each space's sync state in <data>\memory-sync\<space>\memory-sync.json. Desktop: MemoryAccount (account, folders, owner, active character's space, character spaces shared with the account) given to DesktopMemoryService.UseAccount at sign-in or switch |
| Creation routes |
GET /martlet/v1/creations/accounts/{32 hex}, GET .../digest, POST ... (merge and return), GET and POST .../chunks/{sha256}. The documents are today's CreationLibrary and pieces; answers name the account. A host keeps one list per account (creations-account-<32 hex>.json on Linux) and one pool of pieces for every list, and deletes a piece only when no list's live creation uses it; at most 64 account lists (creations.accounts_full). Paired member devices only, and only those that GatewayMemorySpaces.Access lets use account-<32 hex> (read; a POST read and write), else creations.account_denied. The old /martlet/v1/creations stays for older desktops; the owner's desktop joins it with the owner's list both ways (CreationOwnerBridge). Desktop: the account folder holds creations.json, creations\, creations-incoming\ and creations-sync.json; <data>\accounts\creations-moved.json records the one move of the data folder's creations (CreationAccounts.MoveDataFolderCreationsOnceAsync). Client: ReadAccountCreationsAsync, ReadAccountCreationsDigestAsync, MergeAccountCreationsAsync, ReadAccountCreationChunkAsync, SendAccountCreationChunkAsync; HostCreationPeer.ForAccount
|
| Voice link | Each voice in voices.json may carry link: { "account": <Account ID or absent>, "revision", "updated_by" }, a last-writer-wins register merged apart from the rest of the voice (an absent account with a revision is an unlink). Martlet before links refuses unknown fields, so GET/POST /martlet/v1/voices serve and return the list without links and merge a copy without links without removing any; GET/POST /martlet/v1/voices/linked carry them. The legacy owner flag stays true while the voice links to the owner account. Martlet.Core.Speakers.VoiceRoster: SetAccount, LinkedTo, LinkOwnerVoices, WithoutLinks. Client: ReadVoicesAsync(linked: true), MergeVoicesAsync(..., linked: true). The voice list is the only place links live: the account directory's voices field is not used for them |
| Account attestation |
AccountAttestation in Martlet.Core.Accounts: a host's signed statement that an account proved itself on a device. JSON (snake case): schema_version 1, network_id, host_id, account_id, device_id, login (an AccountLoginKey; never windows), issued_at, expires_at (1 minute to 30 days; 10 minutes by default), algorithm (ES256 or PS256), host_key (base64url SubjectPublicKeyInfo of the host's TLS key, the key the roster pins as the host's spki) and signature over "martlet-account-attestation-v1" and the other fields, one per line (account ID as 32 hex digits, times as Unix milliseconds). Check(roster, at) accepts it only for an active host of that network whose pin is the SHA-256 of host_key, with a good signature, within its lifetime (5 minutes of clock skew). Its text form (AccountAttestation.ToText(), base64url of compact JSON, at most 4,096 ASCII characters) goes in a device binding's attestation. See host sign-in
|
| Desktop account session |
AccountSession in Martlet.Desktop (built by W7; see Desktop account session): AccountId, AccountFolder (<data>\accounts\<32 hex>), HouseholdFolder (the data folder root), Current and SignedIn (ID, name, role, pending), OwnerId, AddChangeStep(Func<AccountChange, CancellationToken, Task>), StartAsync, SwitchToAsync, AddPerson, SignIn(attestation, roster, now) and the AccountChanged event, raised only between replies after every change step ran. The session file is accounts\session.json (AccountSessionState in Martlet.Core.Accounts, device scope, never synced) |
| Device binding rule |
AccountBindingRules in Martlet.Core.Accounts, called by AccountDirectory.Refusal on desktops and hosts: a binding needs a proof (creator, attestation, migration, same-name or merged). See the binding rule
|
| Device unlock file |
<data>\account-locks\<32 hex>.json, device scope, never synced, outside the account's folder (AccountLockStore). Plain choices (ask_on_this_pc, remember, hello, has_pin, has_password, encrypt, failures, retry_after) and a DPAPI-protected part with PBKDF2 verifiers and wrapped file keys. See Unlock on this PC
|
| Locked account folder | While an account with Encrypt my files on this PC while locked is not active on this PC, its folder holds <name>.mlock files. Nothing reads or writes another account's folder; a change step loads an account's files only after it became active |
| Account merge step |
IAccountMergeStep in Martlet.Desktop: one per kind of account data; Merge another account into this one runs each before it removes the merged account. See Merging accounts
|
| Account settings routes |
GET /martlet/v1/settings/accounts/{account}, GET .../{account}/digest, POST .../{account} (merge and return). {account} is 32 lowercase hex digits. The document is today's SharedSettings with no secret (a copy with one is request.invalid). Answers name the account. Paired member devices only (friends and API keys are refused), and only a device that the memory-space access hook admits for space account-<32 hex> (settings.account_denied); a POST needs read and write access. A host keeps at most 64 accounts (settings.accounts_full). /martlet/v1/settings stays the household's. Client: ReadAccountSettingsAsync, ReadAccountSettingsDigestAsync, MergeAccountSettingsAsync
|
| Account settings files | Desktop: each account's own copy in <data>\accounts\<32 hex>\shared-settings.json (the SharedSettingsState format, no secret); <data>\accounts\working-copy.json ({"schema_version":1,"account":"<Guid>","since":"<time>"}) names the account whose settings the data folder's files hold. A setting the files don't hold yet is recorded with the digest SharedSettingsNode.AdoptingDigest (64 zeros). Hosts: account-settings-<32 hex>.json beside host.json (0600) |
| PC folder |
PcFolder in Martlet.Core.Installation: %ProgramData%\Martlet for the default data folder, else the data folder itself, or MARTLET_PC_DIRECTORY. BUILTIN\Users may change it. Holds device-role.txt and this-pc-host-roles.txt; never secrets |
Built by W2. Source code is in src/Martlet.Core/Accounts/,
src/Martlet.Gateway/ and src/Martlet.HostClient/. The MCP tool
accounts_sync_selftest rehearses it end to end (MCP).
accounts.json is JSON, snake case, schema 1, at most 2 MiB and 256 accounts:
{"schema_version": 1, "accounts": [<entry>, ...]}. One entry per account:
| Field | Form |
|---|---|
id |
The account ID (a normal Guid) |
name |
1-64 characters, trimmed, no control characters |
role |
owner, admin or member
|
logins |
At most 16: kind, provider, subject, optional label (at most 128 characters; shown, never trusted), added_at
|
devices |
At most 64 device bindings: device_id, login (kind, provider, subject), signed_in_at, optional attestation (1-4,096 printable ASCII characters; the account attestation text) |
voices |
At most 16 voice IDs from People (32 lowercase hex digits). Not used: whose voice is whose lives in the voice list (Voice link), so there is one source of truth |
email_hints |
At most 8 e-mail hints for Continue as ...? |
sharing |
characters (private, copy or together) and memories_about_me (Share new memories about me) |
removed |
A removed account stays as a tombstone with its ID and name and no logins, devices, voices or hints |
merged_into |
Only on a removed account: the account it was merged into |
created_by |
The device that created the account. It never changes |
revision, updated_at, updated_by
|
The hybrid revision, the time (UTC) and the writing desktop's device ID |
signature |
base64url ECDSA P-256 (IEEE P1363) by updated_by's network key |
The signature covers every other field. The signed text is
"martlet-account-v1\n" and then each field on its own line: each text as
<length>:<text> (- for none), each number in decimal, each time as UTC
ticks, and the lists in sorted order. It does not include the network ID, so a
desktop can sign entries before it is in a network.
-
AccountDirectory.Put(signer, account, now)stamps and signs an entry. It keeps thecreated_bythat the copy has. A new account takes thecreated_byit was given (the migrated owner takes the founder's device ID), or else the writer's device ID. A removed account can't change. -
AccountDirectory.Merge(left, right)keeps, per account, the entry with the highest (removed, revision, writer, content). A removal always wins, so a removed account never comes back. The merge is commutative, associative and idempotent. -
AccountDirectory.Accept(current, incoming, roster)takes the incoming entries thatAccountDirectory.Refusal(accepted, incoming, roster)lets in, then merges. Hosts and desktops use it for every copy they receive.Refusalis the one place that decides. It refusesaccount.no_network(no roster),account.signer(not signed by an active member desktop with the key that the roster lists),account.creator(the entry changescreated_by) and, since W12,account.binding(a device binding without proof; see the binding rule). - A host takes no entry while it is in no network. Entries it took earlier stay when their signer leaves the network, as with roster entries.
- A host keeps
accounts.jsonwhen it leaves a network, as it keeps its other shared documents.
| Route | Result |
|---|---|
GET /martlet/v1/accounts |
host_id, digest, rejected (0) and accounts (the directory) |
GET /martlet/v1/accounts/digest |
host_id and digest
|
POST /martlet/v1/accounts |
Accepts and merges the posted directory; returns the same document as GET, with rejected set to the number of refused entries |
Only paired devices may call them, over their signed, pinned connection.
Friends (access.friend) and API keys are refused. The desktop client is
HostConnection.ReadAccountsAsync, ReadAccountsDigestAsync and
MergeAccountsAsync. A desktop checks what a host returns with
AccountDirectory.Accept and its own roster.
-
Find(id),Live. -
FindByLogin(login): the live account that added the login first. -
AccountsWith(login): every live account with the login (several share awindowslogin). -
SignedInOn(deviceId): the live accounts bound to a device, the latest sign-in first. -
Account.Key(32 hex digits) andAccount.SpaceId(account-<32 hex>).
Built by W4. Source code is in src/Martlet.Gateway/,
src/Martlet.Core/Accounts/ and src/Martlet.HostClient/. The
user guide is NETWORK.md; the MCP
tool signin_lab with mode account rehearses it (MCP).
-
signin.jsonkeeps, as before, the owner login (always with an authenticator), providers and allowed identities, and now alsoowner_account_id,accounts(other accounts'martletlogins: account ID, user name, password verifier, optional authenticator and recovery codes) andaccount_idon allowed member identities. Files written before accounts load unchanged. - The owner login and member identities without an
account_idprove the owner's account:owner_account_id, elseOwnerAccount.IdForof the host's network. Friends prove no account (signin.no_account). - A
martletlogin without an authenticator proves its account on a paired computer, but never adds a computer (signin.needs_authenticator). Outside access still needs the owner login or an allowed provider identity. -
Prove route:
POST /martlet/v1/signin/begin(providermartlet,owneror a provider ID), thenPOST /martlet/v1/signin/prove, signed by the paired computer (not a friend's), withattempt_id,proofand optionallifetime_seconds. It answersaccount_id,signed_inandattestationfor that computer./signin/completealso answersaccount_idandattestationfor the computer it adds. Desktop client:HostConnection.ProveWithPasswordAsync,ProveInBrowserAsync,BeginProveAsyncandProveAsync(HostAccountProof), andHostSignInIdentity.AccountIdandAttestationafter joining. -
Settings:
POST /martlet/v1/signin/settingsactionsowner-account,account,remove-account-authenticator,remove-account,recovery-codeswithaccount_id,allowwithaccount_idandlink.GETanswersowner_account_id,accounts(account_id,user,has_authenticator,recovery_codes_left) andallowed[].account_id, never a secret. Who may change them: see Roles on a host.
Built by W12. Source code is in src/Martlet.Core/Accounts/,
src/Martlet.Gateway/ and src/Martlet.Desktop/, with small hooks in W7's AccountSession
(SignIn with a binding login, BindWith, SignOut, UseAtStart,
UseOnExit), the account menu and App (Unlock at start, exit). MCP:
account_security_status and the account windows' automation IDs
(MCP).
Open it from the account menu (Account…). It shows the account's logins and how it unlocks on this PC, and has (while the account waits to reach the household's directory, only On this PC works):
-
Martlet password: a user name, a password (12 or more characters) and,
optionally, an authenticator app (a key, an
otpauthlink and a current code). Martlet keeps it on every host of this PC's network that it is paired with (W4'saccountaction; the owner's account usesownerand always has an authenticator). The answer shows each host's recovery codes once. This PC then keeps a verifier of the password, so the password unlocks the account here offline. Remove the authenticator removes it on every host. - This Windows login: Link this Windows login adds this PC's Windows login (device ID and SID) to the account and makes this PC's binding use it, with the proof the binding already has. Unlink removes it; it is refused when it is the account's only login. With a password remembered here, this PC stays signed in with the password and asks for it from then on; else the account signs out of this PC.
- On this PC: Ask for my password on this PC, Set PIN and Remove PIN, Unlock with Windows Hello, Encrypt my files on this PC while locked, Remember me on this PC, Lock now and Sign out of this PC.
- Merge another account into this one (Merging accounts).
Switching to an account that is signed in on this PC needs an Unlock when:
- the account doesn't have this PC's Windows login among its logins (it signed in with Sign in as someone else), or
- Ask for my password on this PC is on, or
- its files are encrypted here, or
- its unlock file here is there but can't be read (damaged, another account's,
or held by another program). Martlet can't tell what was set up, so it fails
closed: the Unlock window asks for a sign-in (Prove) with the account's
Martlet password. A good sign-in keeps the damaged file as
<32 hex>.json.damagedand starts a new one with nothing set. Martlet never changes a damaged file in another way. A missing file still means nothing is set up; people who share the Windows login can delete it, so only encryption keeps them out for sure.
The Unlock window takes the PIN, the password or Windows Hello, offline. It shows at start before the account loads and before every switch, never during a reply. Choose another account lists the other accounts signed in here (Choose an account), Sign in as someone else opens Prove. Closing the Unlock window at start closes Martlet; during Lock it shows again.
<data>\account-locks\<32 hex>.json (device scope, never synced, written with
an ACL for this Windows user only) keeps how the account unlocks here:
- The PIN (4 to 12 digits, Martlet's own for that account, not the Windows PIN) and the password only as PBKDF2-SHA256 verifiers (600,000 iterations, 16-byte salt), in a part protected with DPAPI for this Windows user, so other Windows users of the PC can't read them. People who share the Windows login can; the PBKDF2 cost is what slows their guessing.
- Five wrong PINs or passwords are free; then each try waits, from one second doubling up to 15 minutes, also after a restart.
- The password verifier is made after a Prove sign-in with the password or a password change from this PC, and replaced at the next one.
Windows Hello is Windows' own check of this Windows login's face,
fingerprint or Windows PIN (UserConsentVerifier, called without Windows
Runtime projections). It can't tell apart people who share one Windows login,
so it keeps accounts apart only when nobody else set up Windows Hello on that
login. The Account page says so. It releases no key, so it is off while the
files are encrypted.
From the account menu or the Unlock window: a Prove sign-in through
one of this PC's own hosts (AccountProveWindow: user name, password and the
authenticator code when the login has one). The host answers its attestation;
the desktop checks it with its own roster, then writes this PC's binding to
that account with the attestation in the account directory
(AccountLinks.SignedIn), keeps a verifier of the password and switches.
Remember me on this PC (on by default): off, Martlet signs the account out of
this PC when it closes (the binding and the unlock file go; the account's
folder stays). Provider sign-ins (W13) add a method to the same window.
Continue as ...? At first start, when the Windows login's e-mail hint
matches an account's hint (Account.HasEmail) and that account has a
Martlet password, Martlet asks Continue as Sam?. Yes runs Prove for that
account (the e-mail alone never signs anyone in), links this Windows login and
binds this PC with the attestation. No, a failed Prove or an account
without a password makes a new account as before.
A device acts for an account only when it proved that account. Desktops and
hosts check every device binding of an incoming entry
(AccountBindingRules, from AccountDirectory.Refusal) and refuse the entry
(account.binding) when one has no proof:
| Proof | When |
|---|---|
| (accepted) | This computer already accepted exactly that binding (it was checked then; a host removed since doesn't undo it) |
creator |
The device made the account (created_by, which never changes) |
attestation |
Its attestation checks out (AccountAttestation.Check) against the roster at the binding's signed_in_at, for that device and that account |
migration |
The household's owner account (AccountBindingRules.IsHouseholdOwner: OwnerAccount.IdFor, or an owner account that the founding desktop made) and an active member desktop of the roster that is bound with its own Windows login. Every desktop of a household from before accounts was the owner's, and a desktop the owner let join signs in to the owner's account. The proof does not depend on which desktop wrote the entry last, so a new desktop or host accepts the bindings of all the owner's desktops |
same-name |
An active member desktop of the roster, bound with its own Windows login, that made another account (live or merged) with the same name (SamePerson.SameName: equal after trimming, Unicode normalization and case; never the fallback name Me). Windows logins with the same name are one person, so that desktop folds its own account into this one (Same name, same person) |
merged |
It came from an account merged into this one (that account's creator, or an attestation for it), and the device that wrote the merge is bound to this account by one of the proofs above |
So linking a login to an existing account, Sign in as someone else and
Continue as always need a Prove, and nobody carries a PC into someone else's
account by merging an account of their own into it. Limits: a member desktop
can still bind itself to the household's owner account as a migration, and to
an account with the name of an account it made (same-name); a
modified desktop of the network can always do harm (it signs roster entries).
Once the household has accounts in a host's account directory, only a desktop
bound to an owner or admin account may change that host's sign-in settings
(GatewaySignInRoles, signin.denied otherwise). A desktop bound only to
member accounts may change those accounts' own password logins (account,
remove-account-authenticator, recovery-codes and remove-account with that
account_id). A household without accounts keeps the earlier rule: any member
desktop. The host sees devices, not people: a desktop bound to an admin's
account counts as an admin's whichever of its accounts is active, and the
desktop shows household sign-in only to an owner or admin.
Merge another account into this one, for one person with two accounts:
- Choose the other account. Sign in as it (Prove), and as this account too when it has a Martlet password.
- This PC signs in as the other account on the hosts (its Prove attestation
in the directory, given to every host at once), so they let it read that
account's memory space and settings. Then each
IAccountMergeStepmoves the other account's data into this one through its own store and sync: the files of its folder on this PC that this one lacks; its memories (itsaccount-<id>space merged into this one's on every host; facts keep their IDs andvoice_id); its personalities and character profiles (from its account settings, with the same IDs, so each character keeps its own memories; a name already used gets a number); and its voice links (each voice linked to it links to this account). Its other account settings (lorebooks, replies, look) stay with it. A step that fails stops the merge before anything is removed. -
AccountLinks.Mergegives this account the other's logins, device bindings, voices, e-mail hints and the higher role, and removes the other withmerged_into(both signed by this PC). A PC where the merged account is signed in signs it out, and switches to the kept account when that one is signed in there too. The owner's account can't be merged into another; merge the other way.
The merged account's password logins stay on the hosts: they prove the merged
account, and its merged_into leads to this one.
Encrypt my files on this PC while locked (opt-in, off by default; needs a PIN here):
- A random 256-bit file key, wrapped with AES-256-GCM under a key from the PIN (PBKDF2), and under one from the password when you type it while turning this on or change the password here. Windows Hello can't open it, so it is off.
- When the account stops being active on this PC (a switch to another account,
or Martlet closing), every file of
<data>\accounts\<32 hex>\is encrypted in place to<name>.mlock(AES-256-GCM, the file's path in the folder as associated data), one file at a time with an atomic replace. Unlock decrypts them before the account loads. A crash leaves each file whole; when both copies exist, the plain one wins. A file another program has open stays plain. Martlet tries those files again after 2 s, 10 s, 30 s and 2 minutes and keeps the key until they are encrypted; after the last try it tells you which files are still plain and encrypts them when it closes. One encryption or decryption of a folder runs at a time, and a switch back to the account stops an encryption that hasn't started yet. When Unlock can't decrypt every file, Martlet tries again, then names the files and asks Open without them or Don't open now (the files that did decrypt are encrypted again). Lock now shows Unlock without encrypting (the account's files are in use). - Only the account's folder is encrypted. The settings of the account in use are also in the data folder's own files (the working copy of account settings); they stay plain there until another account becomes active, also after Martlet closes.
- It keeps people on one Windows login apart. It is not secret from an administrator or from someone who guesses a short PIN. Forgetting the PIN (when the password didn't wrap the key) loses this PC's copy; the hosts keep the account's synced data.
Built by W8. Source code is in src/Martlet.Core/Sync/,
src/Martlet.Gateway/, src/Martlet.HostClient/ and
src/Martlet.Desktop/.
Each person keeps their own personalities, character profiles, replies, prompts, memory on or off, lorebooks, the character shown, how they talk, speech display, theme, Voice ID and reminders. The household keeps how Martlet thinks, listens and speaks with the paid API keys, and the other household sections (Scopes).
-
Two documents. The desktop runs two settings nodes. The household node
syncs the household sections through
/martlet/v1/settings, as before. The account node syncs the signed-in account's sections through/martlet/v1/settings/accounts/{account}and keeps that account's own copy in its folder. -
The files in use. Martlet's pages, the conversation and the MCP checks
read the same files as before (
settings.json,talk-preferences.json, the theme, the character). These files hold the signed-in account's settings.accounts\working-copy.jsonnames that account. Lorebooks are the exception: they live in the account folder, because they can be larger than one shared setting. -
Switching account happens between replies, in one step:
- The outgoing account's node records the files into its own copy.
- The desktop reads the incoming account's copies from the hosts.
- The incoming account's node gives the files its settings, or each
setting's default when the account never chose it
(
SharedSettingsNode.AdoptAsync). - The desktop writes the marker. A setting that can't change yet (the character window is open) is recorded as adopting. It is tried again on every sync and is never recorded as the incoming account's choice until the files hold it. If incoming adoption fails, the working-copy marker stays unchanged. When an outgoing account exists, Martlet tries to restore its settings before it reports the failure.
-
An account's copy is whole. Every setting the files hold that the copy
lacks is recorded, also when it is Martlet's default (with
SharedSettingsNode.KeptRevision, the lowest revision, so any choice made anywhere wins over it). The default a new account takes is recorded the same way, so it comes back unchanged (the same personality ID). A new account takes each setting's default unless the files hold exactly that value; the files' value is never kept because it looks like a default. - Older desktops and older hosts. An older Martlet keeps every setting in the household document. While the owner is signed in, the desktop merges the account entries of the household document into the owner's account copy, and merges the owner's account entries back into the household document. Both are last-writer-wins merges of the same entries, so every copy converges. Other accounts never read or write those entries. With older hosts only, the owner's settings still travel through the household document; another person's settings stay on each computer until the hosts are updated.
-
Migration. The files of a data folder from before accounts belong to the
first account that signs in there (W7 binds the owner on upgraded desktops).
That account's copy starts from the account entries of the data folder's
shared-settings.json, with what the computer last saw of each (AccountWorkingCopy.Seed), so nothing is recorded again or lost. -
Access. A host serves an account's settings only to a device that the
memory-space access hook admits for
account-<id>: the devices where that account is signed in (W9 sets the hook from the account directory). Account settings never carry an API key. -
Sharing (W10). Each account's document, its route and
SettingScopes.IsAccountKeyare the seam. Use a copy runs on the receiving person's device and writes into that person's own document. -
MCP.
settings_sync_statusnames the account whose settings the files hold, the scope of each entry, that account's own copy (with adopting entries) and the account folders on this PC.reminders_statusreads the account's copy.settings_sync_selftestrehearses an updated desktop with two accounts next to older desktops on loopback gateways.
Built by W7. Source code is in src/Martlet.Desktop/ and
src/Martlet.Core/Accounts/. MCP:
accounts_status and the picker's automation IDs (MCP).
-
Session file
accounts\session.json(device scope, never synced):windows_sid,current,signed_in(most recently used first),pending(id,name,role,created_at: accounts the household directory doesn't have yet) andproofs(id,login,attestation,signed_in_at: accounts signed in with a Prove sign-in). Every other signed-in account unlocks with the Windows loginwindows_sid, with no password. -
Open (App start, after
NetworkIdentity.UseDataDirectory): the saved session when itswindows_sidis this Windows login; else the accounts bound to(windows, device ID, SID)inaccounts.json; else, for a member desktop with noaccounts.json(an install from before accounts), the owner accountOwnerAccount.IdFor(networkId); else a new account named after the Windows display name,ownerwhile the household has no owner, elsemember. The account folder is made then.MARTLET_SIMULATE_WINDOWS_LOGIN(a display name) uses a fixture SID instead, for MCP checks on a disposable data folder. -
Change steps (
AddChangeStep):AccountChange(From, To, FromFolder, ToFolder, HouseholdFolder, New);Fromis null at start andNewmeans the folder was just made. App runs them at start (StartAsync, before the theme loads; the starting thread waits, so a step must not wait for the window's thread then). A switch awaits them without blocking the window's thread; a step that throws stops the switch and the session stays on the old account. W7 moves no files: settings and characters (W8) and memories (W9) do. -
Switching (the account button at the bottom of the navigation rail):
refused while Martlet replies or saves a change; it ends the conversation
(listening and watching stop), runs the change steps, saves the session and
raises
AccountChanged. -
Add a person: a name (1 to 64 characters, not one already on this PC)
makes a
memberaccount bound to this Windows login with no password, then switches to it. -
Prove sign-in (
SignIn, for W12 and W13): anAccountAttestationvalid now for the roster and naming this device signs the account in here. Its device binding carries the attestation and its login, not the Windows login. -
Directory sync: every 30 seconds while this PC is in a network (even
with Keep Martlet the same on all my computers off) and never during a
reply. It reads each member host's digest, takes the copies it vouches for
(
Accept), then writes this PC's accounts (AccountSession.Reconcile): pending accounts get their entry, and each signed-in account gets this device's binding again when a concurrent write dropped it. A household keeps one owner: a pendingowneris written asmemberwhen the directory already has another owner, and is not written at all when this PC signs in to the household's owner account instead (next item). Pending accounts wait until a host's copy was read. Then it pushes the merged copy to hosts whose digest differs. -
Joining with the owner's approval (
AccountSession.OwnerJoin,MainWindow.OwnerJoin.cs): a fresh install makes its ownowneraccount before it joins. When the directory sync then finds the household's owner account (IsHouseholdOwner) and this PC is on anowneraccount that it made itself, with no Prove sign-in on this PC and no sign-in join (joined-account.json), this PC signs in to the household's owner account with its Windows login (amigrationbinding). Between replies it switches to that account and folds its own account into it with the Merge steps: files, memories, characters and voice links move, and its own account is removed withmerged_into. An account that never reached the directory is only signed out. So the owner's settings and characters are on the new PC. MCPaccounts_statusshows the plan asownerJoin. -
Same name, same person (
SamePersoninMartlet.Core.Accounts,MainWindow.OwnerJoin.cs): each PC makes an account named after its Windows display name, so one person with Martlet on several PCs got one account for each PC. Windows logins with the same name are one person. When an account that this PC made, signed in here with its Windows login (in the directory or pending), has the same name as another account of the household with awindowslogin, this PC folds it into the keeper: the household's owner account first, then the higher role, then the account whose Windows login was added first, then the lower ID. Every desktop picks the same keeper, so two accounts never fold into each other. The steps are the same as when joining with the owner's approval: this PC signs in to the keeper with its Windows login (asame-namebinding), switches to it between replies, moves the files, memories, characters and voice links, and removes its own account withmerged_into. A pending account is never written; it is only signed out. It also runs for PCs that were set up before, and also after a Prove sign-in or a sign-in join. MCPaccounts_statusshows the plan assamePerson. - Someone who deletes both
accounts.jsonandaccounts\session.jsonon a member desktop is migrated again as the owner; account locks (W12) close this.
Built by W13. Source code is in src/Martlet.HostClient/HouseholdSignIn.cs
and src/Martlet.Desktop/. The user guide is
NETWORK.md; the MCP tool
signin_lab with mode account and household true rehearses it with the
desktop (MCP).
-
Household providers. A provider (
oidc,discord,steam) is the household's: the PC that saves it sends the sameproviderchange to every host of the network. Hosts keep the client secret; that PC keeps a copy in Windows Credential Manager (Martlet/v3/signin-provider/<id>) only to add the provider to hosts that miss it. Allowed identities stay per host, so friends stay friends. -
A provider login of an account is an allowed member identity with
account_id(W4) on every host. Linking is a Prove sign-in with the provider that asks to link:POST /martlet/v1/signin/provewithlink_account_id. The host checks the identity with the provider; when it allows that identity for nobody yet, it allows it as the account's login and answers the account's attestation with that login. The caller must be able to act for the account: a computer bound to it in the host's account directory, or to an owner or admin account (any member computer while the household has no accounts yet); elsesignin.denied. A login that proves another account, or a friend's, issignin.login_taken(409). The desktop then sends{"action":"link-login","attestation":...,"label":...}to every other host: each checks the attestation against its roster (signin.invalidwhen it doesn't check or names another computer) and that the identity proves no other account there, and allows it. A computer bound only to member accounts may sendlink-loginfor those accounts anddisallowfor identities linked to them (GatewaySignInRoles). Before the provider sign-in the desktop asks for a Prove sign-in of the account (signin.prove_firstwhen it doesn't check), unless the account has only Windows logins so far, which this PC checks itself. Unlinking sendsdisallowto every host (the host revokes the computers the login added, as for any removed sign-in); an account keeps at least one login. -
Signing in with a linked provider is W4's Prove sign-in
(
ProveInBrowserAsync) and returns the account's attestation. The Prove window (AccountProveWindow, W12) lists each household provider as a method (ProveMethod-<id>, in the browser), so Sign in as someone else, Continue as ...? and linking take a provider as well as a password. A provider sign-in keeps no password on the PC. -
The Account page (
AccountWindow.ProviderLogins.cs): Sign-ins from your household's providers lists the active account's provider logins (read from every host), Link for each household provider and Unlink for each login. Link asks for a Prove sign-in first when the account has a password or a provider login (or signed in here with a Prove); an account that so far has only Windows logins is vouched for by this PC, where its Windows login signs in. The directory entry lists the login (AccountLoginKey.ForProvider); Unlink removes it there and on every host, and refuses the account's last login. -
Joining as an account's computer. Join with an invite offers the
martletlogin when the host listsmartlet_sign_in. The host's join answer to members carriessign_in.account_id, and a member desktop lets the computer in byApproveSignedInas before and names the account. The new computer keeps the account and the attestation text injoined-account.json; once it is a member it callsAccountSession.SignIn(W7) with it, syncs the directory and switches to the account. The account W7 made at its first start (before it joined) stays signed in on that PC too.
Services an account links to use them, not to sign in to Martlet. The Account
page's Linked services section has them. Code: VRoidHubService.cs and the
Account page in the desktop, VRoidHub.cs in Martlet.Avatar.Hosting.
-
VRoid Hub (pixiv): shows VRoid Hub characters
(Find a character online). Link VRoid
Hub... runs VRoid Hub's OAuth 2.0 sign-in with PKCE in the browser and gets
the code on a loopback port of this PC. VRoid Hub is not an OpenID Connect
provider, so it is never a login of the account. The tokens are in Windows
Credential Manager under
Martlet/v3/vroid-hub/<account ID in hex>(pcbefore accounts exist): one link for each account on each PC, never in account settings, on a host or on another computer. A refused token refresh unlinks it. Unlink VRoid Hub revokes the tokens, deletes them and forgets the VRoid Hub models in memory; an account switch forgets those models too. The desktop makes every VRoid Hub request itself: VRoid Hub's rules don't let its API run on a server without pixiv's permission, so hosts never do. MCP'svroid_hub_statussays whether an account is linked, never a token.
This table and flowchart preserve the original implementation sequence. The dependencies and schedule below are historical, not current guidance.
Each workstream was one session, one branch and one PR into main. Merges were
serial: refresh origin/main and reconcile before each merge. Shared files
(CHANGELOG.md, docs/MCP.md, src/Martlet.Mcp.Protocol/McpServer.cs, the
host client in src/Martlet.HostClient/, route registration in
src/Martlet.Gateway) get additive edits only.
| ID | Workstream | Owns | Needs |
|---|---|---|---|
| W1 | Device ID per Windows user; Windows login detection (SID, Microsoft, work or local, e-mail hint, display name). Shipped (NETWORK.md, device ID) |
LocalLogs.ThisDeviceId, HostSetup.SuggestedDeviceId, NetworkIdentity, new WindowsLogin.cs
|
- |
| W2 | Account directory: contracts, merge, signatures, host storage and routes, client. Shipped (Account directory) | new src/Martlet.Core/Accounts/, new GatewayAccountDirectory.cs, new HostAccounts.cs client |
- |
| W3 | Host memory spaces: storage, routes, access hook, client. Shipped (MEMORY.md); the hook admits every member device until W9 |
GatewayMemories.cs and new space files, HostMemories.cs
|
- |
| W4 | Host sign-in for accounts: several account logins in signin.json, identities linked to account IDs, account attestations. Shipped (Host sign-in for accounts) |
GatewaySignIn*.cs, GatewayAccounts.cs, GatewaySignInHttp.cs
|
- |
| W5 | People always shared |
MainWindow.People.cs voice sync |
- |
| W6 | PC scope: companion or host role and host service machine-wide for all Windows users. Shipped (PC scope) |
DeviceRole.cs and its callers, PcFolder.cs
|
- |
| W7 | Desktop account session, owner migration, account picker, Add a person, first start, directory sync. Shipped (Desktop account session) | new AccountSession.cs, new MainWindow.Accounts.cs
|
W1, W2 |
| W8 | Account-scoped settings: split settings.json and shared settings into household and account parts; characters per account. Shipped (Account settings); creations per account are W8b |
AppSettingsSections, SharedSettings*, character profiles |
W7 |
| W9 | Desktop memory spaces: a store per space, recall over spaces, space sync, host access checks. Shipped (MEMORY.md); W10 starts from MemoryAccount.Character/Shared and the space on each Memory window fact |
DesktopMemoryService, MainWindow.MemorySync.cs, MemorySyncNode
|
W3, W7 |
| W10 | Sharing: character copy and together, the household space, fact sharing. Shipped (Sharing) | Characters page, Memory window | W8, W9 |
| W11 | Voice-to-account links on People; Voice ID filter per account | People page, voices.json
|
W7 |
| W12 | Account security: password and authenticator per account, PIN and Windows Hello lock, sign in as someone else, remember on this PC, merge accounts. Shipped (Account security) | Account page | W4, W7 |
| W13 | Provider logins linked to accounts; new devices join by account sign-in. Shipped (Provider logins) | Sign-in windows, HouseholdSignIn.cs
|
W4, W12 |
flowchart LR
W1 --> W7
W2 --> W7
W7 --> W8
W7 --> W9
W3 --> W9
W8 --> W10
W9 --> W10
W7 --> W11
W4 --> W12
W7 --> W12
W12 --> W13
At the time, W1 to W6 ran in parallel. W7 started when W1 and W2 merged. W8, W9, W11 and W12 ran in parallel after W7. W10 and W13 came last.
Martlet: download · repository · changelog · issues
These pages come from docs/wiki in the repository. To suggest a change, open an issue or a pull request there.
- Home
- Accounts and households
- Accounts and Household
- Android phones and tablets: what it takes, and the plan
- Martlet's API for other apps and scripts
- App Guides
- App Settings and Updates
- App guides: game and app knowledge from the web
- Architecture
- Bounded PCM playback
- Audio dependency inventory and notices
- Avatar guide: Live2D, VRM and speech animation
- V01a explicit microphone capture
- Chatterbox voice engines
- Cleaning up disk space
- One Martlet on all your computers
- Companion controls and behavior requirements
- Components, jobs and placement (design)
- Live conversation
- Creations
- Decision map: which file owns each decision
- Deep research: web search and long research jobs
- The desktop app: updates, notification area, exiting and appearance
- Linux and macOS desktop companion: research, decision and plan
- Developer Guide
- Dia voice engine
- Diagnostics
- Discord
- Architecture and provider contracts
- Discord
- Memory (P03a/P03b/P03c)
- Singing
- Desktop troubleshooting and local support
- Recognizing people by voice, and Parakeet
- Echo cancellation
- ElevenLabs voice: your cloned voice with tones
- F5 worker and reference-voice foundation
- FAQ
- First Steps
- Game state plan: implementation history
- Glossary: one name for each concept
- GPT-SoVITS voice
- Hosted Thinking: cloud models when Thinking can't run on this PC
- Installation and support
- Installing Martlet
- iOS and iPadOS: what it takes, and the plan
- Repository instructions for coding agents
- Repository knowledge base
- Knowledge base maintenance
- GitHub Wiki mirror
- Linux and Mac
- Listening and Voice ID
- Local model apps
- Lorebooks
- macOS: what it takes, and the plan
- Martlet MCP Server
- MCP in Martlet
- MCP: The app's window
- MCP: Apps, home and memory
- MCP: Characters
- MCP: Diagnostics and logs
- MCP: Computers, network and accounts
- MCP: Other
- MCP: Tool permissions
- MCP pages
- MCP: Server and protocol internals
- MCP: Settings
- MCP: Start here
- MCP: Thinking and models
- MCP: Voice and listening
- Memory
- Messaging apps
- Model catalog: sources, conflicts and design
- Motion host role
- Multiple Computers
- Your Martlet network
- OCR host role
- Share your language models: the OpenAI-compatible endpoint
- Packaging
- Perception worker contracts
- Personality and Characters
- Picture making
- Pictures and Creations
- Picture making host role
- Platforms: what each device can do
- Prerequisites: what Martlet bundles, installs for you, or needs from you
- Privacy and Safety
- Reading the text on your screen
- Wiki source
- Recommendation design: ask three questions, plan for three situations
- Recommended setups: one machine to unlimited budget
- Releasing
- Repository Layout
- Research and provenance ledger
- Resource footprints
- Roadmap
- Watch my screen: screen-aware commentary
- Search engine
- Image and audio models: who sees, who hears, who answers
- Setting Up a Host
- Setup, Windows credentials and local audio
- Sharing with Friends
- Singing
- Smart Home
- Smart home and cameras
- Source Projects
- Talking to Martlet
- Telegram and WhatsApp
- The Character
- Thinking
- Tools and MCP
- Troubleshooting
- Martlet desktop UI design
- User stories and target flows
- Voice activity detection
- Validating changes
- Validation and Testing
- Vision
- Voice latency: from you stopping talking to Martlet's voice
- Voice recognition host role
- Multi-engine voice setup and comparison
- Voices
- The welcome wizard
- XTTS-v2 voice engine