返回 (允许?, 原因)
(self, tool_name: str)
| 905 | class PermissionChecker(ABC): |
| 906 | @abstractmethod |
| 907 | def check(self, tool_name: str) -> tuple[bool, str]: |
| 908 | """返回 (允许?, 原因)""" |
| 909 | ... |
| 910 | |
| 911 | # ==== 2. Builder: 系统提示词 ==== |
| 912 |
nothing calls this directly
no outgoing calls
no test coverage detected