"allow always" in the confirmation dialog with project-local storage of allowances #43

Open
opened 2026-07-27 18:55:33 +00:00 by hugo · 0 comments
Owner

commands that show a confirmation dialog must also be showing a "allow always" that then destills the main commands and their combination out of the command and stores that signature as a project-local dotfile, so that later checks can recognize that. Command signatures are the base commands and the concatenating operators (pipe or double-ampersand). this prevents the system from constantly asking.

Another option could be to ask the AI model with a oneshot prompt for a signature of the command that is reduced by the uncritical parts and reduces. it to a singular fact that would be same for any similar command and an "allow always" would then only target this signature.

commands that show a confirmation dialog must also be showing a "allow always" that then destills the main commands and their combination out of the command and stores that signature as a project-local dotfile, so that later checks can recognize that. Command signatures are the base commands and the concatenating operators (pipe or double-ampersand). this prevents the system from constantly asking. Another option could be to ask the AI model with a oneshot prompt for a signature of the command that is reduced by the uncritical parts and reduces. it to a singular fact that would be same for any similar command and an "allow always" would then only target this signature.
hugo added the enhancement label 2026-07-27 18:55:33 +00:00
hugo added idea and removed enhancement labels 2026-07-27 19:43:53 +00:00
Sign in to join this conversation.