Responsible AI-Driven Testing Strategy & Approach

Chakra Vyuha
Project

A responsible, human-in-the-loop pipeline for features/requirements extraction, documentation and scenarios/test cases generation — powered by dual AI agents, LLM reconciliation and a shared RAG knowledge base.

7
Lifecycle steps
2
Parallel LLMs
5
Test layers
4
Validation gates

Chakra Vyuha · Seven-stage controlled lifecycle

From requirements to retained knowledge

Tap any card to open a simple explanation — what it is, why we do it, and its advantages.

01

Process Automation

Create validated manual test cases / scenarios

Tap to learn more →

02

Test Automation

Convert manual scenarios into executable automated tests

Tap to learn more →

03

CI Pipeline

Execute automated scenarios through quality gates

Tap to learn more →

04

Consolidated Test Results

Consolidate results and compare releases

Tap to learn more →

05

Continuous Deployment

Prepare environment and deploy validated build

Tap to learn more →

06

RTM

Trace requirements, tests and defects

Tap to learn more →

07

Documentation

Retain standards and project knowledge

Tap to learn more →

Responsible AI · Human in the Loop

AI proposes. Humans approve.

Every AI output passes two automated checks and two human gates before it is trusted downstream.

Human in the LoopHITL

AI drafts — people decide. No generated feature or test case moves downstream without human sign-off.

Transparency

Every artifact links back to its source file, build version and the LLM that produced it.

Triangulation

Two independent LLMs (Ornith · Nemotron) run in parallel; differences are surfaced, never hidden.

Grounded in evidence

RAG context keeps answers tied to real source code, DB schema and SRS — reducing hallucination.

Security & privacy

Static analysis against SonarQube and IMSAS guidelines; project data stays inside the controlled environment.

Honest confidence

Confidence % is assessed, not assumed. No speed or accuracy gains are claimed without measurement.

Sequential validation gates · AI first, humans decide

AI check

AI + RAG context validation

Outputs are checked against the retrieved source of truth.

AI check

Double-LLM delta validation

Gemma reconciles Ornith and Nemotron and flags every mismatch.

Human in the loop

Manual validation

IV&V testers review every features/requirements .md and scenario/test case.

Human in the loop

Stakeholder validation

Domain owners approve before automation, reporting and IBM ELM RTM.

Confidence Assessment / Confidence % — to be assessed. No measured gains are claimed.

Process automation · Two directions

Top-to-bottom & bottom-to-top

Start from the SRS when it exists — or reverse-engineer the code to build a synthetic SRS when it doesn't.

SRS-led generation

Top-to-Bottom

Use when a proper SRS (requirements document) exists.

SRS
Feature Generator
Classified features/requirements .md
Scenario Generator
scenarios/test cases (.feature) per layer
  1. 1.Read the SRS and classify features: UI · REST API · Database · Integration
  2. 2.Write one features/requirements .md file for each classified feature
  3. 3.Read each .md file and generate Unit · REST API · UI · DB · Performance scenarios/test cases
  4. 4.Store .feature files in the respective layer folders
  5. 5.Nemotron 551B + Ornith 397B run in parallel → reconciliation → manual → stakeholder validation

Backward trace: Bug → Scenario → Feature → SRS

Reverse engineering

Bottom-to-Top

Use when no concrete SRS is available — derive a synthetic SRS from the code.

Front-end + Back-end + DB schema
Feature Generator
Classified features/requirements .md
Scenario Generator
Synthetic SRS
  1. 1.Read front-end / back-end source code and DB schema from RAG
  2. 2.Classify UI · REST API · Database · Integration features
  3. 3.Generate one features/requirements .md file per feature
  4. 4.Generate layered scenarios/test cases for every feature
  5. 5.Reconcile, validate manually and with stakeholders, then assemble the Synthetic SRS

Backward trace: Bug → Scenario → Feature → Synthetic SRS

Knowledge storage & retrieval

RAG design, sheet by sheet

Ingest, store, retrieve, return and reuse — switch sheets at the bottom of the workbook.

RAG_Design.xlsxfx · 1_Ingest_Sources
ABCDE
1#ArtifactSourceUsed byPurpose
21Front-end source codeGitLabVersion · VikramUI feature extraction
32Back-end source codeGitLabVersion · VikramREST API & integration features
43DB schemasGitLabVikram · Maya (Zara)Database features & DB tests
54SRS (when available)GitLab / DocsVikramTop-to-bottom generation
65Commit ID / build versionGitLabAgent Gen VVersion every artifact

RAG Assistant · ask the knowledge base

Connected · preview

Hi, I'm the Chakra Vyuha RAG assistant. Ask me anything about the AIS features/requirements, .md files, scenarios/test cases or runs.

Process automation · System architecture

The pipeline, step by step

Every stage reads from and writes back to the RAG core. Press play, or pick a step on the wheel.

RAG Core
Step 01 / 07 · Stage 1 · starts from the UI

Agent Gen V · Version Agent

The process starts from the Gen V intake screen (UI). Gen V captures the source code / SRS, captures the committed ID, stores both in the RAG knowledge base and then triggers Agent Vikram for Step 2.

Starts from
Gen V UI — upload SRS or enter source code paths
Activity
Captures source + committed ID, stores in RAG
Hand-off
Sends trigger to Agent Vikram (Step 2)

Input

  • Starts from the Gen V UI screen
  • SRS document (uploaded), or
  • Source code paths: front-end, back-end, DB schema diagram
  • Any other supporting documents · GitLab branch

Output

  • Captured committed ID
  • Source code + SRS stored in RAG
  • Trigger sent to Agent Vikram (Step 2)
Gen V UISRS upload / code paths
GitLabSource Code / SRS
Capture source · committed ID▼
Agent Gen VVersion Agent
Store commit ID + source▼
RAG Knowledge BaseSingle source of truth
Trigger Step 2▼
Agent VikramFeatures/Req list

Step 01 · Agent Gen V intake screen · the process starts here (preview)

Other documents (optional)

Requirements / Scenarios Dashboard · AIS moduleLive-updated during Vikram & Maya · sample data
Moduleby VikramFeature/Requirementby Vikramfeatures/requirements .mdby VikramUnitby MayaAPIby MayaDBby MayaUIby MayaPFby Maya
AISVessel Position Reportingposition_reporting.md149563
AISMMSI Identity Managementmmsi_identity.md117642
AISNMEA VDM Message Decodingnmea_decoding.md186324
AISTarget Tracking & CPA/TCPAtarget_tracking.md168475
AISCollision Alertingcollision_alerting.md126253
AISStatic & Voyage Datavoyage_data.md97642
AISSafety Message Broadcastsafety_messages.md85332

Key design patterns

Triangulate, reconcile, then validate

Dual-Agent Validation

Ornith & Nemotron generate in parallel for cross-verification.

Reconciliation Loop

LLM (Gemma) reconciles outputs at every critical step.

Source Code Validation

Every artifact is checked against the source of truth.

Centralized RAG

One knowledge base shared across every stage.