dsh-approval-memory: Log DSH approval requests and decide whether to auto-approve by category.
DAM is a profile-level DSH Host + Client plugin maintained by TMrazbw, categorized under admin-security. It collects `approval/asked` and `approval/decided` events within the current profile, classifying requests into stable categories and tracking their count, risk level, and last appearance time. Low-risk read-only categories can have auto-approval enabled individually, while high-risk and blacklist categories are only tracked for statistics. Path trust is limited to a single session and is cleared upon restart; auto-approval only returns `allowed-once`. The plugin offers a sidebar panel, a `/dam-ui` command, and an `open_dam_ui` tool. It uses authenticated `snapshot/mutate` routes and includes audit logs. The default data directory is `%DSH_HOME%/approval-memory`. Configuration options include `dataRoot`, `maxEvents`, `maxExamples`, and `includeSubagents`, as well as the environment variable `DSH_APPROVAL_MEMORY_ROOT`. The README states that it targets DSH 0.2.x, has been verified on 0.2.1-rc.2, includes 136 tests, and is licensed under MIT. The plugin runs with the permissions of the current DSH process; users should check the source code and license before installation.
Read More