-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fixes #4882: Remove experimental setting for command execution in attempt_completion #4884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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
daniel-lxs
approved these changes
Jun 19, 2025
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it and looks good
…empt_completion - Remove DISABLE_COMPLETION_COMMAND from experiments system - Permanently disable command execution in attempt_completion tool - Update tool prompts to remove command parameter and examples - Remove experimental UI toggle and localization entries (18+ languages) - Update tests to reflect permanent behavior - Remove experiment-specific test file Command execution is now permanently disabled in attempt_completion. Users must use execute_command tool separately before attempt_completion.
Collaborator
|
Tests are failing |
Member
|
@mrubens |
mrubens
approved these changes
Jun 20, 2025
cte
pushed a commit
that referenced
this pull request
Jun 24, 2025
…empt_completion (#4884) * Fixes #4882: Remove experimental setting for command execution in attempt_completion - Remove DISABLE_COMPLETION_COMMAND from experiments system - Permanently disable command execution in attempt_completion tool - Update tool prompts to remove command parameter and examples - Remove experimental UI toggle and localization entries (18+ languages) - Update tests to reflect permanent behavior - Remove experiment-specific test file Command execution is now permanently disabled in attempt_completion. Users must use execute_command tool separately before attempt_completion. * refactor: simplify getAttemptCompletionDescription by removing unnecessary variables * test: fix tests by regenerating snaps --------- Co-authored-by: Daniel Riccio <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
lgtm
This PR has been approved by a maintainer
PR - Needs Review
size:XL
This PR changes 500-999 lines, ignoring generated files.
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
This PR removes the experimental setting and permanently disables command execution in the tool, as requested in issue #4882.
Changes Made
Core Implementation
Type System Updates
Localization Cleanup
Test Updates
Impact
For Users
For Developers
Testing
Acceptance Criteria Met
Related Issues
The experiment has been successful with no reported issues, and this PR implements the originally planned permanent removal as stated in #4352.
Important
This PR permanently disables command execution in
attempt_completion, removing related experimental settings and updating tests, type definitions, and localization files accordingly.attempt_completionby removing related logic and experiment checks inattemptCompletionTool.tsandattempt-completion.ts.objective.tsto remove command instruction.commandparameter fromAttemptCompletionToolUseintools.ts.disableCompletionCommandfromexperiment.tsandexperiments.ts.DISABLE_COMPLETION_COMMANDentries from all localization files.attempt-completion.spec.tsto reflect command-free behavior.attemptCompletionTool.experiment.spec.tsas experiment-specific tests are no longer needed.This description was created by
for 76fc799. You can customize this summary. It will automatically update as commits are pushed.