@bugzy-ai/bugzy 1.2.1 → 1.4.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/README.md +30 -9
- package/dist/cli/index.cjs +549 -155
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +552 -158
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +96 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +96 -33
- package/dist/index.js.map +1 -1
- package/dist/subagents/index.cjs +6 -3
- package/dist/subagents/index.cjs.map +1 -1
- package/dist/subagents/index.js +6 -3
- package/dist/subagents/index.js.map +1 -1
- package/dist/subagents/metadata.cjs +6 -3
- package/dist/subagents/metadata.cjs.map +1 -1
- package/dist/subagents/metadata.js +6 -3
- package/dist/subagents/metadata.js.map +1 -1
- package/dist/tasks/index.cjs +28 -29
- package/dist/tasks/index.cjs.map +1 -1
- package/dist/tasks/index.js +28 -29
- package/dist/tasks/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/init/AGENTS.md +155 -0
package/dist/tasks/index.js
CHANGED
|
@@ -488,7 +488,9 @@ Document all findings including:
|
|
|
488
488
|
\`\`\`
|
|
489
489
|
|
|
490
490
|
#### 3.2 Launch Test Runner Agent
|
|
491
|
-
|
|
491
|
+
{{INVOKE_TEST_RUNNER}}
|
|
492
|
+
|
|
493
|
+
Execute the exploration test case with special exploration instructions:
|
|
492
494
|
|
|
493
495
|
\`\`\`
|
|
494
496
|
Execute the exploration test case at ./test-cases/EXPLORATION-TEMP.md with focus on discovery and documentation.
|
|
@@ -941,10 +943,10 @@ Before invoking the agent, identify the test cases for the current area:
|
|
|
941
943
|
|
|
942
944
|
#### Step 2.2: Invoke test-code-generator Agent
|
|
943
945
|
|
|
944
|
-
|
|
946
|
+
{{INVOKE_TEST_CODE_GENERATOR}} for the current area with the following context:
|
|
945
947
|
|
|
946
948
|
**Agent Invocation:**
|
|
947
|
-
"
|
|
949
|
+
"Automate test cases for the [AREA_NAME] area.
|
|
948
950
|
|
|
949
951
|
**Context:**
|
|
950
952
|
- Area: [AREA_NAME]
|
|
@@ -1084,10 +1086,10 @@ Provide a comprehensive summary showing:
|
|
|
1084
1086
|
role: "documentation-researcher",
|
|
1085
1087
|
contentBlock: `#### 1.4 Gather Product Documentation
|
|
1086
1088
|
|
|
1087
|
-
|
|
1089
|
+
{{INVOKE_DOCUMENTATION_RESEARCHER}} to gather comprehensive product documentation:
|
|
1088
1090
|
|
|
1089
1091
|
\`\`\`
|
|
1090
|
-
|
|
1092
|
+
Explore all available product documentation, specifically focusing on:
|
|
1091
1093
|
- UI elements and workflows
|
|
1092
1094
|
- User interactions and navigation paths
|
|
1093
1095
|
- Form fields and validation rules
|
|
@@ -1101,10 +1103,9 @@ Use the documentation-researcher agent to explore all available product document
|
|
|
1101
1103
|
role: "team-communicator",
|
|
1102
1104
|
contentBlock: `### Step 4.5: Team Communication
|
|
1103
1105
|
|
|
1104
|
-
|
|
1106
|
+
{{INVOKE_TEAM_COMMUNICATOR}} to notify the product team about the new test cases and automated tests:
|
|
1105
1107
|
|
|
1106
1108
|
\`\`\`
|
|
1107
|
-
Use the team-communicator agent to:
|
|
1108
1109
|
1. Post an update about test case and automation creation
|
|
1109
1110
|
2. Provide summary of coverage:
|
|
1110
1111
|
- Number of manual test cases created
|
|
@@ -1362,10 +1363,10 @@ Provide a summary of:
|
|
|
1362
1363
|
role: "documentation-researcher",
|
|
1363
1364
|
contentBlock: `### Step 2: Gather comprehensive project documentation
|
|
1364
1365
|
|
|
1365
|
-
|
|
1366
|
+
{{INVOKE_DOCUMENTATION_RESEARCHER}} to explore and gather all available project information and other documentation sources. This ensures the test plan is based on complete and current information.
|
|
1366
1367
|
|
|
1367
1368
|
\`\`\`
|
|
1368
|
-
|
|
1369
|
+
Explore all available project documentation related to: $ARGUMENTS
|
|
1369
1370
|
|
|
1370
1371
|
Specifically gather:
|
|
1371
1372
|
- Product specifications and requirements
|
|
@@ -1390,10 +1391,9 @@ The agent will:
|
|
|
1390
1391
|
role: "team-communicator",
|
|
1391
1392
|
contentBlock: `### Step 7.5: Team Communication
|
|
1392
1393
|
|
|
1393
|
-
|
|
1394
|
+
{{INVOKE_TEAM_COMMUNICATOR}} to notify the product team about the new test plan:
|
|
1394
1395
|
|
|
1395
1396
|
\`\`\`
|
|
1396
|
-
Use the team-communicator agent to:
|
|
1397
1397
|
1. Post an update about the test plan creation
|
|
1398
1398
|
2. Provide a brief summary of coverage areas and key features
|
|
1399
1399
|
3. Mention any areas that need exploration or clarification
|
|
@@ -1628,7 +1628,7 @@ Classify the ambiguity level to determine appropriate response:
|
|
|
1628
1628
|
#### Clarification Approach by Severity
|
|
1629
1629
|
|
|
1630
1630
|
**For CRITICAL/HIGH ambiguity:**
|
|
1631
|
-
1. **
|
|
1631
|
+
1. **{{INVOKE_TEAM_COMMUNICATOR}} to ask specific questions**
|
|
1632
1632
|
2. **WAIT for response before proceeding**
|
|
1633
1633
|
3. **Document the clarification request in event history**
|
|
1634
1634
|
|
|
@@ -1901,7 +1901,7 @@ ${KNOWLEDGE_BASE_UPDATE_INSTRUCTIONS}`,
|
|
|
1901
1901
|
contentBlock: `#### 3.3 Use Documentation Researcher if Needed
|
|
1902
1902
|
For events mentioning unknown features or components:
|
|
1903
1903
|
\`\`\`
|
|
1904
|
-
|
|
1904
|
+
{{INVOKE_DOCUMENTATION_RESEARCHER}} to find information about: [component/feature]
|
|
1905
1905
|
\`\`\``
|
|
1906
1906
|
},
|
|
1907
1907
|
{
|
|
@@ -1910,7 +1910,7 @@ Use documentation-researcher agent to find information about: [component/feature
|
|
|
1910
1910
|
|
|
1911
1911
|
When an issue needs to be tracked (task type: report_bug or update_story):
|
|
1912
1912
|
\`\`\`
|
|
1913
|
-
|
|
1913
|
+
{{INVOKE_ISSUE_TRACKER}}
|
|
1914
1914
|
1. Check for duplicate issues in the tracking system
|
|
1915
1915
|
2. For bugs: Create detailed bug report with:
|
|
1916
1916
|
- Clear, descriptive title
|
|
@@ -2179,7 +2179,7 @@ For each failed test:
|
|
|
2179
2179
|
For each test classified as **[TEST ISSUE]**, use the test-debugger-fixer agent to automatically fix the test:
|
|
2180
2180
|
|
|
2181
2181
|
\`\`\`
|
|
2182
|
-
|
|
2182
|
+
{{INVOKE_TEST_DEBUGGER_FIXER}}
|
|
2183
2183
|
|
|
2184
2184
|
For each failed test classified as a test issue (not a product bug), provide:
|
|
2185
2185
|
- Test run timestamp: [from manifest.timestamp]
|
|
@@ -2274,7 +2274,7 @@ After triage in Step 5.1, for tests classified as **[PRODUCT BUG]**, use the iss
|
|
|
2274
2274
|
For each bug to report, use the issue-tracker agent:
|
|
2275
2275
|
|
|
2276
2276
|
\`\`\`
|
|
2277
|
-
|
|
2277
|
+
{{INVOKE_ISSUE_TRACKER}}
|
|
2278
2278
|
1. Check for duplicate bugs in the tracking system
|
|
2279
2279
|
- The agent will automatically search for similar existing issues
|
|
2280
2280
|
- It maintains memory of recently reported issues
|
|
@@ -2345,10 +2345,11 @@ After issue tracker agent completes, create a summary:
|
|
|
2345
2345
|
role: "team-communicator",
|
|
2346
2346
|
contentBlock: `### Step 6: Team Communication
|
|
2347
2347
|
|
|
2348
|
-
|
|
2348
|
+
{{INVOKE_TEAM_COMMUNICATOR}}
|
|
2349
|
+
|
|
2350
|
+
Notify the product team about test execution:
|
|
2349
2351
|
|
|
2350
2352
|
\`\`\`
|
|
2351
|
-
Use the team-communicator agent to:
|
|
2352
2353
|
1. Post test execution summary with key statistics
|
|
2353
2354
|
2. Highlight critical failures that need immediate attention
|
|
2354
2355
|
3. Share important learnings about product behavior
|
|
@@ -2683,7 +2684,7 @@ Read and analyze the JSON report:
|
|
|
2683
2684
|
For each test classified as **[TEST ISSUE]**, use the test-debugger-fixer agent to automatically fix the test:
|
|
2684
2685
|
|
|
2685
2686
|
\`\`\`
|
|
2686
|
-
|
|
2687
|
+
{{INVOKE_TEST_DEBUGGER_FIXER}}
|
|
2687
2688
|
|
|
2688
2689
|
For each failed test classified as a test issue (not a product bug), provide:
|
|
2689
2690
|
- Test file path: [from JSON report]
|
|
@@ -2724,7 +2725,7 @@ Classification guidelines:
|
|
|
2724
2725
|
#### 4A.4 Fix Test Issues Automatically
|
|
2725
2726
|
|
|
2726
2727
|
For tests classified as [TEST ISSUE]:
|
|
2727
|
-
-
|
|
2728
|
+
- {{INVOKE_TEST_DEBUGGER_FIXER}} to analyze and fix
|
|
2728
2729
|
- Agent debugs with browser if needed
|
|
2729
2730
|
- Applies fix (selector update, wait condition, assertion correction)
|
|
2730
2731
|
- Reruns test to verify fix (10x for flaky tests)
|
|
@@ -2740,7 +2741,7 @@ Track fixed tests with:
|
|
|
2740
2741
|
{{ISSUE_TRACKER_INSTRUCTIONS}}
|
|
2741
2742
|
|
|
2742
2743
|
For tests classified as [PRODUCT BUG]:
|
|
2743
|
-
-
|
|
2744
|
+
- {{INVOKE_ISSUE_TRACKER}} to create bug reports
|
|
2744
2745
|
- Agent checks for duplicates automatically
|
|
2745
2746
|
- Creates detailed report with:
|
|
2746
2747
|
- Title, description, reproduction steps
|
|
@@ -3056,10 +3057,10 @@ Format as comprehensive markdown report for terminal display:
|
|
|
3056
3057
|
|
|
3057
3058
|
{{TEAM_COMMUNICATOR_INSTRUCTIONS}}
|
|
3058
3059
|
|
|
3059
|
-
|
|
3060
|
+
{{INVOKE_TEAM_COMMUNICATOR}} to post concise results to Slack thread:
|
|
3060
3061
|
|
|
3061
3062
|
\`\`\`
|
|
3062
|
-
|
|
3063
|
+
Post verification results.
|
|
3063
3064
|
|
|
3064
3065
|
**Channel**: [from CHANGE_CONTEXT.slackChannel]
|
|
3065
3066
|
**Thread**: [from CHANGE_CONTEXT.slackThread]
|
|
@@ -3240,10 +3241,10 @@ A successful verification includes:
|
|
|
3240
3241
|
role: "documentation-researcher",
|
|
3241
3242
|
contentBlock: `#### Research Project Documentation
|
|
3242
3243
|
|
|
3243
|
-
|
|
3244
|
+
{{INVOKE_DOCUMENTATION_RESEARCHER}} to gather comprehensive context about the changed features:
|
|
3244
3245
|
|
|
3245
3246
|
\`\`\`
|
|
3246
|
-
|
|
3247
|
+
Explore project documentation related to the changes.
|
|
3247
3248
|
|
|
3248
3249
|
Specifically gather:
|
|
3249
3250
|
- Product specifications for affected features
|
|
@@ -3275,10 +3276,9 @@ Use this information to:
|
|
|
3275
3276
|
role: "issue-tracker",
|
|
3276
3277
|
contentBlock: `#### Log Product Bugs
|
|
3277
3278
|
|
|
3278
|
-
For tests classified as **[PRODUCT BUG]**,
|
|
3279
|
+
For tests classified as **[PRODUCT BUG]**, {{INVOKE_ISSUE_TRACKER}} to log bugs:
|
|
3279
3280
|
|
|
3280
3281
|
\`\`\`
|
|
3281
|
-
Use issue-tracker agent to:
|
|
3282
3282
|
1. Check for duplicate bugs in the tracking system
|
|
3283
3283
|
- The agent will automatically search for similar existing issues
|
|
3284
3284
|
- It maintains memory of recently reported issues
|
|
@@ -3327,10 +3327,9 @@ Use issue-tracker agent to:
|
|
|
3327
3327
|
role: "team-communicator",
|
|
3328
3328
|
contentBlock: `#### Team Communication
|
|
3329
3329
|
|
|
3330
|
-
|
|
3330
|
+
{{INVOKE_TEAM_COMMUNICATOR}} to share verification results (primarily for Slack trigger, but can be used for other triggers):
|
|
3331
3331
|
|
|
3332
3332
|
\`\`\`
|
|
3333
|
-
Use the team-communicator agent to:
|
|
3334
3333
|
1. Post verification results summary
|
|
3335
3334
|
2. Highlight critical failures that need immediate attention
|
|
3336
3335
|
3. Share bugs logged with issue tracker links
|