Skip to content
Theseus

Next.js

Codex rebuilt jQuery TodoMVC, regrown in Next.js (App Router, TypeScript), from the spec and screenshots alone. Kane ran all 1 behaviors after every round and sent the failures back.

Agent
Codex default
Runs on
Browser
Final round
0 of 1 passed
Parity
19 identical, 1 diverged, 2 failed
Elapsed
1 h 05 m on 21 November 2026
Credits
1,165.2

Round 1

20 of 22 passed

Started
14:01:28 UTC
Took
27 m 13 s
Diff
10 files, +1242 -0
Commit
b2ee72d55cf78a673a14d51eb1a04ffc76e2f88a

First round: the agent started from SPEC.md and the reference screenshots only.

Agent's notestarting on http://127.0.0.1:62963/

Fresh empty view

fresh-empty
  1. 2navigate: Navigate to http://127.0.0.1:62963/
  2. 3analyze: no filters are shown
  3. 4assert: no todo items, counter, filters, or clear-completed action are shown (failed)
Reason
Final verification failed: "no todo items, counter, filters, or clear-completed action are shown" Missing stored values: counter_text, visible_titles.
Root cause
[automation_bug] The final verification expected each “absent” condition to be false, even though an empty fresh todo page should make those conditions true. The screenshots also show the empty page with no todo row, footer counter, filters, or clear action.
Suggested fix
Fix the empty-state assertion to expect todo_items_absent, counter_absent, filters_absent, and clear_completed_action_absent to be true; retain the observed values for counter_text as none and visible_titles as none.
Open the Kane test run
Original, final state
Original, final state
Next.js, final state
Next.js, final state
Next.js, failing step
Next.js, failing step

Pluralized counter

counter-plural
  1. 2navigate: Navigate to http://127.0.0.1:62963/
  2. 3type: Typing One into the New todo text box
  3. 4press_key: PRIMARY: Add "One" by submitting the focused New todo input with Enter
  4. 5analyze: The counter text is saved as {{counter_one}}.
  5. 6type: Typing Two into the todo textbox
  6. 7press_key: PRIMARY: Add "Two" by submitting the focused New todo input with Enter
  7. 8analyze: The stored {{counter_one}} value is "1 item left".
  8. 9assert: The stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} (failed)
Reason
Final verification failed: "The stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} value is "2 items left"." Missing stored values: counter_one, counter_two.
Root cause
[automation_bug] The agent skipped the required step to read and save {{counter_two}} after adding “Two.” The screenshots show the app correctly displayed one item after the first add and two items after the second add.
Suggested fix
Update the run to read the visible counter immediately after adding “Two” and save that text as {{counter_two}} before running the final verification.
Open the Kane test run
Original, final state
Original, final state
Next.js, final state
Next.js, final state
Next.js, failing step
Next.js, failing step
20 behaviors passed
  • Add one todo56 s
  • Add many todos88 s
  • Clear input after add59 s
  • Ignore empty submission44 s
  • Trim surrounding whitespace70 s
  • Complete one todo75 s
  • Mark all complete79 s
  • Uncomplete all todos75 s
  • Show all filter83 s
  • Show active filter73 s
  • Show completed filter66 s
  • Update filtered list97 s
  • Save edited title115 s
  • Save edit on blur100 s
  • Discard edit with escape112 s
  • Empty edit removes todo76 s
  • Remove one todo88 s
  • Clear completed todos124 s
  • Persist todos after reopening121 s
  • Persist selected filter118 s

Round 2

1 of 2 passed

Started
14:28:41 UTC
Took
4 m 11 s
Diff
0 files, +0 -0
Commit
6139b0b2a50c04e477a684e8bb030b6af1a08782
Feedback the agent received before this round
Round 2. Kane CLI ran the behaviors from SPEC.md against your app: 20 of 22 pass.

Fix the app so these behaviors pass, without breaking the ones that already pass. When Kane's root cause is an automation_bug the app may be right and the test flaky; check the screenshot before changing working code.

### Fresh empty view (`fresh-empty`)

Objective: Starting from a fresh app with no items, observe the page and store the footer counter text exactly as shown, or the word none if no counter is visible, as 'counter_text', and store the titles of the visible todos in display order separated by commas, or the word none if no todos are visible, as 'visible_titles'. Verify no todo items, counter, filters, or clear-completed action are shown.
Failed at step 4: assert: no todo items, counter, filters, or clear-completed action are shown
Kane: Final verification failed: "no todo items, counter, filters, or clear-completed action are shown" Missing stored values: counter_text, visible_titles.
Root cause (automation_bug): The final verification expected each “absent” condition to be false, even though an empty fresh todo page should make those conditions true. The screenshots also show the empty page with no todo row, footer counter, filters, or clear action.
Suggested fix: Fix the empty-state assertion to expect todo_items_absent, counter_absent, filters_absent, and clear_completed_action_absent to be true; retain the observed values for counter_text as none and visible_titles as none.
Screenshot of the failure: .theseus-feedback/round-2/fresh-empty.png

### Pluralized counter (`counter-plural`)

Objective: Starting from a fresh app with no items, add "One", store the counter text as 'counter_one', then add "Two" and store the counter text as 'counter_two'. Verify the stored counter_one value is "1 item left" and the stored counter_two value is "2 items left".
Failed at step 9: assert: The stored {{counter_one}} value is "1 item left" and the stored {{counter_two}}
Kane: Final verification failed: "The stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} value is "2 items left"." Missing stored values: counter_one, counter_two.
Root cause (automation_bug): The agent skipped the required step to read and save {{counter_two}} after adding “Two.” The screenshots show the app correctly displayed one item after the first add and two items after the second add.
Suggested fix: Update the run to read the visible counter immediately after adding “Two” and save that text as {{counter_two}} before running the final verification.
Screenshot of the failure: .theseus-feedback/round-2/counter-plural.png

Do not edit SPEC.md or reference/. Make sure the project still builds before you finish.
Agent's notestarting on http://127.0.0.1:56360/

Pluralized counter

counter-plural
  1. 2navigate: Navigate to http://127.0.0.1:56360/
  2. 3type: Typing One
  3. 4press_key: PRIMARY: Add "One" by submitting the focused new todo input
  4. 5analyze: The counter text is saved as {{counter_one}}.
  5. 6wait: Waiting after checkpoint analysis budget exhaustion (failed)
Reason
The run ended because the required checkpoint analysis could not commit within the turn budget. Missing stored values: counter_one, counter_two.
Root cause
[automation_bug] The automation spent its available analysis time at the first saved-counter checkpoint. It did not continue with adding "Two", saving the second counter, and checking both saved values.
Suggested fix
Make the checkpoint capture concise and continue immediately to the second add-and-verify sequence; reserve enough turn budget for the final assertions.
Open the Kane test run
Original, final state
Original, final state
Next.js, final state
Next.js, final state
Next.js, failing step
Next.js, failing step
1 behavior passed
  • Fresh empty view82 s

Round 3

0 of 1 passed

Started
14:32:52 UTC
Took
5 m 04 s
Diff
0 files, +0 -0
Commit
8ba33797ac9d762adab1a0f2fc6a8db1299986da
Feedback the agent received before this round
Round 3. Kane CLI ran the behaviors from SPEC.md against your app: 21 of 22 pass.

Fix the app so these behaviors pass, without breaking the ones that already pass. When Kane's root cause is an automation_bug the app may be right and the test flaky; check the screenshot before changing working code.

### Pluralized counter (`counter-plural`)

Objective: Starting from a fresh app with no items, add "One", store the counter text as 'counter_one', then add "Two" and store the counter text as 'counter_two'. Verify the stored counter_one value is "1 item left" and the stored counter_two value is "2 items left".
Failed at step 6: wait: Waiting after checkpoint analysis budget exhaustion
Kane: The run ended because the required checkpoint analysis could not commit within the turn budget. Missing stored values: counter_one, counter_two.
Root cause (automation_bug): The automation spent its available analysis time at the first saved-counter checkpoint. It did not continue with adding "Two", saving the second counter, and checking both saved values.
Suggested fix: Make the checkpoint capture concise and continue immediately to the second add-and-verify sequence; reserve enough turn budget for the final assertions.
Screenshot of the failure: .theseus-feedback/round-3/counter-plural.png

Do not edit SPEC.md or reference/. Make sure the project still builds before you finish.
Agent's notestarting on http://127.0.0.1:57365/

Pluralized counter

counter-plural
  1. 2navigate: Navigate to http://127.0.0.1:57365/
  2. 3type: Typing One into the New todo field
  3. 4press_key: PRIMARY: Add "One" by submitting the new todo entry with the Enter key
  4. 5analyze: the counter text is stored as {{counter_one}}
  5. 6type: Typing Two into New todo field
  6. 7press_key: PRIMARY: Add "Two" by submitting the new todo entry with the Enter key
  7. 8analyze: the counter text is stored as {{counter_two}}
  8. 9analyze: the stored {{counter_one}} value is "1 item left"
  9. 10assert: the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} (failed)
Reason
Final verification failed: "the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} value is "2 items left"" Missing stored values: counter_one, counter_two.
Root cause
[automation_bug] The run did not save or substitute the two counter values correctly before its final check. The screenshots show "1 item left" after adding One and "2 items left" after adding Two, so the app behavior matches the requested outcome.
Suggested fix
Fix the capture steps and final assertion so both use the same variable names, then verify the saved text immediately after each capture.
Open the Kane test run
Original, final state
Original, final state
Next.js, final state
Next.js, final state
Next.js, failing step
Next.js, failing step

Round 4

1 of 1 passed

Started
14:37:56 UTC
Took
2 m 54 s
Diff
0 files, +0 -0
Commit
143cde72fd5c277ee49109d70f57961d45d2c2ef
Feedback the agent received before this round
Round 4. Kane CLI ran the behaviors from SPEC.md against your app: 21 of 22 pass.

Fix the app so these behaviors pass, without breaking the ones that already pass. When Kane's root cause is an automation_bug the app may be right and the test flaky; check the screenshot before changing working code.

### Pluralized counter (`counter-plural`)

Objective: Starting from a fresh app with no items, add "One", store the counter text as 'counter_one', then add "Two" and store the counter text as 'counter_two'. Verify the stored counter_one value is "1 item left" and the stored counter_two value is "2 items left".
Failed at step 10: assert: the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}}
Kane: Final verification failed: "the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} value is "2 items left"" Missing stored values: counter_one, counter_two.
Root cause (automation_bug): The run did not save or substitute the two counter values correctly before its final check. The screenshots show "1 item left" after adding One and "2 items left" after adding Two, so the app behavior matches the requested outcome.
Suggested fix: Fix the capture steps and final assertion so both use the same variable names, then verify the saved text immediately after each capture.
Screenshot of the failure: .theseus-feedback/round-4/counter-plural.png

Do not edit SPEC.md or reference/. Make sure the project still builds before you finish.
Agent's notestarting on http://127.0.0.1:58244/
1 behavior passed
  • Pluralized counter86 s

Round 5

21 of 22 passed

Started
14:40:50 UTC
Took
22 m 59 s
Diff
0 files, +0 -0
Commit
606b3f10b91bbab0c138ded9dda1346aafefe7e1

First round: the agent started from SPEC.md and the reference screenshots only.

Agent's notestarting on http://127.0.0.1:58576/

Pluralized counter

counter-plural
  1. 2navigate: Navigate to http://127.0.0.1:58576/
  2. 3type: Typing One into the New todo field
  3. 4press_key: PRIMARY: Add "One" by submitting the new todo form with the Enter key
  4. 5analyze: the counter text is saved as {{counter_one}}
  5. 6type: Entering Two into the New todo text box
  6. 7press_key: PRIMARY: Add "Two" by submitting the new todo form with the Enter key
  7. 8analyze: the counter text is saved as {{counter_two}}
  8. 9analyze: the stored {{counter_one}} value is "1 item left"
  9. 10assert: the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} (failed)
Reason
Final verification failed: "the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} value is "2 items left"" Missing stored values: counter_one, counter_two.
Root cause
[automation_bug] The automation did not pass the values saved as counter_one and counter_two into the final verification. The page showed the expected counts after each item was added.
Suggested fix
Fix the capture/assertion configuration so the counter text saved after each add is inserted into the final check. Re-run while logging the saved values before the assertion.
Open the Kane test run
Original, final state
Original, final state
Next.js, final state
Next.js, final state
Next.js, failing step
Next.js, failing step
21 behaviors passed
  • Fresh empty view37 s
  • Add one todo58 s
  • Add many todos74 s
  • Clear input after add58 s
  • Ignore empty submission43 s
  • Trim surrounding whitespace55 s
  • Complete one todo80 s
  • Mark all complete81 s
  • Uncomplete all todos140 s
  • Show all filter85 s
  • Show active filter86 s
  • Show completed filter68 s
  • Update filtered list71 s
  • Save edited title99 s
  • Save edit on blur101 s
  • Discard edit with escape177 s
  • Empty edit removes todo139 s
  • Remove one todo72 s
  • Clear completed todos84 s
  • Persist todos after reopening88 s
  • Persist selected filter102 s

Round 6

0 of 1 passedRound cap reached

Started
15:03:49 UTC
Took
2 m 47 s
Diff
0 files, +0 -0
Commit
b42ddeac036c0c32ea017b1c6a58da9b8dea7839
Feedback the agent received before this round
Round 6. Kane CLI ran the behaviors from SPEC.md against your app: 21 of 22 pass.

Fix the app so these behaviors pass, without breaking the ones that already pass. When Kane's root cause is an automation_bug the app may be right and the test flaky; check the screenshot before changing working code.

### Pluralized counter (`counter-plural`)

Objective: Starting from a fresh app with no items, add "One", store the counter text as 'counter_one', then add "Two" and store the counter text as 'counter_two'. Verify the stored counter_one value is "1 item left" and the stored counter_two value is "2 items left".
Failed at step 10: assert: the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}}
Kane: Final verification failed: "the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} value is "2 items left"" Missing stored values: counter_one, counter_two.
Root cause (automation_bug): The automation did not pass the values saved as counter_one and counter_two into the final verification. The page showed the expected counts after each item was added.
Suggested fix: Fix the capture/assertion configuration so the counter text saved after each add is inserted into the final check. Re-run while logging the saved values before the assertion.
Screenshot of the failure: .theseus-feedback/round-6/counter-plural.png

Do not edit SPEC.md or reference/. Make sure the project still builds before you finish.
Agent's notestarting on http://127.0.0.1:64330/

Pluralized counter

counter-plural
  1. 2navigate: Navigate to http://127.0.0.1:64330/
  2. 3wait: queued plan (2 steps): type "New todo"; press_key "New todo"
  3. 4type: Type "One" into "New todo"
  4. 5
  5. 6press_key: PRIMARY: Add "One" by submitting the New todo field
  6. 7analyze: the counter text is stored as {{counter_one}}
  7. 8type: Typing Two into New todo field
  8. 9press_key: PRIMARY: Add "Two" by submitting the New todo field
  9. 10analyze: the counter text is stored as {{counter_two}}
  10. 11analyze: the stored {{counter_one}} value is "1 item left"
  11. 12assert: the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} (failed)
Reason
Final verification failed: "the stored {{counter_one}} value is "1 item left" and the stored {{counter_two}} value is "2 items left"" Missing stored values: counter_one, counter_two.
Root cause
[automation_bug] The test did not pass the saved counter text into its final checks. It compared placeholder names instead of the values shown by the app.
Suggested fix
Fix the capture/assertion mapping so the final checks use the actual saved values for counter_one and counter_two, then rerun the test.
Open the Kane test run
Original, final state
Original, final state
Next.js, final state
Next.js, final state
Next.js, failing step
Next.js, failing step