vigil-testing-e2e

Automate end-to-end testing for the Vigil Guard detection engine with Vitest.

14|2|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/tbartel74/Vigil-Code --skill vigil-testing-e2e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vigil-testing-e2e
Source: https://github.com/tbartel74/Vigil-Code/tree/main/.claude/skills/vigil-testing-e2e
Command: npx skills add https://github.com/tbartel74/Vigil-Code --skill vigil-testing-e2e

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

End-to-end testing framework for Vigil Guard v2.0.0 detection engine, ensuring 3-branch detection accuracy, arbiter decisions, PII detection, and language detection through Vitest.

Core Features & Use Cases

  • E2E Test Suite: 8 test files covering 3-branch detection, arbiter decisions, and PII detection.
  • Fixture & Debug: Create fixtures, debug failing tests, and validate bypass scenarios.
  • CI/CD Integration: Integrate with CI to verify changes against the full test suite.

Quick Start

Run the full suite: npm test in services/workflow; or npm test -- vigil-detection.test.js for targeted tests.

Frequently Asked Questions about vigil-testing-e2e

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up end-to-end testing for a Vigil Guard detection engine?

End-to-end testing for Vigil Guard validates 3-branch detection accuracy, arbiter decisions, and PII detection through Vitest. Run npm test in services/workflow to execute the full 8-file test suite, or npm test -- vigil-detection.test.js for targeted tests.

Can I test PII detection and language detection with Vitest?

Yes. This Skill's Vitest-based test suite covers PII detection, language detection, and 3-branch detection validation. It includes fixture creation, debug tooling, and bypass scenario handling across eight test files.

How do I debug failing e2e tests in a detection engine?

Create and manage fixtures, validate bypass scenarios, and debug individual test failures using Vitest orchestration. Run targeted tests with npm test -- [filename] to isolate and inspect specific test modules.

Does this testing approach integrate with CI/CD pipelines?

Yes. The test suite integrates with CI/CD to verify changes against the full Vigil Guard detection suite, including cross-branch scoring, arbiter decisions, and output sanitization checks.

What does arbiter decision testing validate?

Arbiter decision testing validates the logic that resolves conflicts across 3-branch detection outputs. The suite ensures consistent, correct decisions through dedicated test files and cross-branch scoring validation.