export const allowedAgentScopes = [
  "workspace:read",
  "project:read",
  "project:create",
  "project:member:add_existing",
  "issue:read",
  "issue:create",
  "issue:update",
  "issue:move",
  "issue:comment",
  "issue:label",
  "issue:assign",
  "issue:attachment:write",
  "issue:structured_blocks:write",
] as const;

export type AgentScope = (typeof allowedAgentScopes)[number];

export const deniedMvpCapabilities = [
  "issue:delete",
  "issue:archive",
  "comment:delete",
  "label:delete",
  "state:create",
  "state:delete",
  "project:delete",
  "workspace:settings",
  "workspace:member:invite",
  "workspace:member:remove",
  "raw_tasker_api",
] as const;

export const taskAuthorPresetScopes: AgentScope[] = [
  "workspace:read",
  "project:read",
  "project:create",
  "project:member:add_existing",
  "issue:read",
  "issue:create",
  "issue:update",
  "issue:move",
  "issue:comment",
  "issue:label",
  "issue:assign",
  "issue:attachment:write",
  "issue:structured_blocks:write",
];

export const reporterPresetScopes: AgentScope[] = [
  "workspace:read",
  "project:read",
  "issue:read",
  "issue:update",
  "issue:comment",
  "issue:structured_blocks:write",
];
