@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.js CHANGED
@@ -417,6 +417,9 @@ Before invoking the agent, identify the test cases for the current area:
417
417
  - Existing automated tests: ./tests/specs/
418
418
  - Existing Page Objects: ./tests/pages/
419
419
 
420
+ **Knowledge Base Patterns (MUST APPLY):**
421
+ 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.
422
+
420
423
  **The agent should:**
421
424
  1. Read the manual test case files for this area
422
425
  2. Check existing Page Object infrastructure for this area
@@ -425,6 +428,7 @@ Before invoking the agent, identify the test cases for the current area:
425
428
  5. For each test case marked \`automated: true\`:
426
429
  - Create automated Playwright test in ./tests/specs/
427
430
  - Update the manual test case file to reference the automated test path
431
+ - Apply ALL knowledge base patterns listed above (timing, selectors, assertions)
428
432
  6. Run and iterate on each test until it passes or fails with a product bug
429
433
  7. Update .env.testdata with any new variables
430
434
 
@@ -6092,6 +6096,8 @@ Before proceeding, read the curated knowledge base to inform your work:
6092
6096
  - Build on existing understanding
6093
6097
  - Maintain consistency with established practices
6094
6098
 
6099
+ 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.
6100
+
6095
6101
  **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.`,
6096
6102
  tags: ["setup", "context"]
6097
6103
  };