feat(coding-agent): add auto approval classifier - #680
Open
realsigridjin wants to merge 4 commits into
Open
Conversation
Contributor
Author
|
@code-yeongyu All CI checks are green. I do not have upstream merge permission; please merge this PR when ready. |
# Conflicts: # packages/coding-agent/src/changes.md
Contributor
Author
|
@code-yeongyu Updated and synchronized: Shift+Tab now remains the thinking shortcut, approval mode uses Alt+A, and the branch includes latest main without conflicts. All 14 checks pass on head f4fc7d9. I still lack upstream merge permission; please merge when ready. |
Contributor
Author
|
@code-yeongyu i need this feature |
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.
Summary
autoas a first-class permission preset for settings,--permission-preset, and the Alt+A session cycleworkspace,read-only, andaskmodes availableDesign
The implementation follows the auto-mode classifier architecture described by Anthropic and evaluated in AmPermBench:
ALLOWorREVIEWDECISION: ALLOWorDECISION: BLOCKReferences:
Verification
npm run checknpm run build -w @code-yeongyu/senpiThe unfiltered full suite exposed two pre-existing failures outside this diff: a reftable refresh timeout and a 1 ms app-server archive timestamp comparison. The affected files are unchanged from
origin/main.