fix(agents): show real description on agent cards, not instructions - #66
Merged
Conversation
Agent cards rendered persona.systemPrompt unconditionally, so even a
well-described agent showed its raw "You are X..." instructions instead
of its description. Cards now show the real description when one
exists, falling back to instructions only when the description is
missing or still the API's placeholder ("Agent"/"Draft").
Also adds a Description field to the manual agent create/edit rail,
which previously only exposed Name and Instructions, silently writing
the "Agent" placeholder into every agent's description on save.
Co-Authored-By: Claude <noreply@anthropic.com>
Adds a labeled Description row to the agent detail page's metadata list (below the divider, alongside Provider/Model/Created/Updated) so a real description is visible without opening the edit view. Adds a multiline metadata option distinct from the existing wrap option, since break-all is meant for unbroken strings like file paths and would mangle real prose. Also fixes the "Change avatar" hover label on this page, which resolved to the raw key editor.changeAvatar instead of real text — the key only ever existed under builderRail, where the same label is already used correctly for the same action. Co-Authored-By: Claude <noreply@anthropic.com>
delkc
marked this pull request as ready for review
August 17, 2026 19:48
tulsi-builder
approved these changes
Aug 17, 2026
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.
Why
Agent cards rendered
persona.systemPromptunconditionally, so even a well-described agent showed its raw "You are X..." instructions instead of its description.What
"Agent"/"Draft")."Agent"placeholder into every agent's description on save.PersonaCard.tsxandagentShareCard.ts) behind one shared helper.References
Ported from the original branch on
squareup/berd(now archived) after the migration toblock/berd. Verified byte-for-byte equivalent against the original commit for all files whose surrounding code hadn't drifted; hand-ported the two files (PersonaCard.tsx,agentShareCard.ts) where it had.Generated with Claude Code