@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/cli/index.js CHANGED
@@ -260,6 +260,9 @@ Before invoking the agent, identify the test cases for the current area:
260
260
  - Existing automated tests: ./tests/specs/
261
261
  - Existing Page Objects: ./tests/pages/
262
262
 
263
+ **Knowledge Base Patterns (MUST APPLY):**
264
+ 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.
265
+
263
266
  **The agent should:**
264
267
  1. Read the manual test case files for this area
265
268
  2. Check existing Page Object infrastructure for this area
@@ -268,6 +271,7 @@ Before invoking the agent, identify the test cases for the current area:
268
271
  5. For each test case marked \`automated: true\`:
269
272
  - Create automated Playwright test in ./tests/specs/
270
273
  - Update the manual test case file to reference the automated test path
274
+ - Apply ALL knowledge base patterns listed above (timing, selectors, assertions)
271
275
  6. Run and iterate on each test until it passes or fails with a product bug
272
276
  7. Update .env.testdata with any new variables
273
277
 
@@ -6459,6 +6463,8 @@ Before proceeding, read the curated knowledge base to inform your work:
6459
6463
  - Build on existing understanding
6460
6464
  - Maintain consistency with established practices
6461
6465
 
6466
+ 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.
6467
+
6462
6468
  **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.`,
6463
6469
  tags: ["setup", "context"]
6464
6470
  };