Built with Kane CLI · Kane CLI Online Hackathon

Release checks for the people who come back.

Browser tests start with an empty profile, so they only meet new users. Returner rehearses each release as a new user and as a returning user with yesterday's saved work, in real Chrome via Kane CLI. When the returning user breaks, a coding agent repairs it, and Kane replays the exact same saved profile to decide.

Try it live in your browser →RepositoryWatch the video (4 min)

examples/pkimm/run.sh codex · recorded
A recorded 20-minute run, condensed: the returning user fails on a blank page, Codex patches it, and Kane's replay from the same saved profile passes
One real, uninterrupted 20-minute repair, condensed to 15 seconds. Kane fails the returning user, Codex patches, Kane's replay passes.
2real regressions reproduced
6closed loops: fail → patch → pass
1clean real upgrade confirmed
0agent self-grading: Kane's replay decides

Real regression · shipped in a release

PKI Consortium self-assessment

Assessment model 1.0.0 → 1.1.0 · pkic/self-assessment#148 · repaired by Claude Code

The loop's own replay of this patch came back inconclusive: Kane read the instruction "fail immediately without typing" as an order to stop. The check was reworded as a plain read-only rule with the same requirements, and the patch was replayed by hand from the same saved profile. The patch also treats every unversioned save as a 1.0.0 save, so users who first saved on the shipped 1.1.0 release could lose an answer. For a loop with no human step, see the uninterrupted Codex run below.

  1. 1

    Returning user fails

    Kane's final screenshotKane's screenshot

    Console: Cannot read properties of undefined (reading 'result')

  2. 2

    Kane's finding goes to the agent

    The page tries to read a result that is not available during startup. This stops the page from displaying the Report, Governance, Management, and Resources tabs. Fix the…
    Kane's full finding

    The page tries to read a result that is not available during startup. This stops the page from displaying the Report, Governance, Management, and Resources tabs. Fix the startup path so it checks that the required result exists before reading it, then reload and verify that the saved assessment and all tabs appear. evidence: console_error: Cannot read properties of undefined (reading 'result')

    Plus the unchanged objective and the release promise. The agent edits a disposable copy only.

  3. 3

    Claude Code's patch

    src/components/Assessment/Assessment.tsx
    src/utils/migrateProgress.test.ts
    src/utils/migrateProgress.ts

    const KEYS_FROM_100: Record<string, string> = {
      "M.5": "M.6",
      "M.6": "M.7",
      "O.15": "O.10",
      "O.13": "O.11",
      "O.7": "O.12",
      "O.12": "O.13",
      "R.10": "R.14",
      "R.11": "R.15",
    … 48 more added lines
  4. 4

    Replay from the same saved profile passes

    Kane's final screenshotKane's screenshot

    Reviewed the Report, Governance, Management, and Resources tabs without changing any information. Confirmed the Report tab showed Assessment Name “Returner-5ff8dd89” and…

Recorded run · 20 min 6 s · fixed on attempt 1

The same regression, one uninterrupted run

Assessment model 1.0.0 → 1.1.0 · pkic/self-assessment#148 · repaired by Codex

  1. 1

    Returning user fails

    Kane's final screenshotKane's screenshot

    Console: Cannot read properties of undefined (reading 'result')

  2. 2

    Kane's finding goes to the agent

    The page hit an error while starting and did not display the assessment interface or its tabs. Fix the startup error that reads an undefined result, then reload the asse…
    Kane's full finding

    The page hit an error while starting and did not display the assessment interface or its tabs. Fix the startup error that reads an undefined result, then reload the assessment and confirm that the tabs and saved assessment data appear. evidence: console_error: Cannot read properties of undefined (reading 'result') evidence: console_error: Cannot read properties of undefined (reading 'result')

    Plus the unchanged objective and the release promise. The agent edits a disposable copy only.

  3. 3

    Codex's patch

    src/components/Assessment/Assessment.tsx
    src/types/types.ts
    src/utils/restoreProgress.ts

    const previousKeys: Record<string, string> = {
      "M.6": "M.5", // Key management
      "M.7": "M.6", // Certificate management
      "O.10": "O.15", // Resilience
      "O.11": "O.13", // Automation
      "O.12": "O.7", // Interoperability
      "O.13": "O.12", // Monitoring and auditing
      "R.14": "R.10", // Sourcing
      "R.15": "R.11", // Knowledge and training
    … 56 more added lines
  4. 4

    Replay from the same saved profile passes

    Kane's final screenshotKane's screenshot

    Reviewed the Report, Governance, Management, and Resources sections without changing any values. Confirmed the assessment name is “Returner-433e1172” and the assessor na…

Two-profile holdout · attempt 2 + fresh rehearsal

PKI Consortium #148: two-profile holdout check

Assessment model 1.0.0 → 1.1.0 (Profile A 3/4/2 + holdout Profile B 5/1/4) · pkic/self-assessment#148 · repaired by Codex

Verified at commit c752cc7. Profile B's saved snapshot and expected answers (5 / 1 default / 4) stayed outside Codex's workspace and prompts. Attempt 1 migrated the data but failed Kane's Governance checkpoint on non-semantic level divs; attempt 2 added accessible radio inputs and passed Profile A, holdout Profile B, and a fresh rehearsal. A separate deliberate negative control (an incomplete 3 / 4 / 2 patch) passed Profile A, failed Profile B on Sourcing, and was rejected overall (exit 1).

  1. 1

    Returning user fails

    Kane's final screenshotKane's screenshot

    Console: Cannot read properties of undefined (reading 'result')

  2. 2

    Kane's finding goes to the agent

    The page hits an error while starting up and never displays the assessment interface. Fix the startup path that reads the missing result value, then reload and confirm t…
    Kane's full finding

    The page hits an error while starting up and never displays the assessment interface. Fix the startup path that reads the missing result value, then reload and confirm that the Report, Governance, Management, and Resources tabs render with the saved assessment. evidence: console_error: Cannot read properties of undefined (reading 'result')

    Plus the unchanged objective and the release promise. The agent edits a disposable copy only.

  3. 3

    Codex's patch

    src/components/Assessment/Assessment.tsx
    src/components/Category/Category.module.scss
    src/components/Category/Category.tsx
    src/components/Module/Module.module.scss
    src/components/Module/Module.tsx
    src/types/types.ts
    src/utils/assessmentProgress.ts

        let initialData: AssessmentData | null = null;
        initialData = yamlParser(yamlText) as AssessmentData;
        setProgress(restoreProgress(initialData, decodedProgress));
        setProgress(restoreProgress(initialData));
        const {
        progress,
        modelVersion,
        assessmentName,
        assessorName,
    … 142 more added lines
  4. 4

    Replay from the same saved profile passes

    Kane's final screenshotKane's screenshot

    Completed the requested read-only review by reloading the page and opening the Governance, Management, and Resources tabs. Confirmed on the Report tab that the assessmen…

Real regression · caught by its maintainers before release

Rackula rack designer

v0.6.16 → v0.7.0 development build · RackulaLives/Rackula#935 · repaired by Codex

  1. 1

    Returning user fails

    Kane's final screenshotKane's screenshot

    Console: Cannot read properties of undefined (reading 'map')

  2. 2

    Kane's finding goes to the agent

    The run navigated to the app and immediately checked the canvas. The screenshots show Devices selected and Racks available but not selected, so the saved rack was never …
    Kane's full finding

    The run navigated to the app and immediately checked the canvas. The screenshots show Devices selected and Racks available but not selected, so the saved rack was never looked for in its intended view. Update the check to open the Racks view, wait for the rack list or canvas to load, and then verify that Returner-ef5cab08 is present. Investigate the startup console exception separately if it still occurs after the correct view is opened.

    Plus the unchanged objective and the release promise. The agent edits a disposable copy only.

  3. 3

    Codex's patch

    src/lib/schemas/index.ts
    src/lib/utils/session-storage.ts

        const saved = JSON.parse(serialized);
        if (Array.isArray(saved?.racks)) {
        return saved as Layout;
        }
        return LayoutSchema.parse(saved) as Layout;
      const migratePositions =
        (!data.racks?.length && !!data.rack) ||
        needsPositionMigration(data.version, allDevices);
  4. 4

    Replay from the same saved profile passes

    Kane's final screenshotKane's screenshot

    Verified that the existing rack named “Returner-ef5cab08” is displayed on the canvas. The requested rack was present successfully.

Our fixture · server-rendered, proxied at one origin

Quillpad: a running server app

v1 → v2, draft cookie format changed · repaired by Codex

Our own fixture, not an upstream bug: the first case where Returner proxies a running server instead of serving a static build. The agent also received the app server's stack trace. One uninterrupted run, and a fresh rehearsal with a new marker confirmed the patch.

  1. 1

    Returning user fails

    Kane's final screenshotKane's screenshot

    Server: SyntaxError thrown in decode (server.mjs:8), answered as 500

  2. 2

    Kane's finding goes to the agent

    The service behind the draft application failed while loading the home page, so no drafts could be displayed or checked. Restore the draft application's server response,…
    Kane's full finding

    The service behind the draft application failed while loading the home page, so no drafts could be displayed or checked. Restore the draft application's server response, then rerun the check to verify that the existing draft can be opened, edited, saved, and reloaded. evidence: network_failure: GET http://127.0.0.1:62980/ -> 500 body: Internal Server Error evidence: console_error: Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    Plus the app server's stack trace, the unchanged objective and the release promise. The agent edits a disposable copy only.

  3. 3

    Codex's patch

    server.mjs

    function decode(cookie) {
      const json = cookie.startsWith("%7B")
        ? decodeURIComponent(cookie)
        : Buffer.from(cookie, "base64url").toString("utf8");
      return JSON.parse(json);
    }
  4. 4

    Replay from the same saved profile passes

    Kane's final screenshotKane's screenshot

    The requested existing draft “Returner-2c92570a” was opened. Its title and body, “Saved work da2179c2-e71,” were visible, confirming that the draft already existed. The …

Our fixture · storage key deliberately renamed

Fieldnotes

v1 → v2 · repaired by Codex

  1. 1

    Returning user fails

    Kane's final screenshotKane's screenshot

    Checked editor fields after loading; both are blank and no existing requested draft is available.

  2. 2

    Kane's finding goes to the agent

    The test started with no saved draft matching the required title and body. The available evidence shows only an empty editor and does not prove that the application dele…
    Kane's full finding

    The test started with no saved draft matching the required title and body. The available evidence shows only an empty editor and does not prove that the application deleted or failed to load an existing draft. Restore or seed the draft titled "Returner-109aa5d9" with body "Saved work a3785da8-06a" before rerunning the check.

    Plus the unchanged objective and the release promise. The agent edits a disposable copy only.

  3. 3

    The fix (as committed in the fixture)

    draft.js

    const saved = JSON.parse(
      localStorage.getItem(key) ?? localStorage.getItem("fieldnotes.v1") ?? "null",
    );
  4. 4

    Replay from the same saved profile passes

    Kane's final screenshotKane's screenshot

    Opened the existing draft titled “Returner-109aa5d9.” Confirmed that its original body was “Saved work a3785da8-06a,” then appended “ EDITED” and saved it. Reloaded the …

Clean upgrade · unmodified upstream builds

DeckMark v2.5.3 → v2.5.4

An open-source Markdown editor: the returning user's note survives

Kane's final screenshot

Opened the existing note containing “Returner-ec2ac13a” without recreating its content. Confirmed the note still included “Saved work 366a4528-040”, then appended “EDITED” and allowed the change to save. Reloaded the note and confirmed that “Returner-ec2ac13a…