Skip to content

AI copilots reference undefined tools, skills and knowledge indexes #493

Description

@yinlianghui
  • The repo contains no *.tool.ts files and no defineTool calls, but skills list 11 custom tools: triage_case, search_knowledge, generate_email_copy, optimize_subject_line, personalize_content, generate_email, analyze_lead, suggest_next_action, analyze_pipeline, identify_at_risk, forecast_revenue. Only the 5 platform built-ins in live-data.skill.ts:41-47 resolve. Both agents' prompts orchestrate steps around these tools ("1. Call triage_case…").
  • case-triage.skill.ts:16 instructs handing off to a response_drafting skill; no such skill exists (the service copilot mounts email_drafting).
  • customer-360.skill.ts promises account + cases + opportunities + knowledge aggregation, but its only listed tool is search_knowledge.
  • sales-copilot.agent.ts:37-40 (indexes: ['sales_knowledge'], topics sales_playbook/product_catalog/lead_qualification) and service-copilot.agent.ts:25-28 (indexes: ['support_knowledge']) reference knowledge indexes/topics defined nowhere in the repo.
  • Both agents pin { provider: 'openai', model: 'gpt-4' } with maxTokens: 2000; the sales copilot's prompt requires describe_object on every turn across 15 objects.
  • email-drafting.skill.ts:19 lists both generate_email_copy and generate_email; the latter never appears in its instructions.
  • Skill permission strings (crm:case:write, crm:email:write, …) use a namespace that appears nowhere in profiles; crm_email is not an object in the stack.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions