CaseMark makes its demo paywall stop lying to users

When a trial account runs out of credit mid-download, CaseMark now says so plainly instead of throwing a broken-document error.

workflowmulti-tenant

Demo and trial tiers run on a shared pool of credits. Until now, when a user hit that limit while opening or downloading a document, the app didn't tell them - it surfaced what looked like a missing file or a generic server error, leaving people to wonder if something was broken. CaseMark rewired the document paths so a spent budget produces a clear, honest message: this account has reached its demo credit limit, add your own key or ask the operator to reset it.

The team also stopped a raw underlying error message from leaking through to users, swapping it for one fixed, human-readable line. The same credit-limit awareness that already governed chat now follows users into document viewing and download too.

So what Worth a look if you're standing up a shared demo or trial of this codebase and need credit limits to fail visibly - not silently - across document workflows, not just chat.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

4 commits from CaseMark/mikeoss-casedotdev, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
5e899345 Surface demo budget errors for document loads kveton 2026-05-04 ↗ GitHub
c4a955e2 Tune demo usage metering kveton 2026-05-04 ↗ GitHub
57ba208c Harden document load error responses kveton 2026-05-04 ↗ GitHub
56e7f380 Merge pull request #7 from CaseMark/codex/demo-budget-document-errors Scott Kveton 2026-05-04 ↗ GitHub
Surface demo budget errors for document loads

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-33.md from inside the repo you want the changes in.

⬇ Download capture-thread-33.md