@bugzy-ai/bugzy 1.11.4 → 1.12.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 +49 -85
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +49 -85
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +48 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +48 -85
- package/dist/index.js.map +1 -1
- package/dist/tasks/index.cjs +14 -85
- package/dist/tasks/index.cjs.map +1 -1
- package/dist/tasks/index.js +14 -85
- package/dist/tasks/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.cjs
CHANGED
|
@@ -159,22 +159,9 @@ Read the test plan from \`test-plan.md\` to understand:
|
|
|
159
159
|
- Identify existing Page Objects in \`./tests/pages/\`
|
|
160
160
|
- Avoid creating overlapping test cases or duplicate automation`
|
|
161
161
|
},
|
|
162
|
-
// Step 6: Documentation Researcher (conditional
|
|
162
|
+
// Step 6: Documentation Researcher (conditional library step)
|
|
163
163
|
{
|
|
164
|
-
|
|
165
|
-
title: "Gather Product Documentation",
|
|
166
|
-
content: `{{INVOKE_DOCUMENTATION_RESEARCHER}} to gather comprehensive product documentation:
|
|
167
|
-
|
|
168
|
-
\`\`\`
|
|
169
|
-
Explore all available product documentation, specifically focusing on:
|
|
170
|
-
- UI elements and workflows
|
|
171
|
-
- User interactions and navigation paths
|
|
172
|
-
- Form fields and validation rules
|
|
173
|
-
- Error messages and edge cases
|
|
174
|
-
- Authentication and authorization flows
|
|
175
|
-
- Business rules and constraints
|
|
176
|
-
- API endpoints for test data setup
|
|
177
|
-
\`\`\``,
|
|
164
|
+
stepId: "gather-documentation",
|
|
178
165
|
conditionalOnSubagent: "documentation-researcher"
|
|
179
166
|
},
|
|
180
167
|
// Step 7: Exploration Protocol (from library)
|
|
@@ -460,33 +447,9 @@ var init_generate_test_plan = __esm({
|
|
|
460
447
|
title: "Initialize Environment Variables Tracking",
|
|
461
448
|
content: `Create a list to track all TEST_ prefixed environment variables discovered throughout the process.`
|
|
462
449
|
},
|
|
463
|
-
// Step 8: Documentation Researcher (conditional
|
|
450
|
+
// Step 8: Documentation Researcher (conditional library step)
|
|
464
451
|
{
|
|
465
|
-
|
|
466
|
-
title: "Gather Comprehensive Project Documentation",
|
|
467
|
-
content: `{{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.
|
|
468
|
-
|
|
469
|
-
\`\`\`
|
|
470
|
-
Explore all available project documentation related to: $ARGUMENTS
|
|
471
|
-
|
|
472
|
-
Specifically gather:
|
|
473
|
-
- Product specifications and requirements
|
|
474
|
-
- User stories and acceptance criteria
|
|
475
|
-
- Technical architecture documentation
|
|
476
|
-
- API documentation and endpoints
|
|
477
|
-
- User roles and permissions
|
|
478
|
-
- Business rules and validations
|
|
479
|
-
- UI/UX specifications
|
|
480
|
-
- Known limitations or constraints
|
|
481
|
-
- Existing test documentation
|
|
482
|
-
- Bug reports or known issues
|
|
483
|
-
\`\`\`
|
|
484
|
-
|
|
485
|
-
The agent will:
|
|
486
|
-
1. Check its memory for previously discovered documentation
|
|
487
|
-
2. Explore workspace for relevant pages and databases
|
|
488
|
-
3. Build a comprehensive understanding of the product
|
|
489
|
-
4. Return synthesized information about all discovered documentation`,
|
|
452
|
+
stepId: "gather-documentation",
|
|
490
453
|
conditionalOnSubagent: "documentation-researcher"
|
|
491
454
|
},
|
|
492
455
|
// Step 9: Exploration Protocol (from library)
|
|
@@ -966,6 +929,7 @@ Based on the event source, load the handler from \`.bugzy/runtime/handlers/\`:
|
|
|
966
929
|
|
|
967
930
|
**Step 1: Detect Event Source from Payload:**
|
|
968
931
|
- \`com.jira-server.*\` event type prefix -> \`.bugzy/runtime/handlers/jira.md\`
|
|
932
|
+
- \`com.recall.*\` event type prefix -> \`.bugzy/runtime/handlers/recall.md\`
|
|
969
933
|
- \`github.*\` or GitHub webhook structure -> \`.bugzy/runtime/handlers/github.md\`
|
|
970
934
|
- \`linear.*\` or Linear webhook -> \`.bugzy/runtime/handlers/linear.md\`
|
|
971
935
|
- Other sources -> Check for matching handler file by source name
|
|
@@ -1033,19 +997,9 @@ Based on event type and content, generate 3-5 specific search queries:
|
|
|
1033
997
|
- Find relevant documentation
|
|
1034
998
|
- Check for known issues`
|
|
1035
999
|
},
|
|
1036
|
-
// Step 9: Documentation Research (conditional
|
|
1000
|
+
// Step 9: Documentation Research (conditional library step)
|
|
1037
1001
|
{
|
|
1038
|
-
|
|
1039
|
-
title: "Use Documentation Researcher",
|
|
1040
|
-
content: `#### 3.3 Use Documentation Researcher if Needed
|
|
1041
|
-
|
|
1042
|
-
{{INVOKE_DOCUMENTATION_RESEARCHER}} to find information about unknown features or components:
|
|
1043
|
-
|
|
1044
|
-
For events mentioning unknown features or components, ask the agent to explore project documentation and return:
|
|
1045
|
-
- Feature specifications
|
|
1046
|
-
- Related test cases
|
|
1047
|
-
- Known issues or limitations
|
|
1048
|
-
- Component dependencies`,
|
|
1002
|
+
stepId: "gather-documentation",
|
|
1049
1003
|
conditionalOnSubagent: "documentation-researcher"
|
|
1050
1004
|
},
|
|
1051
1005
|
// Step 10: Task Planning (inline)
|
|
@@ -1223,7 +1177,7 @@ Create files if they don't exist:
|
|
|
1223
1177
|
],
|
|
1224
1178
|
requiredSubagents: ["team-communicator"],
|
|
1225
1179
|
optionalSubagents: ["documentation-researcher", "issue-tracker"],
|
|
1226
|
-
dependentTasks: ["verify-changes"]
|
|
1180
|
+
dependentTasks: ["verify-changes", "generate-test-cases", "run-tests"]
|
|
1227
1181
|
};
|
|
1228
1182
|
}
|
|
1229
1183
|
});
|
|
@@ -1817,38 +1771,9 @@ Include in the message:
|
|
|
1817
1771
|
- Any blocking issues or critical findings`,
|
|
1818
1772
|
conditionalOnSubagent: "team-communicator"
|
|
1819
1773
|
},
|
|
1820
|
-
// Step 15: Documentation Research (conditional
|
|
1774
|
+
// Step 15: Documentation Research (conditional library step)
|
|
1821
1775
|
{
|
|
1822
|
-
|
|
1823
|
-
title: "Understanding the Change (Documentation Research)",
|
|
1824
|
-
content: `{{INVOKE_DOCUMENTATION_RESEARCHER}} to gather comprehensive context about the changed features:
|
|
1825
|
-
|
|
1826
|
-
Explore project documentation related to the changes.
|
|
1827
|
-
|
|
1828
|
-
Specifically gather:
|
|
1829
|
-
- Product specifications for affected features
|
|
1830
|
-
- User stories and acceptance criteria
|
|
1831
|
-
- Technical architecture documentation
|
|
1832
|
-
- API endpoints and contracts
|
|
1833
|
-
- User roles and permissions relevant to the change
|
|
1834
|
-
- Business rules and validations
|
|
1835
|
-
- UI/UX specifications
|
|
1836
|
-
- Known limitations or constraints
|
|
1837
|
-
- Related bug reports or known issues
|
|
1838
|
-
- Existing test documentation for this area
|
|
1839
|
-
|
|
1840
|
-
The agent will:
|
|
1841
|
-
1. Check its memory for previously discovered documentation
|
|
1842
|
-
2. Explore workspace for relevant pages and databases
|
|
1843
|
-
3. Build comprehensive understanding of the affected features
|
|
1844
|
-
4. Return synthesized information to inform testing strategy
|
|
1845
|
-
|
|
1846
|
-
Use this information to:
|
|
1847
|
-
- Better understand the change context
|
|
1848
|
-
- Identify comprehensive test scenarios
|
|
1849
|
-
- Recognize integration points and dependencies
|
|
1850
|
-
- Spot potential edge cases or risk areas
|
|
1851
|
-
- Enhance manual verification checklist generation`,
|
|
1776
|
+
stepId: "gather-documentation",
|
|
1852
1777
|
conditionalOnSubagent: "documentation-researcher"
|
|
1853
1778
|
},
|
|
1854
1779
|
// Step 16: Report Results (inline)
|
|
@@ -1991,6 +1916,10 @@ This command orchestrates the complete test coverage workflow in a single execut
|
|
|
1991
1916
|
// Phase 1: Setup
|
|
1992
1917
|
"load-project-context",
|
|
1993
1918
|
"read-knowledge-base",
|
|
1919
|
+
{
|
|
1920
|
+
stepId: "gather-documentation",
|
|
1921
|
+
conditionalOnSubagent: "documentation-researcher"
|
|
1922
|
+
},
|
|
1994
1923
|
// Phase 2: Exploration Protocol
|
|
1995
1924
|
"exploration-protocol",
|
|
1996
1925
|
// Execute exploration via test-runner
|
|
@@ -6560,6 +6489,40 @@ The \`.env\` file access is blocked by settings.json.`,
|
|
|
6560
6489
|
tags: ["security", "required"]
|
|
6561
6490
|
};
|
|
6562
6491
|
|
|
6492
|
+
// src/tasks/steps/setup/gather-documentation.ts
|
|
6493
|
+
init_cjs_shims();
|
|
6494
|
+
var gatherDocumentationStep = {
|
|
6495
|
+
id: "gather-documentation",
|
|
6496
|
+
title: "Gather Project Documentation",
|
|
6497
|
+
category: "setup",
|
|
6498
|
+
content: `## Gather Project Documentation
|
|
6499
|
+
|
|
6500
|
+
{{INVOKE_DOCUMENTATION_RESEARCHER}} to explore and gather all available project information.
|
|
6501
|
+
|
|
6502
|
+
Specifically gather:
|
|
6503
|
+
- Product specifications and requirements
|
|
6504
|
+
- User stories and acceptance criteria
|
|
6505
|
+
- Technical architecture documentation
|
|
6506
|
+
- API documentation and endpoints
|
|
6507
|
+
- User roles and permissions
|
|
6508
|
+
- Business rules and validations
|
|
6509
|
+
- UI/UX specifications
|
|
6510
|
+
- Known limitations or constraints
|
|
6511
|
+
- Existing test documentation
|
|
6512
|
+
- Bug reports or known issues
|
|
6513
|
+
|
|
6514
|
+
The agent will:
|
|
6515
|
+
1. Check its memory for previously discovered documentation
|
|
6516
|
+
2. Explore workspace for relevant pages and databases
|
|
6517
|
+
3. Build comprehensive understanding of the product
|
|
6518
|
+
4. Return synthesized information about all discovered documentation
|
|
6519
|
+
|
|
6520
|
+
Use this information to inform testing strategy and identify comprehensive scenarios.`,
|
|
6521
|
+
requiresSubagent: "documentation-researcher",
|
|
6522
|
+
invokesSubagents: ["documentation-researcher"],
|
|
6523
|
+
tags: ["setup", "context", "documentation"]
|
|
6524
|
+
};
|
|
6525
|
+
|
|
6563
6526
|
// src/tasks/steps/exploration/exploration-protocol.ts
|
|
6564
6527
|
init_cjs_shims();
|
|
6565
6528
|
var explorationProtocolStep = {
|
|
@@ -7820,6 +7783,7 @@ var STEP_LIBRARY = {
|
|
|
7820
7783
|
"read-knowledge-base": readKnowledgeBaseStep,
|
|
7821
7784
|
"read-test-strategy": readTestStrategyStep,
|
|
7822
7785
|
"load-project-context": loadProjectContextStep,
|
|
7786
|
+
"gather-documentation": gatherDocumentationStep,
|
|
7823
7787
|
// Exploration
|
|
7824
7788
|
"exploration-protocol": explorationProtocolStep,
|
|
7825
7789
|
// Clarification
|