# Sentinel [![npm](https://img.shields.io/npm/v/@trysentinel/qa)](https://www.npmjs.com/package/@trysentinel/qa) [![CI](https://github.com/we-building-autonomously/sentinel/actions/workflows/sentinel.yml/badge.svg)](https://github.com/we-building-autonomously/sentinel/actions/workflows/sentinel.yml) [![license: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE) **A browser-native testing harness.** Coding agents are great at *writing* software and bad at *testing* it. Sentinel is the missing half: you hand it a task, the user intent behind it, and the app's metadata (URL, login) — and it drives a real browser like a real user, then returns a **pass / fail verdict with commentary**, exactly like a QA engineer signing off on a manual test. It is to QA what a coding agent is to code: same loop (perceive → think → act → verify), but **browser-native** instead of code-native. ``` TestSpec (task + intent + app metadata) │ ├─▶ Planner turns intent into observable checkpoints ├─▶ Agent drives Chromium via ref-addressed DOM tools (Claude tool-use loop) ├─▶ Judge adjudicates the trace strictly against the checkpoints └─▶ Reporter JSON + Markdown + self-contained HTML report, screenshots, Playwright trace ``` ## Why ref-addressed DOM, not pixels Sentinel re-indexes the page every step: an injected script tags every *visible, interactable* element with `data-sn-idx` and emits a compact, token-efficient listing (`[12]