Repository navigation
Ask less often in Auto - #1544
Merged
Merged
Conversation
Auto asked about plain file writes, scripts and local commits. On a replay of 400 real tool calls it asked about 113, and about 20 of those were worth asking about. The hazard wording assumed a git project: "data git does not hold" matched every new file. The hazards now say what each one does in one sentence, and the no-hazard option names ordinary work. Auto runs a call when the no-hazard answer reaches 0.5; the hazards count together, and reversible no longer decides in Auto. On decision-small the same replay now asks about 61 of 400. All 190 labelled safe calls run, and 3 of 180 dangerous ones do, each marked known_miss: the git grep pager, plus `make -p | grep -i token` and a data file emptied with `>`. Read only lets no dangerous call run. Adds 40 eval cases: everyday calls in a folder that is not a repository, and hazards there that must still ask. Co-Authored-By: Claude Fable 5.2 <[email protected]>
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.
Auto is meant to ask only about dangerous calls. It was asking about plain file writes, scripts written and run, in-place edits and local commits.
What was wrong
On a replay of 400 real tool calls, Auto asked about 113 (28%). Reading those by eye, about 20 were worth asking about.
ssh, and downloaded JSON handed to a parser.reversiblescored local commits and in-place edits as permanent.What changed
targetornode_modules.reversibleno longer decides in Auto. Read only's rule is unchanged.docs/permissions.mdhas the new rule and a section on wording questions for a decision model.Results on
decision-smallThe live run used a cut-off of 0.6 (71 real calls asked, 188 of 190 safe calls ran). The 0.5 numbers above come from rescoring those same answers, which sends nothing.
Known limits
known_miss: the pager hidden in agit grepflag (already known),make -p | grep -i token, and a data file emptied with> data/recordings.csv.ssh, and reads of files whose names suggest secrets.Testing
just cipasses, and so does the pre-commit hook.just permission-evalpasses against a local stack at the 0.6 cut-off; it was not rerun live at 0.5.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.