Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Train T2 check for #7349 x #7375: a limited far-side turn's skill_manage, all_bots included, stays refused

milind-soniaa155b8c13e3
diff --git a/server/bot-link/far-side.test.ts b/server/bot-link/far-side.test.ts
index 20f89181d2..315bf18513 100644
--- a/server/bot-link/far-side.test.ts
+++ b/server/bot-link/far-side.test.ts
@@ -176,6 +176,8 @@ describe("what a limited turn's engine is given", () => {
const [method, path] = refused.split(" ") as [string, string];
expect(linkRouteRefused(method, path), refused).toBe(true);
}
+ // skill_manage stages every skill change here, one with all_bots (a skill on all of the person's bots) included.
+ expect(linkRouteRefused("POST", "/api/internal/skills/stage"), "skill_manage, all_bots included").toBe(true);
for (const memory of ["POST /api/internal/memory", "POST /api/internal/memory/log", "POST /api/internal/team-memory"]) {
const [method, path] = memory.split(" ") as [string, string];
expect(linkRouteRefused(method, path), memory).toBe(true);