ReviewOS

also looking at this

stacks/buddy

feat(setup): make the presets deliver their descriptions, and delete the mode nothing could reach

#1440
Merged glennmichael123 wants to merge chore/decisions into main
8 files +99 -50
docs/ai/agent.mdmodified+1-2
Changes to docs/ai/agent.md
@@ -12,11 +12,10 @@ A **mode** is a playbook plus the capability tiers it may draw tools from. The t
1212|---|---|---|
1313| `plan` | read | No |
1414| `review` | read, comment | No |
15| `restricted` | read | No |
1615| `fix-ci` | read, write, shell, git, comment | Yes, on the working branch |
1716| `implement` | read, write, shell, git, comment | Yes, on the working branch |
1817
19`restricted` is what a run triggered by someone **without write access** gets. Public repositories accept input from anyone, so the actor is gated the same way the task is.
18A run triggered by someone **without write access** never reaches a mode at all: public repositories accept input from anyone, so `checkPermission` refuses non-collaborators every agent-running command before one is chosen.
2019
2120An unknown mode name raises an error rather than falling back to a default — silently landing in a permissive mode on a typo would be the worst possible failure.
2221