agent-orchestrator/backend/internal/adapters
neversettle 8241868398
feat(review): enforce reviewer read-only via tool allowlist (#2194)
The reviewer's read-only guarantee was enforced only by the prompt. Add
AllowedTools/DisallowedTools to ports.LaunchConfig and plumb them through
the claude-code agent adapter to --allowedTools/--disallowedTools (each list
comma-joined into one value so a rule containing spaces like "Bash(git
diff:*)" is not split into separate tool names). Empty lists emit nothing, so
worker sessions are unaffected.

Launch the reviewer off bypassPermissions (which skips the permission system
and ignores allow/deny rules) in the default auto mode, with an allowlist
scoped to Read/Grep/Glob and the few Bash commands a reviewer needs (gh, git
diff/log/show/status, ao review submit) and an explicit deny list for
Edit/Write/NotebookEdit/git push/git commit as defense in depth.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 20:27:19 +05:30
..
agent feat(review): enforce reviewer read-only via tool allowlist (#2194) 2026-06-29 20:27:19 +05:30
reviewer feat(review): enforce reviewer read-only via tool allowlist (#2194) 2026-06-29 20:27:19 +05:30
runtime feat: Global Settings (migration + update channel) + ao start download progress (#2235) 2026-06-27 23:08:55 +05:30
scm/github fix: hide backend subprocess windows on Windows (#2179) 2026-06-25 16:21:18 +05:30
telemetry Feat/posthog error tracking redaction (#329) 2026-06-21 18:50:47 +05:30
tracker/github refactor: simplify session lifecycle and zellij runtime (#62) 2026-06-01 08:42:49 +05:30
workspace/gitworktree fix: hide backend subprocess windows on Windows (#2179) 2026-06-25 16:21:18 +05:30
registry.go Add agent adapters and wire per-session agents into the session manager (#65) 2026-06-02 16:51:32 +05:30