Skip to main content

Reproduce the LemonCrow Review demo

Reproduce a prepared repository and open the Review Reader. These are demonstrations, not benchmark results or claims of automatic bug detection.

Watch the recorded Reader walkthrough (28 seconds). The invoice-cache example shows recorded behavior and a human decision; no AI-generated finding appears in that recording. The full 43-second recording is also available.

For a cross-layer change instead of a simple bug, choose the standard fixture and inspect pricing, plan availability, runtime settings and tests. The question is whether the change matches the task, even when tests pass.

From a LemonCrow source checkout:

./examples/demo/bootstrap.sh /tmp/lemoncrow-review-demo
uv run lc review --repo-root /tmp/lemoncrow-review-demo --setup
uv run lc review --repo-root /tmp/lemoncrow-review-demo --open

If your local lc command already points at this checkout, you can use lc instead of uv run lc.

The same steps as make targets (all accept DEMO_DIR=/path, default /tmp/lemoncrow-review-demo):

make review-demo # create or reset the demo repository and open it in the Reader
make review-demo SCENARIO=orders # pick a scenario: standard (default), empty, orders, orders-revision-2, large, tenant-cache
make review-demo-diff # show the prepared, uncommitted demo change
make review-demo-empty # the empty state: baseline only, nothing to review (examples/empty)
make review-demo-plugin # install the example CSV preview plugin

What to try​

In the browser Review Reader:

  1. Start at Overview and inspect the decisions and available evidence.
  2. Open All files or One at a time to examine the change. Use Map and, when offered, X-Ray to understand relationships.
  3. Open Preview. Choose an available surface and deliberately render or run it. Compare the frozen revisions when both outputs are available. The exact surfaces depend on the fixture, setup and installed providers; no count or ranking is guaranteed before rendering.
  4. Record a decision on code, then inspect Wrap up. A preview or walkthrough visit is not a review decision.

Useful targets in the standard fixture​

  • /pricing, /surfaces, /: changed application pages; start the visual preview when offered.
  • media/demo.gif (also MP4, WAV and PDF): compare available artifacts.
  • frontend/src/components/SurfaceCard.jsx: inspect its Storybook surface if configured.
  • API requests: run a configured request and compare the recorded outputs.
  • data/plans.csv: compare the table with the example CSV plugin below.

Availability depends on the installed providers and configuration; these are fixture targets, not guaranteed rendered surfaces.

See the Reader screen guide for current screenshots and controls. The linked older video demonstrates an earlier recording of the Reader, not a current navigation tutorial.

To see a third-party preview plugin, install the example CSV plugin and reopen the Review; data/plans.csv then gets an old/new table preview:

make review-demo-plugin

That target installs the plugin into both the source checkout and the local Review server environment. Without it, setup names the missing csv-table provider and the CSV stays reviewable as source. See Review preview plugins. The demo also contains Markdown, API, Docker Compose, and command-backed review surfaces if you want to explore further.

Reset the demo at any time by running the bootstrap command again.

For the complete Review workflow and CLI behavior, see the full review walkthrough.