Skip to content

Wiper15/deriv-sentinel-qa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Deriv Sentinel QA

Software 3.0 Autonomous QA & Compliance Ecosystem

Google Cloud Gemini 1.5

🚀 Overview

Deriv Sentinel QA is an autonomous "Software 3.0" system built for high-stakes fintech environments. It doesn't just run tests; it reasons through them. By utilizing a multi-agent loop on Google Cloud Vertex AI, it self-heals broken test scripts and enforces PCI DSS 4.0 and GDPR compliance at the point of creation.


✅ Problem Statement

Traditional QA in fintech is brittle and carries high security risks:

  1. The Maintenance Trap: Static scripts break during UI updates, creating "false alarms" that stall deployment.
  2. Compliance Risks: Automated tests often bypass security protocols or accidentally leak PII (Personally Identifiable Information) into logs. Sentinel QA solves this by making security and compliance an autonomous "gatekeeper" in the development lifecycle.

📸 Solution Flow

Our architecture follows an agentic pattern, ensuring no code is executed without a compliance audit.

  1. Architect Agent (Gemini 1.5 Pro): Translates user requirements into Playwright/Python code.
  2. Sentinel Auditor (Gemini 1.5 Flash + RAG): Audits code against a Compliance Vault (stored in Vertex AI Search).
  3. Execution Sandbox (Cloud Run): Runs approved code in a secure, headless environment.
  4. Self-Healing Loop: If a test fails due to a UI change, the agent re-inspects the DOM and patches the script automatically.

🛠️ Implementation & Architecture

Technical Stack

  • Orchestration: Python-based state machine logic.
  • AI Engine: Google Vertex AI (Gemini 1.5 Pro & Flash).
  • Compliance RAG: Vertex AI Search grounded in PCI DSS & GDPR documentation.
  • Execution: Playwright (Python) running in a serverless sandbox.

Engineering Judgment (Clean Code)

  • Separation of Concerns: Distinct logic for architect.py (Creation) and sentinel.py (Audit).
  • Security-First: No hardcoded API keys; utilizes Google Application Default Credentials (ADC).
  • Traceability: Logs capture the "Chain of Thought" for every AI decision.

⚙️ Installation & Usage

Prerequisites

  • A Google Cloud Project with Vertex AI API enabled.
  • Python 3.9+

Setup

  1. Clone the repo:
    git clone [https://github.com/](https://github.com/)[YOUR_USERNAME]/deriv-sentinel-qa.git
    cd deriv-sentinel-qa

About

A Software 3.0 autonomous QA agent built on Vertex AI that self-heals test scripts and enforces financial compliance using multi-agent orchestration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages