Skip to content

Rewrite the README for agents and first-time visitors - #7

Merged
0thernet merged 4 commits into
mainfrom
docs/readme-for-agents
Nov 18, 2026
Merged

0thernet merged 4 commits into
mainfrom
docs/readme-for-agents

Conversation

@0thernet

@0thernet 0thernet commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

What changes

The README now opens for someone deciding whether to use ra, follows the Hraness README guidelines, and keeps the reference it already had.

  • Opening: the medium line below, then one paragraph on why ra measures instead of leaving a screenshot to a model. The fake world gets its own paragraph under the picture. The first sentence is also the package description, so the README, package.json, the GitHub About line, and hraness.com/ra say the same thing.
  • Picture: the broken fixture page at phone width, with seven numbered findings beside it, in light and dark (.github/media/). It shows what ra look broken --at phone prints on 0.1.5, including the total of 37 findings.
  • Start: the prerequisites, three commands with npm, and what the first look prints and writes. The Bun install stays under "Setting up".
  • For coding agents:
    • the skill, copied with two commands, as on the site;
    • the loop;
    • measured look sizes: 52 lines (about 500 tokens) for a clean page, and 123 lines (about 1,900 tokens) for 37 findings;
    • a trimmed clean look, in a fold.
  • How it compares: a screenshot for a model to judge, a Playwright script against the network, and an accessibility snapshot, each beside ra. Its sources are UI-Lens (CVPR 2026), Google's flaky-test rates, Parry et al. (2025) on clusters of flaky tests, and Playwright's best practices and MCP docs.
  • In use: counts from nine Hraness sites (states, looks, fixes, deleted scripts, and false alarms fixed) and five short stories in general terms, with no product names.
  • Verification (new): gh release verify-asset for a downloaded tarball, how to run ra's tests, and where to report a false alarm.
  • Documentation (new): a map to the recipes, the findings reference, the skill, and the Direct history. It replaces "Where it came from".
  • Style: the verbless tagline, the repeated negatives, and the rhetorical heading are gone. Oxford commas, numbers zero to nine spelled out, and curly quotes in prose. The README no longer frames ra as one person's project.
  • Around it:
    • package.json: the description is the meta line, and the keywords match the topics.
    • docs/from-direct.md: "Honesty about limits" is now "Stated limits".
    • A unit test checks that the README installs and verifies the release package.json names. With v0.1.4 in the verify command, it fails.
    • AGENTS.md: the release step now says to change the README with the version.
    • .github/media/social-preview.png carries the category and tagline below. It is the same file as the share card in site #79.

Messaging record

Lengths are against the limits in MESSAGING.md.

Field Text Length Author
names name ra, command ra, package @hraness/ra
category UI testing for agents 21 characters, four words authored: the owner chose it on 18 November 2026
tagline Catch the UI bugs your agent can’t see. 39 proposed
short UI testing for agents that says in sentences what a person would find wrong 75 proposed
meta ra opens your web app in Chromium, inside a fake world you describe, and tells your coding agent in sentences what a person would find wrong. 141 authored: approved as the GitHub About line
medium ra opens your web app in Chromium, inside a fake world you describe, and tells your coding agent in sentences what a person would find wrong. It is UI testing for agents, made to run in the middle of a change. 209 proposed

long, 145 words and 769 characters, proposed:

A coding agent that changes a web page has no reliable way to see the result. A screenshot leaves a model to judge measurements by eye, and a browser script against live services can flake, and it checks only what someone thought to assert. ra opens your web app in Chromium, inside a fake world you describe, and tells your coding agent in sentences what a person would find wrong, such as text cut off by its box, a covered button, or low contrast. Boxes come from the layout engine and contrast from the painted pixels, so CI has no screenshot baselines to approve. Each state you name, such as an empty inbox or a failing API, is one command away, on desktop, on a phone, and in dark mode. In ra’s first two days on nine Hraness sites, its findings led to 22 fixes.

The site's hero summary in #79 is written for that page, which MESSAGING allows as hero.summary.

What the owner decided on 18 November 2026

  1. The category is "UI testing for agents".

  2. The tagline should be shorter and easier to remember than "Let your coding agent find what is wrong with the page." This pull request uses "Catch the UI bugs your agent can’t see." The claim rests on UI-Lens, cited under "How it compares". Other lines that fit the limit:

    • "Tell your agent what’s wrong with the page."
    • "Stop your agent shipping broken UI."
    • "Find the UI bugs a screenshot hides."

    The tagline is in two places, the share card and the heading of hraness.com/ra, so changing it later is a small change.

  3. The About line, the homepage, and the topics are approved. They are set with this command once this merges and #79 is live:

    gh repo edit hraness/ra \
      --description "ra opens your web app in Chromium, inside a fake world you describe, and tells your coding agent in sentences what a person would find wrong." \
      --homepage https://hraness.com/ra/ \
      --add-topic ui-testing,visual-testing,visual-regression-testing,accessibility-testing,a11y,wcag,color-contrast,layout-testing,responsive-testing,frontend-testing,visual-qa,agentic-testing,visual-review,hermetic-testing,network-mocking,playwright,claude-code,agent-skills,coding-agents,cli

    That is 20 topics, GitHub's limit.

  4. The social preview. .github/media/social-preview.png (1280×640) goes under Settings, General, Social preview. GitHub has no API for it.

Checks

  • bun run check passes: the type check, 43 unit tests, and the build, and the built CLI prints 0.1.5.
  • GitHub's Markdown renderer (gh api markdown -f mode=gfm) gives one H1, 18 sections, and both tables whole.
  • Every relative link, image, and in-page anchor in the README resolves.
  • gh release verify v0.1.5 and gh release verify-asset on the downloaded tarball pass. The release is immutable, and the asset's SHA-256 is baf04a1e3f37a55dd7d0f8e541219195072b2089b4e98704d6bbc5e241ba1c22.
  • The UI-Lens figures and Google's flaky-test rates were read again at their sources on 18 November 2026 and match.
  • This branch's ra (0.1.5) printed the samples: the hero's look, the clean look, and the ra check run on the fixture. The browser was Chromium 158.0.8127.18 with playwright-core 1.65.0, Playwright's Chrome for Testing, which also rendered the share card.

🤖 Generated with Claude Code

0thernet and others added 4 commits November 18, 2026 16:37
Open with what ra is for (UI testing for coding agents), a picture of a
look, a three-line start, the agent loop with measured look sizes, why
measured findings beat a screenshot, a script against the network or an
accessibility snapshot, and what ra found on its author's sites. Add
Limits and Neighbours. Move the check sample to "In CI", printed again
by 0.1.5. Every other section is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Follow the Hraness style and README guidelines: open with what ra is and
who it is for, in the words of the package description; Oxford commas;
small numbers spelled out; curly quotes in prose; sentence headings in
place of the rhetorical one; no one-maintainer or author framing. Add
release verification with gh release verify-asset, a documentation map,
and a way to report a false alarm. A unit test now checks that the
README installs and verifies the release package.json names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The owner chose the category on 18 November 2026. The README's second
paragraph now says why ra measures instead of leaving a screenshot to a
model, and the fake world gets its own paragraph under the picture. The
share card carries the new category and tagline.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@0thernet
0thernet marked this pull request as ready for review November 18, 2026 21:44
@0thernet
0thernet enabled auto-merge (squash) November 18, 2026 21:44
@0thernet
0thernet merged commit 7970923 into main Nov 18, 2026
9 checks passed
@0thernet
0thernet deleted the docs/readme-for-agents branch November 18, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant