Skip to content
Theseus

Next.js full stack

Codex rebuilt AngularJS RealWorld Conduit, regrown in Next.js (App Router, TypeScript) with its own API route handlers and SQLite or file storage, from the spec and screenshots alone. Kane ran all 16 behaviors after every round and sent the failures back.

Agent
Codex default
Runs on
Browser
Final round
14 of 16 passed
Parity
13 identical, 1 diverged, 2 failed
Elapsed
18 h 23 m on 21 November 2026
Credits
478.6

Round 1

0 of 16 passed

Started
15:52:07 UTC
Took
5 m 22 s
Diff
11 files, +587 -0
Commit
39af9b9876cfe2fa89117020cdad0a78c24da255

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

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

Browse the seeded global feed

signed-out-global-feed-and-tags
    Reason
    build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
    Original, final state
    Original, final state

    Not captured on this run

    Next.js full stack, final state

    Not captured on this run

    Next.js full stack, failing step

    Keep a signed-in session after reopening

    sign-in-persists-after-reopening
      Reason
      build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
      Original, final state
      Original, final state

      Not captured on this run

      Next.js full stack, final state

      Not captured on this run

      Next.js full stack, failing step

      Reject invalid sign-in credentials

      sign-in-rejects-invalid-credentials
        Reason
        build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
        Original, final state
        Original, final state

        Not captured on this run

        Next.js full stack, final state

        Not captured on this run

        Next.js full stack, failing step

        Reject blank and whitespace sign-in details

        empty-and-whitespace-sign-in-stays-signed-out
          Reason
          build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
          Original, final state
          Original, final state

          Not captured on this run

          Next.js full stack, final state

          Not captured on this run

          Next.js full stack, failing step

          Register a new account

          sign-up-new-account
            Reason
            build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
            Original, final state
            Original, final state

            Not captured on this run

            Next.js full stack, final state

            Not captured on this run

            Next.js full stack, failing step

            Reject a duplicate username

            sign-up-rejects-duplicate-username
              Reason
              build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
              Original, final state
              Original, final state

              Not captured on this run

              Next.js full stack, final state

              Not captured on this run

              Next.js full stack, failing step

              Filter the global feed by tag

              tag-filter-lists-only-matching-articles
                Reason
                build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                Original, final state
                Original, final state

                Not captured on this run

                Next.js full stack, final state

                Not captured on this run

                Next.js full stack, failing step

                Read Markdown and seeded comments while signed out

                signed-out-article-renders-markdown-and-comments
                  Reason
                  build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                  Original, final state
                  Original, final state

                  Not captured on this run

                  Next.js full stack, final state

                  Not captured on this run

                  Next.js full stack, failing step

                  Require an account for social actions

                  signed-out-heart-and-follow-lead-to-sign-up
                    Reason
                    build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                    Original, final state
                    Original, final state

                    Not captured on this run

                    Next.js full stack, final state

                    Not captured on this run

                    Next.js full stack, failing step

                    Favorite and unfavorite an article

                    favorite-toggle-updates-count-and-profile
                      Reason
                      build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                      Original, final state
                      Original, final state

                      Not captured on this run

                      Next.js full stack, final state

                      Not captured on this run

                      Next.js full stack, failing step

                      Follow an author and update the feed

                      follow-and-unfollow-change-your-feed
                        Reason
                        build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                        Original, final state
                        Original, final state

                        Not captured on this run

                        Next.js full stack, final state

                        Not captured on this run

                        Next.js full stack, failing step

                        Show followed authors only

                        seeded-follow-feed-and-empty-feed
                          Reason
                          build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                          Original, final state
                          Original, final state

                          Not captured on this run

                          Next.js full stack, final state

                          Not captured on this run

                          Next.js full stack, failing step

                          Page through a long profile list

                          profile-pagination-shows-all-authored-articles
                            Reason
                            build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                            Original, final state
                            Original, final state

                            Not captured on this run

                            Next.js full stack, final state

                            Not captured on this run

                            Next.js full stack, failing step

                            Post and remove a comment

                            post-and-delete-own-comment
                              Reason
                              build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                              Original, final state
                              Original, final state

                              Not captured on this run

                              Next.js full stack, final state

                              Not captured on this run

                              Next.js full stack, failing step

                              Delete an owned article

                              delete-own-article-removes-it-from-feed
                                Reason
                                build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                                Original, final state
                                Original, final state

                                Not captured on this run

                                Next.js full stack, final state

                                Not captured on this run

                                Next.js full stack, failing step

                                Protect another author's article

                                cannot-edit-someone-elses-article
                                  Reason
                                  build failed: the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx. Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                                  Original, final state
                                  Original, final state

                                  Not captured on this run

                                  Next.js full stack, final state

                                  Not captured on this run

                                  Next.js full stack, failing step

                                  Round 2

                                  14 of 16 passedRound cap reached

                                  Started
                                  09:21:41 UTC
                                  Took
                                  54 m 18 s
                                  Diff
                                  3 files, +22 -1
                                  Commit
                                  c1e601f80b90ceb4c89463dca9779323782b05a3
                                  Feedback the agent received before this round
                                  Round 2. Kane CLI ran the behaviors from SPEC.md against your app: 0 of 16 pass.
                                  
                                  The app did not build or start, so no behavior could run. Fix this first:
                                  
                                  ```
                                  the app started but its reset failed: POST http://127.0.0.1:50421/__theseus/reset did not restore the seed after 2 attempts (HTTP 404: <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/f0ee638b83b57fa5.css" data-precede). Make sure the app is running and that POST /__theseus/reset restores the seed and answers 2xx.
                                  Implement POST /__theseus/reset that restores the seed in SPEC.md ("Data and reset contract") and answers 2xx in under 2 seconds.
                                  ```
                                  
                                  Keep `npm install && npm run build && npm run start` working with the PORT environment variable. Do not edit SPEC.md.
                                  Agent's notestarting on http://127.0.0.1:49417/

                                  Filter the global feed by tag

                                  tag-filter-lists-only-matching-articles
                                  1. 2navigate: Navigate to http://127.0.0.1:49417/
                                  2. 3click: Clicking Home in the top navigation
                                  3. 4click: Clicking the backend popular tag button
                                  4. 5analyze: ANALYZE(literal, 'The stored {{article_titles}} value is "Designing a follow fee
                                  5. 6assert: The selected tab is "# backend" and the stored {{article_titles}} value is "Desi (failed)
                                  Reason
                                  Final verification failed: "The selected tab is "# backend" and the stored {{article_titles}} value is "Designing a follow feed, Boring databases win"" Missing stored values: article_titles.
                                  Root cause
                                  [automation_bug] After selecting backend, the run did not collect and save the visible results. The final check therefore compared placeholder names instead of the page values.
                                  Suggested fix
                                  Update the run after the backend-tag click to read the selected tab and the two visible titles in order, save them as the required variables, and only then run the assertion.
                                  Open the Kane test run
                                  Original, final state
                                  Original, final state
                                  Next.js full stack, final state
                                  Next.js full stack, final state
                                  Next.js full stack, failing step
                                  Next.js full stack, failing step

                                  Follow an author and update the feed

                                  follow-and-unfollow-change-your-feed
                                  1. 2navigate: Navigate to http://127.0.0.1:49417/
                                  2. 3click: Clicking Sign in in the top navigation
                                  3. 4wait: queued plan (3 steps): type "Email"; type "Password"; click "Sign in"
                                  4. 5type: Type "carol@example.com" into "Email"
                                  5. 6type: Type "conduit-demo" into "Password"
                                  6. 7
                                  7. 8click: Clicking Sign in
                                  8. 9click: Clicking alice's profile link in the main feed
                                  9. 10click: Clicking Follow alice button
                                  10. 11click: Clicking Home in the top navigation
                                  11. 12click: Clicking Your Feed tab in the home feed tabs
                                  12. 13wait: PRIMARY: wait for the Your Feed tab to settle
                                  13. 14analyze: ANALYZE(literal, 'the stored {{article_titles}} value is "Favorites and counters
                                  14. 15assert: the stored {{article_titles}} value is "Favorites and counters, Pagination witho (failed)
                                  Reason
                                  Final verification failed: "the stored {{article_titles}} value is "Favorites and counters, Pagination without surprises, Markdown in article bodies, A tour of the RealWorld spec, Testing in plain English, How to retire an AngularJS app"" Missing stored values: article_titles.
                                  Root cause
                                  [automation_bug] After following Alice and opening Your Feed, the agent moved directly to an analysis of the final check text. It did not collect the article titles shown on the feed and store them in article_titles, so the final comparison had no saved value to compare.
                                  Suggested fix
                                  Update the run to read every visible article title on Your Feed in order, save the comma-separated result as article_titles, and only then perform the final verification.
                                  Open the Kane test run
                                  Original, final state
                                  Original, final state
                                  Next.js full stack, final state
                                  Next.js full stack, final state
                                  Next.js full stack, failing step
                                  Next.js full stack, failing step
                                  14 behaviors passed
                                  • Browse the seeded global feed45 s
                                  • Keep a signed-in session after reopening65 s
                                  • Reject invalid sign-in credentials101 s
                                  • Reject blank and whitespace sign-in details109 s
                                  • Register a new account62 s
                                  • Reject a duplicate username63 s
                                  • Read Markdown and seeded comments while signed out157 s
                                  • Require an account for social actions163 s
                                  • Favorite and unfavorite an article153 s
                                  • Show followed authors only131 s
                                  • Page through a long profile list65 s
                                  • Post and remove a comment122 s
                                  • Delete an owned article182 s
                                  • Protect another author's article74 s