---
title: Local Audit Results
published: true
index: 90
tier: free
---

# Open local audit results

After validating a local Audit, open one viewer for its complete selected Check ledger, including results collected by other agents. For a request to reopen results, use the saved report for the requested storefront and scope. When a storefront has both a current full report and a retired Core report, “open the audit” opens the full report. An explicit request for a historical report opens that saved artifact. Use its saved catalog context without a new Glue call or evaluation. In Glue and other guarded runners, return results through the host’s rendering protocol.

## Prepare the saved results

Follow [Glue JSON output](../core/glue-output.md) first. Keep the canonical `report.json` unchanged in an external run directory. Record local screenshot URLs as real `file:` URLs and put the corresponding raster images in that directory or its descendants. The viewer serves only images explicitly referenced by the report and contained within that directory; it cannot display arbitrary files elsewhere. Retain unavailable image locations as evidence text. Remote HTTP(S) screenshots load from their recorded source.

Alongside the report, save `viewer-context.json` from the run's already pinned catalog and provenance. It is presentation context, not a replacement result schema or a source of Check outcomes. Include every selected Check exactly once, with its exact title, canonical category and positive integer version. Optional fields identify the title, target, actual scope, timestamp and source:

```json
{
  "title": "Audit",
  "targetUrl": "https://store.example.com",
  "coverage": "Focused audit, accessibility",
  "generatedAt": "2026-11-10T15:30:00Z",
  "source": "Pinned source revision or external instruction snapshot identity",
  "checks": [
    {
      "id": "selected-check-id",
      "title": "Exact selected Check title",
      "category": "accessibility",
      "version": 1
    }
  ]
}
```

Replace example values with the actual run identity and full selected set. Never infer full catalog coverage from the number of recorded outcomes. The viewer expands grouped `coverageIds` into individual rows; filters change only what is visible. Without context, older saved reports remain viewable by ID with scope marked as unavailable. Do not reconstruct missing titles or provenance from an unpinned current catalog.

## Start and open the viewer

Use available host command execution with Python 3.9 or newer; no package installation or network service is required. Resolve `<installed-skill>` to this installed skill directory, not a developer checkout or a sibling skill. If a viewer is already running for this saved report, verify its report and target against the requested run and open its URL. Otherwise start the bundled launcher:

```sh
python3 "<installed-skill>/scripts/open_audit.py" "/absolute/external/run/report.json"
```

The [launcher](../../scripts/open_audit.py) uses the bundled [viewer](../../assets/audit-viewer.html), chooses an available port on `127.0.0.1`, prints the URL and attempts to open the default browser. Use `--no-open` when the host supplies browser opening; open the printed URL with that host capability. `--context /absolute/path/viewer-context.json` selects a separately saved context file. `--port` may select a known free port; do not stop an unrelated listener to free it.

Opening a validated report adds it to the current storefront’s report history. To add a previously saved audit without starting another viewer, run the launcher with that report path and `--register-only`. An agent can supply `--workspace /absolute/local/directory` to use the same explicit workspace for registration and viewing. The archive references the saved runs, so keep their report files, context and screenshots together in their original locations.

Use the sidebar to move between audit dates. Runs on the same day show their recorded times when available. A number distinguishes runs with the same displayed date and time. The tooltip and accessible link name include the full report title. On desktop, drag the sidebar edge or focus it and use the arrow keys to resize. The browser remembers the width for this viewer address.

The viewer follows the system appearance by default. Choosing Light or Dark in the report menu saves that choice in this browser for the viewer’s address and port. To reuse it across launches, reopen the viewer on the same free port.

Run the launcher in a host-managed persistent process and retain its handle. Verify the printed URL responds and the browser shows this report's Issues and selected Check count. Keep the process running for review, provide the URL and `report.json` link in the final chat, and follow the existing issue-summary requirements. Use the exact Check titles from context when describing failed Checks. Stop only this owned process when requested or when its host session ends; closing the tab does not stop it. Results remain saved and can be reopened with the same command.

If Python, command execution, a persistent process, browser opening or localhost reachability is unavailable, preserve the complete report and useful chat readout. State the precise viewer limitation and provide the reopen command when useful. A viewer failure never changes Check outcomes or becomes a storefront Limitation. Do not claim the site opened unless the host confirms it; a printed URL alone establishes only the server handoff.

## Review behavior

The launcher opens the selected audit at its dated report link. Select another date in the sidebar to review that saved audit. Open **Settings** at the bottom of the sidebar. Read or select the Store Skills installation and MCP connection prompt, or use its copy button to take the full text to your agent. The skill directory marks the main audit command as **Default** and lists other public Store Skills commands present in this installation. Expand a skill to read its installed description. Copying a command places it on the clipboard for the agent to run.

Select an Issue to read its recommendation and evidence, a Check to read its outcome, or a Change or Limitation to read its details. On desktop, the selected title appears in the top breadcrumb. The date navigation, result list and reading pane keep their widths when you select another row or clear the selection. Choose the report date in the breadcrumb or press Escape to clear the reading pane. Drag the divider or focus it and use the arrow keys to change the reading width. Use the properties toggle at the top right of an open detail to hide or show its sidebar. When the detail pane is wide enough, drag the properties divider to adjust its width or focus it and use the arrow keys. For Issues, category, priority, evidence and related Checks appear beside the recommendation. The browser remembers each width independently. On a narrow screen, details fill the window. Close them or press Escape to return to the list. Bookmark the open Issue’s URL to revisit it while the viewer is running. Use the footer chevrons or press Up and Down to step through visible results in the current view.

Each Issue row starts with a status picker and ends with its screenshot, when it has one, and its priority. Its title sits on one line above a one-line preview of why the Issue matters. Checks, Changes and Limitations show an icon and title on one line. Open a row to read its full outcome or evidence. Issues and Checks without a recognized category appear under **Untagged**. New Issues start in Triage. The detail footer also lets you change status. The viewer saves the change in `report.json.issue-statuses.sqlite3` beside `report.json` and restores it when you reopen the same report. All Issues stay in their audit category, including Cancelled and Resolved. Use **Status** beside **Issues** to show one status or return to **All statuses**. The menu shows how many Issues have each status. Select a group heading to expand or collapse its rows.

Open an Issue and expand **Affected page** to inspect the target, or choose **View affected page** from the detail footer’s actions menu. Open a linked Issue from the Check detail’s ellipsis menu. The screenshot lightbox offers Copy image and, when supplied, View source.

Categories and their Issues start in report order. Drag an Issue row to move it within its category. On touch screens, press and hold before dragging. With an Issue row focused, press Shift+Space to pick up, Up or Down to move, and Shift+Space again to drop. Escape cancels. A colored divider marks the drop position. The navigation arrows follow this order until the page is reloaded. Hover over a shortcut-enabled control to see its keyboard hint.

The first dropdown switches between Issues, Checks, Changes and Limitations. Status filters only Issues and remembers your choice when you switch views in the same report. The Check ledger includes every individual selected ID, including Blocked and Not applicable. The launcher does basic input checks, with full schema and semantic validation required before presentation.
