Repository navigation
feat(tools): the chief can change a bot's model and effort with the owner's OK - #197
Merged
Merged
Conversation
…th the owner's OK change_bot takes model and effort, and suggest_bot takes effort. The roster shows each bot's model and effort, and the chief's rules ask it to watch the cost and propose a cheaper model or effort for simple work. The owner approves on the card, which shows them before and after; the bot restarts on them once nothing is in progress. Spec 10, 10.2, 10.3.
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.
The chief said it could not change a bot's model or effort. This PR lets it, so it can save the owner's plan on simple work.
change_bottakesmodelandeffort, for the caller or, for the chief, another bot of the crew.bots.setModelandbots.setEffort: the bot restarts on them once nothing is in progress.defaulteffort shows as "Recommended".suggest_bottakeseffort. The suggestion card lets the owner pick it next to the model.crew_rostershows each bot'smodelandeffort.haikuandlow.Spec: 10, 10.2, 10.3.
Tests:
bot_changes.rs(the chief lowers model and effort; a bad effort is refused),crew_chief.rs(suggested effort),tasks.rs(roster fields),botChange.test.tsx.Manual with real Claude: ask the chief which bots could use a cheaper model, then approve its proposal.