Skip to content

Documentation testing

AttestPublic source · early

Runs every step in your docs and marks the ones that fail.

Give Attest a README, a quickstart, an AI assistant’s how-to answer or a product spec. It runs every step against the running app: commands in a scratch directory, browser steps in Chrome. It returns the document with each step marked proven, stale, broken, unverifiable or skipped, and the evidence for each mark.

A failed step goes to an agent. A policy file decides what the agent may change, then the browser check runs again. A case closes only when the fix passes. Each case writes a receipt file that SyberWork can read.

Why

Why test a document?

Docs, quickstarts and specs tell the reader to run a command, click a button or expect a label. The product changes, the document does not, and a customer is usually the first to find out.

Attest checks each step against the running product. A step is marked proven only when its command passed or the browser saw the expected label. The verdict comes from a fixed rule. No model judges it.

Use

Four ways to use it

Python 3.11 or newer. Browser steps use Kane CLI, TestMu’s browser agent.

  1. 01 / Prove

    Test a doc

    Run attest prove on a Markdown document. Shell steps run in a scratch directory and browser steps run in Chrome. The result is one page with a badge on every claim.

  2. 02 / Repair

    Fix an outdated doc

    When a description is out of date, an agent writes a patch that changes only the doc, in a temporary checkout. The browser check runs again before the patch is applied.

  3. 03 / Protect

    Protect required behaviour

    A policy file marks statements the product must satisfy. Attest will not edit those to make a check pass. It writes an implementation handoff instead.

  4. 04 / Spec

    Build to a spec

    In spec mode a failing claim becomes a ticket. An agent implements it in a copy of the app, never the original, and the browser checks the copy. Applying the change needs a person’s approval.

Design

How it is built

  • Each claim is tied to exact lines

    One structured-output model call splits the document into typed claims, each tied to an exact line range. Fenced command blocks become shell claims word for word.

  • Verdicts come from fixed rules

    Shell claims are judged on exit code and expected output. Browser claims compare the expected label with the observed one, with extra checks for negation and changed numbers.

  • A policy check before any edit

    Each stale or broken claim is checked against the policy file before an agent edits anything. Descriptive text may be repaired. Protected statements may not.

  • A receipt file for every case

    Each loop case writes an attest.receipt/v0 file: document hashes before and after, the claim, the authority decision, the patch hash and the evidence. SyberWork reads them as observations.

  • Works with other agents

    OpenAI is the default. Any command that reads a brief and prints a diff can replace it, so a team can use the agent it already has.

Evidence

  • Measured

    At Kane CLI Hack Day in San Francisco on 24 October 2026, Attest proved 9 documents across 23 turns, with 31 browser claims proven by Kane, each with a screenshot.

  • Measured

    Outdated text it found that day: Vite’s starter page now reads “Get started”, not “Vite + React”, and GitHub’s “Security & analysis” is now “Advanced Security”.

  • Tested

    Unit tests and red-team cases cover forged approvals, attempts to weaken a protected promise and path-escape attacks on the apply step.

  • Not yet

    There is no hosted service. Attest runs locally as a command-line tool. Shell steps run directly on your machine, with no sandbox. No outside team runs it in production yet.

Reflects SyberLabs/attest@274b8e7 · verified 2026-11-05. Each state is backed by code, a named test, a measurement under stated conditions, or a deployment.

Facts

Status
Public source · early
Stage
Public-source command-line tool, version 0.1.0
Technology
Python 3.11+, OpenAI structured outputs, Kane CLI and Chrome
Works with
SyberWork
License
MIT, declared in pyproject.toml

Other products