From 5239398e0e2b9a7d13cf052c75ed91d11d99ca9d Mon Sep 17 00:00:00 2001 From: implexrr <84114379+implexrr@users.noreply.github.com> Date: Fri, 13 Nov 2026 00:48:14 -0500 Subject: [PATCH] Streamline README and retire scanner validation notes --- README.md | 177 ++------------------------ scanner/CONTENT-RETENTION.md | 56 -------- scanner/IMAGE-ASSESSMENT.md | 68 ---------- scanner/MVP-VALIDATION.md | 63 --------- scanner/REAL-WEBSITE-VALIDATION.md | 55 -------- scanner/REDIRECT-VALIDATION.md | 49 ------- scanner/REPORT-VERIFICATION.md | 44 ------- scanner/SCAN-FAILURE-DIAGNOSTICS.md | 36 ------ scanner/WEBSITE-PREVIEW-VALIDATION.md | 106 --------------- 9 files changed, 14 insertions(+), 640 deletions(-) delete mode 100644 scanner/CONTENT-RETENTION.md delete mode 100644 scanner/IMAGE-ASSESSMENT.md delete mode 100644 scanner/MVP-VALIDATION.md delete mode 100644 scanner/REAL-WEBSITE-VALIDATION.md delete mode 100644 scanner/REDIRECT-VALIDATION.md delete mode 100644 scanner/REPORT-VERIFICATION.md delete mode 100644 scanner/SCAN-FAILURE-DIAGNOSTICS.md delete mode 100644 scanner/WEBSITE-PREVIEW-VALIDATION.md diff --git a/README.md b/README.md index 4bcb326..453beaf 100644 --- a/README.md +++ b/README.md @@ -1,187 +1,38 @@ # KindPath -KindPath scans one public web page with Playwright and axe-core, returns an accessibility report as JSON, and shows a static browser-rendered preview with visual-impairment presets. It runs locally; no public service or deployment is included. +KindPath checks one public webpage for accessibility issues and shows a static visual comparison. It runs locally with an isolated Chromium scanner. ## Run locally -Requirements: Node.js 22.12 or newer and a running local Docker engine (Docker Desktop on macOS). +Install Node.js 22.12 or newer and start Docker. ```sh +git clone https://github.com/implexrr/KindPath.git +cd KindPath npm ci npm run dev ``` -Open [KindPath locally](http://127.0.0.1:5173/). The API listens on `127.0.0.1:3001`. +Open [KindPath](http://127.0.0.1:5173/). The first start builds the scanner images. Scanning and capture are enabled by default for local use. -`npm run dev` builds the current scanner and firewall runtime images before starting the API and Vite. The first build can download public packages and images; subsequent builds reuse Docker's cache. Browser QA images are only needed for the browser checks, not normal development. If Docker is unavailable, setup stops with an explanation; Chromium never runs directly on the host as a fallback. Ctrl+C stops the dev processes. +## Scan a page -Website scanning and capture are **enabled by default for local use**. Enter a URL, select **Scan website**, and download the JSON report or open **Visual preview**. Addresses without a scheme default to HTTPS. The URL scan button waits for the bounded capability check before accepting a submission. Ordinary URL submissions never silently become sample findings. The landing page includes a static side-by-side illustration of blur and a red–green colour vision simulation. +1. Enter a public website URL and select **Scan website**. Addresses without a scheme default to HTTPS. +2. Open **View report** to inspect findings, filter by severity, or download JSON. +3. Open **Visual preview** to compare the original capture with an educational vision simulation. -To disable real scanning or capture in a local process: +The scanner examines the final page only. It follows bounded path and query redirects, a single leading `www.` change, and HTTP-to-HTTPS upgrades. Results record the submitted and final URLs. The report discloses limited coverage and capture failures. Automated findings do not establish accessibility conformance. -```sh -KINDPATH_PUBLIC_SCANNING=false KINDPATH_PUBLIC_CAPTURE=false npm run dev -``` - -Feature flags accept only the literal values `true` and `false`; unset flags default to enabled. Invalid values stop startup without echoing their contents. - -The app keeps results in browser memory. Reloading clears them. No database, account, hosted service, AI API integration or paid feature is required. - -## One-page behavior - -KindPath follows at most ten main-document requests and analyzes only the final document. It never crawls links. Redirects may change the path/query on the original hostname, add/remove one leading `www.`, or upgrade HTTP to HTTPS. Unrelated host/subdomain changes, HTTPS downgrades, invalid destinations and genuine loops are rejected with explanations. Submitted and final URLs are retained in the report. A bounded browser restart does not reset the navigation budget. - -Each destination independently passes public DNS/address validation, destination pinning, verified firewall approval and HTTPS certificate validation. Loading assets is separate from crawling. Source scripts run only in the isolated browser to render the submitted page; captured scripts are never replayed in the app. - -When a scan finishes, select **View report** to move to the results. The API returns JSON. **Download report JSON** near the report heading exports the findings, incomplete checks, coverage and limitations without embedding the preview image. Automated results do not establish accessibility conformance. Manual keyboard, screen-reader and usability review is still necessary. - -After five seconds, KindPath can stop unfinished resource loads when the successful main document has fully arrived, its HTML is parsed, and the page has rendered text. Other pages keep the full 15-second loading window. The report is explicitly marked `pageLoadIncomplete: true`, with a partial-coverage notice in the interface and JSON export. An unfinished main document or rejected navigation still fails. - -A site may return an error, a login/consent page, or different content to the anonymous browser. HTTP 403 is reported as an access refusal; KindPath does not guess its cause or bypass it. Missing resources and bounded findings are disclosed. A valid report remains available if image capture alone fails, provided document stability and resource cleanup are verified. - -## Visual previews - -Real-page previews use a JPEG rendered in the same isolated visit as the report. This preserves the loaded page's layout, images, fonts, colours and rendered component content without rebuilding its HTML/CSS. - -- The vision presets sit above the snapshots. Open **Fine-tune effects** for intensity, colour and individual strengths. -- **Fit width** shows the desktop-width image inside each comparison panel. **Actual size** supports scrolling to inspect small details. Desktop shows both panels. On phones, switch between **Original** and **Simulated** to compare the same scroll position in the captured image. -- The vision buttons offer **Original**, **Protanopia**, **Deuteranopia**, **Tritanopia**, **Blurred vision**, and **Reduced peripheral vision**. The colour dropdown also offers **Grayscale**. The named colour buttons start at 100% strength, and lower settings interpolate between the [Machado model’s published severity matrices](https://pubmed.ncbi.nlm.nih.gov/19834201/). The previews illustrate possible colour differences. Individual vision varies. -- Effects render inside the sandboxed preview document, alongside its image. Changing effects refreshes only the modified document from the stored capture and can reset its scroll position; it does not rescan the website. -- The original panel stays unchanged. Link areas highlight on hover; navigation and form interaction are disabled. Hover highlights do not reproduce a source site's scripted hover behavior. Visible ads are part of the static image. -- Captures are bounded to the scan viewport's width (up to 1,280 pixels), the first 6,000 pixels of height, and 1.5 MB of JPEG data. Long-page truncation is labelled. Horizontal overflow outside the scan viewport, content requiring interaction, and resources not loaded by the source browser are not included. -- A screenshot is an image rather than a semantic, responsive or interactive replica. Changing the panel width scales the captured desktop page; it does not rerun its responsive layout. Live content can change between scans. - -Images are independently validated and embedded in sandboxed, opaque-origin iframes. The image document permits only embedded image data and trusted styling; scripts, external connections, frames, forms and navigation targets are absent. No third-party page markup or resource URL is copied into it. Controlled DOM previews are also exercised by the automated browser checks. - -## API - -| Method | Path | Behavior | -| --- | --- | --- | -| GET | `/api/health` | Local API status | -| GET | `/api/scanning-capabilities` | Current scanning/capture flags and URL policy | -| POST | `/api/scan-public` | One `{ "url": "https://example.com/" }` request; real report and optional image preview | -| POST | `/api/scan-fixture` | Scan a fixed fixture for controlled checks | -| POST | `/api/analyze` | Return an illustrative report without fetching the URL | - -For successful scans, KindPath labels clearly identifiable browser verification and sign-in screens in the report and preview. The API and JSON download include an optional `pageNotice` code and a plain-language limitation. Detection uses the rendered page and can miss unfamiliar screens. Findings and previews describe the page KindPath received. - -A successful real scan has `mode: "public"`, `requestedUrl`, final `url`, `scanId`, findings, scanner metadata and coverage. `sitePreview` contains the same identity, `kind: "image"`, dimensions, truncation flag, capture timestamp, guarded HTML and limitations. If capture alone fails, `previewUnavailable: true` replaces `sitePreview`; the report limitations explain this. Cleanup failure overrides successful results and capture/status explanations. - -## Invite-only staging - -`npm run build:production` prints the path to a fresh release under -`build/production-*`. The release contains the built UI, compiled API, scanner -runtime policy files, and npm manifests. Install and run it from that directory: - -```sh -npm ci --omit=dev --ignore-scripts -npm start -``` - -Provide these settings to the service process. Startup requires each one. - -| Setting | Value | -| --- | --- | -| `KINDPATH_STAGE_ORIGIN` | The exact browser-facing HTTPS origin, for example `https://staging.example.test`, without a trailing slash | -| `KINDPATH_STAGE_PASSWORD_SHA256` | The SHA-256 digest of a 64-character lowercase hexadecimal password | -| `KINDPATH_PUBLIC_SCANNING` | `true` or `false` | -| `KINDPATH_PUBLIC_CAPTURE` | `true` or `false`. Capture is available with real scanning enabled | - -Generate the password from 32 random bytes using a trusted password manager -or cryptographic random generator. Hash the 64-character password as text -without a trailing newline. Keep the digest in protected service configuration -outside the release, and share the password with testers privately. The -browser prompts for the username `kindpath` and the password. - -The app listens on `127.0.0.1:3002`. Run one instance on a dedicated Linux host -and put an HTTPS reverse proxy on the same host. Preserve the browser-facing -`Host`, `Origin`, and `Authorization` headers. For example, the -[Caddy reverse proxy](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy) -configuration for your staging hostname is: - -```caddyfile -staging.example.test { - reverse_proxy 127.0.0.1:3002 -} -``` - -The frontend and API both require the shared credential. API POST requests -require the configured origin and share a limit of six requests per rolling -minute across testers. The scanner admits one scan at a time. The proxy -should keep responses uncached and exclude credentials and request bodies from -logs. Keep the installed release files read-only to the service account. -Have the supervisor run `node server/production.js` directly from the release -directory and give active requests and scanner cleanup time to drain during -shutdown. - -Build the worker and firewall from the same reviewed checkout with -`npm run scanner:build -- --runtime`. The app uses `/usr/bin/docker` and the -local Unix socket on Linux. Keep the Docker socket and backend port private. -Socket access gives the service substantial control over the host, so use a -dedicated host with no personal files, unrelated credentials, or private -workloads. See [Docker Engine security](https://docs.docker.com/engine/security/). - -Before inviting testers, record the exact runtime image digests and review -their advisories on the target architecture. Run the controlled scanner and -firewall checks on that host. Start with both feature flags set to `false` and -verify that the proxy requires credentials over HTTPS. After approval to -enable the flags, verify one approved URL through the browser, including the -JSON report and preview presets, and check that a private destination is -rejected. To suspend real scans and capture, set both flags to `false` and -restart the service gracefully. - -## Isolation and limits - -The scanner has no host-file mounts or forwarded credentials. It uses non-root containers, a read-only root filesystem, Chromium sandboxing, bounded memory/CPU/processes and temporary container storage. The browser has no external network interface; its gateway uses an independently verified firewall and pinned public destinations. Private, loopback and link-local destinations are rejected. Downloads, WebSockets and service workers are disabled. - -A public scan’s Chromium container has a two-CPU quota by default. Set `KINDPATH_PUBLIC_BROWSER_CPUS=1` if Docker has only one CPU available. Only one scan can run at a time. Per-scan admission, cancellation and verified cleanup remain authoritative. Container-removal errors are not treated as successful cleanup. Unconfirmed resources block new scans. Existing bounds include 16 destination hosts, 64 public IPv4 addresses, 250 browser resource requests, ten document requests, a 15-second loading deadline and a 60-second orchestration deadline. These limits can make resource-heavy sites incomplete. Results disclose request failures and omitted findings; they do not promise full coverage. +Previews use bounded JPEGs from the same scan. Use **Fit width** or **Actual size** to inspect them. Captured forms and links are inactive. Reloading clears the in-memory report. KindPath requires no visitor account or database. ## Checks ```sh npm test -npm run build:production -npm run scanner:build -npm run test:scanner -npm run test:gateway:unit -npm run test:gateway -npm run test:firewall npm run build -npm run test:preview -npm audit --include=dev --audit-level=low -npm --prefix scanner audit --audit-level=low +npm run build:production ``` -The controlled test commands explicitly disable default public scanning/capture in their processes. Network tests use synthetic internal origins; UI checks run in network-disabled browser containers. They cover URL/report identity, redirects, cancellation, private-network rejection, cleanup, raster validation, image dimensions/pixels, desktop/mobile fitting, scrolling, presets, inert hover/navigation and JSON export. Test images are generated from project-owned fixture content. Diagnostic logs and generated review artifacts stay ignored under `logs/`. - -CI is defined in `.github/workflows/ci.yml`; running local checks does not publish, push or deploy. Historical observations and package-advisory assessments under `scanner/` describe their recorded versions, not current activation defaults or a guarantee of compatibility. See [image assessment](scanner/IMAGE-ASSESSMENT.md) for that assessment's limitations; package audits alone do not establish browser, kernel or Docker safety. - - -## Manual Chrome validation - -With Google Chrome installed and KindPath running through `npm run dev`, this -opt-in check submits up to three public URLs through the real interface: - -```sh -npm ci --prefix scanner --ignore-scripts -npm run validate:chrome -- --live https://example.com/ -``` +See the [CI workflow](.github/workflows/ci.yml) for the scanner and browser integration checks. -It uses the existing locked Playwright client and installed, visible Google -Chrome with a fresh temporary profile, project-local temporary files and an -environment that excludes shell credentials. Personal Chrome profiles are never -opened; the test process disables sync and uses a mock keychain. Chrome can access only the loopback -KindPath interface; submitted websites still load in the isolated scanner. -The check verifies report identity, an actual JSON download, image decoding, -vision presets, colour pixels where a suitable patch exists, inert navigation, -fit/actual-size controls, fresh identities on repeated scans, clearing results -on reload, and rejecting private URL entry before a scan request. You may repeat -a URL to check rescan behavior. The first submission uses the keyboard, and -addresses without a scheme exercise the normal HTTPS default. Query-bearing -validation inputs are rejected to keep query credentials out of artifacts; the application's URL policy is unchanged. -Reports, screenshots and summaries stay ignored under `logs/chrome-validation/`; -the temporary Chrome profile is removed afterward. The relay rejects filesystem -routes and reads responses with a streaming size limit; output folders cannot be -symbolic links. A site refusing access or -returning no preview is recorded and makes the check exit unsuccessfully. -This command never runs as part of CI and does not deploy anything. +See the [scanner notices](scanner/NOTICE.md) and [codec documentation](scanner/codec/README.md) for third-party attribution and patch details. diff --git a/scanner/CONTENT-RETENTION.md b/scanner/CONTENT-RETENTION.md deleted file mode 100644 index ba3376d..0000000 --- a/scanner/CONTENT-RETENTION.md +++ /dev/null @@ -1,56 +0,0 @@ -# Preview content retention - -## Verified problem and bounded fix - -The controlled indented-content page reproduced a capture-budget problem: indentation text nodes used the 250-node output budget, and a later heading was omitted. The regression failed before the change and passed afterward. This establishes a specific formatting case; it does not explain the historical popular-site captures. - -The capture now discards short, whitespace-only text nodes made solely of ASCII spaces, tabs and line breaks when they sit between, or at the edge of, normal-flow block siblings and their parent uses normal or nowrap whitespace handling. Neighbors must pass the existing tag, hidden-attribute, display and visibility checks and remain block-level without copied styles; spacing near omitted or hidden nodes and native inline elements styled as blocks is retained. Candidates are bounded to 4,000 characters. Inline word separators, preformatted whitespace, nonbreaking spaces and whitespace beside out-of-flow positioned or floated elements are preserved. Whitespace-only containers and uncertain cases retain the earlier behavior. - -Discarded formatting nodes still count toward the 1,000-node traversal limit. The 250-node capture limit, depth 15, 8,000-character worker text budget, 20,000-character style budget and independent host validation remain unchanged. The larger indented-budget fixture still truncates and reports omissions. The existing hidden-attribute, display-none and visibility checks still apply; native form values remain excluded, and returned form controls remain inactive. No extra source tags, attributes, CSS properties, shadow DOM, scripts, images or embedded content are admitted. - -## Scope and limits - -This retains more useful text in the reproduced case without raising resource limits. It does not repair unsupported wrappers, layout/style omissions, off-screen content or general visual fidelity. Formatting normalization is not a score or proof of completeness. The earlier [twenty-site validation](WEBSITE-PREVIEW-VALIDATION.md) remains historical evidence; no live site was retried and no improvement on those sites is claimed. - -Both public scanning and capture remain disabled. Controlled routes are fixed internal test origins, with injected DNS and the existing isolated gateway; they make no public-site requests. No dependency, service, account, purchase or deployment is introduced. - -## Verification - -The focused content-loss case failed before the fix and passed after it. The two new integration cases cover later-heading retention, inline and inline-block separators, preformatted line breaks, nonbreaking spaces, out-of-flow spacing, separators around omitted/hidden blocks, hidden content/form-value exclusion, inactive controls, and a larger page that still truncates. - -At the earlier whitespace-only milestone, local checks passed: 161 controlled tests (108 unit/API, 7 scanner, 25 gateway unit, 17 gateway integration, 3 firewall and 1 Chromium/Firefox/WebKit suite), the TypeScript/Vite production build, all three image builds, and both npm audits with zero known vulnerabilities. The [image assessment](IMAGE-ASSESSMENT.md) binds the exact rebuilt image identities to local cached-database scans. Scanner and firewall images have zero critical/high matches; QA retains its seven documented high matches without suppression or acceptance. The cached database is not a fresh advisory-feed check. - -A fresh default API confirmed both public capabilities false and rejected public scanning before DNS/Docker. Final daemon queries confirmed no owned fixture/public/QA containers, socket volumes or scanner networks, and all three tags matched their assessment reports. No live request, push, merge or purchase was made. - -## Review correction - -The initial rule could discard a separator between source block elements that the capture later omitted. A controlled regression reproduced joined words around unsupported wrappers. The correction also applies the existing hidden-attribute and visibility checks before treating a neighbor as a retained block. The rule now requires supported block tags that pass those capture checks, with native block layout preserved even if copied styles run out. Updated fixtures retain both separators while the content-retention and larger-page budget cases continue to pass. This correction does not expand the capture allowlist or change resource limits. - -During the review checks, one gateway run did not establish the intended forbidden-redirect rejection. The isolated policy test and complete gateway rerun subsequently passed without changing limits or skipping checks. The initial failure’s cause was not established from the retained output. - - -## Component text and body appearance — November 10, 2026 - -Two additional controlled fixtures reproduced separate losses before the new change: a light-DOM component wrapper caused the complete guide to be omitted, and missing body CSS left a dark page's light text without its original background. Both cases failed against the previous collector and passed after the bounded changes. These fixtures do not identify the causes of historical popular-site failures. - -- Component host elements are normalized to existing inert div/span output. Traversal stays in light DOM. Layout-box checks on normalized components and their descendants, and text-range checks for their non-whitespace text, exclude the fixtures' unassigned/unrendered content behind open/closed shadow roots. This is not a general visibility/fidelity proof: clipping, opacity, overlays and later dynamic changes can still differ. -- Passive b/i/pre/code/time markup is retained by matching worker and host allowlists. Scripts, stylesheets, textarea/select values, embedded frames, graphics and raw component tags remain excluded from serialized output. Input values and event/resource attributes are not copied; returned controls remain inactive. -- Optional raw bodyStyle metadata preserves supported body colours, geometry and typography. It uses the existing worker style budget and is independently checked against the same host CSS allowlist before entering the iframe stylesheet. Missing metadata retains the previous fallback. No source stylesheet text, URLs or arbitrary CSS is accepted. -- The 250-node capture budget, 1,000-node traversal budget, depth15, 8,000-character text budget, 20,000-character worker style budget and host limits are unchanged. Body styles have priority within that same style budget, so later descendant styles may be omitted sooner and remain counted. No shadow-root traversal, image/network resource capture, dependency or public activation was added. - -The older spacing fixture used custom tags as its deliberately omitted elements. Custom light-DOM tags are now intentionally retained, so that fixture uses excluded canvas elements instead. The original omission/word-spacing assertions remain in place, including the larger-page truncation case. Hidden-content and form-value exclusions remain tested. - -Rendering checks separately exercise validated retained-text/body-style snapshots in the existing network-disabled Chromium/Firefox/WebKit interface suite. They verify readable body colours, spacing, passive text/code markup, inert resources and unchanged original-panel rendering when presets are applied. Real-page capture quality remains unverified for this change; public scanning and capture stay disabled. - -Implementation-stage content-quality checks passed: 184 controlled tests (119 unit/API, 7 scanner, 25 gateway unit, 29 gateway integration, 3 firewall and 1 Chromium/Firefox/WebKit suite), TypeScript/Vite build, all three image builds and both npm audits with zero known vulnerabilities. Actual captures of both new controlled pages were separately rendered through the host mapper in an opaque, network-disabled iframe and visually inspected; links remained inert and no resource requests were issued. This direct rendering check used Chromium; the shared application rendering checks passed in all three engines. - -The refreshed [image assessment](IMAGE-ASSESSMENT.md) records unchanged cached-database counts for these exact builds: runtime/helper zero critical/high, QA seven existing high matches, with none suppressed or accepted. A fresh default API reported both capabilities false and rejected public scanning; owned test containers, networks and socket volumes were absent. No public request, push, merge or purchase was made. - - -## Review correction — paragraph grouping - -A controlled source paragraph containing a block-styled component had text BeforeInsideAfter. Serializing that component as a div implicitly closed its surrounding paragraph: the parsed snapshot's first paragraph contained only Before and an extra paragraph appeared. Component hosts inside paragraph ancestors now use inert spans; validated display styling preserves their block box without changing the HTML parser's grouping. Output allowlists, resource limits and iframe restrictions are unchanged. - -The component fixture checks the collector's wrapper choice. The shared three-engine rendering checks inspect the parsed paragraph text and block display, rather than relying only on a substring in serialized HTML. The original before/after probe remains separate controlled evidence; no live site was retried for this review. - -The post-fix controlled probe retained BeforeInsideAfter in one paragraph; the pre-fix snapshot had only Before in its first paragraph and two paragraph elements. Fresh review checks passed all 184 controlled tests, the build, image builds and dependency audits. The firewall fixture now establishes origin availability before applying its original filtering assertions. Exact rebuilt image identities and unchanged cached advisory counts are recorded in the assessment. Both public features remain disabled; no new live request was made. diff --git a/scanner/IMAGE-ASSESSMENT.md b/scanner/IMAGE-ASSESSMENT.md deleted file mode 100644 index e78b957..0000000 --- a/scanner/IMAGE-ASSESSMENT.md +++ /dev/null @@ -1,68 +0,0 @@ -# Local container image assessment - -Reassessed November 10, 2026 after the bounded [component-text and body-appearance improvements](CONTENT-RETENTION.md), source `2a19c57`, including the reviewed paragraph-grouping correction. Dependencies and base digests are unchanged. The table binds these rebuilt images to local cached-database results; earlier live attempts used their then-assessed images, not these updated collectors. **Public capture and scanning remain disabled; this branch made no public-site requests.** Scanner and firewall images pass the raw high-severity threshold. QA retains the same seven high matches without suppression or risk acceptance. This is not approval for activation. - -## Image roles and build inputs - -- `kindpath-fixture-scanner:local` is the `worker` target: fixture scans/previews, the prepared submitted-page worker and its gateway use it. It starts from the existing pinned Ubuntu 24.04 base and copies Node, locked JavaScript packages, headless Chromium and FFmpeg from build stages. It does not inherit the multi-browser filesystem layers. -- `kindpath-browser-qa:local` is the `qa` target: Chromium/Firefox/WebKit UI verification and fixed synthetic TLS origins use it. It retains the existing targeted GStreamer repair. It is never a fallback for submitted-page workers. -- `kindpath-firewall:local` remains the minimal Node/nftables helper. It has no browser. - -The existing Ubuntu base digest is `sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852`. The pinned Playwright 1.65.0 build/QA source digest is `sha256:6e3fb709361521eb27161606e6da6d2674e5e89fa16516cb37d6fdd91372273d`. Its Node and selected browser files are build inputs, not runtime parent layers. Cold builds can still download the full vendor image for these inputs and QA; this change reduces the shipped scanner filesystem, not necessarily build download traffic. - -Playwright/playwright-core remain locked at 1.65.0. The runtime uses the locked CLI's Chromium-only system dependency installation, package-managed CA certificates and the pinned distribution's headless browser. No host browser, new npm dependency, compiler or global npm installation is introduced into the scanner. The seccomp profile, resource limits, users, capabilities, mount restrictions, firewall and cleanup guarantees are unchanged. - -## Method and exact images - -Free local Anchore Grype v0.121.2 inspected the squashed arm64 filesystems with `--scope squashed -o json --fail-on high`. Its official release archive was checksum-verified previously. All three scans used the same validated database, schema v6.1.10, built `2026-11-08T06:19:57Z`; archive SHA-256 `dcca24722e16c2bcf4a542a3f7fdd2147baf9215c17b973f5a7d4243fbddacea`. The same cached database was used for these local scans; an earlier update check that day reported no newer candidate. This reassessment did not perform a fresh database update check. Application update checks and automatic database updates were disabled during scanning. No inventories were sent to a cloud service, and no subscription, trial, Pro/ESM attachment or paid operation was used. Raw JSON evidence remains outside the repository. - -| Local image | Arm64 configuration digest (Grype imageID) | OCI index/repository digest | -| --- | --- | --- | -| Chromium scanner runtime | `sha256:aa482e35ea218221970c7023e7aa9f611ddbbf9f4a7c2131ad329dcb31ee50d5` | `sha256:fec9010e5319990bfc032884a85725d9214271841bdcd14bcb4e07094a6004cc` | -| Browser QA | `sha256:37371fddfa42be0ac825439badf0fc103dbc1d05b629871320ee043f05a3ed3f` | `sha256:28004b81e845dc055f3ebaf0ee0a51fd323cccd7e0744aa04b97f12f58ca743e` | -| Firewall helper | `sha256:38024b7679a536a3d65e7044608021fa9a38a70e5a974d58b54c4250f1f3cf0f` | `sha256:54c6ef0657527c3b1820927ca9c24bfb4a24e7a12a728688afc63a1b6a962443` | - -Docker's local store reports the OCI index digest as its image ID; Grype reports the selected platform's configuration digest separately. Repository digests bind these reports to the local tags. Rebuilt attestation metadata can change an index even when the helper's filesystem/configuration stays unchanged. - -| Image | Critical | High | Medium | Low | Negligible | High threshold | -| --- | ---: | ---: | ---: | ---: | ---: | --- | -| Chromium scanner runtime | 0 | 0 | 176 | 24 | 3 | Passed (exit 0) | -| Browser QA | 0 | 7 | 1448 | 67 | 13 | Failed (exit 2) | -| Firewall helper | 0 | 0 | 59 | 7 | 2 | Passed (exit 0) | - -Counts are advisory/package matches, not unique CVEs or independently confirmed exploitable defects. The runtime's 203 remaining matches are marked not-fixed (192) or wont-fix (11) in this database; none is marked as having an available fix. Medium/low findings have not all been independently cleared. A missing database match is not proof of safety or a patched Chromium/browser/kernel/VM. - -## Inventory and compatibility evidence - -The image split's earlier inventory contained 202 installed packages versus QA's 511. At that point Docker reported 1,317,397,527 bytes for the runtime and 3,629,174,151 for QA: approximately 64% smaller. These are reported image sizes, not unique host disk usage or a promise that existing cached layers were deleted. - -The image split's sandboxed inventory checks found only `chromium_headless_shell-1254` and `ffmpeg-1013` under the runtime's browser directory. Firefox, WebKit and the two GStreamer bad-package records are absent. CA certificates are installed; npm and GCC are absent. The actual headless executable hashes match between runtime and QA: `6ce3e550aca822c99c1509e4352523d27903edb466818db964ba8087ebe068b4`. Both use Node v26.13.0 and Playwright 1.65.0. - -The existing runtime isolation verification now rejects accidental Firefox/WebKit or GStreamer bad-package inclusion. Three-engine UI verification explicitly selects QA while keeping its existing network-none/read-only/non-root/capability and iframe checks. Synthetic TLS origins also select QA; this keeps test services separate from the submitted-page runtime. No arbitrary browser/image selector or fallback is exposed through HTTP. - -The earlier diagnostics review’s 149 controlled tests passed: 98 unit/API, 7 isolated scanner, 25 gateway unit, 15 internal-origin gateway/API, 3 kernel firewall and 1 integration suite covering Chromium 158.0.8127.18, Firefox 159.0 and WebKit 27.2. TypeScript/Vite and all three image targets built successfully; both npm audits returned zero known vulnerabilities. Earlier [report-only live validation](REAL-WEBSITE-VALIDATION.md) used the then-current builds for five approved attempts: three reports displayed and two scans failed with unresolved causes. Two subsequent pre-fix diagnostic retries recorded navigation-guard rejection during analysis. After the controlled History API fix, [six approved report-only retries](REPORT-VERIFICATION.md) using their then-assessed images returned reports, with significant resource omissions; these successes do not establish the causes of earlier failures. Capture stayed disabled; this does not establish general site compatibility. An earlier restricted-build example.com attempt is recorded in the [validation record](MVP-VALIDATION.md). During initial implementation, one WebKit interaction timed out during concurrent image analysis. All three engines passed the subsequent review with cross-host report/preview and invalid-URL regressions; image analysis ran separately. No remote CI was run for this unpushed branch. - -The preceding assessed images were used for [twenty approved anonymous scan-and-capture attempts](WEBSITE-PREVIEW-VALIDATION.md): sixteen returned reports and snapshots and four failed. Boundary/control checks passed on the returned captures, but six had no rendered text; these are not sixteen useful-preview or fidelity passes. No image/dependency change, fresh image advisory scan, suppression or risk acceptance accompanied that earlier validation. Both public features were restored to false. - -The earlier whitespace-only retention branch passed 161 controlled tests: 108 unit/API, 7 scanner, 25 gateway unit, 17 gateway integration, 3 firewall and 1 three-engine UI suite, plus the TypeScript/Vite build and both npm audits. All three images built successfully. Free local Grype reassessed these exact rebuilt images with the same cached database; the severity counts in this assessment are unchanged. No public site was visited, and the controlled whitespace fix does not establish improvement on the earlier live targets. - -## Open QA findings and activation decision - -The former combined image's seven high matches are confined to QA after the split; no advisory suppression was added. Five concern Firefox. CVE-2007-4013, CVE-2014-6492 and CVE-2009-4102 appear to be broad-CPE matches for legacy Citrix, Oracle Java and Sage-extension products. The earlier bounded image inspection and fresh test profiles support those mismatch classifications. CVE-2007-2176 and CVE-2009-1597 retain unresolved historical applicability. They have not been declared fixed. - -[Mozilla's Firefox 159.0.1 advisory](https://www.mozilla.org/en-US/security/advisories/mfsa2026-123/) also requires QA follow-up: the bundled engine reports 159.0, CVE-2026-120572 is absent from the current Grype result, and its vendor-backport/applicability status remains unverified. The detailed Mozilla bug is access-restricted. Firefox and WebKit must remain limited to controlled tests; they are not used to visit submitted pages. - -The remaining two high package records concern CVE-2025-3887. QA retains the reviewed GStreamer source backport and its parser tests, bounds regression, symbol comparison, provenance and installed-library checksum `4852034e86f6c92af2ec63acb67caa4438e7ad287932aeecd718309018596727`. The package version remains unchanged, so version-based scanners still match it. The lean scanner does not include these packages or this custom backport. - -The runtime now passes this image threshold; that does not automatically enable the application or accept QA risks. Both public constants remain false. The expanded path was reviewed before the five explicitly approved report-only attempts, and both gates were disabled afterward. Additional live requests, capture or ongoing activation require separate approval; the [snapshot validation plan](MVP-VALIDATION.md) records the earlier restricted-build attempt. Do not bypass default gates through a test dependency injection or enable unsupported browsers to obtain a live result. - -Historically, the Playwright 1.64.1 combined worker had 28 critical/144 high matches; the 1.65.0 combined image had 0 critical/7 high using this same database. The current role-specific table supersedes those combined-worker counts. Historical Docker Scout totals use different matching/feed data and are not directly comparable. - - -The redirect-policy review at `c74eb08` passed 178 controlled tests. The subsequent three approved report-only visits used their then-assessed images recorded with the November 9 validation, before this collector extension; they are not live evidence for the current component/body changes. - -The current content-quality branch passed 184 controlled tests: 119 unit/API, 7 scanner, 25 gateway unit, 29 gateway integration, 3 firewall and 1 three-engine UI suite. TypeScript/Vite, all three image builds and both dependency audits passed. The two new capture cases failed before and passed after the change; implementation-stage controlled captures were rendered and visually inspected in a network-disabled opaque iframe; the review additionally verified preserved paragraph grouping in the actual parsed DOM. Same-visit identity, inert navigation, hidden/form-value/unsupported-content exclusions and unchanged truncation limits remain covered. No live site was retried. - -Free local Grype reassessed these exact images with the same cached database and left severity counts unchanged. The advisory database was not refreshed; no inventory was sent to an external service. These are image-assessment and controlled-compatibility observations, not universal security or fidelity clearance. Both public capabilities remain disabled. - -The review added the existing bounded availability probe before the atomic firewall fixture installs its rules, preserving the original denied-destination and fingerprint assertions. Fresh affected checks passed without changing production policy or deadlines. The image reassessment after the paragraph fix used the same cached database and retained the same advisory counts; no live website was requested. diff --git a/scanner/MVP-VALIDATION.md b/scanner/MVP-VALIDATION.md deleted file mode 100644 index bbf5d42..0000000 --- a/scanner/MVP-VALIDATION.md +++ /dev/null @@ -1,63 +0,0 @@ -# Single-page MVP validation - -**Status: one approved local scan completed; public scanning and capture are disabled again.** The completion record below separates the live API result from subsequent offline UI verification. The recorded live request used the earlier hostname-restricted build. The later [report-only multi-host validation](REAL-WEBSITE-VALIDATION.md) records five attempts, three displayed reports and two unresolved failures; it did not validate live website capture. This document does not authorize another live request. The current [image assessment](IMAGE-ASSESSMENT.md) separates the Chromium runtime from QA findings; a passing runtime image threshold does not authorize activation. - -The acceptance goal is KindPath's existing flow: submit one page, receive actionable automated findings, and compare a matching inert snapshot with adjustable vision effects. No accounts, database, crawl, new domains, extra condition models or deployment are part of this validation. - -## Subsequent expanded-path validation - -A later explicitly approved [twenty-site preview batch](WEBSITE-PREVIEW-VALIDATION.md) exercised the current public-target path through uninterrupted live UI sessions: sixteen reports/snapshots returned and passed identity, isolation, controls and export checks; four scans failed without partial output. Six snapshots contained no rendered text and others were sparse. That evidence supplements this historical restricted-build result; it does not repair missing evidence from the original session or establish useful fidelity across sites. Both public features remain disabled. The table below describes this original one-attempt record. - -## Evidence and remaining limits - -| Area | Verified evidence | Still unverified | -| --- | --- | --- | -| URL to findings | Controlled controller/HTTP/axe integration plus one default-API example.com scan using public DNS, normal TLS validation and the actual response | Other public pages and repeatability | -| Same-visit preview | Live response identity and cleanup checked; captured text displayed in offline UI verification | Pixel-perfect fidelity and unsupported resources | -| User flow | Three-engine controlled scenarios and offline UI verification of the actual live response | One uninterrupted live UI session completing every observation | -| Preview boundary | Opaque iframe origin, empty sandbox, guarded document, inert links/forms and omitted scripts/resources | No universal browser/VM escape guarantee follows from these checks | - -The live scan succeeded, but the initial UI harness stopped on an outdated page-content assumption. The saved response was then verified offline, without another public request. This is not an uninterrupted live end-to-end pass. Demo findings must never be accepted as evidence about the submitted URL. - -## Approval gate - -Before requesting activation, review the current image concerns and the exact enabled path. Unresolved applicability must be reported rather than silently suppressed or accepted. If an upstream repair or architectural change is required, stop and propose that bounded change separately. - -Any future activation request must explicitly identify all of the following: - -- Local checkout and local API only, with no publishing, pushing, deployment or purchase. -- Proposed changes to `server/scanner/publicPolicy.ts`: both `PUBLIC_SCANNING_ENABLED` and `PUBLIC_CAPTURE_ENABLED` would change from false to true. **Neither enabled value is retained or committed by this branch.** -- Current prepared eligibility covers public HTTP/HTTPS hostnames on standard ports, including separately approved redirect and resource hosts within the per-scan limits. The original smoke below used the older example.com-only policy. A future activation review must assess the expanded destination path; one example.com input does not restrict the page's redirects or subresources to that hostname. No certificate, private-address or sandbox bypass is permitted. -- The operator's smoke input is exactly `https://example.com/`, for one scan attempt. No real-site scan, retry or cancellation experiment is authorized by this document. Public DNS and page connections are part of that later requested action. -- After every outcome, including failure, cancellation or an early stop, complete the cleanup and disabled-state restoration below before ending the session. Continued activation requires a separate explicit approval. - -There is no environment toggle, HTTP override or alternative live-test runner. Do not call the prepared dependency-injected controller against a real site while the default capabilities are disabled. The URL eligibility policy and implementation approval do not replace activation approval. - -## Proposed smoke after explicit approval - -1. Confirm the approved source revision, matching assessed scanner/QA/firewall images and their intended roles, and absence of leftover owned scanner containers, socket volumes and networks. Leave unrelated resources alone. Start the existing local development app; verify its capabilities agree with the reviewed temporary policy change. -2. Enter the exact approved URL and use **Scan website** once. Do not use **Try an example** or **Scan built-in page** as substitutes. Record whether it succeeds or fails within the existing limits; do not bypass certificate failures, blocked DNS or resource policies. -3. On success, verify `mode: public`, the normalized requested URL and allowed final URL, actionable findings or an honest empty state, manual-review guidance and stated resource omissions. No exact violation count is prescribed for a public page, and no automated result establishes conformance. -4. Open **Visual preview**. Confirm the two panels use the same scan-bound website snapshot, not the separate garden illustration. Inspect source labels, recognizable static text and supported layout. Treat the result as a structural approximation, not a pixel-perfect copy; do not make a second public visit or open the source on the host browser for comparison. Images, scripts, embedded ads, frames, custom fonts, form values and unsupported structure/styles remain omitted. Static ad text is only expected if present; example.com need not contain an advertisement. -5. Use the existing vision controls and pause/reset. Hover supported links without navigating; absence of a source hover rule is not a failure. Clicking a captured link or disabled control must not navigate, submit, open a popup or fetch a resource. Keep the controls outside the altered panel and verify keyboard focus. -6. Download JSON and inspect print layout. Both retain the full report and request/final URL labels while excluding captured HTML and ephemeral scan identity. Keep any local evidence free of credentials and personal content; do not upload artifacts. -7. Confirm resource absence after completion. Successful worker output becomes a report only after cleanup is verified. If the operation fails or is cancelled, accept no partial report; cleanup must still be verified. The existing controlled suites cover deliberate cancellation/retry and stale-response scenarios, so this one-attempt smoke does not require extra live requests. -8. **Always restore the disabled state, on success, failure, cancellation or an early stop.** Stop issuing live requests, cancel any active request, and let its bounded cleanup finish before editing the policy or restarting the watched API. Restore both public constants to false without discarding unrelated edits, then restart the local API and reload the UI. Confirm capabilities report both false and POST /api/scan-public returns 503/PUBLIC_SCANNING_DISABLED before DNS/Docker. If cleanup could not be verified, retain that failure and the existing orphan/admission block; disabled flags do not prove resource absence. Do not start more work or delete unknown resources. Record the result and limitations, then stop. - -Stop issuing live requests on a policy/isolation/cleanup failure, identity mismatch or unexpected destination; the mandatory cleanup and disabled-state restoration still apply. Do not expand hosts, disable TLS validation, expose host files, increase privileges or delete unknown resources to make the smoke pass. Additional live attempts require another explicit approval. - -## Completion record - -Record the source revision, image identity, approval scope, requested/final URL, outcome, report/preview identity match, relevant omissions, keyboard/navigation/export observations, cleanup result and restored disabled state. Label public DNS/TLS/live-page behavior as untested until it is actually exercised. Record partial results honestly; an interrupted UI observation is not evidence that the entire live UI flow passed. Further live attempts require explicit approval. - - -## Local validation result — November 9, 2026 - -- Reviewed source: `6f738c0`, with only the two public policy constants temporarily enabled in the local working tree. The current scanner, QA and firewall image digests matched [the recorded assessment](IMAGE-ASSESSMENT.md). No allowlist, DNS, TLS, firewall, sandbox or cleanup restriction was changed. -- Approval covered exactly one local scan of `https://example.com/`, with capture, followed by restoration. The sandboxed QA Chromium UI relayed its API requests to the loopback default API; it had no external network. The isolated scanner alone contacted the public page. No dependency-injected live controller or host browser was used. -- The single request returned HTTP 200, `mode: public`, and requested/final URL `https://example.com/`. It produced three findings (`landmark-one-main`, `page-has-heading-one`, `region`), one incomplete automated rule requiring manual review (`bypass`), a separate three-item manual checklist, ten passed checks and no reported blocked or failed requests. Findings are observations of that response, not stable expectations for this website or a conformance verdict. -- The report and snapshot matched by scan ID, requested URL and final URL. Scanner containers, socket volumes and networks were confirmed absent before the response was handed back to the UI. Capture reported three omitted subtrees, zero omitted text characters and zero omitted style declarations; unsupported resources remain subject to the stated snapshot limitations. -- The original UI verification stopped because its temporary harness expected an “Example Domain” heading. The actual response contained multilingual documentation text and no heading. This was a harness assumption, not a product defect; no application changes were needed. -- Without another public request, the saved actual response passed offline Chromium UI checks: report labels and focus, matching text in both snapshots, empty iframe sandbox, opaque parent boundary, no executable/navigation resources, inert link hover/click with no navigation or popup, colour/intensity/pause/reset controls, keyboard operation, JSON export and print/PDF generation. The JSON check matched findings and requested/final URL labels and excluded snapshot HTML and ephemeral scan identity. The print check confirmed a visible print view without iframes and a generated PDF; it did not establish visual print fidelity or PDF accessibility. This verifies the actual response in the UI, while the uninterrupted live UI session remains unproven. -- Both constants were restored to false, the temporary API stopped, and a fresh default API reported both capabilities false and rejected POST `/api/scan-public` with HTTP 503 / `PUBLIC_SCANNING_DISABLED`. No enabled state is committed. Further live attempts require separate approval. No push, deployment, purchase, advisory suppression or general activation occurred. -- Final local checks passed: 122 controlled tests (80 unit/API, 7 scanner, 22 gateway unit, 10 gateway integration, 2 firewall and 1 three-browser suite), TypeScript/Vite production build, and both npm audits with zero known vulnerabilities. Offline snapshot rendering was visually inspected. Final daemon queries confirmed no owned fixture/public/QA containers, socket volumes or scanner networks. The assessed image digests were unchanged; no remote CI was run. diff --git a/scanner/REAL-WEBSITE-VALIDATION.md b/scanner/REAL-WEBSITE-VALIDATION.md deleted file mode 100644 index fdc668d..0000000 --- a/scanner/REAL-WEBSITE-VALIDATION.md +++ /dev/null @@ -1,55 +0,0 @@ -# Report-only real website validation - -Status: five approved attempts completed on November 9, 2026; three reports displayed and two scans failed. Both public capabilities are disabled again. The two failed attempts remain undiagnosed. - -## Scope - -Validate the existing URL-to-report flow, using anonymous sessions and one attempt per approved HTTPS homepage: - -- `https://google.com/` -- `https://github.com/` -- `https://martinfowler.com/` -- `https://designgurus.io/` -- `https://instagram.com/` - -Temporarily enable only `PUBLIC_SCANNING_ENABLED` in the local working tree. Keep `PUBLIC_CAPTURE_ENABLED` false throughout. Use the default local API and existing isolated scanner, including approved public redirects/resources and current limits. No crawl, sign-in, retries, policy bypass, paid service or deployment is part of this validation. The earlier snapshot smoke is recorded separately in [MVP-VALIDATION.md](MVP-VALIDATION.md). - -## Acceptance and restoration - -1. Verify assessed images and absence of owned leftover resources before activation. -2. Submit each exact URL through the KindPath interface once. Check a successful public report's request/final URL labels, displayed findings or honest empty state, manual-review guidance and resource limitations. A served landing/login/challenge page is not evidence about authenticated content or the entire site. -3. Confirm scanner resource cleanup before accepting each result. A generic `SCAN_FAILED` ends that URL's attempt with a clear error and no partial report; it does not identify the failed stage. Continue to the next approved URL only after cleanup is confirmed. Stop the batch on an unexpected API result, report mismatch, observed policy/isolation violation or unconfirmed cleanup; do not weaken safeguards to obtain a result. -4. After the approved batch, or on any early stop, stop the temporary API after active work and cleanup settle, restore scanning to false, and confirm capture stayed false. Start a fresh default API and check both disabled capabilities and HTTP 503 / `PUBLIC_SCANNING_DISABLED`. Verify resource absence separately. -5. Record sanitized outcomes and checks. Keep raw responses, screenshots, temporary activation code and local paths outside committed files. Further attempts require approval; a failed attempt must not be presented as successful validation. - - -## Observed results - -Runtime source: `7f939e3`, with only scanning temporarily enabled in the working tree. The scanner, QA and firewall tags matched the existing [image assessment](IMAGE-ASSESSMENT.md) before and after validation. No limits, DNS/TLS policy, firewall rules, container restrictions or dependencies changed. - -| Requested URL | Final report URL | KindPath API result | Rules with violations | Inconclusive rules | Blocked / failed requests | -| --- | --- | --- | ---: | ---: | --- | -| `https://google.com/` | `https://www.google.com/` | 200, report displayed | 5 | 2 | 6 / 6 | -| `https://github.com/` | Not established | 503, `SCAN_FAILED` | — | — | Not returned | -| `https://martinfowler.com/` | `https://martinfowler.com/` | 200, report displayed | 5 | 1 | 1 / 1 | -| `https://designgurus.io/` | Not established | 503, `SCAN_FAILED` | — | — | Not returned | -| `https://instagram.com/` | `https://www.instagram.com/` | 200, report displayed | 2 | 1 | 6 / 6 | - -The status codes above are KindPath API responses, not evidence that the target websites returned those statuses. Neither generic failure response identifies the failed stage or the cause. No retry, policy relaxation or speculative production fix was made. Diagnosing those failures remains follow-up work; this result does not establish support for every public website. - -The successful attempts exercised one continuous live URL-to-report flow through the default API and sandboxed Chromium interface. Original/final URL labels, public report mode, confirmed-rule and inconclusive-rule counts, and result focus matched the actual responses. Failed attempts displayed a clear error and no partial report. No demo report substituted for a scan. Capture stayed disabled and no snapshot was returned or preview iframe opened. The QA browser had no external network; only API requests for the five exact targets were relayed to the loopback backend. Third-party page execution remained inside the isolated scanner. - -Scanner container, socket-volume and network absence was verified before handing each response to the UI. After all five attempts, the temporary API stopped, both source flags were confirmed false, and a fresh default API reported both capabilities false and rejected POST `/api/scan-public` with 503 / `PUBLIC_SCANNING_DISABLED`. Final daemon queries confirmed no owned fixture/public/QA containers, socket volumes or scanner networks. - -These counts describe the anonymously served documents at that time, with the reported resource omissions. They are not accessibility scores, stable site expectations, authenticated-content checks or evidence of conformance. Missing resources may affect findings. No site-wide crawl, capture, report enhancements, account access or public deployment was added. Raw reports and the temporary verification harness remain outside the repository; no enabled configuration or sensitive artifacts are committed. - - -## Review of the two failed attempts - -The saved API bodies and live harness log contain only `SCAN_FAILED` and the fixed “failed or timed out” message for GitHub and Design Gurus. That wording is not evidence that either attempt timed out. - -A read-only query of retained KindPath-labelled Docker events returned records beginning after GitHub's saved response, so those records do not cover its attempt. In the interval after Martin Fowler's response and before Design Gurus's response, they show a browser-worker container starting, exiting with code 1 and being destroyed. This establishes a nonzero worker exit in that attempt's window, not its underlying cause; the event records do not contain the worker's stderr. - -The source confirms that worker failures are converted to fixed classifications and the API replaces internal diagnostics with a generic `SCAN_FAILED` response. The validation harness did not save those internal diagnostics, and the original workers are no longer retained. The exact historical causes cannot be established from the retained evidence reviewed. No cause was assigned and no new live attempt was made during that review; these retained records alone did not justify a production fix or limit change. - -Subsequent explicitly approved [diagnostic retries](SCAN-FAILURE-DIAGNOSTICS.md) recorded analysis-stage navigation-guard rejection. A separate controlled History API false positive was then reproduced and fixed. Those later observations do not establish the historical causes of these original two failures. A further explicitly approved [report verification](REPORT-VERIFICATION.md) returned and displayed reports on three attempts per site using the post-fix build, with resource omissions. That subsequent evidence does not change the original outcomes or explain their causes. Both public features remain disabled. diff --git a/scanner/REDIRECT-VALIDATION.md b/scanner/REDIRECT-VALIDATION.md deleted file mode 100644 index 2597bbd..0000000 --- a/scanner/REDIRECT-VALIDATION.md +++ /dev/null @@ -1,49 +0,0 @@ -# Single-page redirect validation - -Status: three approved report-only attempts completed on November 9, 2026. All three returned reports, displayed in the interface, and matched their JSON download payloads. Scanning is restored to disabled; capture remained disabled throughout. - -## Bounded scope - -Validate the existing website-entry -> default local API -> isolated Chromium/axe worker -> JSON report/download flow under the single-page redirect policy. This is an anonymous, report-only check, without crawling, sign-in, preview capture, deployment or a paid service. No new runtime feature or dependency is planned. - -Approved scope: one attempt each for `https://example.com/`, `http://github.com/` and `https://martinfowler.com/`. The protocol anticipated an HTTPS final URL for HTTP GitHub; the observed final URL is recorded below without inferring an upgrade mechanism. This approval covers only this batch; further live requests require separate approval. - -## Checks and stop conditions - -- Confirm the current image identities against fresh local assessment evidence and verify absence of owned scanner resources before activation. Preserve existing isolation, DNS pinning, firewall, TLS and execution budgets; do not suppress image findings or infer universal safety. -- Only after the exact batch is approved, temporarily enable scanning in the local working tree. Keep capture disabled and use the default application route/controller, not a dependency-injected live scanner. The interface browser stays network-disabled; only the isolated scanner contacts public websites. -- Make at most the approved number of attempts, sequentially. A failure consumes an attempt. Do not silently retry, follow links, or fetch a page separately to investigate. -- On success, validate public mode, normalized submitted URL, permitted final URL, scan identity, report fields and coverage. Check the interface displays the actual response and its JSON download preserves the report fields and limitations. A final URL alone does not prove every intermediate hop; the worker's controlled interception tests establish that separate boundary. -- On failure, record only validated stage/code metadata and the fixed user-facing explanation. Verify no partial, previous or demo report is displayed or offered for download. Do not guess the cause of a network/browser failure. -- Verify owned resource cleanup before accepting every outcome and before the next attempt. Stop on a cleanup/admission/isolation failure, unexpected API contract, mismatched report or observed policy violation. Do not relax safeguards or add attempts to obtain a success. -- Always settle active work and cleanup, stop the temporary API, restore the exact disabled policy source, and verify a fresh default API reports both capabilities false and rejects public scanning with `PUBLIC_SCANNING_DISABLED`. Verify resource absence separately; disabled flags alone do not establish cleanup. - -## Evidence boundaries - -Keep raw responses, harness code and screenshots outside the repository. Commit only sanitized target/outcome records, relevant counts, verified JSON/UI checks and limitations. Record the reviewed source and assessed images. These observations describe one anonymous page visit at that time, not site-wide accessibility, conformance, authenticated content or general live compatibility. No enabled policy is to be committed. Further live requests require separate approval. - -## Observed results — November 9, 2026 - -Production source: `c74eb08`; validation documentation before execution: `b55581c`. Only the local scanning constant was temporarily enabled. No application/scanner logic, dependency, network/TLS policy, resource budget or container isolation changed. The rebuilt images matched the refreshed [local assessment](IMAGE-ASSESSMENT.md) before and after execution. - -| Submitted URL | Final report URL | API status | Rules with violations | Inconclusive rules | Blocked / failed requests | Omitted elements | -| --- | --- | ---: | ---: | ---: | ---: | ---: | -| `https://example.com/` | `https://example.com/` | 200 | 3 | 1 | 0 / 0 | 0 | -| `http://github.com/` | `https://github.com/` | 200 | 0 | 2 | 63 / 64 | 5 | -| `https://martinfowler.com/` | `https://martinfowler.com/` | 200 | 5 | 1 | 1 / 1 | 2 | - -Exactly one attempt was made per submitted URL, sequentially. Every report used public mode, retained the submitted and permitted final URLs, and had a scan identity and valid timestamp. The interface displayed each actual response, matched the returned confirmed/inconclusive rule counts, and focused the result. The payload behind its JSON download link preserved URLs, timestamp, findings, scanner metadata, manual checks, coverage and server limitations. The live harness read that payload directly; it did not trigger a browser file-save event for these responses. As designed, the export excluded captured HTML and ephemeral scan identity. No preview snapshot or iframe was returned/displayed. No previous or demo report was substituted. - -The HTTP GitHub input produced an HTTPS final report URL with unchanged hostname/path/query. The experiment did not record the redirect chain or determine whether this upgrade came from a server redirect or browser upgrade behavior. Do not infer that mechanism. These three live visits did not exercise a www change or a rejected redirect; those boundaries retain their separate controlled-test evidence. - -Scanner container, socket-volume and network absence was confirmed before each response was handed to the interface and before the next attempt. After completion, the temporary API stopped, exact disabled policy bytes were restored, and a fresh default API reported both capabilities false and returned HTTP 503 / PUBLIC_SCANNING_DISABLED for public scanning. Final daemon checks confirmed no owned fixture/public/QA containers, socket volumes or scanner networks; all three assessed image identities remained unchanged. - -## Interpretation and checks - -These observations validate URL entry through the default isolated scanner to displayed/downloadable JSON for these three anonymous page responses. No production fix was needed. They do not establish general site compatibility, complete homepage rendering, authenticated-content accessibility, preview fidelity or conformance. No page identity beyond the requested/final URLs was independently established; a served consent/challenge page is possible and must not be ruled out by inference. - -GitHub had substantial resource omissions and five omitted affected elements; Martin Fowler had resource omissions and two omitted elements. Blocked and failed counts may overlap. No omitted rules were reported. Missing resources and bounded results can change findings; GitHub's zero returned violation rules is not an accessibility pass. - -Fresh preflight and post-restoration checks passed: 115 unit/API tests, TypeScript/Vite build, and post-restoration application/scanner dependency audits with zero known vulnerabilities. The existing 178-test controlled suite passed at production source c74eb08; it was not rerun for this documentation-only branch. Free local Grype reassessed the exact images before execution using the cached database: scanner/firewall had zero high/critical matches; QA retained the same seven recorded high matches. No findings were suppressed or accepted, and the advisory database was not refreshed. - -Both public capabilities remain disabled. No further requests, deployment, push, purchase or ongoing activation is authorized by this record. Raw responses and harness artifacts remain outside the repository. diff --git a/scanner/REPORT-VERIFICATION.md b/scanner/REPORT-VERIFICATION.md deleted file mode 100644 index e069289..0000000 --- a/scanner/REPORT-VERIFICATION.md +++ /dev/null @@ -1,44 +0,0 @@ -# Real website report verification - -## Approved scope - -Run three anonymous report-only attempts each for `https://github.com/` and `https://designgurus.io/` through the existing local KindPath interface and default isolated scanner. Alternate the targets, without concurrent scans. Keep capture disabled, temporarily enable scanning only for this bounded batch, and restore it afterward. No crawling, login, paid service or deployment is included. - -Before activation, verify assessed image identities and absence of owned scanner resources. For each successful response, verify the requested/final URL labels, public report mode, confirmed and inconclusive rule counts, manual-review guidance, report identity and JSON export against that response. For a scan failure, retain only validated stage/code metadata in the public evidence and confirm a clear interface error without a partial or previous report. Confirm scanner resource cleanup before accepting any outcome or starting the next attempt. - -Stop on an unexpected API response, report mismatch, policy/isolation violation or unconfirmed cleanup. Do not relax safeguards, raise limits or silently make extra requests to obtain a result. A failure counts as an attempt. After completion or early stop, stop the temporary API after active work settles, restore scanning to false, verify capture remained false, and check a fresh default API rejects public scanning. Keep raw responses and temporary harness artifacts outside the repository. - -## Interpretation - -The earlier [diagnostic retries](SCAN-FAILURE-DIAGNOSTICS.md) used a pre-fix navigation guard. This batch checks the current implementation; it cannot establish the exact causes of historical failures. Successful reports describe only the anonymously served page at that time, with reported resource omissions. They do not establish site-wide coverage, authenticated-content accessibility, stable findings or conformance. - -Status: six approved attempts completed on November 9, 2026. All six reports displayed and matched their JSON exports. Public scanning and capture are disabled again. - -## Observed results - -Runtime source: `18f53b6` (production code unchanged from `9767de4`), with only scanning temporarily enabled in the local working tree. The three local image tags matched the existing [image assessment](IMAGE-ASSESSMENT.md) before validation. No dependency, image, resource budget, DNS/TLS rule, firewall or container restriction changed. - -| Requested URL | Attempt | Final report URL | KindPath API status | Rules with violations | Inconclusive rules | Blocked / failed requests | -| --- | ---: | --- | ---: | ---: | ---: | --- | -| `https://github.com/` | 1 | `https://github.com/` | 200 | 0 | 2 | 56 / 57 | -| `https://designgurus.io/` | 1 | `https://www.designgurus.io/` | 200 | 2 | 1 | 59 / 59 | -| `https://github.com/` | 2 | `https://github.com/` | 200 | 0 | 2 | 37 / 38 | -| `https://designgurus.io/` | 2 | `https://www.designgurus.io/` | 200 | 2 | 1 | 56 / 56 | -| `https://github.com/` | 3 | `https://github.com/` | 200 | 0 | 2 | 58 / 59 | -| `https://designgurus.io/` | 3 | `https://www.designgurus.io/` | 200 | 2 | 1 | 56 / 56 | - -All six reports used public mode and matched the requested URL. Final-URL labels correctly handled Design Gurus's redirect to `www.designgurus.io`. Confirmed-rule and inconclusive-rule counts in the interface matched each response, keyboard focus moved to the results, and no preview iframe or captured snapshot appeared. Manual-review guidance was displayed. The JSON export matched each response's request/final URL, timestamp, findings, scanner metadata and manual checks, and retained every server limitation without a snapshot. No previous report or demo data was substituted. - -Scanner container, socket-volume and network absence was verified before every response was accepted and before the next attempt. The KindPath interface ran in a network-disabled QA Chromium container with only approved local API calls relayed; it made no external requests. Third-party websites executed only inside the isolated scanner. After the sixth attempt, the temporary API stopped and both source gates were restored to false. Raw reports and temporary harness code remain outside the repository. - -## Meaning and limitations - -These six attempts demonstrate the current URL-to-report flow for these anonymously served pages. No production change was needed. They do not establish the mechanism of the earlier failures, prove that the History API fix caused these successes, or guarantee future compatibility. Historical evidence remains unchanged in the [original validation](REAL-WEBSITE-VALIDATION.md) and [diagnostic record](SCAN-FAILURE-DIAGNOSTICS.md). - -GitHub's zero confirmed violations is not a clean accessibility assessment: each attempt returned two inconclusive rules, and both sites had substantial blocked/failed resource counts. Counts refer to rules, not affected elements or a score. Blocked and failed counts can overlap and should not be added together. Missing resources, anonymous access and page-load timing limit what the reports describe. No inspection established whether the documents were complete homepages, consent states or challenge pages; authenticated content, frames, interaction states and other site pages were not assessed. No broader reliability percentage or site-wide claim follows from three attempts per URL. - -## Final checks - -All 98 unit/API tests and the TypeScript/Vite production build passed both before and after the live batch. Both npm audits returned zero known vulnerabilities. A fresh default API reported both public capabilities false and rejected public scanning with HTTP 503 / `PUBLIC_SCANNING_DISABLED`. Final daemon queries confirmed no owned fixture/public/QA containers, socket volumes or scanner networks, and the same three assessed image identities. - -This branch changes documentation only; no additional unit test or production fix was warranted by these results. The prior 149-test controlled suite and image-vulnerability assessment belong to the preceding diagnostics review, not a newly repeated full suite or image scan on this branch. Remaining image findings are unchanged and documented in the image assessment. Six live attempts were consumed; additional live execution requires approval. Nothing was pushed or purchased. diff --git a/scanner/SCAN-FAILURE-DIAGNOSTICS.md b/scanner/SCAN-FAILURE-DIAGNOSTICS.md deleted file mode 100644 index 1353071..0000000 --- a/scanner/SCAN-FAILURE-DIAGNOSTICS.md +++ /dev/null @@ -1,36 +0,0 @@ -# Scan failure diagnostics - -Public scanning and capture remain disabled. Public URL scan failure responses can now include a small optional `diagnostic` object alongside the existing error and code. The normal interface keeps its existing error message; no diagnostic dashboard or external logging service is added. - -```json -{"code":"SCAN_FAILED","diagnostic":{"stage":"page-loading","code":"HTTP_STATUS","httpStatus":404}} -``` - -Stages identify DNS, network setup, worker setup/execution, page loading, accessibility analysis, capture, result validation or cleanup. Codes come from an explicit allowlist. `FAILED` means no more specific allowed classification is established; it must not be interpreted as a root-cause diagnosis. HTTP status is an integer from 100 through 599, accepted only for a page-loading `HTTP_STATUS` diagnostic. A fallback `worker-execution / FAILED` identifies an unclassified runner failure; it does not prove that a browser reached page loading. - -The worker emits one bounded structured marker on stderr. The controller accepts exactly one valid marker, reconstructs only known fields, and otherwise falls back to a known stage/code. Raw error messages, stack traces, page content, headers, URLs, credentials, paths and arbitrary codes are not included in diagnostics. The HTTP layer validates the object again. Network codes are recognized only at the expected leading browser-error prefix; strings embedded in URLs, command errors or appended logs are not used to infer network failures. No raw diagnostic log is persisted by the app. Worker-reported metadata is not an authorization decision or proof of resource absence. - -Cleanup remains authoritative: unconfirmed owned-resource cleanup overrides results and worker diagnostics with `SCANNER_CLEANUP_FAILED` and `cleanup / UNCONFIRMED`. The default disabled route still rejects requests before DNS or Docker. No limit, certificate, private-address, sandbox or network-isolation rule was relaxed. - -## Approved diagnostic retries — November 9, 2026 - -Exactly one anonymous retry per URL ran through the default local API and network-disabled KindPath Chromium interface, with capture false. Runtime source for these retries was `0d26364`, before the navigation fix below. Scanning was temporarily enabled only for the two attempts and was restored to false afterward. - -| URL | KindPath API result | Recorded diagnostic | Report | -| --- | --- | --- | --- | -| `https://github.com/` | 503 / `SCAN_FAILED` | `accessibility-analysis / PAGE_CHANGED_DURING_SCAN` | None | -| `https://designgurus.io/` | 503 / `SCAN_FAILED` | `accessibility-analysis / PAGE_CHANGED_DURING_SCAN` | None | - -Both retries reached accessibility analysis, where the main-page stability guard rejected the operation. The diagnostics do not establish what triggered the navigation event or establish the causes of the older five-site validation's failures. No raw page or navigation-event details were retained from the two retries to make that attribution. Both errors appeared correctly in the interface without a partial report; cleanup was verified before each response was accepted. No additional live attempts ran during that diagnostic batch. - -## Verified controlled fix - -A synthetic page repeating its current URL through `history.replaceState` reproduced a false rejection: the old guard returned `PAGE_CHANGED_DURING_SCAN` although that update did not replace the document. After the fix, that controlled case produces a report. Main-document requests, URL changes and document-identity changes still invalidate a scan; a real same-URL reload still fails, as do the existing changed-URL tests. The same document checks apply around optional capture. - -This is a verified compatibility fix, not proof that either live site used that History API operation. The subsequent [report verification](REPORT-VERIFICATION.md) returned and displayed reports on three approved post-fix attempts per site, with matching JSON exports and resource omissions. This establishes limited observed compatibility, without attributing the earlier failures or proving which change caused success. Both public features remain disabled; further live attempts require approval. The current [image assessment](IMAGE-ASSESSMENT.md) describes the final post-fix builds, not the earlier retry images. - -## Checks and limits - -Controlled checks cover redaction, malformed/inherited/extra values, cancellation versus timeout, propagation across cleanup/API mapping, cleanup-failure precedence, a real synthetic HTTP 404, same-document history and real reload rejection. Raw reports, temporary activation/harness code and private paths remain outside committed files. No dependencies, paid features, service, storage system, crawl, ongoing activation or publication were added. - -Final local checks passed: 149 controlled tests (98 unit/API, 7 scanner, 25 gateway unit, 15 gateway integration, 3 firewall and 1 three-engine UI suite), TypeScript/Vite build, all three image builds and both npm audits. Final image scans used the existing cached database; scanner/firewall had zero critical/high matches, while QA retained its documented seven high matches. One controlled 404 case initially failed at network setup rather than reaching the page; its isolated check and complete gateway rerun passed, without a cause being assigned or limits changed. diff --git a/scanner/WEBSITE-PREVIEW-VALIDATION.md b/scanner/WEBSITE-PREVIEW-VALIDATION.md deleted file mode 100644 index 4d12942..0000000 --- a/scanner/WEBSITE-PREVIEW-VALIDATION.md +++ /dev/null @@ -1,106 +0,0 @@ -# Real website preview validation - -## Approved scope - -One anonymous scan-and-capture attempt per HTTPS homepage below, through the default local API and existing KindPath interface. The selected sample draws from [Similarweb’s August 2026 popular-site listing](https://www.similarweb.com/blog/research/market-research/most-visited-websites/); it is not a claim to be the ranked top twenty. No sign-in, paid service, crawl, automatic retry or deployment is included. Page redirects and resources remain subject to the current public-target, DNS, TLS, firewall and resource policies. - -- `https://google.com/` -- `https://youtube.com/` -- `https://facebook.com/` -- `https://instagram.com/` -- `https://x.com/` -- `https://reddit.com/` -- `https://bing.com/` -- `https://tiktok.com/` -- `https://wikipedia.org/` -- `https://amazon.com/` -- `https://yahoo.com/` -- `https://linkedin.com/` -- `https://netflix.com/` -- `https://pinterest.com/` -- `https://microsoft.com/` -- `https://duckduckgo.com/` -- `https://github.com/` -- `https://apple.com/` -- `https://spotify.com/` -- `https://bbc.com/` - -Temporarily enable both public features only for this bounded local batch; restore both to false on completion or early stop. Verify matching assessed image identities and absence of owned resources before activation. Run serially, verifying scanner cleanup before accepting each outcome and starting the next attempt. Stop on unconfirmed cleanup, isolation/policy violation, identity mismatch or unexpected API failure. Do not weaken limits to obtain a result. - -## Acceptance and limitations - -On success, verify public report mode, request/final URL labels and report/snapshot identity. Compare both preview panels against the returned sanitized snapshot, without assuming the live page contains particular wording. Check empty iframe sandbox, opaque origin, guarded inert content, absence of navigation/resource attributes and executable elements, disabled controls, link hover/click without navigation, and modified-panel-only vision effects with keyboard pause/reset. Check report export and print exclude preview HTML and ephemeral scan identity. Record resource and capture omissions. - -A failed scan ends that URL’s attempt with no partial report. A successful API response is separate from a completed UI verification. Raw responses, screenshots and temporary harness code remain outside the repository. Existing controlled tests cover security and cases absent from individual live captures. - -Previews are bounded structural approximations. Images, scripts, frames, embedded advertisements, custom fonts, form values and unsupported styles/structure are omitted. A login, consent or challenge page does not assess the authenticated service. Single-page findings and a recognizable preview do not establish full fidelity, site-wide coverage or accessibility conformance. No universal isolation guarantee follows from these checks. - -Status: twenty approved attempts completed on November 9, 2026. Sixteen returned reports and snapshots; four failed. Six returned snapshots had no rendered text. Both public features are disabled again. - -## Observed outcomes - -Runtime source: `4f1f121` (production code unchanged from `498283d`), with only the two public constants temporarily enabled in the local working tree. The scanner, QA and firewall tags matched the existing [image assessment](IMAGE-ASSESSMENT.md) before and after the batch. No dependency, image, capture budget, DNS/TLS rule, firewall, sandbox or other limit changed. - -The table records KindPath API statuses, returned rule counts, and trimmed `innerText` length across the scrollable original snapshot document. A positive text count is not a fidelity or usability verdict and does not imply that text appears in the initial preview viewport. Final hosts alone are recorded to avoid publishing response query identifiers or path details. - -| Requested host | API | Final host | Violations / inconclusive rules | Snapshot text characters | Blocked / failed requests | -| --- | ---: | --- | --- | ---: | --- | -| google.com | 200 | www.google.com | 5 / 2 | 116 | 6 / 6 | -| youtube.com | 200 | www.youtube.com | 0 / 1 | 0 | 80 / 81 | -| facebook.com | 200 | www.facebook.com | 1 / 0 | 0 | 3 / 3 | -| instagram.com | 200 | www.instagram.com | 2 / 1 | 0 | 6 / 6 | -| x.com | 503 | Not established | — | — | — | -| reddit.com | 503 | Not established | — | — | — | -| bing.com | 200 | www.bing.com | 1 / 0 | 28 | 49 / 49 | -| tiktok.com | 503 | Not established | — | — | — | -| wikipedia.org | 200 | www.wikipedia.org | 1 / 1 | 1175 | 0 / 0 | -| amazon.com | 200 | www.amazon.com | 3 / 0 | 0 | 2 / 2 | -| yahoo.com | 503 | Not established | — | — | — | -| linkedin.com | 200 | www.linkedin.com | 2 / 2 | 553 | 484 / 482 | -| netflix.com | 200 | www.netflix.com | 4 / 2 | 210 | 18 / 38 | -| pinterest.com | 200 | www.pinterest.com | 3 / 1 | 489 | 10 / 11 | -| microsoft.com | 200 | www.microsoft.com | 1 / 0 | 0 | 41 / 41 | -| duckduckgo.com | 200 | duckduckgo.com | 6 / 2 | 993 | 7 / 7 | -| github.com | 200 | github.com | 0 / 2 | 15 | 57 / 58 | -| apple.com | 200 | www.apple.com | 5 / 5 | 347 | 0 / 1 | -| spotify.com | 200 | open.spotify.com | 3 / 0 | 0 | 1 / 1 | -| bbc.com | 200 | www.bbc.com | 3 / 1 | 1182 | 88 / 99 | - -Blocked and failed request counts may overlap. Counts above describe rules, not affected elements or conformance. Returned result limits also omitted affected elements on LinkedIn (38), Netflix (18), Pinterest (3), GitHub (4), Apple (10) and BBC (44); no rule omissions were reported in this batch. - -### Observed failures - -| Requested host | Diagnostic | What is established | -| --- | --- | --- | -| x.com | `page-loading / HTTP_STATUS / 403` | The main-page response was rejected with HTTP 403; this is distinct from KindPath’s HTTP 503. | -| reddit.com | `page-loading / PAGE_CHANGED_DURING_SCAN` | The page-stability guard rejected loading; the triggering page operation was not retained. | -| tiktok.com | `accessibility-analysis / PAGE_CHANGED_DURING_SCAN` | The page-stability guard rejected analysis; the triggering page operation was not retained. | -| yahoo.com | `page-loading / PAGE_CHANGED_DURING_SCAN` | The page-stability guard rejected loading; the triggering page operation was not retained. | - -All four displayed a clear error with no partial report or snapshot. These diagnostics identify an observed rejection, not the underlying reason for a site’s behavior. No retry or speculative fix followed. - -## What passed and what did not - -All sixteen successful responses matched public mode, normalized request URL, final URL and report/snapshot scan identity. Both frames received exactly the same returned sanitized HTML, behind the outer document guard. The live KindPath interface ran in network-disabled QA Chromium; only the exact approved local API requests were relayed. Submitted pages executed in the isolated scanner. No external request from the QA interface was observed. Scanner containers, socket volumes and networks were confirmed absent before accepting each response or starting the next scan. - -For all sixteen returned captures, checks verified empty iframe sandbox, no-referrer policy, blocked access from the iframe to the parent document, guarded content, absence of executable/navigation/resource-bearing elements and attributes, and disabled remaining input/button controls. Nine captures offered a visible link for hover and a dispatched click; none navigated or opened another page. No color change was measured by those hover checks; this does not prove the absence of other hover effects or validate live-site hover fidelity. Controlled fixtures separately exercise retained hover styles and form behavior. - -Each returned capture passed modified-panel-only effect styling, keyboard blur adjustment, pause and reset checks. JSON matched the report’s request/final identity, timestamp, findings, scanner metadata, manual checks and coverage, retaining the existing limitations and excluding HTML, snapshot and ephemeral scan identity. The print view displayed matching coverage feedback without an iframe, and Chromium generated a PDF. This is not visual print-quality or PDF-accessibility verification. Export and control checks made no additional scan request. - -Six snapshots—YouTube, Facebook, Instagram, Amazon, Microsoft and Spotify—had zero rendered text. These are not useful full-page preview successes merely because the API and isolation checks passed. Ten contained some rendered text, including very sparse Bing (28 characters) and GitHub (15 characters) captures. Text may lie outside the initial iframe viewport. Visual samples from Google, YouTube, Facebook, Wikipedia, GitHub and Apple confirmed substantial omissions or sparse/blank initial panels; they do not establish source-page fidelity. - -Every capture reported omitted subtrees, ranging from 2 to 121, and style omissions ranged from 0 to 5,936 declarations. No text-budget truncation was reported. A zero omitted-text count does not mean all source text survived: dropping an entire subtree does not count its unvisited text as character-budget truncation. The retained snapshot and counters do not establish the exact per-site cause of an empty or sparse capture. No original-page DOM was retained, and no second public visit was made to determine the cause. - -This validates a continuous live report-to-snapshot UI path and its boundaries on the observed responses. It does not validate broadly useful visual fidelity across popular sites. At the end of this validation, capture quality and clear feedback for empty/sparse snapshots remained follow-up work; these results do not justify increasing privileges, removing guards or enabling public features. Raw HTML, screenshots, generated query identifiers and temporary harness code remain outside the repository. - -## Final checks and restoration - -All 105 unit/API tests and the TypeScript/Vite production build passed before and after the live batch. The complete controlled Chromium/Firefox/WebKit suite passed before activation, including the existing iframe, inert-navigation, stale-response and report/export checks. An offline rehearsal using an older saved capture verified the batch harness without a new public request. Both fresh npm audits returned zero known vulnerabilities. - -After the twentieth attempt, active work and cleanup settled, the temporary API stopped, and both source constants were restored to false. A fresh default API reported both public capabilities false and rejected public scanning with HTTP 503 / `PUBLIC_SCANNING_DISABLED`. Final daemon queries confirmed no owned fixture/public/QA containers, socket volumes or scanner networks and unchanged assessed image identities. No new container-image build or image vulnerability scan was run on this documentation-only branch because the assessed image inputs were unchanged; existing advisory findings remain recorded and unaccepted. - -All twenty approved attempts were consumed. Additional live requests require approval. No runtime change, dependency, service, continued activation, push, merge, deployment or purchase was added. - -## Subsequent feedback work - -The later [preview quality feedback](../README.md#preview-quality-feedback) adds unavailable feedback for zero captured text and a caution for very little text, using metadata derived by the trusted serializer. It does not repair content retention or change the outcomes above. The historical `innerText` measurements and the new non-whitespace accepted-text count are different signals; no live retry was performed to equate them or validate a fidelity improvement.