test-compliance-proxy

Automate end-to-end smoke testing of the Compliance Proxy with MITM interception and report generation.

21|3|Updated May 26, 2026
One-click install
npx skills add https://github.com/AlphaBitCore/nexus-gateway --skill test-compliance-proxy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-compliance-proxy
Source: https://github.com/AlphaBitCore/nexus-gateway/tree/main/.claude/skills/test-compliance-proxy
Command: npx skills add https://github.com/AlphaBitCore/nexus-gateway --skill test-compliance-proxy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

End-to-end smoke testing of the Compliance Proxy to verify MITM interception, correct routing, and accurate traffic auditing.

Core Features & Use Cases

  • End-to-end smoke tests for MITM and traffic events on the Compliance Proxy.
  • Verifies Prometheus metrics and PostgreSQL traffic_event entries.
  • Generates a per-run Markdown report at /tmp/test-compliance-proxy-<UTC-timestamp>.md.

Quick Start

Run the active smoke test against a running Compliance Proxy to generate the Markdown report at /tmp/test-compliance-proxy-<UTC-timestamp>.md.

Frequently Asked Questions about test-compliance-proxy

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

FAQPage Schema
How do I run an end-to-end smoke test for MITM traffic interception?

Executing an end-to-end smoke test for MITM traffic interception involves running the test against an active Compliance Proxy to validate provider routing, per-adapter chat calls, and credentials handling, yielding a Markdown report.

What is a compliance proxy and how does it validate provider traffic?

A compliance proxy intercepts provider traffic via MITM to enforce domain allowlists and audit routing. It validates per-adapter requests and records traffic_event rows in PostgreSQL for accurate auditing.

Does the compliance proxy smoke test verify Prometheus metrics and PostgreSQL entries?

Yes, the smoke test verifies Prometheus metrics deltas and PostgreSQL traffic_event entries. It validates DB verification and metrics generation to ensure accurate traffic auditing for non-stream and streaming requests.

How do I validate streaming and non-streaming chat calls through a proxy?

Validating streaming and non-streaming chat calls through a proxy requires per-adapter requests for both types. The smoke test enforces domain allowlist checks and environment-based decryption of keys to verify routing.

Where does the compliance proxy smoke test output its audit report?

The compliance proxy smoke test renders its audit-ready report as a Markdown file at /tmp/test-compliance-proxy-<UTC-timestamp>.md. This per-run result file contains traffic validation details and metrics.