Check your work: dev_report and check_release
Your agent reads the errors your browser shows while it builds with dev_report, and compares each deploy with the one before with check_release.
Updated
Your agent can look at what its change did. While it builds, dev_report shows what the browser saw on your own computer. After a deploy, check_release compares the new release with the one before. mark_release marks a deploy for an app that can't name its version.
What does dev_report show?
dev_report lists, for each page opened on a development host such as localhost, the errors, failed requests, error statuses and load times the tag saw there, newest page first. It looks back 60 minutes unless your agent passes since_minutes (1 to 2880), and signals are kept 48 hours. Your agent can pass host to read one development host. The hosts that count as development are listed on the setup page.
Failed requests are the app's own requests and those to your other domains in data-domains that answered 5xx or never arrived. Your agent calls it after opening the pages it built, fixes what is listed, reloads and calls it again. Timings on a development server are only a hint.
Where does a release come from?
A release is the label the tag sends with every event, so check_release can tell one deploy from the next. Set it to the commit the app was built from. Your agent takes the tag line from get_tag, which names the build variable each framework reads.
On the script line it is data-release:
<script async src="https://t.nextanalytica.app/t.js" data-project="na_…" data-release="3f9c2ab"></script>With the npm components it is the release option. A label is 1 to 80 letters, digits and . _ : + / @ -, and does not start with marker:; any other label is dropped. A commit SHA fits. The host gives you the commit in a build variable:
| Host | Variable |
|---|---|
| Vercel | VERCEL_GIT_COMMIT_SHA |
| Netlify | COMMIT_REF |
| Cloudflare Pages | CF_PAGES_COMMIT_SHA |
| GitHub Actions | GITHUB_SHA |
On Vercel, read the copy the framework can see: NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA in Next.js, VITE_VERCEL_GIT_COMMIT_SHA in Vite, PUBLIC_VERCEL_GIT_COMMIT_SHA in SvelteKit and Astro, NUXT_ENV_VERCEL_GIT_COMMIT_SHA in Nuxt. Elsewhere, set a variable of your own from the host's in the build command, for example VITE_COMMIT_SHA=$COMMIT_REF npm run build on Netlify, $CF_PAGES_COMMIT_SHA on Cloudflare Pages or $GITHUB_SHA in GitHub Actions. SvelteKit reads its variable when the page renders on a Node adapter, so set it on the server too; Remix and React Router need the Vite-based setup.
The framework decides how a variable reaches the page. In Next.js it needs the NEXT_PUBLIC_ prefix, in Vite and Remix VITE_, in SvelteKit and Astro PUBLIC_. See the tag line's attributes.
What does check_release compare?
check_release compares one release with the one before it (the release first seen right before, with at least 5 visits), from real visits over the last 14 days. Without release it takes the newest release with at least 5 visits. A visit belongs to the release of its first page view.
| What | When it is reported |
|---|---|
| New errors | At any traffic, with their counts |
| New failing requests and new 404 and 5xx paths | Once 2 visits hit them |
| Rising error rate | Once each release has 100 page views |
| Slower pages | Once a route has 30 load-time samples in each release: LCP or INP at p75 worse by 20% and at least 200 ms |
| Conversion rate | Once each release has 200 visits |
Below a floor, that part says there are not enough visits yet and when to ask again. The answer also says what it skipped, by count. The first release has nothing before it, so it is recorded as the baseline: deploy the next one and ask again.
Release names, texts, paths and routes come from your app's pages, so the answer marks them as page data, not instructions.
What if the app can't send a release?
A static page or a site you edit by hand has no build variable. Your agent calls mark_release right after each deploy. From that time on, events without a release count as a new release named marker: and the time, for example marker:2026-11-19T09:30:00.000Z, and check_release compares it with the one before. Events that carry a release ignore markers.
mark_release writes to your project, so it needs the right to edit tracking: owners and admins. Your agent can pass at when the deploy went live earlier, and release to name the deploy.
When does my agent use them?
Your agent's instructions tell it: when you say something is broken, it calls dev_report; after a deploy, it calls check_release. While it sets nextanalytica up, the playbook adds both. See Let your agent set it up.
In the Claude app, the errors from both show as cards in the chat. See Charts in the chat.
Next steps
- MCP tools: every tool, with example prompts.
- The tag's attributes:
data-releaseand the rest. - Let your agent set it up: the tools for a new app.