@bugzy-ai/bugzy 1.11.3 → 1.11.4

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.
@@ -1658,6 +1658,42 @@ Generate summary of test selection based on description analysis:
1658
1658
  - **Execution strategy**: [smart selection | full suite | smoke tests | user-specified]
1659
1659
  \`\`\``
1660
1660
  },
1661
+ // Step 7b: Create Tests for Coverage Gaps (conditional - test-code-generator)
1662
+ {
1663
+ inline: true,
1664
+ title: "Create Tests for Coverage Gaps",
1665
+ content: `If the test scope analysis found that existing tests do NOT cover the changed feature:
1666
+
1667
+ ### Identify Coverage Gaps
1668
+
1669
+ Compare:
1670
+ - **Changed feature**: What the Jira issue / PR describes
1671
+ - **Existing tests**: What test specs already exist in tests/specs/
1672
+
1673
+ If there are NO automated tests covering the new/changed feature:
1674
+
1675
+ ### Create Manual Test Cases
1676
+
1677
+ Create or update test case files in \`./test-cases/\` for the new feature:
1678
+ - One file per test scenario (e.g., \`test-cases/TC-XXX-checkout-improved.md\`)
1679
+ - Include: objective, preconditions, test steps, expected results
1680
+ - Mark \`automated: true\` for scenarios that should be automated
1681
+
1682
+ ### Generate Playwright Specs
1683
+
1684
+ {{INVOKE_TEST_CODE_GENERATOR}} to create automated test specs:
1685
+ - Read the manual test cases you just created
1686
+ - Explore the feature in the browser to discover selectors and flows
1687
+ - Create Page Objects in \`./tests/pages/\` if needed
1688
+ - Create test specs in \`./tests/specs/\` matching the test cases
1689
+ - Run each new test to verify it passes
1690
+ - Update the manual test case with \`automated_test\` reference
1691
+
1692
+ ### If Tests Already Cover the Feature
1693
+
1694
+ Skip this step \u2014 proceed directly to running existing tests.`,
1695
+ conditionalOnSubagent: "test-code-generator"
1696
+ },
1661
1697
  // Step 8-11: Test Execution (library steps)
1662
1698
  "run-playwright-tests",
1663
1699
  "parse-test-results",
@@ -1764,6 +1800,23 @@ All user-facing changes are fully covered by automated tests.
1764
1800
  [Safe to merge | Review bugs before merging | Do not merge]
1765
1801
  \`\`\``
1766
1802
  },
1803
+ // Step 14b: Post Results to Slack (conditional on team-communicator)
1804
+ {
1805
+ inline: true,
1806
+ title: "Post Results to Team Channel",
1807
+ content: `**IMPORTANT \u2014 Do this NOW before proceeding to any other step.**
1808
+
1809
+ {{INVOKE_TEAM_COMMUNICATOR}} to post the verification results summary to the team Slack channel.
1810
+
1811
+ Include in the message:
1812
+ - What was verified (issue ID and feature name)
1813
+ - Test results (total / passed / failed)
1814
+ - New tests created (list file names)
1815
+ - Manual verification items count
1816
+ - Overall recommendation (safe to merge / review / block)
1817
+ - Any blocking issues or critical findings`,
1818
+ conditionalOnSubagent: "team-communicator"
1819
+ },
1767
1820
  // Step 15: Documentation Research (conditional inline)
1768
1821
  {
1769
1822
  inline: true,
@@ -1891,7 +1944,7 @@ A successful verification includes:
1891
1944
  }
1892
1945
  ],
1893
1946
  requiredSubagents: ["test-runner", "test-debugger-fixer"],
1894
- optionalSubagents: ["documentation-researcher", "issue-tracker", "team-communicator", "changelog-historian"],
1947
+ optionalSubagents: ["documentation-researcher", "issue-tracker", "team-communicator", "changelog-historian", "test-code-generator"],
1895
1948
  dependentTasks: []
1896
1949
  };
1897
1950
  }