Repository navigation
Add configure: change a bot's model, effort, instructions and gate - #144
Conversation
Protocol 14. configure replaces what a bot's client chose when it made it: its instructions, a model of the same family with an optional effort, and a root bot's gate (approve: [] alone removes it; a bot another bot made keeps the gates it descends from). It is refused while a turn runs or waits parked, answers which fields changed, and tells followers with a live configured event. ready.providers now names the efforts each binding's family takes, and the client keeps it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LutDnsMA6fqW8Qwj2Wcoks
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d7c612adff
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Clearing the thinking binding makes the next request strip thinking written under the old instructions. The docs now say a client-made fork's gates can be replaced too, since that client could make an ungated bot anyway. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LutDnsMA6fqW8Qwj2Wcoks
|
@codex review Generated by Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9e722eccc0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
…figure A turn that ran before configure moved the bot keeps the model and effort it ran at, in its record and as the cache the next turn takes as held. A keyed creation keeps a fingerprint of the instructions it was sent with, so a resend still matches after they are replaced. Schema 49. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01LutDnsMA6fqW8Qwj2Wcoks
…-45hlbm-configure
First of five stacked PRs that bring in Sonny, a terminal coordinator for a folder's agents. Merge them bottom-up. This one is daemon-only, and nothing in it knows Sonny exists.
What
Protocol 14 adds
configure. It changes what a bot's client chose when it made the bot:approve,approver,approve_expire_ms). Only a root bot can change its gate. A bot another bot made keeps the gate it inherited and getsgates_inherited. Passingapprove: []alone removes the gate.Behavior:
bot_busywhile a turn runs or waits parked. The gate changes first, so a refused gate leaves the rest unchanged.{bot, bot_id, changed: [...]}.configuredevent (durable: false), so a client's footer can follow a change made elsewhere.ready.providers.NAMEnow carriesefforts, the efforts that binding's family takes, andagent-clientkeepsprovidersfrom the ready line.Docs:
docs/RUST_PROTOTYPE.md(configure, ready fields, approvals) anddocs/CLIENT.md.Tests
cargo test --workspace: all pass, exceptremote::tests::no_ssh_config_changes_what_the_app_forces. That test fails on main too, in a container with nossh.a_root_bot_changes_its_gate_and_a_made_bot_keeps_its_own.test_configure_changes_a_bot_and_tells_its_followers, run withAGENT_TEST_RUNTIME=1. It covers model, effort and gate changes,bot_busy,gates_inherited, and theconfiguredevent.No visible change, so no screenshots.
Stack
configure~/.agent/envreader