@bugzy-ai/bugzy 1.13.0 → 1.13.1

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/index.cjs CHANGED
@@ -473,6 +473,9 @@ Before invoking the agent, identify the test cases for the current area:
473
473
  - Existing automated tests: ./tests/specs/
474
474
  - Existing Page Objects: ./tests/pages/
475
475
 
476
+ **Knowledge Base Patterns (MUST APPLY):**
477
+ Include ALL relevant testing patterns from the knowledge base that apply to this area. For example, if the KB documents timing behaviors (animation delays, loading states), selector gotchas, or recommended assertion approaches \u2014 list them here explicitly and instruct the agent to use the specific patterns described (e.g., specific assertion methods with specific timeouts). The test-code-generator does not have access to the knowledge base, so you MUST relay the exact patterns and recommended code approaches.
478
+
476
479
  **The agent should:**
477
480
  1. Read the manual test case files for this area
478
481
  2. Check existing Page Object infrastructure for this area
@@ -481,6 +484,7 @@ Before invoking the agent, identify the test cases for the current area:
481
484
  5. For each test case marked \`automated: true\`:
482
485
  - Create automated Playwright test in ./tests/specs/
483
486
  - Update the manual test case file to reference the automated test path
487
+ - Apply ALL knowledge base patterns listed above (timing, selectors, assertions)
484
488
  6. Run and iterate on each test until it passes or fails with a product bug
485
489
  7. Update .env.testdata with any new variables
486
490
 
@@ -6148,6 +6152,8 @@ Before proceeding, read the curated knowledge base to inform your work:
6148
6152
  - Build on existing understanding
6149
6153
  - Maintain consistency with established practices
6150
6154
 
6155
+ 3. **Relay to subagents**: Subagents do NOT read the knowledge base directly. When delegating work, you MUST include relevant KB patterns in your delegation message \u2014 especially testing patterns (timing, selectors, assertion approaches) that affect test reliability.
6156
+
6151
6157
  **Note:** The knowledge base may not exist yet or may be empty. If it doesn't exist or is empty, proceed without this context and help build it as you work.`,
6152
6158
  tags: ["setup", "context"]
6153
6159
  };