SENTINEL TOPOGRAPHY
The Living Engine
A biological approach to software quality. While currently operating autonomously via local Docker, Sentinel's Future Vision evolves it into a distributed organism living on GKE Autopilot, creating an autonomous nervous system for your applications.
The Autonomic Fix Loop
How Sentinel transforms a user's natural language into a self-healing Java execution.
User / Recruiter
Visits Portfolio
Portfolio Portal
Triggers Sentinel Demo
Sentinel Core
Mission Control UI
Cortex AI
Gemini 2.0 Decisions
GKE Cluster
Batch Jobs & Selenium
Data Backbone
GCS Fuse & Firestore
The "Split-Brain" Microservice Architecture
While Sentinel currently operates effectively via Docker locally, this represents our Work in Progress (Future Implementation) design. The goal is decoupling Intelligence from Execution for infinite scalability on GKE Autopilot.
GKE Autopilot Cluster
Sentinel Web
Next.js Control Plane
Read/Write Shared Volume
Runner Jobs
Ephemeral Workers
Matrix Logs (SSE)
We replaced database polling with a direct Server-Sent Events (SSE) pipe from the Kubernetes Pod.
Kubernetes Jobs
Runners are now Batch Jobs, not raw Pods. This gives us "Spot Preemption Protection" — if Google kills a node, the Job auto-restarts elsewhere.
ttlSecondsAfterFinished: 60
Warm Pool Strategy
A single "Standby" pod keeps the 2GB Docker image pre-cached on the cluster nodes.
Cortex v1.0 Learning Loop
A real-time visualization of how Cortex detects failure, analyzes the DOM via Gemini, and injects self-healing code.
Sentinel Architecture
The Biological Model (v1.0)
Sees the 'Deep Reality' (Shadow DOMs) and detects visual obstructions code cannot perceive.
Decodes 'User Intent' vs 'Reality'. Understands the semantic role of locators beyond IDs.
'Feels' application resistance. Automatically shifts strategies when elements are occluded.
Reacts with muscle memory. Instantly repeats successful historical fixes for known patterns.
Autonomous Triage & Self-Correction
In v1.0, we introduced the Defect Tracker with Headless Probes. This system eliminates the "Manual Re-test" phase by delegating verification to autonomous workers.
Defect "Hotness" Indicator
A real-time analytics module that prioritizes failures based on their "frequency bleed." If a failure is detected across multiple features or repeats over time, the left border glows intense red, elevating it to CRITICAL status automatically.
Headless Validation Probes
When an engineer (or AI) applies a fix, they trigger a "Probe." Sentinel spawns an ephemeral, headless GKE Job that runs *only* the affected feature. On success, it communicates via the `/api/cortex/probe` endpoint to **auto-close** the ticket.
PROBE_LIFECYCLE_LOG
> Executed 3 scenarios...
> BUILD SUCCESS (12.4s)
Cortex Defect Tracker v1.0.0
Auto-Close Logic
FIXED: Tests that pass now automatically resolve their corresponding open defects.
Stale Probe Timeout
FIXED: Safety net resets any "PROBING" status older than 10 minutes, preventing limbo states.
Source Code Viewer
FEATURE: Secure modal showing live source code (.java files) directly in the dashboard.
"The dashboard now provides a true real-time view of your project's health."
Collaborative Quality Hub
Closing the feedback loop between the AI's autonomous decisions and the QA team's tribal knowledge.
Failure Context Threads
Semantic Attachment Bridge
Knowledge Distillation
Technical Repository Architecture
High-level mapping of the Sentinel & Cortex ecosystem.
© 2026 Safwan Saba ‐ All Rights Reserved ‐ Proprietary Logic Redacted
The Growth Curve
The Mock Brain
Initial regex-based engine to validate the Gherkin parsing pipeline without LLM costs. Established the 'Sentinel' API route.
LLM Integration
Integrated Gemini 2.0 Flash. Transformed static regex logic into dynamic Intent Analysis that could understand natural language directions.
Robust Isolation
Separated AI execution from the Regression Suite using strict tagging conventions (@ai_generated) and safety flags.
Containerization
Moved execution from Shell to Docker. Solved cross-container networking issues using 'host.docker.internal' to allow the isolated runner to test the localhost Next.js app.
Self-Healing Architecture
The 'SDET' module. Created the `CodeInjector` and `GherkinAnalyzer` which detect missing steps and write Java code on the fly.
Targeted Search (React Fix)
Solved complex synchronization issues with React's Virtual DOM by implementing atomic char-by-char typing in the AI steps.
Real-Time Observability
Built the 'Mission Control' dashboard with live Firestore synchronization. Integrated VNC-over-Web for visual validation of AI runs.
Autonomous Triage
Implemented the Cortex Defect Tracker with automated headless probes that self-resolve defects in Firestore upon verification.
Collaborative Quality
Launched the Community Hub and Failure Discussions, bridging the gap between AI automation and human tribal knowledge.