Loading...
Loading...
This document outlines the high-level architecture of the Rihario autonomous testing platform. It serves as the canonical reference for system behavior, security isolation, and decision-making logic.
Rihario is designed as a distributed, event-driven system. It separates the Control Plane (Dashboard, API) from the Execution Plane (Worker Nodes, Browser Containers). This ensures that user data and test execution are strictly isolated.
The Control Plane handles user authentication, project management, and test scheduling. It exposes a REST API consumed by the frontend dashboard and CI/CD integrations.
Workers are stateless compute units that execute the actual tests.
Rihario creates a real-time overlay on the video stream called the "IronMan HUD." This is not just a visual effect; it is a debugging tool. It maps the AI's internal "Attention Map"—what elements it considers important—directly onto the visual output, allowing users to see why the AI clicked a button.
When a test succeeds, Rihario stores a Semantic Fingerprint of the critical elements (Login Button, Nav Link). If the CSS selectors change in a future build (e.g., `btn-primary` becomes `btn-red`), Rihario uses the fingerprint to find the element again by its text, position, and attributes, healing the test automatically.
The system monitors for "Frustration Signals":
Tests are executed in a sandbox. No data persists on the worker node after the container terminates. We support whitelisted IPs for testing internal staging environments.