Commit Graph

4 Commits

Author SHA1 Message Date
mickey-mikey
377791080c feat: add tasks:manage permission level to deny delete without blocking other writes
The consolidated manage_task tool bundles create/update/delete/move into a
single tool, making it impossible to deny just the delete action via tool
tiers or scope-based filtering.

This adds:
- A `manage` permission level for tasks (between readonly and full)
- A SERVICE_DENIED_ACTIONS registry mapping (service, level) to denied actions
- An is_action_denied() helper that tools call before executing actions
- Guards in manage_task and manage_task_list that reject denied actions

Usage: --permissions tasks:manage
Allows create, update, move. Denies delete.
tasks:full remains unchanged (all actions allowed).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 15:04:31 +11:00
Taylor Wilsdon
768ec5eef0 refac 2026-02-28 16:17:43 -04:00
github-actions[bot]
86a8e1be4d style: auto-fix ruff lint and format 2026-02-25 23:44:33 +00:00
Taylor Wilsdon
cfc68d8605 implement --permissions flag 2026-02-24 21:28:50 -04:00