ghost-qa

v2.1.2
io.github.avivgerz-hue/ghost-qa Checked 8 hours ago Published 14 days ago

Autonomous headless browser QA & self-healing verification loop for AI coding agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ghost_qa_audit_url

Run the full ghost-qa Deep Browser Inspection against a running localhost app: crawls internal routes on Desktop 1440x900, Tablet 768x1024 and Mobile 375x812 under light + dark colour schemes, safely exercises interactive controls, and runs the 8-Trap Engine (console/framework runtime, network/asset integrity, layout/geometry/collision, WCAG accessibility + keyboard focus, Core Web Vitals performance, link integrity, SEO/metadata, theme parity). Returns the Self-Healing Bug Report plus the QA Health Score (0-100, grade A+ to F) — fix every critical/major issue and re-audit until the score is…

ParameterTypeDescription
url *stringTarget URL of the running app, e.g. http://localhost:3000
maxDepthnumberLink-following depth (default 2)
maxRoutesnumberMaximum routes to visit (default 25)
viewportstringViewports to test (default all: desktop + tablet + mobile)

ghost_qa_compare

Compare two ghost-qa JSON reports (the objects returned by ghost_qa_audit_url, or report.json files written by the CLI) and return the Regression & Verification Delta Report: scoreDelta, fixedFindings, newRegressions and remainingFindings. Use it after fixing bugs to prove the fix worked without introducing regressions; verified=true only at score >= 95 with zero regressions and no blocking findings left.

ParameterTypeDescription
after *objectNew ghost-qa report JSON (after fixes), e.g. the saved after.json object
before *objectBaseline ghost-qa report JSON (before fixes), e.g. the saved before.json object

ghost_qa_doctor

Verify ghost-qa environment readiness: Node.js version, Chromium binary availability, and a live headless-browser smoke test. Run this first when an audit fails to start.