name: web-qa
description:
Compatibility entrypoint for legacy web-qa requests; route new browser-backed QA work to browser-qa while preserving
web-evidence and browser-session examples.
Web QA Compatibility
Use this skill only as a compatibility bridge for existing web-qa references.
Contract
Prereqs:
- Prefer
browser-qa for new browser-backed QA work, acceptance gates, and fix loops.
- Define the target, goal, expected behavior, and required evidence before capturing.
- Choose a project-scoped run directory, preferably from
agent-out project --topic browser-qa --mkdir.
- Use
web-evidence for static HTTP/HTTPS captures and browser-session for evidence records when session traceability is useful.
- Use Browser, Chrome, Playwright, or
agent-browser for active browser operations only through the browser-qa workflow.
- Do not add skill-local scripts or placeholder scripts; this compatibility skill preserves examples for existing callers.
Inputs:
- Legacy
web-qa request, target URL, localhost address, deployment preview, or existing browser surface.
- QA goal and acceptance criteria.
- Mode choice:
static or compatibility handoff to browser-qa.
- Optional artifact requirements such as screenshot, DOM observation, console summary, network summary, or static response bundle.
Outputs:
- Static mode writes a redacted
web-evidence capture bundle, including
summary.json, headers.redacted.json, and optional
body-preview.redacted.txt.
- Active browser requests are routed to
browser-qa, which records browser actions and artifacts with browser-session.
- When
browser-session is used, writes browser-session.json with goal, target, steps, statuses, and artifact paths.
- Final response states whether compatibility routing occurred and summarizes evidence paths, pass/fail status, or blocked state without
exposing secrets.
Exit codes:
web-evidence capture returns 0 for successful captures, 1 for runtime/network/HTTP failures, and 64 for usage errors.
browser-session verify returns 0 when the evidence record is complete and all recorded steps passed, 1 when evidence is incomplete
or a step failed, and 64 for usage errors.
- Browser, Chrome, Playwright, and
agent-browser failures are tool-specific and should be handled by browser-qa.
Failure modes:
- Required browser or nils-cli evidence tool is unavailable.
- Target is inaccessible, unstable, blocked by network policy, or requires unavailable credentials.
- Static HTTP evidence is insufficient because the claim depends on JavaScript, DOM state, browser storage, screenshots, interaction,
console logs, network behavior, or authenticated state.
- The requested evidence would retain raw cookies, credentials, auth headers, tokenized URLs, secret form values, or unredacted network
logs.
- CAPTCHA, MFA, payment, destructive actions, or access-control bypass would be required.
- Artifact directory cannot be created or verified.
Compatibility Status
web-qa is a supported compatibility surface for at least one transition. It is no longer the canonical browser QA workflow.
New browser-backed QA work should invoke browser-qa, especially for report-only QA, acceptance gates, and fix loops.
Future removal criteria:
- Catalogs, workflow skills, and automation docs no longer direct new work to
web-qa.
- Existing external references have been migrated or explicitly accepted as legacy.
- A removal change can update this skill and references as a deliberate breaking change.
Static Evidence Mode
Use static evidence mode when HTTP status, redirects, headers, and a redacted text preview are enough. Static mode is appropriate for health
checks, public preview availability, simple content checks, and status-page evidence.
Run static mode through web-evidence capture. If the static capture is part of a QA acceptance claim, also record it with
browser-session.
run_dir="$(agent-out project --topic browser-qa --mkdir)"
web-evidence capture <url> --out "$run_dir/web-evidence" --label <scenario> --format json
browser-session init \
--out "$run_dir/browser-session" \
--target <url> \
--goal <goal> \
--browser static-web-evidence \
--format json
browser-session record-step \
--out "$run_dir/browser-session" \
--action "Captured static HTTP evidence with web-evidence" \
--expectation <expected-behavior> \
--status pass \
--artifact "$run_dir/web-evidence/summary.json" \
--artifact "$run_dir/web-evidence/headers.redacted.json" \
--artifact "$run_dir/web-evidence/body-preview.redacted.txt" \
--format json
browser-session verify --out "$run_dir/browser-session" --format json
If web-evidence capture exits non-zero but writes a bundle, inspect the redacted summary.json, record a failed browser-session
step if a session was initialized, and report the HTTP/network failure as evidence rather than retrying blindly.
Active Browser Compatibility
For active browser work, switch to browser-qa. Static evidence is insufficient for JavaScript-rendered UI, screenshots or layout,
responsive behavior, DOM interaction, client-side routing, console errors, local storage/session storage, browser-only authentication,
downloads, forms, viewport checks, or console/network summaries.
Active browser work should use the browser-qa workflow to choose the driver deliberately:
Browser: local targets, unauthenticated pages, quick interactive open/inspect/screenshot work, and localhost QA.
Chrome: existing cookies, logged-in state, extensions, existing tabs, or another stateful/authenticated browser session.
Do not export cookies or profile state.
Playwright: repeatable CLI-driven browser paths when the target does not require the user's existing Chrome state.
agent-browser: legacy fallback when snapshot -i / @ref behavior is needed or native tooling is unavailable.
Redaction Guardrails
- Keep only redacted evidence artifacts. Do not retain raw cookies, credentials, auth headers, bearer tokens, session storage, local storage
dumps, secret query parameters, secret form values, or unredacted network logs.
- For screenshots that reveal secrets or personal data, either avoid retaining the screenshot, capture a safer viewport/state, or create a
redacted derivative before recording the artifact path.
- Summarize console and network evidence to the minimum useful facts. Preserve URLs only after removing secret query parameters and
fragments.
- Do not type, reveal, or persist passwords, one-time codes, recovery codes, API keys, or customer data in evidence notes.
- Do not commit run directories unless the project explicitly defines a retained, redacted evidence path.
Blocked States
Stop and report blocked when:
- The requested proof requires login state but Chrome is unavailable or the user has not approved using an existing authenticated browser
session.
- MFA, CAPTCHA, payment, destructive action, or access-control bypass is required.
- The only available evidence would expose secrets and no redacted artifact can support the claim.
- Browser, Chrome, Playwright,
agent-browser, web-evidence, or browser-session is unavailable and no scoped fallback exists.
- Static mode was requested but the requirement depends on active browser behavior.
When blocked after a session has started, record the blocked step as fail, run browser-session verify, and include the failed
verification result in the final report.
1---2name: web-qa3description: Compatibility entrypoint for legacy web-qa requests; route new browser-backed QA work to browser-qa while preserving web-evidence and browser-session examples.4---5---6name: web-qa7description:8 Compatibility entrypoint for legacy web-qa requests; route new browser-backed QA work to browser-qa while preserving9 web-evidence and browser-session examples.10---1112# Web QA Compatibility1314Use this skill only as a compatibility bridge for existing `web-qa` references.1516## Contract1718Prereqs:1920- Prefer `browser-qa` for new browser-backed QA work, acceptance gates, and fix loops.21- Define the target, goal, expected behavior, and required evidence before capturing.22- Choose a project-scoped run directory, preferably from `agent-out project --topic browser-qa --mkdir`.23- Use `web-evidence` for static HTTP/HTTPS captures and `browser-session` for evidence records when session traceability is useful.24- Use Browser, Chrome, Playwright, or `agent-browser` for active browser operations only through the `browser-qa` workflow.25- Do not add skill-local scripts or placeholder scripts; this compatibility skill preserves examples for existing callers.2627Inputs:2829- Legacy `web-qa` request, target URL, localhost address, deployment preview, or existing browser surface.30- QA goal and acceptance criteria.31- Mode choice: `static` or compatibility handoff to `browser-qa`.32- Optional artifact requirements such as screenshot, DOM observation, console summary, network summary, or static response bundle.3334Outputs:3536- Static mode writes a redacted `web-evidence capture` bundle, including37 `summary.json`, `headers.redacted.json`, and optional38 `body-preview.redacted.txt`.39- Active browser requests are routed to `browser-qa`, which records browser actions and artifacts with `browser-session`.40- When `browser-session` is used, writes `browser-session.json` with goal, target, steps, statuses, and artifact paths.41- Final response states whether compatibility routing occurred and summarizes evidence paths, pass/fail status, or blocked state without42 exposing secrets.4344Exit codes:4546- `web-evidence capture` returns `0` for successful captures, `1` for runtime/network/HTTP failures, and `64` for usage errors.47- `browser-session verify` returns `0` when the evidence record is complete and all recorded steps passed, `1` when evidence is incomplete48 or a step failed, and `64` for usage errors.49- Browser, Chrome, Playwright, and `agent-browser` failures are tool-specific and should be handled by `browser-qa`.5051Failure modes:5253- Required browser or nils-cli evidence tool is unavailable.54- Target is inaccessible, unstable, blocked by network policy, or requires unavailable credentials.55- Static HTTP evidence is insufficient because the claim depends on JavaScript, DOM state, browser storage, screenshots, interaction,56 console logs, network behavior, or authenticated state.57- The requested evidence would retain raw cookies, credentials, auth headers, tokenized URLs, secret form values, or unredacted network58 logs.59- CAPTCHA, MFA, payment, destructive actions, or access-control bypass would be required.60- Artifact directory cannot be created or verified.6162## Compatibility Status6364`web-qa` is a supported compatibility surface for at least one transition. It is no longer the canonical browser QA workflow.6566New browser-backed QA work should invoke `browser-qa`, especially for report-only QA, acceptance gates, and fix loops.6768Future removal criteria:6970- Catalogs, workflow skills, and automation docs no longer direct new work to `web-qa`.71- Existing external references have been migrated or explicitly accepted as legacy.72- A removal change can update this skill and references as a deliberate breaking change.7374## Static Evidence Mode7576Use static evidence mode when HTTP status, redirects, headers, and a redacted text preview are enough. Static mode is appropriate for health77checks, public preview availability, simple content checks, and status-page evidence.7879Run static mode through `web-evidence capture`. If the static capture is part of a QA acceptance claim, also record it with80`browser-session`.8182```bash83run_dir="$(agent-out project --topic browser-qa --mkdir)"84web-evidence capture <url> --out "$run_dir/web-evidence" --label <scenario> --format json8586browser-session init \87 --out "$run_dir/browser-session" \88 --target <url> \89 --goal <goal> \90 --browser static-web-evidence \91 --format json9293browser-session record-step \94 --out "$run_dir/browser-session" \95 --action "Captured static HTTP evidence with web-evidence" \96 --expectation <expected-behavior> \97 --status pass \98 --artifact "$run_dir/web-evidence/summary.json" \99 --artifact "$run_dir/web-evidence/headers.redacted.json" \100 --artifact "$run_dir/web-evidence/body-preview.redacted.txt" \101 --format json102103browser-session verify --out "$run_dir/browser-session" --format json104```105106If `web-evidence capture` exits non-zero but writes a bundle, inspect the redacted `summary.json`, record a failed `browser-session`107step if a session was initialized, and report the HTTP/network failure as evidence rather than retrying blindly.108109## Active Browser Compatibility110111For active browser work, switch to `browser-qa`. Static evidence is insufficient for JavaScript-rendered UI, screenshots or layout,112responsive behavior, DOM interaction, client-side routing, console errors, local storage/session storage, browser-only authentication,113downloads, forms, viewport checks, or console/network summaries.114115Active browser work should use the `browser-qa` workflow to choose the driver deliberately:116117- `Browser`: local targets, unauthenticated pages, quick interactive open/inspect/screenshot work, and localhost QA.118- `Chrome`: existing cookies, logged-in state, extensions, existing tabs, or another stateful/authenticated browser session.119 Do not export cookies or profile state.120- `Playwright`: repeatable CLI-driven browser paths when the target does not require the user's existing Chrome state.121- `agent-browser`: legacy fallback when `snapshot -i` / `@ref` behavior is needed or native tooling is unavailable.122123## Redaction Guardrails124125- Keep only redacted evidence artifacts. Do not retain raw cookies, credentials, auth headers, bearer tokens, session storage, local storage126 dumps, secret query parameters, secret form values, or unredacted network logs.127- For screenshots that reveal secrets or personal data, either avoid retaining the screenshot, capture a safer viewport/state, or create a128 redacted derivative before recording the artifact path.129- Summarize console and network evidence to the minimum useful facts. Preserve URLs only after removing secret query parameters and130 fragments.131- Do not type, reveal, or persist passwords, one-time codes, recovery codes, API keys, or customer data in evidence notes.132- Do not commit run directories unless the project explicitly defines a retained, redacted evidence path.133134## Blocked States135136Stop and report blocked when:137138- The requested proof requires login state but Chrome is unavailable or the user has not approved using an existing authenticated browser139 session.140- MFA, CAPTCHA, payment, destructive action, or access-control bypass is required.141- The only available evidence would expose secrets and no redacted artifact can support the claim.142- Browser, Chrome, Playwright, `agent-browser`, `web-evidence`, or `browser-session` is unavailable and no scoped fallback exists.143- Static mode was requested but the requirement depends on active browser behavior.144145When blocked after a session has started, record the blocked step as `fail`, run `browser-session verify`, and include the failed146verification result in the final report.