@bugzy-ai/bugzy 1.18.4 → 1.19.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.
@@ -57,10 +57,6 @@ Extract the following from arguments:
57
57
  - **type**: Test type (exploratory, functional, regression, smoke) - defaults to functional
58
58
  - **focus**: Optional specific feature or section to focus on`
59
59
  },
60
- // Step 4: Load Project Context (library)
61
- "load-project-context",
62
- // Step 5: Knowledge Base Read (library)
63
- "read-knowledge-base",
64
60
  // Step 5: Gather Context (inline)
65
61
  {
66
62
  inline: true,
@@ -264,11 +260,7 @@ var generateTestPlanTask = {
264
260
  title: "Arguments",
265
261
  content: `Product description: $ARGUMENTS`
266
262
  },
267
- // Step 4: Load Project Context (library)
268
- "load-project-context",
269
- // Step 5: Knowledge Base Read (library)
270
- "read-knowledge-base",
271
- // Step 6: Process Description (inline)
263
+ // Step 5: Process Description (inline)
272
264
  {
273
265
  inline: true,
274
266
  title: "Process the Product Description",
@@ -444,10 +436,6 @@ Process team messages and handle multi-turn conversations with the product team
444
436
  title: "Arguments",
445
437
  content: `Team message/thread context: $ARGUMENTS`
446
438
  },
447
- // Step 4: Load Project Context (library)
448
- "load-project-context",
449
- // Step 5: Knowledge Base Read (library)
450
- "read-knowledge-base",
451
439
  // Step 6: Detect Intent (inline - simplified, no handler file loading)
452
440
  {
453
441
  inline: true,
@@ -642,10 +630,6 @@ Process webhook events from integrated systems by analyzing event content, deter
642
630
  title: "Arguments",
643
631
  content: `Arguments: $ARGUMENTS`
644
632
  },
645
- // Step 4: Load Project Context (library)
646
- "load-project-context",
647
- // Step 5: Knowledge Base Read (library)
648
- "read-knowledge-base",
649
633
  // Step 5: Understand Event Context (inline)
650
634
  {
651
635
  inline: true,
@@ -1114,10 +1098,6 @@ Extract the following from arguments:
1114
1098
  - Specific file: path to a specific test file
1115
1099
  - All tests: "all" or "" \u2192 runs entire test suite`
1116
1100
  },
1117
- // Step 4: Load Project Context (library)
1118
- "load-project-context",
1119
- // Step 5: Knowledge Base Read (library)
1120
- "read-knowledge-base",
1121
1101
  // Step 5: Test Execution Strategy (library)
1122
1102
  "read-test-strategy",
1123
1103
  // Step 6: Clarification Protocol (library)
@@ -1266,10 +1246,6 @@ This task performs comprehensive change verification with:
1266
1246
 
1267
1247
  The input format determines the trigger source and context extraction strategy.`
1268
1248
  },
1269
- // Step 4: Load Project Context (library)
1270
- "load-project-context",
1271
- // Step 5: Knowledge Base Read (library)
1272
- "read-knowledge-base",
1273
1249
  // Step 5: Detect Trigger Source (inline)
1274
1250
  {
1275
1251
  inline: true,
@@ -1679,7 +1655,9 @@ Include in the message:
1679
1655
  - Any blocking issues or critical findings`,
1680
1656
  conditionalOnSubagent: "team-communicator"
1681
1657
  },
1682
- // Step 15: Documentation Research (conditional library step)
1658
+ // Step 15: Knowledge Base Update (library)
1659
+ "update-knowledge-base",
1660
+ // Step 16: Documentation Research (conditional library step)
1683
1661
  {
1684
1662
  stepId: "gather-documentation",
1685
1663
  conditionalOnSubagent: "documentation-researcher"
@@ -1730,9 +1708,7 @@ Output to CI build log (print detailed results to stdout) and exit with appropri
1730
1708
  Post PR comment if GitHub context available.`,
1731
1709
  conditionalOnSubagent: "team-communicator"
1732
1710
  },
1733
- // Step 17: Knowledge Base Update (library)
1734
- "update-knowledge-base",
1735
- // Step 18: Handle Special Cases (inline)
1711
+ // Step 17: Handle Special Cases (inline)
1736
1712
  {
1737
1713
  inline: true,
1738
1714
  title: "Handle Special Cases",
@@ -1784,8 +1760,6 @@ This command orchestrates the complete test coverage workflow in a single execut
1784
1760
  content: `Focus area: $ARGUMENTS`
1785
1761
  },
1786
1762
  // Phase 1: Setup
1787
- "load-project-context",
1788
- "read-knowledge-base",
1789
1763
  {
1790
1764
  stepId: "gather-documentation",
1791
1765
  conditionalOnSubagent: "documentation-researcher"
@@ -1854,9 +1828,6 @@ var exploreApplicationTask = {
1854
1828
  - **depth**: shallow (15-20 min) or deep (45-60 min, default)
1855
1829
  - **system**: target system (optional for multi-system setups)`
1856
1830
  },
1857
- // Setup
1858
- "load-project-context",
1859
- "read-knowledge-base",
1860
1831
  // Exploration Protocol (adaptive depth)
1861
1832
  "exploration-protocol",
1862
1833
  // Execute
@@ -1921,11 +1892,7 @@ This task is triggered automatically when test results are submitted to the Bugz
1921
1892
  title: "Arguments",
1922
1893
  content: `Arguments: $ARGUMENTS`
1923
1894
  },
1924
- // Step 4: Load Project Context (library)
1925
- "load-project-context",
1926
- // Step 5: Knowledge Base Read (library)
1927
- "read-knowledge-base",
1928
- // Step 6: Normalize Test Results (library — handles URL/inline results + manifest creation)
1895
+ // Step 5: Normalize Test Results (library — handles URL/inline results + manifest creation)
1929
1896
  "normalize-test-results",
1930
1897
  // Step 7: Triage Failures (existing library step)
1931
1898
  "triage-failures",
@@ -1936,57 +1903,13 @@ This task is triggered automatically when test results are submitted to the Bugz
1936
1903
  stepId: "log-product-bugs",
1937
1904
  conditionalOnSubagent: "issue-tracker"
1938
1905
  },
1939
- // Step 10: Update Knowledge Base (library)
1940
- "update-knowledge-base",
1941
- // Step 11: Notify Team (conditional — requires team-communicator)
1906
+ // Step 10: Notify Team (conditional — requires team-communicator)
1942
1907
  {
1943
1908
  stepId: "notify-team",
1944
1909
  conditionalOnSubagent: "team-communicator"
1945
1910
  },
1946
- // Step 12: Generate Triage Report (inline)
1947
- {
1948
- inline: true,
1949
- title: "Generate Triage Report",
1950
- content: `## Generate Triage Report
1951
-
1952
- Create a structured triage report as the task output. This report is stored in \`task_executions.result\` and displayed in the Bugzy dashboard.
1953
-
1954
- **Report Structure:**
1955
- \`\`\`json
1956
- {
1957
- "summary": {
1958
- "total": <number>,
1959
- "passed": <number>,
1960
- "failed": <number>,
1961
- "skipped": <number>,
1962
- "duration_ms": <number or null>
1963
- },
1964
- "ci_metadata": {
1965
- "pipeline_url": "<from event payload>",
1966
- "commit_sha": "<from event payload>",
1967
- "branch": "<from event payload>"
1968
- },
1969
- "triage": {
1970
- "product_bugs": [
1971
- {
1972
- "test_name": "<name>",
1973
- "error": "<brief error>",
1974
- "reason": "<why this is a product bug>"
1975
- }
1976
- ],
1977
- "test_issues": [
1978
- {
1979
- "test_name": "<name>",
1980
- "error": "<brief error>",
1981
- "reason": "<why this is a test issue>"
1982
- }
1983
- ]
1984
- }
1985
- }
1986
- \`\`\`
1987
-
1988
- Output this JSON as the final result of the task.`
1989
- }
1911
+ // Step 11: Knowledge Base Update (library)
1912
+ "update-knowledge-base"
1990
1913
  ],
1991
1914
  requiredSubagents: ["browser-automation", "test-engineer"],
1992
1915
  optionalSubagents: ["issue-tracker", "team-communicator"],
@@ -2020,9 +1943,6 @@ var exploreTestCodebaseTask = {
2020
1943
  **Parse:**
2021
1944
  - **focus**: specific area to analyze (default: comprehensive)`
2022
1945
  },
2023
- // Setup
2024
- "load-project-context",
2025
- "read-knowledge-base",
2026
1946
  // Core analysis
2027
1947
  "analyze-test-codebase",
2028
1948
  // Generate results parser for normalizing test output