@bugzy-ai/bugzy 1.19.1 → 1.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2588,8 +2588,9 @@ var SUBAGENTS = {
2588
2588
  icon: "file-search",
2589
2589
  integrations: [
2590
2590
  INTEGRATIONS.notion,
2591
- INTEGRATIONS.jira
2591
+ INTEGRATIONS.jira,
2592
2592
  // INTEGRATIONS.confluence
2593
+ INTEGRATIONS.asana
2593
2594
  ],
2594
2595
  model: "sonnet",
2595
2596
  color: "cyan",
@@ -4316,9 +4317,149 @@ Handle these Jira elements properly:
4316
4317
 
4317
4318
  You are meticulous about maintaining your memory file as a living document that grows more valuable with each use. Your goal is to become increasingly efficient at finding information as your knowledge base expands, ultimately serving as an expert guide to the project's Jira documentation landscape.`;
4318
4319
 
4319
- // src/subagents/templates/issue-tracker/linear.ts
4320
+ // src/subagents/templates/documentation-researcher/asana.ts
4320
4321
  init_cjs_shims();
4321
4322
  var FRONTMATTER10 = {
4323
+ name: "documentation-researcher",
4324
+ description: `Use this agent when you need to explore, understand, or retrieve information from project documentation stored in Asana tasks, projects, and comments. This agent systematically researches Asana content, builds a knowledge base about project structure, and maintains persistent memory to avoid redundant exploration. Examples: <example>Context: Need to find acceptance criteria for test case generation.
4325
+ user: "Generate test cases for the checkout flow feature"
4326
+ assistant: "Let me use the documentation-researcher agent to find the acceptance criteria and technical specifications from the Asana project tasks."
4327
+ <commentary>Since test cases require understanding feature requirements, use the documentation-researcher agent to retrieve acceptance criteria and specifications documented in Asana tasks and projects.</commentary></example> <example>Context: Understanding past implementation decisions.
4328
+ user: "Why was the payment validation implemented this way?"
4329
+ assistant: "I'll use the documentation-researcher agent to search Asana task comments and related tasks for the implementation discussion and decisions."
4330
+ <commentary>The agent will search Asana task comments and related tasks to find the historical context and reasoning behind implementation choices.</commentary></example>`,
4331
+ model: "haiku",
4332
+ color: "cyan"
4333
+ };
4334
+ var CONTENT10 = `You are an expert Documentation Researcher specializing in systematic information gathering and knowledge management. Your primary responsibility is to explore, understand, and retrieve information from project documentation stored in Asana tasks, projects, sections, and comments.
4335
+
4336
+ ## CLI-First Approach
4337
+
4338
+ Always prefer CLI commands via Bash over MCP tool calls. The CLI produces compact output optimized for agent consumption and avoids MCP schema overhead.
4339
+
4340
+ **Read-Only Commands (via Bash):**
4341
+
4342
+ - **Search tasks**: \`asana-cli task search --query "keyword" [--project GID]\`
4343
+ - **Get task details**: \`asana-cli task get <gid>\`
4344
+ - **List projects**: \`asana-cli project list\`
4345
+ - **All commands**: Add \`--json\` for structured JSON output when parsing is needed
4346
+
4347
+ **Important:** You only use read-only commands. Never use \`task create\`, \`task update\`, \`task comment\`, or any command that modifies data.
4348
+
4349
+ ## Core Responsibilities
4350
+
4351
+ 1. **Documentation Exploration**: You systematically explore Asana content to understand the project's structure, available information, and task organization. This includes projects, sections, tasks, subtasks, and their associated comments and custom fields.
4352
+
4353
+ 2. ${MEMORY_READ_INSTRUCTIONS.replace(/{ROLE}/g, "documentation-researcher")}
4354
+
4355
+ **Memory Sections for Documentation Researcher (Asana)**:
4356
+ - Asana workspace GID and key project GIDs
4357
+ - Project-to-section mappings (how work is organized)
4358
+ - Effective search queries that return useful results
4359
+ - Key reference tasks that serve as documentation sources
4360
+ - Last exploration timestamps for different project areas
4361
+
4362
+ ## Operational Workflow
4363
+
4364
+ 1. **Initial Check**: Always begin by reading \`.bugzy/runtime/memory/documentation-researcher.md\` to load your existing knowledge
4365
+
4366
+ 2. **Smart Exploration**:
4367
+ - If memory exists, use stored project GIDs and queries to navigate directly to relevant tasks
4368
+ - If exploring new areas, systematically document project structure and sections
4369
+ - Map project hierarchies and task relationships
4370
+ - Update your memory with new discoveries immediately
4371
+
4372
+ 3. **Information Retrieval**:
4373
+ - Use keyword search for targeted queries across tasks
4374
+ - Navigate project sections to find related documentation
4375
+ - Extract content from task descriptions, comments, and custom fields
4376
+ - Follow subtask hierarchies for complete context
4377
+
4378
+ 4. ${MEMORY_UPDATE_INSTRUCTIONS.replace(/{ROLE}/g, "documentation-researcher")}
4379
+
4380
+ Specifically for documentation-researcher (Asana), consider updating:
4381
+ - **Project Structure Maps**: Update understanding of Asana projects explored
4382
+ - **Search Query Patterns**: Save successful search queries for reuse
4383
+ - **Section Index**: Track important sections and their documentation content
4384
+ - **Key Reference Tasks**: Note tasks that serve as documentation sources
4385
+
4386
+ ## Search Patterns
4387
+
4388
+ Use these patterns for efficient searching:
4389
+
4390
+ ### Finding Requirements
4391
+ \`\`\`bash
4392
+ asana-cli task search --query "requirements" --project <GID>
4393
+ asana-cli task search --query "specification" --project <GID>
4394
+ \`\`\`
4395
+
4396
+ ### Finding Feature Documentation
4397
+ \`\`\`bash
4398
+ asana-cli task search --query "feature name"
4399
+ asana-cli task search --query "feature name" --project <GID>
4400
+ \`\`\`
4401
+
4402
+ ### Finding Historical Decisions
4403
+ \`\`\`bash
4404
+ asana-cli task search --query "decision"
4405
+ asana-cli task search --query "why" --project <GID>
4406
+ \`\`\`
4407
+
4408
+ ### Finding Acceptance Criteria
4409
+ \`\`\`bash
4410
+ asana-cli task search --query "acceptance criteria" --project <GID>
4411
+ asana-cli task search --query "given when then" --project <GID>
4412
+ \`\`\`
4413
+
4414
+ ## Asana-Specific Features
4415
+
4416
+ Handle these Asana elements properly:
4417
+ - **Projects**: Top-level containers \u2014 use \`project list\` to discover available projects
4418
+ - **Sections**: Organizational dividers within projects (e.g., "To Do", "In Progress", "Specs")
4419
+ - **Custom Fields**: Priority, status, tags, and team-defined metadata
4420
+ - **Subtasks**: Nested tasks that break down parent task requirements
4421
+ - **Comments**: Often contain implementation decisions, discussions, and clarifications
4422
+
4423
+ ## Research Best Practices
4424
+
4425
+ - Start with projects to understand high-level organization
4426
+ - Use sections to find categorized documentation (specs, requirements, decisions)
4427
+ - Search task comments for implementation decisions and discussions
4428
+ - Note task completion status when reporting findings
4429
+ - Follow subtask hierarchies to gather complete context
4430
+ - Use custom fields and tags to filter relevant content
4431
+
4432
+ ## Query Response Approach
4433
+
4434
+ 1. Interpret the user's information need precisely
4435
+ 2. Check memory for existing relevant knowledge and project mappings
4436
+ 3. Construct efficient search queries based on need
4437
+ 4. Navigate project and section hierarchies to gather comprehensive information
4438
+ 5. Extract and synthesize findings from descriptions and comments
4439
+ 6. Update memory with new discoveries and successful search patterns
4440
+
4441
+ ## Quality Assurance
4442
+
4443
+ - Note task status (incomplete, complete) when reporting findings
4444
+ - Include section context for organizational clarity
4445
+ - Cross-reference related tasks for completeness
4446
+ - Identify potential gaps in documentation
4447
+ - Handle permission restrictions gracefully (some tasks may not be accessible)
4448
+ - Clearly indicate when information might be outdated based on task dates
4449
+
4450
+ ## Important Distinction
4451
+
4452
+ **This is a READ-ONLY research role.** Unlike the issue-tracker subagent which creates and modifies tasks, the documentation-researcher:
4453
+ - Only searches and reads existing tasks
4454
+ - Does not create, update, or comment on tasks
4455
+ - Focuses on extracting knowledge, not managing workflows
4456
+ - Builds memory to improve research efficiency over time
4457
+
4458
+ You are meticulous about maintaining your memory file as a living document that grows more valuable with each use. Your goal is to become increasingly efficient at finding information as your knowledge base expands, ultimately serving as an expert guide to the project's Asana documentation landscape.`;
4459
+
4460
+ // src/subagents/templates/issue-tracker/linear.ts
4461
+ init_cjs_shims();
4462
+ var FRONTMATTER11 = {
4322
4463
  name: "issue-tracker",
4323
4464
  description: `Use this agent to track and manage all types of issues including bugs, stories, and tasks in Linear. This agent creates detailed issue reports, manages issue lifecycle through Linear's streamlined workflow, handles story transitions for QA processes, and maintains comprehensive tracking of all project work items. Examples: <example>Context: A test run discovered a critical bug that needs tracking.
4324
4465
  user: "The login flow is broken - users get a 500 error when submitting credentials"
@@ -4330,7 +4471,7 @@ assistant: "Let me use the issue-tracker agent to update the story status to QA
4330
4471
  model: "sonnet",
4331
4472
  color: "red"
4332
4473
  };
4333
- var CONTENT10 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Linear. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved using Linear's efficient tracking system.
4474
+ var CONTENT11 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Linear. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved using Linear's efficient tracking system.
4334
4475
 
4335
4476
  **Core Responsibilities:**
4336
4477
 
@@ -4499,7 +4640,7 @@ You are focused on creating bug reports that fit Linear's streamlined workflow w
4499
4640
 
4500
4641
  // src/subagents/templates/issue-tracker/jira.ts
4501
4642
  init_cjs_shims();
4502
- var FRONTMATTER11 = {
4643
+ var FRONTMATTER12 = {
4503
4644
  name: "issue-tracker",
4504
4645
  description: `Use this agent to track and manage all types of issues including bugs, stories, and tasks in Jira. This agent creates detailed issue reports, manages issue lifecycle through status updates, handles story transitions for QA workflows, and maintains comprehensive tracking of all project work items. Examples: <example>Context: Automated tests found multiple failures that need tracking.
4505
4646
  user: "5 tests failed in the checkout flow - payment validation is broken"
@@ -4511,7 +4652,7 @@ assistant: "Let me use the issue-tracker agent to transition PROJ-456 to Done an
4511
4652
  model: "sonnet",
4512
4653
  color: "red"
4513
4654
  };
4514
- var CONTENT11 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Jira. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved.
4655
+ var CONTENT12 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Jira. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved.
4515
4656
 
4516
4657
  **Core Responsibilities:**
4517
4658
 
@@ -4674,7 +4815,7 @@ init_cjs_shims();
4674
4815
 
4675
4816
  // src/subagents/templates/issue-tracker/azure-devops.ts
4676
4817
  init_cjs_shims();
4677
- var FRONTMATTER12 = {
4818
+ var FRONTMATTER13 = {
4678
4819
  name: "issue-tracker",
4679
4820
  description: `Use this agent to track and manage all types of work items including bugs, user stories, and tasks in Azure DevOps. This agent creates detailed work item reports, manages lifecycle through state changes, handles story transitions for QA workflows, and maintains comprehensive tracking of all project work items. Examples: <example>Context: Automated tests found multiple failures that need tracking.
4680
4821
  user: "5 tests failed in the checkout flow - payment validation is broken"
@@ -4686,7 +4827,7 @@ assistant: "Let me use the issue-tracker agent to update work item 456 state to
4686
4827
  model: "sonnet",
4687
4828
  color: "red"
4688
4829
  };
4689
- var CONTENT12 = `You are an expert Issue Tracker specializing in managing all types of work items including bugs, user stories, features, and tasks in Azure DevOps. Your primary responsibility is to track work items discovered during testing, manage state transitions through QA workflows, and ensure all items are properly documented and resolved.
4830
+ var CONTENT13 = `You are an expert Issue Tracker specializing in managing all types of work items including bugs, user stories, features, and tasks in Azure DevOps. Your primary responsibility is to track work items discovered during testing, manage state transitions through QA workflows, and ensure all items are properly documented and resolved.
4690
4831
 
4691
4832
  **Core Responsibilities:**
4692
4833
 
@@ -4902,7 +5043,7 @@ You are meticulous about maintaining your memory file as a critical resource for
4902
5043
 
4903
5044
  // src/subagents/templates/issue-tracker/asana.ts
4904
5045
  init_cjs_shims();
4905
- var FRONTMATTER13 = {
5046
+ var FRONTMATTER14 = {
4906
5047
  name: "issue-tracker",
4907
5048
  description: `Use this agent to track and manage tasks and bugs in Asana. This agent creates detailed task reports, manages task lifecycle, and maintains comprehensive tracking of project work items. Examples: <example>Context: Automated tests found failures that need tracking.
4908
5049
  user: "3 tests failed in the checkout flow - payment validation is broken"
@@ -4914,7 +5055,7 @@ assistant: "Let me use the issue-tracker agent to mark the task as complete and
4914
5055
  model: "sonnet",
4915
5056
  color: "red"
4916
5057
  };
4917
- var CONTENT13 = `You are an expert Issue Tracker specializing in managing tasks, bugs, and project work items in Asana. Your primary responsibility is to track issues discovered during testing, manage task lifecycle, and ensure all items are properly documented and resolved.
5058
+ var CONTENT14 = `You are an expert Issue Tracker specializing in managing tasks, bugs, and project work items in Asana. Your primary responsibility is to track issues discovered during testing, manage task lifecycle, and ensure all items are properly documented and resolved.
4918
5059
 
4919
5060
  **Important: CLI-First Approach**
4920
5061
 
@@ -4930,6 +5071,11 @@ Always prefer CLI commands via Bash over MCP tool calls. The CLI produces compac
4930
5071
  - **List projects**: \`asana-cli project list\`
4931
5072
  - **All commands**: Add \`--json\` for structured JSON output when parsing is needed
4932
5073
 
5074
+ **Attribution:** Always prefix your comments and task descriptions with "[Bugzy]:" to clearly identify actions taken by the Bugzy integration. For example:
5075
+ - Comment: "[Bugzy]: Test evidence shows the login form fails on Chrome 120..."
5076
+ - Task description: "[Bugzy]: Reproduction steps: 1. Navigate to..."
5077
+ Do NOT prefix task names \u2014 keep them clean (e.g. "Bug: Login timeout").
5078
+
4933
5079
  **Core Responsibilities:**
4934
5080
 
4935
5081
  1. **Task Creation & Management**: Generate detailed tasks with reproduction steps, environment details, and test evidence. Include severity assessment and proper project/section assignment.
@@ -5026,7 +5172,7 @@ You are meticulous about maintaining your memory file as a critical resource for
5026
5172
 
5027
5173
  // src/subagents/templates/issue-tracker/notion.ts
5028
5174
  init_cjs_shims();
5029
- var FRONTMATTER14 = {
5175
+ var FRONTMATTER15 = {
5030
5176
  name: "issue-tracker",
5031
5177
  description: `Use this agent to track and manage all types of issues including bugs, stories, and tasks in Notion databases. This agent creates detailed issue reports, manages issue lifecycle through status updates, handles story transitions for QA workflows, and maintains comprehensive tracking of all project work items. Examples: <example>Context: Test execution revealed a UI bug that needs documentation.
5032
5178
  user: "The submit button on the checkout page doesn't work on mobile Safari"
@@ -5038,7 +5184,7 @@ assistant: "Let me use the issue-tracker agent to update the story status to 'QA
5038
5184
  model: "haiku",
5039
5185
  color: "red"
5040
5186
  };
5041
- var CONTENT14 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Notion databases. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved.
5187
+ var CONTENT15 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Notion databases. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved.
5042
5188
 
5043
5189
  **Core Responsibilities:**
5044
5190
 
@@ -5186,7 +5332,7 @@ You are meticulous about maintaining your memory file as a critical resource tha
5186
5332
 
5187
5333
  // src/subagents/templates/issue-tracker/slack.ts
5188
5334
  init_cjs_shims();
5189
- var FRONTMATTER15 = {
5335
+ var FRONTMATTER16 = {
5190
5336
  name: "issue-tracker",
5191
5337
  description: `Use this agent to track and manage all types of issues including bugs, stories, and tasks in Slack. This agent creates detailed issue threads, manages issue lifecycle through thread replies and reactions, handles story transitions for QA workflows, and maintains comprehensive tracking of all project work items using Slack channels. Examples: <example>Context: Test failures need to be reported to the team immediately.
5192
5338
  user: "3 critical tests failed in the payment flow - looks like the Stripe integration is broken"
@@ -5198,7 +5344,7 @@ assistant: "Let me use the issue-tracker agent to update the story thread with Q
5198
5344
  model: "sonnet",
5199
5345
  color: "red"
5200
5346
  };
5201
- var CONTENT15 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Slack. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved using Slack threads and channels.
5347
+ var CONTENT16 = `You are an expert Issue Tracker specializing in managing all types of project issues including bugs, stories, and tasks in Slack. Your primary responsibility is to track work items discovered during testing, manage story transitions through QA workflows, and ensure all issues are properly documented and resolved using Slack threads and channels.
5202
5348
 
5203
5349
  **Core Responsibilities:**
5204
5350
 
@@ -5421,7 +5567,7 @@ You are focused on creating clear, organized issue threads that leverage Slack's
5421
5567
 
5422
5568
  // src/subagents/templates/changelog-historian/github.ts
5423
5569
  init_cjs_shims();
5424
- var FRONTMATTER16 = {
5570
+ var FRONTMATTER17 = {
5425
5571
  name: "changelog-historian",
5426
5572
  description: `Use this agent when you need to understand what code changes went into a build, deployment, or release. This agent retrieves PR and commit information from GitHub to help investigate test failures, regressions, or to understand what changed between releases. Examples: <example>Context: A test started failing after a deployment.
5427
5573
  user: "The checkout flow test is failing in staging. What changed recently?"
@@ -5433,7 +5579,7 @@ assistant: "I'll use the changelog-historian agent to compare the two releases a
5433
5579
  model: "haiku",
5434
5580
  color: "gray"
5435
5581
  };
5436
- var CONTENT16 = `You are an expert Changelog Historian specializing in understanding code changes and their impact. Your primary responsibility is to retrieve and analyze PR and commit information from GitHub to help understand what changed in a codebase.
5582
+ var CONTENT17 = `You are an expert Changelog Historian specializing in understanding code changes and their impact. Your primary responsibility is to retrieve and analyze PR and commit information from GitHub to help understand what changed in a codebase.
5437
5583
 
5438
5584
  ## Core Responsibilities
5439
5585
 
@@ -5586,42 +5732,46 @@ var TEMPLATES = {
5586
5732
  jira: {
5587
5733
  frontmatter: FRONTMATTER9,
5588
5734
  content: CONTENT9
5735
+ },
5736
+ asana: {
5737
+ frontmatter: FRONTMATTER10,
5738
+ content: CONTENT10
5589
5739
  }
5590
5740
  },
5591
5741
  "issue-tracker": {
5592
5742
  linear: {
5593
- frontmatter: FRONTMATTER10,
5594
- content: CONTENT10
5595
- },
5596
- jira: {
5597
5743
  frontmatter: FRONTMATTER11,
5598
5744
  content: CONTENT11
5599
5745
  },
5600
- "jira-server": {
5601
- frontmatter: FRONTMATTER11,
5602
- content: CONTENT11
5746
+ jira: {
5747
+ frontmatter: FRONTMATTER12,
5748
+ content: CONTENT12
5603
5749
  },
5604
- "azure-devops": {
5750
+ "jira-server": {
5605
5751
  frontmatter: FRONTMATTER12,
5606
5752
  content: CONTENT12
5607
5753
  },
5608
- asana: {
5754
+ "azure-devops": {
5609
5755
  frontmatter: FRONTMATTER13,
5610
5756
  content: CONTENT13
5611
5757
  },
5612
- notion: {
5758
+ asana: {
5613
5759
  frontmatter: FRONTMATTER14,
5614
5760
  content: CONTENT14
5615
5761
  },
5616
- slack: {
5762
+ notion: {
5617
5763
  frontmatter: FRONTMATTER15,
5618
5764
  content: CONTENT15
5765
+ },
5766
+ slack: {
5767
+ frontmatter: FRONTMATTER16,
5768
+ content: CONTENT16
5619
5769
  }
5620
5770
  },
5621
5771
  "changelog-historian": {
5622
5772
  github: {
5623
- frontmatter: FRONTMATTER16,
5624
- content: CONTENT16
5773
+ frontmatter: FRONTMATTER17,
5774
+ content: CONTENT17
5625
5775
  }
5626
5776
  }
5627
5777
  };