Repository navigation
feat(tools): change_bot, a bot renames or changes itself, the chief another bot - #192
Merged
Merged
Conversation
…hief another bot When the owner asks, a bot can rename itself or change its role or instructions, and the crew's chief can do the same for another bot of its crew. The handle is looked up only in the caller's crew. The owner approves or declines in the caller's chat, on a card that shows the change before and after; bypass mode changes at once. Spec 10, 10.3.
httpsphl
enabled auto-merge
October 5, 2026 14:56
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.
When the owner asks:
bot: its handle).The handle is looked up only in the caller's crew, so a bot of another crew is "no bot in your crew". Other bots naming someone else get an error telling them to ask the chief. Fields are checked like
bots.updatebefore the owner is asked, and again when applied.The owner approves or declines in the caller's chat. The new card shows name and role before and after, the new instructions folded, and the reason, with a note for a no. In bypass mode it changes at once. The name and handle change at once; role and instructions count from the bot's next start, as when the owner edits them.
Spec: the table in 10 and a new 10.3. Rules: one line for every bot (only when the owner asks) and one for the chief.
Tests:
tests/bot_changes.rs(rename approved, the chief changes another bot and a no, only the chief, another crew, taken name and no change) andbotChange.test.tsx.Manual with real Claude: ask a bot "rename yourself to X", then ask the chief to change another bot's role.