Sentinel
Sentinel is a deterministic QA runner for a deliberately bounded class of web
applications. Given a private operator configuration, an untrusted target
repository, and a running development or test deployment, it discovers supported
OpenAPI operations and Vue Router routes, applies a fail-closed execution policy,
runs real API and headless-Chrome checks, and publishes one canonical set of
redacted findings.
Sentinel 2.0.1 is a breaking replacement for the prompt-owned 1.x execution model.
The current implementation and release-evidence status are tracked in
PROGRESS.md. Do not treat source completion alone as proof that the
release goal has passed; the real API/Chrome, packaging, exact-commit CI, tag, and
fresh-archive gates must all succeed.
Product goal
Sentinel answers this bounded question:
Can the supported surface of this application be discovered and exercised across
trusted roles and browser viewports without allowing target content to grant
network, mutation, credential, or filesystem authority—and can every result be
reproduced from one validated run?
It is a QA orchestration layer, not a claim that an application is defect-free. It
does not replace unit, integration, accessibility, load, security, framework-native,
or manual testing.
flowchart TD
HOST[Operator, CI, Claude, or Codex] --> CLI[Dependency-free Node 18 core]
CFG[Private trusted config outside target] --> CLI
TARGET[Untrusted target repository] --> FS[Linux descriptor-anchored boundary]
CLI --> FS
FS --> DISC{Deterministic discovery}
DISC --> OA[OpenAPI 3.0/3.1 JSON]
DISC --> VUE[Static Vue Router literals]
OA --> MANIFEST[Strict v2 manifest, coverage, provenance]
VUE --> MANIFEST
CFG --> POLICY[Fail-closed execution plan]
MANIFEST --> POLICY
POLICY -->|approved operations| API[HTTP, RBAC, and schema checks]
POLICY -->|approved routes| BROWSER[Headless Chrome/CDP checks]
POLICY -->|blocked or incomplete| SKIPS[Explicit skips and coverage gaps]
API --> FINDINGS[Canonical redacted findings]
BROWSER --> FINDINGS
SKIPS --> FINDINGS
FINDINGS --> RUN[Transactional run publication]
RUN --> REPORTS[JSON, Markdown, HTML, PR-ready Markdown]
RUN --> HISTORY[History, latest, trends, and diff]
FINDINGS --> EXIT[Exit code 0, 1, or 2]
The Claude plugin and Codex launcher are thin hosts for the same core. Target source,
comments, pages, responses, redirects, manifests, and old reports are always data;
they cannot override policy or become host instructions.
Deterministic support matrix
Sentinel 2.0 makes an execution claim only for the following matrix:
| Surface | Supported form | Explicit boundary |
|---|
| Backend discovery | OpenAPI 3.0.x or 3.1.x JSON, literal relative paths, local #/components/schemas/* references, and the schema subset accepted by the bundled contracts | External references, callbacks/webhooks, non-JSON content, and unsupported schema behavior are partial or unsupported |
| Frontend discovery | Static Vue Router literal arrays, including nested routes, aliases, absolute children, and path parameters | Spreads, imported/computed route arrays, interpolated templates, and other dynamic expressions are coverage gaps |
| Authentication | Bearer tokens supplied as env:NAME references plus explicit trusted role mappings | Cookie sessions, OAuth flows, API keys, Basic auth, and inferred role hierarchies are not 2.0 execution claims |
| API checks | Exact-origin status/RBAC, content type, bounded JSON responses, supported response schemas, timeouts, and manually validated same-origin redirects | Cross-origin redirects and unapproved origins are blocked |
| Browser checks | System Chrome/Chromium over CDP: document/RBAC status, network failures, console errors, uncaught exceptions, horizontal overflow, configured empty content, and screenshots on configured failures | Firefox/WebKit, accessibility audits, arbitrary target-authored checks, and pixel-perfect visual regression are outside the claim |
| Runtime | Linux, Node.js 18+, and a system or explicitly configured Chrome/Chromium executable | Other operating systems are outside the release matrix while safe filesystem anchoring depends on Linux procfs descriptor paths |
| Service scope | Config may contain zero or one canonical approved origin and zero or one configured service; executable API/browser work requires exactly one approved origin | Multiple distinct origins/services are rejected with CONFIG_MULTI_SERVICE_UNSUPPORTED; run one invocation per service |
Legacy prompts may help explain an unsupported stack, but they cannot upgrade
coverage, enter the canonical manifest, or authorize a request. The broad 1.x claims
for framework source parsers, GraphQL/gRPC/tRPC, ORMs, automatic fixes, direct PR
mutation, and Playwright MCP are intentionally not 2.0 execution claims.
Prerequisites