Ledgence / Workflow demo
Demo playbackView evidence ↗
The problem

Fix an empty page
in search results.

All 100 search results fit on one page. The app still offers an empty second page.

The solution

Codex proposes the fix. Ledgence checks it in parallel, brings the evidence together, and waits for your decision.

The target100 documents → 1 page
Document search start
Three independent branches.
One shared candidate.
Forked branchParent workflowSimulated agent output · illustrative timing, not a live connection
01 / 06 · Demo playback

An agent proposes the fix

Codex receives the bug and the small module. Ledgence tracks the candidate through every check.

One candidate shared across three branches
--- a/pagination.py
+++ b/pagination.py
@@ -6,4 +6,4 @@
         raise TypeError("item_count must be an integer")
     if item_count < 0:
         raise ValueError("item_count must be nonnegative")
-    return item_count // 100 + 1
+    return (item_count + 99) // 100

The actual candidate diff in this saved run.

Click a node to inspect a step. Playback pauses while you explore.This page never submits work or sends approval.
Saved execution evidence · approved

Measured page counts

Search resultsBeforeCandidateExpected
99 documents111
100 documents211
101 documents222

Both versions returned a page count for each measured case.

Fixed regression suite

test_boolean (__main__.PaginationAcceptance.test_boolean) ... ok
test_empty_and_partial_page (__main__.PaginationAcceptance.test_empty_and_partial_page) ... ok
test_exact_page_boundaries (__main__.PaginationAcceptance.test_exact_page_boundaries) ... ok
test_extra_page (__main__.PaginationAcceptance.test_extra_page) ... ok
test_negative_integer (__main__.PaginationAcceptance.test_negative_integer) ... ok
test_non_integer (__main__.PaginationAcceptance.test_non_integer) ... ok

----------------------------------------------------------------------
Ran 6 tests in 0.001s

OK

Independent review

Offline fixture review; no model or provider was called.

No findings in the saved independent review.

Draft release note

No more empty document pages

Document lists now end on the last populated page, including exactly 100 documents. Offline fixture note; no provider called.

Candidate and decision

Workflow: wf_554f7250-3112-45cb-900a-77a140197772
Candidate SHA-256: 055be74f94305213e9dd7e1a19bd9f05cb8615b46b45ed29940cf80201672a1b
Decision: approved; event: offline-production-decision