Skip to content

docs(demo): one-command self-healing demo + heal.gif hero - #5

Merged
Desperado merged 1 commit into
mainfrom
demo/heal-gif
Jul 9, 2026
Merged

docs(demo): one-command self-healing demo + heal.gif hero#5
Desperado merged 1 commit into
mainfrom
demo/heal-gif

Conversation

@Desperado

Copy link
Copy Markdown
Contributor

The launch asset (QUA-1005): a real, reproducible self-healing demo + the hero GIF.

What

  • demo/site/index.html — a tiny local login page whose button reads "Sign in".
  • demo/login.spec.js — ships deliberately broken: text='Sign In' (exact, case-sensitive) no longer matches.
  • demo/heal.sh — one command: serves the page, runs 9l heal login.spec.js, you watch it heal.
  • demo/heal.gif — the recorded run, embedded as the README hero (77 KB).
  • demo/record.sh — regenerates the GIF via asciinema + agg.

The GIF is a genuine heal, not a mockup

Recorded from an actual 9l heal run:

$ 9l heal login.spec.js
🐾 run 1/3 → failure: locator_not_found (text='Sign In') → tier1_auto
  tier1_auto: Replaced 'text='Sign In'' with 'text='Sign in'' (confidence 85%)
🐾 run 2/3 → healed! (+1 / -1)
   -  await page.locator("text='Sign In'").click();
   +  await page.locator("text='Sign in'").click();
🐾 applied. Your test came back to life.

Fully offline (Tier 1) — no API key, reproducible by anyone with pip install 9lives + Node.

Notes

  • .9lives/ run artifacts are gitignored; no node_modules/results leak into the commit.
  • Doc-only — no package/version change.

Add demo/ — a tiny local login page with a deliberately stale selector
('Sign In' vs the page's 'Sign in') and a one-command runner (heal.sh)
that watches 9l heal fix it offline (Tier 1, no API key). Embed the
recorded heal.gif as the README hero; record.sh regenerates it via
asciinema + agg. Closes the demo half of QUA-1005.
@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@sigilix

sigilix Bot commented Jul 9, 2026

Copy link
Copy Markdown

Posted · 149935d · 0 findings — View review

Sigilix is reviewing this pull request.

A structured overview will replace this note when retrieval and specialist review complete.

== listener array ==
      .          *           .             *          .
                    .                 .
          .                  ---*---                  .
      *             .          \|/          .             *
                              \ | /
               .               \|/               .
                         _______|_______
        *              .'      /|\      '.              *
                      /       / | \       \
          .          ;       /  |  \       ;          .
                     |      /   |   \      |
                     |     /____|____\     |
          .          ;      we heard you   ;       .
                      \      and stayed   /
        *              '._______________.'       *
              .             \  \ /  /        .

we heard the signal under the static
and held it close enough to answer

@sigilix sigilix Bot added the documentation Improvements or additions to documentation label Jul 9, 2026
@Desperado
Desperado merged commit 47569e2 into main Jul 9, 2026
5 checks passed
@Desperado
Desperado deleted the demo/heal-gif branch July 9, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant