eca icon indicating copy to clipboard operation
eca copied to clipboard

Please document how permissions work.

Open apalazzi opened this issue 4 months ago • 1 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

I'm trying to setup permissions so that commonly used read-only commands like grep or read_file are automatically approved, however I'm still getting asked for permissions even though I have eg .

Things that are not clearly explained but IMO should are:

  • permissions priorities in case of conflicting rules; related to #444
  • what happens when commands are chained in pipelines, eg shell_command cat file | grep something
  • what is actually added to approval rules for the session when we select "accept and remember for this session"
  • when do we need to add the prefix eca__ to tool call?

Also printing which rule is triggering the ask, approve or deny path could help in debugging approval rules.

apalazzi avatar Jul 16 '26 07:07 apalazzi

Thanks for the report @apalazzi, yeah, I believe we can improve docs + add a debug log (accessed via eca --log-level debug), will take a look at that

ericdallo avatar Jul 16 '26 13:07 ericdallo