Merge 3eaeeb7a98536032419249aea94f7dfef4586693 into 5e417b44e1540f528d2ae63e3e20229a902d1db2

This commit is contained in:
Andie Nguyen 2026-03-20 23:54:10 -03:00 committed by GitHub
commit f3a5a9d291
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -198,7 +198,7 @@ const CORE_TOOL_DEFINITIONS: CoreToolDefinition[] = [
label: "cron",
description: "Schedule tasks",
sectionId: "automation",
profiles: ["coding"],
profiles: [],
includeInOpenClawGroup: true,
},
{

View File

@ -56,7 +56,7 @@ describe("tool-policy", () => {
it("resolves known profiles and ignores unknown ones", () => {
const coding = resolveToolProfilePolicy("coding");
expect(coding?.allow).toContain("read");
expect(coding?.allow).toContain("cron");
expect(coding?.allow).not.toContain("cron");
expect(coding?.allow).not.toContain("gateway");
expect(resolveToolProfilePolicy("nope")).toBeUndefined();
});

View File

@ -125,7 +125,7 @@ describe("tools invoke HTTP denylist", () => {
expect(cronRes.status).toBe(200);
});
it("keeps cron available under coding profile without exposing gateway", async () => {
it("keeps cron available via gateway.tools.allow without exposing gateway", async () => {
cfg = {
tools: {
profile: "coding",