@bugzy-ai/bugzy 1.10.0 → 1.11.0
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.
- package/dist/cli/index.cjs +161 -25
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +161 -25
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +160 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +160 -25
- package/dist/index.js.map +1 -1
- package/dist/subagents/index.cjs +160 -25
- package/dist/subagents/index.cjs.map +1 -1
- package/dist/subagents/index.js +160 -25
- package/dist/subagents/index.js.map +1 -1
- package/dist/subagents/metadata.cjs +2 -1
- package/dist/subagents/metadata.cjs.map +1 -1
- package/dist/subagents/metadata.js +2 -1
- package/dist/subagents/metadata.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.cjs
CHANGED
|
@@ -4695,9 +4695,140 @@ Handle these Confluence elements properly:
|
|
|
4695
4695
|
|
|
4696
4696
|
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 Confluence documentation landscape.`;
|
|
4697
4697
|
|
|
4698
|
-
// src/subagents/templates/
|
|
4698
|
+
// src/subagents/templates/documentation-researcher/jira.ts
|
|
4699
4699
|
init_cjs_shims();
|
|
4700
4700
|
var FRONTMATTER10 = {
|
|
4701
|
+
name: "documentation-researcher",
|
|
4702
|
+
description: `Use this agent when you need to explore, understand, or retrieve information from project documentation stored in Jira issues, epics, and comments. This agent systematically researches Jira 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.
|
|
4703
|
+
user: "Generate test cases for the checkout flow feature"
|
|
4704
|
+
assistant: "Let me use the documentation-researcher agent to find the acceptance criteria and technical specifications from the Jira epic."
|
|
4705
|
+
<commentary>Since test cases require understanding feature requirements, use the documentation-researcher agent to retrieve acceptance criteria and specifications documented in Jira stories and epics.</commentary></example> <example>Context: Understanding past implementation decisions.
|
|
4706
|
+
user: "Why was the payment validation implemented this way?"
|
|
4707
|
+
assistant: "I'll use the documentation-researcher agent to search Jira comments and related issues for the implementation discussion and decisions."
|
|
4708
|
+
<commentary>The agent will search Jira issue comments and related tickets to find the historical context and reasoning behind implementation choices.</commentary></example>`,
|
|
4709
|
+
model: "haiku",
|
|
4710
|
+
color: "cyan"
|
|
4711
|
+
};
|
|
4712
|
+
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 Jira issues, epics, stories, and comments.
|
|
4713
|
+
|
|
4714
|
+
## Core Responsibilities
|
|
4715
|
+
|
|
4716
|
+
1. **Documentation Exploration**: You systematically explore Jira content to understand the project's structure, available information, and issue organization. This includes epics, stories, tasks, bugs, and their associated comments and attachments.
|
|
4717
|
+
|
|
4718
|
+
2. ${MEMORY_READ_INSTRUCTIONS.replace(/{ROLE}/g, "documentation-researcher")}
|
|
4719
|
+
|
|
4720
|
+
**Memory Sections for Documentation Researcher (Jira)**:
|
|
4721
|
+
- Jira project keys and structure
|
|
4722
|
+
- Index of important epics and their child issues
|
|
4723
|
+
- Useful JQL query templates that work for this project
|
|
4724
|
+
- Issue relationships and documentation patterns
|
|
4725
|
+
- Last exploration timestamps for different project areas
|
|
4726
|
+
|
|
4727
|
+
## Operational Workflow
|
|
4728
|
+
|
|
4729
|
+
1. **Initial Check**: Always begin by reading \`.bugzy/runtime/memory/documentation-researcher.md\` to load your existing knowledge
|
|
4730
|
+
|
|
4731
|
+
2. **Smart Exploration**:
|
|
4732
|
+
- If memory exists, use stored JQL queries to navigate directly to relevant issues
|
|
4733
|
+
- If exploring new areas, systematically document project structure
|
|
4734
|
+
- Map epic hierarchies and issue relationships
|
|
4735
|
+
- Update your memory with new discoveries immediately
|
|
4736
|
+
|
|
4737
|
+
3. **Information Retrieval**:
|
|
4738
|
+
- Use JQL queries for targeted searches across issues
|
|
4739
|
+
- Navigate issue hierarchies (epics \u2192 stories \u2192 subtasks)
|
|
4740
|
+
- Extract content from descriptions, comments, and custom fields
|
|
4741
|
+
- Cross-reference linked issues for complete context
|
|
4742
|
+
|
|
4743
|
+
4. ${MEMORY_UPDATE_INSTRUCTIONS.replace(/{ROLE}/g, "documentation-researcher")}
|
|
4744
|
+
|
|
4745
|
+
Specifically for documentation-researcher (Jira), consider updating:
|
|
4746
|
+
- **Project Structure Maps**: Update understanding of Jira projects explored
|
|
4747
|
+
- **JQL Query Patterns**: Save successful query patterns for reuse
|
|
4748
|
+
- **Epic Index**: Track important epics and their documentation content
|
|
4749
|
+
- **Key Reference Issues**: Note issues that serve as documentation sources
|
|
4750
|
+
|
|
4751
|
+
## JQL Query Patterns
|
|
4752
|
+
|
|
4753
|
+
Use these patterns for efficient searching:
|
|
4754
|
+
|
|
4755
|
+
### Finding Requirements
|
|
4756
|
+
\`\`\`jql
|
|
4757
|
+
project = PROJ AND issuetype in (Epic, Story)
|
|
4758
|
+
AND (summary ~ "requirement*" OR summary ~ "specification*")
|
|
4759
|
+
ORDER BY created DESC
|
|
4760
|
+
\`\`\`
|
|
4761
|
+
|
|
4762
|
+
### Finding Feature Documentation
|
|
4763
|
+
\`\`\`jql
|
|
4764
|
+
project = PROJ AND issuetype = Epic
|
|
4765
|
+
AND (summary ~ "feature name" OR description ~ "feature name")
|
|
4766
|
+
\`\`\`
|
|
4767
|
+
|
|
4768
|
+
### Finding Historical Discussions
|
|
4769
|
+
\`\`\`jql
|
|
4770
|
+
project = PROJ AND (issuetype = Bug OR issuetype = Story)
|
|
4771
|
+
AND (description ~ "decision" OR comment ~ "because")
|
|
4772
|
+
AND resolved >= -90d
|
|
4773
|
+
ORDER BY resolved DESC
|
|
4774
|
+
\`\`\`
|
|
4775
|
+
|
|
4776
|
+
### Finding Acceptance Criteria
|
|
4777
|
+
\`\`\`jql
|
|
4778
|
+
project = PROJ AND issuetype = Story
|
|
4779
|
+
AND (description ~ "acceptance criteria" OR description ~ "given when then")
|
|
4780
|
+
AND status in (Done, Closed)
|
|
4781
|
+
\`\`\`
|
|
4782
|
+
|
|
4783
|
+
## Jira-Specific Features
|
|
4784
|
+
|
|
4785
|
+
Handle these Jira elements properly:
|
|
4786
|
+
- **Issue Types**: Epic, Story, Task, Bug, Sub-task - each serves different documentation purposes
|
|
4787
|
+
- **Custom Fields**: Acceptance criteria, story points, sprint info
|
|
4788
|
+
- **Comments**: Often contain implementation decisions and discussions
|
|
4789
|
+
- **Issue Links**: "blocks", "is blocked by", "relates to" - follow these for context
|
|
4790
|
+
- **Attachments**: Design documents, screenshots, specifications
|
|
4791
|
+
|
|
4792
|
+
## Research Best Practices
|
|
4793
|
+
|
|
4794
|
+
- Start with epics to understand high-level feature context
|
|
4795
|
+
- Use parent/child relationships to find related documentation
|
|
4796
|
+
- Search comments for implementation decisions and discussions
|
|
4797
|
+
- Note issue status and resolution when reporting findings
|
|
4798
|
+
- Follow issue links to gather complete context
|
|
4799
|
+
- Use labels and components to filter relevant content
|
|
4800
|
+
|
|
4801
|
+
## Query Response Approach
|
|
4802
|
+
|
|
4803
|
+
1. Interpret the user's information need precisely
|
|
4804
|
+
2. Check memory for existing relevant knowledge and JQL patterns
|
|
4805
|
+
3. Construct efficient JQL queries based on need
|
|
4806
|
+
4. Navigate issue hierarchies to gather comprehensive information
|
|
4807
|
+
5. Extract and synthesize findings from descriptions and comments
|
|
4808
|
+
6. Update memory with new discoveries and successful query patterns
|
|
4809
|
+
|
|
4810
|
+
## Quality Assurance
|
|
4811
|
+
|
|
4812
|
+
- Note issue status (Open, In Progress, Done, Closed) when reporting findings
|
|
4813
|
+
- Include resolution information for closed issues
|
|
4814
|
+
- Cross-reference related issues for completeness
|
|
4815
|
+
- Identify potential gaps in documentation
|
|
4816
|
+
- Handle permission restrictions gracefully (some issues may not be accessible)
|
|
4817
|
+
- Clearly indicate when information might be outdated based on issue dates
|
|
4818
|
+
|
|
4819
|
+
## Important Distinction
|
|
4820
|
+
|
|
4821
|
+
**This is a READ-ONLY research role.** Unlike the issue-tracker subagent which creates and modifies issues, the documentation-researcher:
|
|
4822
|
+
- Only searches and reads existing issues
|
|
4823
|
+
- Does not create, update, or transition issues
|
|
4824
|
+
- Focuses on extracting knowledge, not managing workflows
|
|
4825
|
+
- Builds memory to improve research efficiency over time
|
|
4826
|
+
|
|
4827
|
+
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.`;
|
|
4828
|
+
|
|
4829
|
+
// src/subagents/templates/issue-tracker/linear.ts
|
|
4830
|
+
init_cjs_shims();
|
|
4831
|
+
var FRONTMATTER11 = {
|
|
4701
4832
|
name: "issue-tracker",
|
|
4702
4833
|
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.
|
|
4703
4834
|
user: "The login flow is broken - users get a 500 error when submitting credentials"
|
|
@@ -4709,7 +4840,7 @@ assistant: "Let me use the issue-tracker agent to update the story status to QA
|
|
|
4709
4840
|
model: "sonnet",
|
|
4710
4841
|
color: "red"
|
|
4711
4842
|
};
|
|
4712
|
-
var
|
|
4843
|
+
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.
|
|
4713
4844
|
|
|
4714
4845
|
**Core Responsibilities:**
|
|
4715
4846
|
|
|
@@ -4878,7 +5009,7 @@ You are focused on creating bug reports that fit Linear's streamlined workflow w
|
|
|
4878
5009
|
|
|
4879
5010
|
// src/subagents/templates/issue-tracker/jira.ts
|
|
4880
5011
|
init_cjs_shims();
|
|
4881
|
-
var
|
|
5012
|
+
var FRONTMATTER12 = {
|
|
4882
5013
|
name: "issue-tracker",
|
|
4883
5014
|
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.
|
|
4884
5015
|
user: "5 tests failed in the checkout flow - payment validation is broken"
|
|
@@ -4890,7 +5021,7 @@ assistant: "Let me use the issue-tracker agent to transition PROJ-456 to Done an
|
|
|
4890
5021
|
model: "sonnet",
|
|
4891
5022
|
color: "red"
|
|
4892
5023
|
};
|
|
4893
|
-
var
|
|
5024
|
+
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.
|
|
4894
5025
|
|
|
4895
5026
|
**Core Responsibilities:**
|
|
4896
5027
|
|
|
@@ -5053,7 +5184,7 @@ init_cjs_shims();
|
|
|
5053
5184
|
|
|
5054
5185
|
// src/subagents/templates/issue-tracker/azure-devops.ts
|
|
5055
5186
|
init_cjs_shims();
|
|
5056
|
-
var
|
|
5187
|
+
var FRONTMATTER13 = {
|
|
5057
5188
|
name: "issue-tracker",
|
|
5058
5189
|
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.
|
|
5059
5190
|
user: "5 tests failed in the checkout flow - payment validation is broken"
|
|
@@ -5065,7 +5196,7 @@ assistant: "Let me use the issue-tracker agent to update work item 456 state to
|
|
|
5065
5196
|
model: "sonnet",
|
|
5066
5197
|
color: "red"
|
|
5067
5198
|
};
|
|
5068
|
-
var
|
|
5199
|
+
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.
|
|
5069
5200
|
|
|
5070
5201
|
**Core Responsibilities:**
|
|
5071
5202
|
|
|
@@ -5281,7 +5412,7 @@ You are meticulous about maintaining your memory file as a critical resource for
|
|
|
5281
5412
|
|
|
5282
5413
|
// src/subagents/templates/issue-tracker/notion.ts
|
|
5283
5414
|
init_cjs_shims();
|
|
5284
|
-
var
|
|
5415
|
+
var FRONTMATTER14 = {
|
|
5285
5416
|
name: "issue-tracker",
|
|
5286
5417
|
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.
|
|
5287
5418
|
user: "The submit button on the checkout page doesn't work on mobile Safari"
|
|
@@ -5293,7 +5424,7 @@ assistant: "Let me use the issue-tracker agent to update the story status to 'QA
|
|
|
5293
5424
|
model: "haiku",
|
|
5294
5425
|
color: "red"
|
|
5295
5426
|
};
|
|
5296
|
-
var
|
|
5427
|
+
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.
|
|
5297
5428
|
|
|
5298
5429
|
**Core Responsibilities:**
|
|
5299
5430
|
|
|
@@ -5441,7 +5572,7 @@ You are meticulous about maintaining your memory file as a critical resource tha
|
|
|
5441
5572
|
|
|
5442
5573
|
// src/subagents/templates/issue-tracker/slack.ts
|
|
5443
5574
|
init_cjs_shims();
|
|
5444
|
-
var
|
|
5575
|
+
var FRONTMATTER15 = {
|
|
5445
5576
|
name: "issue-tracker",
|
|
5446
5577
|
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.
|
|
5447
5578
|
user: "3 critical tests failed in the payment flow - looks like the Stripe integration is broken"
|
|
@@ -5453,7 +5584,7 @@ assistant: "Let me use the issue-tracker agent to update the story thread with Q
|
|
|
5453
5584
|
model: "sonnet",
|
|
5454
5585
|
color: "red"
|
|
5455
5586
|
};
|
|
5456
|
-
var
|
|
5587
|
+
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.
|
|
5457
5588
|
|
|
5458
5589
|
**Core Responsibilities:**
|
|
5459
5590
|
|
|
@@ -5676,7 +5807,7 @@ You are focused on creating clear, organized issue threads that leverage Slack's
|
|
|
5676
5807
|
|
|
5677
5808
|
// src/subagents/templates/changelog-historian/github.ts
|
|
5678
5809
|
init_cjs_shims();
|
|
5679
|
-
var
|
|
5810
|
+
var FRONTMATTER16 = {
|
|
5680
5811
|
name: "changelog-historian",
|
|
5681
5812
|
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.
|
|
5682
5813
|
user: "The checkout flow test is failing in staging. What changed recently?"
|
|
@@ -5688,7 +5819,7 @@ assistant: "I'll use the changelog-historian agent to compare the two releases a
|
|
|
5688
5819
|
model: "haiku",
|
|
5689
5820
|
color: "gray"
|
|
5690
5821
|
};
|
|
5691
|
-
var
|
|
5822
|
+
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.
|
|
5692
5823
|
|
|
5693
5824
|
## Core Responsibilities
|
|
5694
5825
|
|
|
@@ -5843,38 +5974,42 @@ var TEMPLATES = {
|
|
|
5843
5974
|
confluence: {
|
|
5844
5975
|
frontmatter: FRONTMATTER9,
|
|
5845
5976
|
content: CONTENT9
|
|
5977
|
+
},
|
|
5978
|
+
jira: {
|
|
5979
|
+
frontmatter: FRONTMATTER10,
|
|
5980
|
+
content: CONTENT10
|
|
5846
5981
|
}
|
|
5847
5982
|
},
|
|
5848
5983
|
"issue-tracker": {
|
|
5849
5984
|
linear: {
|
|
5850
|
-
frontmatter: FRONTMATTER10,
|
|
5851
|
-
content: CONTENT10
|
|
5852
|
-
},
|
|
5853
|
-
jira: {
|
|
5854
5985
|
frontmatter: FRONTMATTER11,
|
|
5855
5986
|
content: CONTENT11
|
|
5856
5987
|
},
|
|
5857
|
-
|
|
5858
|
-
frontmatter:
|
|
5859
|
-
content:
|
|
5988
|
+
jira: {
|
|
5989
|
+
frontmatter: FRONTMATTER12,
|
|
5990
|
+
content: CONTENT12
|
|
5860
5991
|
},
|
|
5861
|
-
"
|
|
5992
|
+
"jira-server": {
|
|
5862
5993
|
frontmatter: FRONTMATTER12,
|
|
5863
5994
|
content: CONTENT12
|
|
5864
5995
|
},
|
|
5865
|
-
|
|
5996
|
+
"azure-devops": {
|
|
5866
5997
|
frontmatter: FRONTMATTER13,
|
|
5867
5998
|
content: CONTENT13
|
|
5868
5999
|
},
|
|
5869
|
-
|
|
6000
|
+
notion: {
|
|
5870
6001
|
frontmatter: FRONTMATTER14,
|
|
5871
6002
|
content: CONTENT14
|
|
6003
|
+
},
|
|
6004
|
+
slack: {
|
|
6005
|
+
frontmatter: FRONTMATTER15,
|
|
6006
|
+
content: CONTENT15
|
|
5872
6007
|
}
|
|
5873
6008
|
},
|
|
5874
6009
|
"changelog-historian": {
|
|
5875
6010
|
github: {
|
|
5876
|
-
frontmatter:
|
|
5877
|
-
content:
|
|
6011
|
+
frontmatter: FRONTMATTER16,
|
|
6012
|
+
content: CONTENT16
|
|
5878
6013
|
}
|
|
5879
6014
|
}
|
|
5880
6015
|
};
|
|
@@ -6024,7 +6159,8 @@ var SUBAGENTS = {
|
|
|
6024
6159
|
description: "Search and retrieve information from your documentation",
|
|
6025
6160
|
icon: "file-search",
|
|
6026
6161
|
integrations: [
|
|
6027
|
-
INTEGRATIONS.notion
|
|
6162
|
+
INTEGRATIONS.notion,
|
|
6163
|
+
INTEGRATIONS.jira
|
|
6028
6164
|
// INTEGRATIONS.confluence
|
|
6029
6165
|
],
|
|
6030
6166
|
model: "sonnet",
|