@lifeaitools/rdc-skills 0.35.18 → 0.35.20

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.
@@ -1,4 +1,4 @@
1
- interface:
2
- display_name: "Behavior Audit"
3
- short_description: "Audit Claude and Codex behavior against shared rules."
4
- default_prompt: "Run a behavior audit for the last seven days and write the evidence bundle to a report directory."
1
+ interface:
2
+ display_name: "Behavior Audit"
3
+ short_description: "Audit Claude and Codex behavior against shared rules."
4
+ default_prompt: "Run a behavior audit for the last seven days and write the evidence bundle to a report directory."
@@ -497,7 +497,7 @@ Read the task title and description, then:
497
497
  TEST PLAN — you MUST implement/verify each of these and tick them off via update_checklist_item(..., p_actor_session_id := '<your-session-id>', p_actor_role := 'agent'):
498
498
  - test-assert-xxx: <description> → write a vitest test that proves this
499
499
  - test-smoke-xxx: <description> → run the command and confirm the result
500
- - test-visual-xxx: <description> → note: delegate to UI audit (you cannot verify this yourself)
500
+ - test-visual-xxx: <route + state + viewport + visible expectation> → run the project's pinned headless Playwright test and retain its screenshot/trace on failure
501
501
  - test-contract-xxx: <description> → verify the export/type/shape exists
502
502
  Tick each item as you complete it. Do NOT batch — tick immediately after each verification.
503
503
  ```
@@ -537,6 +537,14 @@ Read the task title and description, then:
537
537
  construction, or a `/health` probe cannot substitute. If no safe disposable
538
538
  environment exists, create one within the work package; do not waive this
539
539
  gate or mark the item reviewable.
540
+ - **Rendered UI gate (hard):** A task that creates or changes a rendered UI
541
+ route MUST use a project-owned, pinned `@playwright/test` harness. The work
542
+ package installs the matching Chromium once (`pnpm exec playwright install
543
+ chromium`), adds/updates a named `test:ui` assertion for every changed route
544
+ and relevant state, and runs it headlessly against a fresh app-owned test
545
+ server or an explicitly documented deploy-equivalent target. An HTTP probe,
546
+ source review, manual editor preview, global Playwright CLI, or a delegated
547
+ note is not visual evidence. Preserve screenshot/trace on failure.
540
548
 
541
549
  8. **Post-wave test gate (mandatory):**
542
550
  After all agents in a wave complete, before proceeding:
@@ -645,7 +653,10 @@ Read the task title and description, then:
645
653
  - **Verifies test plan completion per work item:**
646
654
  - For each `test-assert-*` checklist item: confirm a corresponding vitest test exists and passes
647
655
  - For each `test-smoke-*` checklist item: run the command and confirm exit code / HTTP status
648
- - For each `test-visual-*` checklist item: note as "delegated to UI audit" (validator cannot verify visuals)
656
+ - For each `test-visual-*` checklist item: run the target's project-owned
657
+ headless Playwright command; reject the item if the route/state assertion
658
+ is absent, fails, or relies on a global Playwright install. Retain the
659
+ route-specific receipt; failure screenshots/traces are the diagnostic artifact.
649
660
  - For each `test-contract-*` checklist item: verify the export/type/shape exists in the built code
650
661
  - Any unchecked `test-*` item with `required: true` = work item CANNOT be set to `done` (DB enforces this)
651
662
  - Sets passing items to `done`, failing items back to `todo` with failure detail