StaleTab uses Kane CLI to prove a web app survives its own deploy — catching stale-tab writes that look “Saved” but silently corrupt data.
StaleTab is a zero-dependency Node CLI that verifies a dangerous post-deploy case: a browser tab opened before a deploy keeps old JavaScript in memory, then submits after the server has changed. Instead of trusting UI success, StaleTab runs a real Kane browser flow, reads a server-side ledger, and returns a machine-readable verdict: PASS, FAIL stale_write, FAIL chunk_crash, or ERROR (exit 2 = nothing proven).
How they talk: StaleTab invokes kane-cli run ... --agent --headless, captures Kane’s NDJSON run_end browser evidence, then combines it with the server ledger to issue a verdict. On FAIL, it sends a repair packet (objective, ledger diff, Kane evidence) to an agent fix command on stdin; the agent patches the app, and StaleTab reruns the same Kane objective for verification. What Kane caught: Kane drove a stale v1 tab through deploy and clicked Save — the UI showed “Saved”, but the ledger proved silent corruption: clientBuild:v1, serverBuild:v2, stale:true, accepted:true, lost:[tags,body-formatting] (FAIL stale_write). After the fix, Kane verified the safe flow: stale save refused, draft preserved, reload, resubmit on v2 succeeded (PASS).
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →