archetypes: reviewer holds execution so it can run hive-forge and git
The reviewer now has messaging, inbox and execution. execution is what gives an agent the bash server, without which it cannot run hive-forge or git to read a PR and post a review. meta is dropped: get_agent_meta is not part of reviewing a PR. Refs #5386
This commit is contained in:
parent
51035eac1d
commit
0382c65386
3 changed files with 11 additions and 9 deletions
|
|
@ -13,9 +13,9 @@ fields as the form shows them. Nothing records which archetype you picked.
|
|||
|
||||
The hyperhive flake ships these:
|
||||
|
||||
| archetype | what it sets |
|
||||
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `reviewer` | permissions `messaging`, `meta`, `inbox`: the default set without `execution`. It has no shell, so it can't run `hive-forge`, `git` or any command. |
|
||||
| archetype | what it sets |
|
||||
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `reviewer` | permissions `messaging`, `inbox`, `execution`: the default set without `meta`. With `execution` it can run `hive-forge`, `git` and other commands. |
|
||||
|
||||
## Where an archetype comes from
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ hyperhiveArchetypes.reviewer = {
|
|||
module = { };
|
||||
meta = {
|
||||
description = "Reviews what it is sent.";
|
||||
permissions = [ "messaging" "meta" "inbox" ];
|
||||
permissions = [ "messaging" "inbox" "execution" ];
|
||||
limits = { memory_max = "4G"; };
|
||||
inference = { effort = "high"; };
|
||||
};
|
||||
|
|
@ -79,7 +79,7 @@ The stored value:
|
|||
"archetypes": {
|
||||
"reviewer": {
|
||||
"description": "…",
|
||||
"permissions": ["messaging", "meta", "inbox"]
|
||||
"permissions": ["messaging", "inbox", "execution"]
|
||||
}
|
||||
},
|
||||
"refused": { "broken": "limits: …" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue