Agent callsigns, spoken identity, and version in the title bar - #21
Merged
Conversation
A Settings > Behavior toggle (app-wide, persisted in panel-state.json)
names new agents from a curated 500+ callsign pool - construct-crew,
phreak, and cypher-energy handles, no real people or properties - dealt
from a shuffled deck that never repeats until exhausted, skips names
open tabs are wearing, and falls back to numbers if all are taken.
Tests pin the pool contract: 500+ unique well-formed names, cycle
without repeats, collision skip, numbered fallback.
The window title now reads MandoCode Desktop v{version}, sourced from
the assembly version the update checker already compares.
The tab's name now reaches the model and the transcript. AgentSession
stamps Config.AgentName (new in the engine, null-safe for the CLI) via
its Title setter BEFORE building AIService, so the baked system prompt
introduces the agent as '{name}, running on MandoCode' from the first
message. Renaming a tab notifies the live conversation through the
workspace-note channel. Reply cards are labeled with the agent's name
instead of a hardcoded MandoCode - the platform stays the stage, the
agent is the actor. Rolls the harness pin for AgentName support.
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
Gives agents real identities. A new app-wide setting names each new agent from a curated pool of 500+ callsigns instead of "Agent 1, Agent 2" — and the named agent actually knows its name: reply cards carry it, and the model introduces itself by it. Also puts the app version in the window title.
What's new (plain language)
1. Callsign names (Settings → Behavior, off by default). Turn it on and new agents draw names like Morphy, Crunch, Blazor, Kaos, or Wichita from a 500+ name deck — shuffled, no repeats until the whole deck has been dealt, never colliding with an open tab. The pool is hand-curated street-energy: breaking-cypher, phone-phreak, and construct-crew flavor, with no real people or owned properties referenced (distinctive real handles were riffed, not copied). Numbered names remain the default, and renaming a tab by hand always works.
2. Agents know who they are. Before: a tab named Blazor still said "Hi, I'm MandoCode" because that identity was hardcoded in the AI's instructions, forcing one word to mean both the app and the voice — visibly confusing smaller models. Now the model is told "You are Blazor, a local AI coding assistant running on MandoCode", reply cards are labeled with the agent's name, and renaming a tab informs the live conversation. MandoCode stays the platform; agents are characters on it. The engine side (MandoCode PR #68, pinned here) is null-safe — the CLI's classic identity is untouched.
3. Version in the title bar. "MandoCode Desktop v0.1.0", from the same single version source the update checker uses.
Scope / risk
Verification