Comb & Calm
Admin guide

How to use the admin tool

For someone opening it for the first time. Read top to bottom once; after that it’s reference.

New here? Read these three, skip the rest

About ten minutes. Everything below them is reference — look it up when you need it, not now.

  1. 1
    Getting in

    How to get an account and what to do when a page refuses you.

  2. 2
    Finding your way around

    What the screen is made of. Two minutes, and the rest stops feeling arbitrary.

  3. 3
    Operations for your desk

    Open the group matching your job — support, billing, success, safety, data or platform. Read those. Leave the others.

What this tool is

The admin console for Comb & Calm, the lice-screening app. It runs on the live API — not a copy, not a nightly report. What you change here changes for the user.

Support users

Users · Flagged Accounts · Credits · Audit Log

Operate the store

Transactions · Subscriptions · Store Events

Improve the model

Scans · Training Images · Corrections

Watch the system

Telemetry · Event Explorer · Notifications

Most people need one of those four. Your role decides which, and the sidebar shows you only that part.

Getting in

From having nothing to being able to work.

  1. Ask an admin for a role

    A mobile-app account gives you nothing here. Ask for the role that matches your job, not for admin — narrow is easier to approve.

  2. Sign in with the same email and password

    There is no separate admin password. If sign-in itself fails, the problem is the account, not your access level.

  3. You land where your role can read

    Dashboard for most roles, Telemetry for a read-only client. Nobody is dropped on a page they'll be denied.

  4. A denial names what to ask for

    “You need view_corrections” is a request an admin can action. Ask for the capability, not the role.

  5. Everything you do is logged

    Credits, refunds, suspensions, exports — all written to the Audit Log with your name. It protects you as much as it constrains you.

Finding your way around

Every page sits in the same frame.

1
Sidebar, grouped by job
Lists only what your role can open, so two people's sidebars differ.
2
Your account
Email, current roles, and sign out. The fastest way to check what you hold.
3
Guide and theme
This page, from anywhere. Light, dark, or follow the system.
4
The page itself
Filters on top, sortable columns, server-side paging. Counts describe the whole filtered set, not the page.

The pages

In sidebar order, each with the capability it needs. You will not see all of them — that is expected.

Overview

Dashboardview_users

The morning check — is anything on fire, and did yesterday look normal?

What you can do

  • Skim the four tiles: users, 7-day revenue, scans today, open alerts.
  • Click any tile to open the full list behind it.
  • Scan the recent audit entries and flagged accounts for anything unexpected.
  • Watch out — Revenue is never summed across currencies — the tile shows one currency and lists the rest underneath. Two currencies added together would be a meaningless number.
Open this page

Support & Ops

Usersview_users

The starting point for almost every support ticket — find the person, then work from their detail page.

What you can do

  • Search by email, or paste a full user id to open an account.
  • Tell guests apart with the Guest and User ID columns. A guest has no email, so its id is the only handle you have.
  • From the detail page: view the credit ledger, grant or adjust credits, change roles, suspend or reactivate.
  • Watch out — Synthetic test accounts (example.com, test.com, yopmail.com) are hidden by default. If a teammate says "I can't find the account I just made", turn on the Test accounts toggle. Guests are never hidden by it.
  • Watch out — One person can own several accounts: their signed-in account, plus a guest on any other device where they never signed in. A missing purchase is often sitting on that guest.
  • Watch out — Suspending revokes the user's sessions immediately. You cannot suspend yourself or a bootstrap admin.
Open this page
Flagged Accountsview_users

Accounts the system auto-flagged for excess refunds or a negative balance — a queue to investigate, not a punishment.

What you can do

  • Open a flag to see why it fired and who it belongs to.
  • Suspend the account from the user detail page if the pattern is real abuse.
  • Watch out — A flag suspends nothing on its own — it is informational. Someone still has to act.
  • Watch out — Flags age out of a rolling 90-day window, so the count can drop without anyone touching the account.
Open this page
Audit Logview_users

Answer "who changed this, and when?" — security and account events, newest first.

What you can do

  • Confirm an admin action really happened (a grant, a role change, a suspension).
  • Reconstruct the order of events when a user's story and the data disagree.
  • Watch out — Read-only by design. Entries are never edited or deleted.
Open this page

Billing

Transactionsview_users

Every store transaction across the App Store and Google Play — and where refunds are issued.

What you can do

  • Verify a purchase the user says they made.
  • Search by email, user id or store transaction id. The transaction id is on the customer's Apple or Google receipt.
  • Refund a transaction.
  • Watch out — Refunds are issued here, not on the Credits page — Credits adjusts the in-app balance, which is a different thing from money moving back to a card.
  • Watch out — Refunding does NOT return money by default. It deducts the credits and marks the purchase refunded, and nothing happens at the store. Money only moves if you also tick “refund at store”, and that is Google-only.
  • Watch out — Apple cannot be refunded from here at all — Apple publishes no developer refund API. The customer has to ask Apple via reportaproblem.apple.com.
  • Watch out — A purchase is credited to the account signed in on the device that bought it, not to the Apple ID or Google account that paid. The same payer can show up under their email and under a Guest row. Search the transaction id from their receipt rather than only their email.
Open this page
Subscriptionsview_users

Who currently holds Unlimited, what state their subscription is in, and when it renews.

What you can do

  • Check whether a user is actually entitled before granting credits as a workaround.
  • Spot subscriptions that lapsed without cancelling.
  • Watch out — A `lapsed` badge means the store still reports the subscription as active but the paid period has ended — the user is NOT entitled. Trust the badge, not the raw status.
Open this page
Creditsgrant_credits

Make a user's scan balance right — a goodwill grant, or a correction when something was charged wrongly.

What you can do

  • Find a user (or arrive from their detail page) and read the ledger.
  • Grant credits, or post a signed adjustment to take back an over-grant.
  • Watch out — Grant only adds. To remove credits use adjust with a negative amount — it records a signed ledger entry, so the history stays auditable.
  • Watch out — This does not touch money. Refunds are on Transactions.
Open this page
Store Eventsview_users

The IAP webhook archive and failed queue — where a purchase that never landed is diagnosed.

What you can do

  • Filter to failed to see what failed.
  • Open an event ID for the raw store payload.
  • Requeue a failed event once the underlying cause is fixed.
  • Replay a failed app receipt (channel receipt, type purchase) after a server fix, instead of waiting for the user to reopen the app.
  • Watch out — Retry replays the store's original payload. If the failure was bad data rather than a transient error, it will simply fail again — fix the cause first.
  • Watch out — One charge makes two rows: a webhook (the store telling us) and a receipt (the app submitting it). Either can credit a one-time pack: the webhook does when the purchase is bound to an account. A failed receipt does NOT mean nobody was credited — search the transaction id on Transactions before granting anything.
  • Watch out — Replay re-runs every check on the stored receipt and credits the account that submitted it. It runs immediately rather than queueing, and a purchase already on file grants nothing, so it cannot double-credit.
  • Watch out — Attempts shows — for app receipts: they are never retried automatically, so a failed one stays failed until you replay it or the app submits it again.
Open this page

ML Data

Scansview_scan_images

Look at real scans and the decision the cascade reached — the fastest way to understand a complaint about a result.

What you can do

  • Filter to one owner to see everything a specific user submitted.
  • Open a scan for the image viewer and per-stage decisions.
  • Download a scan's images when analysing a false positive.
  • Watch out — Thumbnails are the blurred display copy, never the raw image. Raw access is a separate capability (`view_raw_scan_image`) and no page renders it today.
Open this page
Training Imagescurate_training_data

The consented corpus that model training draws from, and where an export is produced.

What you can do

  • Review which images are training-eligible.
  • Export a training set — a decision-partitioned zip with a manifest.csv, delivered as a short-lived link.
  • Watch out — Consumer accounts with training consent only. Staff and patient imagery is excluded at the query level, so a missing image is usually consent, not a bug.
  • Watch out — Export links expire. Re-request rather than re-sharing an old URL.
Open this page
Correctionsview_corrections

Where the lice center tells us the model was wrong — the highest-signal input we have for improving it.

What you can do

  • Filter to disagreements to see only the cases where an expert overrode the model.
  • Search by expert email or note text.
  • Click an image to zoom.
  • Watch out — Search runs on the server across the whole set, so the result count is the true total — not just matches on the page you are looking at.
Open this page

Analytics

Telemetryview_telemetry

The one page that answers "is the system healthy, and is the AI behaving?" without reading a database.

What you can do

  • Overview — system health, scan volume, recent failures, crashes.
  • Growth — active users, retention, and the monetization funnel.
  • App events — what the app is reporting from real devices.
  • AI — how the cascade is deciding and how fast each model responds.
  • Watch out — Every panel is scoped to the selected date range. A number that dropped may just be a shorter window.
  • Watch out — Queue depth alone is not a problem — a burst drains. A long wait is the signal that the scan worker has stopped keeping up.
  • Watch out — This is aggregate-only. To see individual rows, use the Event Explorer.
Open this page
Event Explorerview_users

Drill past the summary charts — compare events over time, then read the exact rows the app sent.

What you can do

  • Pick two or more events to compare on one time series.
  • Narrow the time range, then open the raw rows to see the props the charts cannot show.
  • Watch out — Requires `view_users`, not `view_telemetry` — raw rows carry user_id, device_id, session_id and arbitrary props, so it sits behind the stricter gate even though it lives under Analytics.
Open this page
Notificationsmanage_notifications

Compose and broadcast in-app and push notifications, and watch whether they were delivered.

What you can do

  • Send a broadcast to a targeted audience.
  • Review recent broadcasts and 7-day delivery activity.
  • Watch out — A broadcast reaches real people on their phones and cannot be recalled. Check the audience twice.
Open this page

Operations

The page list above says what each screen is. These say what to do when a ticket lands. Steps are in order — where order matters, the note says why. read steps only look; write steps change something and land in the audit log under your name.

How a payment becomes credits

Three hops, and each one is a different place to look. The money never touches us.

Customer pays
Apple / Google

The money never touches us. The store holds it.

Store tells us
Store Events

A webhook. This is the half that fails, and where a missing balance almost always is.

We grant credits
Transactions · Credits

Only now does the balance move.

What this tool can do at each store

Apple and Google are not symmetric, and the difference is theirs, not ours. Read this before promising a customer anything.

ActionAppleGoogle
Give the customer their money backNot from here. The customer asks Apple at reportaproblem.apple.comNot from here. You do it in Google Play Console
Take the credits back in the appYes, press Refund on TransactionsYes, press Refund on Transactions
Stop a subscription renewingNot from here. The customer does it in their own iPhone settingsYes, press Cancel on Subscriptions
Deliver credits for a purchase that paid but never arrivedYes, press Retry on Store EventsYes, press Retry on Store Events
Apple refunds — what to tell the customer

We cannot refund an App Store purchase from any tool, at any permission level. Apple is the merchant of record, so the refund is theirs to give. Send these steps.

  1. 1
    Go to reportaproblem.apple.com

    Sign in with the Apple ID that made the purchase — not necessarily the email on their Comb & Calm account.

  2. 2
    Choose “I'd like to” → “Request a refund”

    Pick a reason from the list, then Next.

  3. 3
    Pick the purchase, then Submit

    Only purchases from the last 90 days are listed.

  4. 4
    Wait 24–48 hours for a decision

    Money can take up to 30 days more to appear on the statement.

  5. 5
    If denied, appeal

    Same site → “Check Status of Claims” → submit a new explanation. Generally possible within 14–30 days of purchase.

  • Note — Refunds are not guaranteed. App Store purchases are final; Apple may grant one as a goodwill decision, and it decides alone.
  • Note — No role in App Store Connect can issue a refund. This is Apple being the merchant of record, not a permission we are missing — so never tell a customer we will refund an Apple purchase.
  • Note — Cancelling a subscription is a different thing and the user does it themselves: Settings → their name → Subscriptions. It stops the next charge and refunds nothing.
  • Note — We can still take the credits back on our side while Apple considers it. Do that only if you expect the refund to be granted — otherwise the customer loses both.

Customer support

“I can't sign in”

A reset email not arriving, or sign-in failing on a device that used to work.

view_users
  1. Users — Open the account. Check it is not suspended and the email matches what they typed.
  2. Users → Security — Check which sign-in providers are linked before doing anything.

    If they signed up with Apple or Google they have NO password. A reset email will not help them and will waste a round trip.

  3. Users — Send a password reset. They receive the same OTP as self-serve “forgot password”.

    You never see or set the password. The user completes it themselves, which is why this is safe to do on a phone call.

  • Watch out — Sign-in is asymmetric on purpose: Apple on iOS, Google on Android. Someone who changed phone platform cannot reach their old account through the button they now see.
  • Watch out — Test-domain accounts (example.com, test.com, yopmail.com) are hidden on Users by default. Turn on the Test accounts toggle before concluding an account does not exist.
Stolen device, or activity the user did not perform

A user reports a lost phone, or sees scans they did not run.

view_users
  1. Users → Sessions — List active sessions and identify the one that should not be there.
  2. Users → Sessions — Revoke that ONE session if you can identify it. Revoke all if you cannot.

    Single-session revoke keeps the user signed in everywhere else — much kinder for a lost tablet than logging them out of their phone too.

  3. Users — Send a password reset if the account itself may be compromised, not just the device.
  • Watch out — Revoking sessions does NOT suspend. The user stays active and simply signs in again — which is what you want for a stolen device.
  • Watch out — Suspending is not the tool for this. It blocks the real owner too. See Trust and safety.
“My scan never finished”

A scan sitting in analyzing for far longer than a minute or two.

grant_creditsview_scan_imagesview_telemetry
  1. Scans — Open the scan by id. Read its status and which cascade stage it reached.
  2. Telemetry → AI — Check whether the model servers are healthy right now.

    One stuck scan is usually the user's connection. Several at once is the cascade, and the fix is not per-scan.

  3. Credits — If it died on our side, grant the credit back and name the scan id in the reason.

    Nobody should pay for our outage. One credit, and being visibly quick about it, is the cheapest goodwill available.

  • Watch out — A terminal UNDECIDED verdict is NOT a failure. The cascade ran and could not tell, and it charges normally. Do not refund it as an error without checking the current policy.
A customer says the result is wrong

A user or a clinic disagrees with what a scan reported.

grant_creditsview_correctionsview_scan_images
  1. Scans — Open the scan and read the verdict together with the confidence for each stage.

    Low confidence at the deciding stage is the usual explanation, and it is often enough to answer the customer honestly.

  2. Corrections — Search for this scan to see whether one of our experts has already looked at it and disagreed.
  3. Credits — If you accept the result was wrong, return the credit and name the scan in the reason.

    This is the only action available to you here. Say what you refunded and why, so the next person reading the account understands it.

  • Watch out — You cannot re-run a scan from this tool, and there is no way to change a verdict a customer has already seen. If they want another answer they have to run a new scan.
  • Watch out — A result of “could not tell” is not a mistake — the check ran and was not confident enough to call it. It is charged normally.
  • Watch out — Photographs are blurred everywhere in this tool. The unblurred originals are only reachable by exporting a scan, which is a separate permission held by very few people.

Billing and finance

“I paid but my credits never arrived”

A user has a store receipt and a balance that did not move.

grant_creditsview_users
  1. Users — Search the email and open the account.
  2. Transactions — Search the transaction id from their receipt, not just their email, and read the row's status and User.

    If the row belongs to a Guest, they paid from a device where they were not signed in. The credits are real; they are on that guest account.

  3. Store Events — Find the rows for that transaction. Filter to failed first — that is where it usually is.

    Paying and being credited are two separate steps. The app's receipt (channel receipt) normally grants the credits; the store's webhook also credits a purchase the app never submitted, when it is bound to an account. Check Transactions first: if a row exists, someone was credited.

  4. Store Events — Retry the event (Replay, for a failed receipt), then re-check the balance.

    Retry replays exactly what the store sent, so the balance lands exactly where the purchase entitled it. Always try this before granting by hand. A receipt that is still rejected stays failed and tells you why.

  5. Credits — ONLY if retry keeps failing: grant the matching amount and put the transaction id in the reason.

    A manual grant breaks the link between money and credits. Without the transaction id, nobody can later tell this apart from goodwill.

  • Watch out — Never grant first and retry after. If the retry then succeeds the user is credited twice, and the second grant is invisible on Transactions.
  • Watch out — Retry replays the SAME payload. If it failed on bad data rather than a blip it will fail again — open the event and read it before retrying a third time.
  • Watch out — A sandbox purchase produces a real store event and no real money. Check the environment before granting anything.
A customer wants their money back

A refund request by email or phone.

grant_creditsview_users
  1. Transactions — Find the purchase. Note which store it came from and copy the store transaction id.

    Apple and Google work differently from here, so the store decides what you do next.

  2. Users, then Credits — Check how many of those credits the customer has already used.

    If they have spent them, taking the credits back leaves the balance below zero. That is allowed, but decide it on purpose.

  3. Transactions — Press Refund. This takes the credits back inside the app and marks the purchase refunded.

    It does not send any money, and there is no setting on this screen that does. Money is returned at the store, in the next step.

  4. Google Play Console — For a Google purchase, open Play Console and refund the order there. That is what actually returns the money.
  5. App Store Connect — For an Apple purchase, you cannot return the money. Send the customer to Apple using the steps in the card above.
  • Watch out — The Refund button does not return money. It only takes the credits back. If you stop there, the customer has paid, has no credits, and will write to you again. This is the most common mistake on this page.
  • Watch out — Only Apple can refund an Apple purchase, and only after the customer asks. Never promise a customer you will refund one.
  • Watch out — If the customer already used the credits, the balance goes below zero and the account is flagged for review. That is expected, not a fault.
  • Watch out — Apple and Google sometimes refund on their own and tell us afterwards. Check Transactions first, or you may take the credits twice.
Return the money at Apple or Google

You have decided the customer should be paid back, and you have already taken the credits back in the app.

view_users
  1. Transactions — Copy the store transaction id and check which store it is.
  2. Google Play Console — Open Order management, search that id or the customer email address, and refund it. Tick revoke if they should also lose access.

    This is the only place a Google refund really happens. Refunding the newest order of a subscription also ends the subscription straight away.

  3. App Store Connect — For Apple there is no refund button anywhere. App Store Connect lists refunds afterwards for your accounts and nothing more.
  • Watch out — No App Store Connect role can refund, the account owner included. Apple takes the payment, so only Apple can give it back.
  • Watch out — Google will not refund an order more than three years old, and there is no way around it.
  • Watch out — If you refund in Play Console without ticking revoke, the app is never told and the credits stay. Take them back on Transactions yourself.
A bank chargeback arrived before the store did

Finance sees a reversal on a card that our records still show as a good purchase.

view_users
  1. Transactions — Find the purchase and confirm its status is still not refunded.
  2. Store Events — Check whether a voided-purchase event is already queued. If it is, let it land rather than racing it.
  3. Transactions — Press Refund to take the credits back.

    The bank has already returned the money. This just makes the app agree with what happened.

  • Watch out — If the store later sends its own refund message, the credits are not taken twice. That is why it is safe to act now rather than wait.
A customer wants to cancel their subscription

A cancellation request that did not go through the store.

view_users
  1. Subscriptions — Find the subscription and check the badge. Very often they have already cancelled it themselves and simply want reassurance.

    A lapsed badge means the store still calls it active but the paid period has ended, so the customer is no longer entitled.

  2. Subscriptions — There is no cancel button in this tool. Cancelling always happens at the store.
  3. Google Play Console — For a Google subscription, cancel it in Play Console under Order management.
  4. App Store Connect — For an Apple subscription, only the customer can cancel: Settings, then their name, then Subscriptions.
  • Watch out — Nobody can cancel a subscription from this tool, for either store. The Subscriptions page is there to look at, not to act on.
  • Watch out — Cancelling never returns money. It stops the next charge and the customer keeps access until the period they already paid for runs out.
  • Watch out — Our record updates when the store tells us, which can lag a few minutes behind the customer doing it.
An account is showing a negative balance

A flag fired for `negative_balance_after_adjustment`, or finance spotted it.

grant_creditsview_users
  1. Flagged Accounts — Open the flag and read why it fired.
  2. Credits — Read the ledger end to end. A negative balance is always a refund or correction landing after the credits were spent.
  3. Credits — Decide deliberately: leave it (they owe us and cannot scan until they buy), or adjust back to zero as a write-off with the reason recorded.

    There is no wrong answer here, only an undocumented one. Whatever you choose, the reason field is what makes it defensible later.

  • Watch out — A negative balance is not a bug and does not need fixing on sight. It usually means the refund worked correctly.
  • Watch out — Flags age out on a rolling 90-day window, so this can disappear from the queue without anyone acting on it.

Customer success

“Are they actually a paying customer?”

Before granting anything, or when a user insists they have Unlimited.

grant_creditsview_users
  1. Subscriptions — Check for an active subscription and read the badge, not the raw status.
  2. Transactions — Read their purchase history for one-off credit packs.
  3. Credits — Read the current balance and recent ledger.
  • Watch out — Entitlement and balance are different things. An Unlimited subscriber bypasses the credit gate entirely, so a zero balance on their account is normal and not a problem to fix.
Give a user credits as an apology

Support decides to compensate for a bad experience.

grant_creditsview_users
  1. Users → Credits — Read the current balance so the grant is a decision rather than a guess.
  2. Subscriptions — Check they are not already on Unlimited — credits do nothing for a subscriber.
  3. Credits — Grant the amount with a reason a stranger could understand in six months.

    The reason is the only thing separating goodwill from a billing correction when someone audits this later.

  • Watch out — Grant only ever adds. To remove credits use adjust with a negative amount — it writes a signed ledger row so the history stays readable.
  • Watch out — A negative adjustment that pushes the balance below zero auto-flags the account. Expected, not an error.
  • Watch out — Grants are safe to press twice, so a double-click does not double-credit. A second deliberate grant does.
Send an announcement to users

A release note, an incident notice, or a policy change.

manage_notifications
  1. Notifications — Read recent broadcasts so you are not repeating or contradicting one.
  2. Notifications — Compose, choose the audience — everyone, one platform, or named users — and send.

    This reaches real phones and cannot be recalled. Read the first line once more as the person receiving it; on a lock screen it is all they see.

  3. Notifications → Stats — Check delivery after. A flat count means the push path is broken, not that nobody cared.
  • Watch out — There is no unsend. A typo goes to everyone.
  • Watch out — Target a platform or a named list when you can. “All users” is rarely what a release note actually needs.

Trust and safety

Work the flagged-accounts queue

The dashboard shows open flags.

grant_creditsview_users
  1. Flagged Accounts — Open a flag and read which rule fired — excess refunds, or a negative balance.
  2. Credits — Read that user's ledger for the pattern behind the rule.
  3. Transactions — Check whether the refunds were store-initiated or ours.
  • Watch out — A flag punishes nothing on its own. It is a queue, and someone still has to decide.
  • Watch out — Repeated store-initiated refunds are a much stronger abuse signal than ones support issued.
Stop an account that is abusing the service

A confirmed pattern, not a suspicion.

view_users
  1. Flagged Accounts — Establish the pattern and write down what convinced you.
  2. Users — Suspend. This deactivates the account AND revokes every session in one action.

    You do not need to revoke sessions first — suspend already does it. Doing both just makes the audit log harder to read.

  3. Users — Reactivate later if the case does not hold. It is fully reversible.
  • Watch out — Suspension blocks the legitimate owner too. For a stolen device, revoke sessions instead — see Customer support.
  • Watch out — You cannot suspend yourself or the bootstrap admin. The tool refuses.
Give someone admin access, or take it away

A new teammate, or someone leaving.

manage_adminsview_users
  1. Roles and capabilities — Pick the smallest role that covers the job. Read what it grants before assigning it.
  2. Users — Set the full role set on their account.

    This replaces their roles rather than adding to them. Send the complete set you want them to end up with.

  3. Audit Log — Confirm the change landed under your name.
  • Watch out — `admin` holds every capability including credit minting, refunds, suspension and raw-image access. `client` holds telemetry only and is the right choice for an external stakeholder who just wants dashboards.
  • Watch out — You cannot change your own roles or the bootstrap admin's.
  • Watch out — Marking an account `staff` auto-grants the lice-expert role for the clinic app.

Data and model

Turn a correction into training data

An expert disagreed with a verdict and the image looks worth learning from.

curate_training_dataview_corrections
  1. Corrections — Read the disagreement and what the expert said the answer should be.
  2. Training Images — Find the image and confirm it is training-eligible.
  3. Training Images — Exclude anything unusable — wrong subject, unusable quality, or consent you cannot evidence.

    Excluding records an audited request that the data-science pull honours. It is not an instant hard delete, so allow a pull cycle before expecting it to vanish.

  4. Training Images — Produce an export once the set is clean. It runs async — poll for the download link.
  • Watch out — Only consented consumer accounts appear. Staff and clinic imagery is excluded at the query level, so a missing image is usually consent, not a bug.
  • Watch out — Consent can be withdrawn later. Eligibility is a property of the moment you export, not a permanent fact about the image.
  • Watch out — Export links are short-lived. Re-request rather than re-sharing an old URL.
Pull one scan's images to investigate a false positive

A verdict looks wrong and you need the actual images to say why.

view_raw_scan_imageview_scan_images
  1. Scans — Open the scan and read the per-stage decisions first — often that is enough.
  2. Scans — Export the scan. You get a short-lived link to a zip of the unblurred images plus a manifest.

    These are photographs of a child's scalp. Download them because the per-stage data was genuinely insufficient, not to have a look.

  • Watch out — This is the only route to unblurred imagery — no page renders it. The capability is held deliberately rarely.
  • Watch out — The export is logged against your name, as it should be.

Platform

A number moved and nobody knows why

A dashboard jumps, or someone asks what happened yesterday.

view_telemetryview_users
  1. Telemetry — Confirm the move is real and bound it in time.
  2. Event Explorer — Break that window down by event name to see which behaviour changed.
  3. Telemetry → AI — Rule out the model before theorising about users.

    A cascade change moves user-facing numbers in ways that look behavioural. Check the machine first.

  • Watch out — Revenue is never summed across currencies. A tile showing one currency is correct, not truncated.
  • Watch out — Event Explorer needs view_users, while Telemetry needs view_telemetry. An external stakeholder given telemetry access alone can open the dashboards but not the per-event drill-down.
“Who changed this, and when?”

An unexplained balance, role, or account state.

view_users
  1. Audit Log — Filter by user or actor and read the entries around the time in question.
  • Watch out — Every write in every runbook above lands here under the name of whoever did it. That is the point, and it applies to you.

Reading the numbers

What each figure on Telemetry actually counts, and the conclusion people most often draw from it that is not true.

TabFigureWhat it countsEasy to misread as
OverviewSystem healthRight now: is the database reachable, how many scans are queued, how long the oldest one has waited, and how many scans or model calls failed in the last hour.A queue depth above zero is normal. It only matters if the oldest wait keeps climbing, which means work is arriving faster than it finishes.
OverviewSignups and scansHow many accounts were created and how many scans were started in the window.Scans started is not scans finished. Use the completion number next to it before quoting either.
OverviewTokens spentCredits used on scans in the window.This is not revenue. Credits bought and credits spent are different events, often weeks apart, and Unlimited subscribers spend none.
GrowthDAU, WAU, MAUPeople active per day, per week and per month, counted as people rather than devices — one person on a phone and a tablet counts once.These do not add up. A week is not seven days of DAU, because the same person returning is still one weekly user.
GrowthStickinessDaily users divided by monthly users. How much of your monthly audience shows up on an average day.Low is not automatically bad here. Checking for lice is occasional by nature, so this product should never look like a chat app.
GrowthRetention by cohortOf the people who joined in one week, how many came back after N days. Each row is one joining group followed forward.The newest cohorts look worse only because they have had less time. Compare a row to the same day-number in an older row, never a whole row to a whole row.
GrowthMonetization funnelHow many people reached the paywall, tapped buy, and completed a purchase — the intent events joined to real transactions.A gap between tapped-buy and completed is mostly the store's own confirmation sheet, not a broken checkout. Look for a change over time, not the raw gap.
App eventsActivation funnelThe steps a new user passes through on the way to a first finished scan.Steps do not have to fall evenly. A big drop at a step that requires good light or a still child is the product, not a bug.
App eventsShutter lockout watchHow often people were stopped from taking a photo because the camera checks were not satisfied.Some blocking is the point — it is what stops unusable photos. A rise matters; a non-zero number does not.
App eventsDead endsPlaces where people stopped and did not continue.A dead end is where someone left, not necessarily why. Use the Event Explorer and follow one session before drawing a conclusion.
AIPer-stage decision splitFor each stage of the checking pipeline, how many images it decided and how many it passed on. Counted PER IMAGE.These are images, not scans. One scan holds several photos, so this will always be a bigger number than the scan counts on other tabs. They are not in disagreement.
AIVerdict mixThe final answer people actually saw, counted PER SCAN.This is the number to quote about results. The per-stage split above is machinery; this is the outcome.
AIUndecided escalation rateHow often an early stage could not decide and handed the image to a heavier one. Shown per day so you can see it move.Escalation is designed behaviour, not failure. A sustained rise means the early stage is losing confidence and is worth raising; a single day is noise.
AIp50 and p95 latencyHow long a stage takes. p50 is the middle case; p95 means one in twenty is at least this slow.Watch p95, not p50. A healthy middle with a climbing p95 is the shape of a system about to time out for real people.
AISuccess rate and error countHow often each model call worked, and how many failed.A near-perfect success rate with a rising error count still means more people were affected. Read both.

Roles and capabilities

A capability is one permission. A role is a bundle of them. You are granted roles; the capabilities come with them.

The roles

admin

Full internal access — every capability.

superadmin

Everything admin has, granted explicitly rather than implicitly.

support

Front-line tickets: look up a user, fix a balance, resolve a flag.

ops

Support, plus replaying failed store events.

client

Read-only external stakeholder. Telemetry and nothing else — no revenue, no user data, no scan imagery.

lice_expert

Mobile-only reviewer. Holds no admin-tool access at all.

The capabilities

CapabilityLets youadminclientsupportopssuperadmin
view_usersOpen user accounts, billing history, and the audit log.✓·✓✓✓
grant_creditsGrant and adjust a user's scan balance.✓·✓✓✓
retry_store_eventNamed on the ops role, but no screen checks it — Store Events opens with view_users. The backend allows the retry to any admin-tier account.✓··✓✓
resolve_flagNamed on the support and ops roles, but no screen uses it today — Flagged Accounts opens with view_users. Expert-correction review lives on the API and has no page yet.✓·✓✓✓
view_scan_imagesSee scans and their blurred display images.✓···✓
view_raw_scan_imageSee unblurred scan photographs. Deliberately rare.✓···✓
view_correctionsRead expert corrections and disagreements.✓···✓
curate_training_dataReview training-eligible images and produce exports.✓···✓
manage_adminsChange other users' roles.✓···✓
view_telemetryRead the Telemetry dashboards.✓✓··✓
manage_notificationsBroadcast notifications to users.✓···✓

admin resolves to all 11 capabilities. Every other role is an explicit list, so a capability added in future is not silently granted to anyone. lice_expert is mobile-only and opens nothing here.

Words we use

Terms the charts and tables use without explaining themselves.

Scan
One submission from a user — usually several photos of one person's scalp, judged together.
Verdict
The single answer the user is shown for a scan. Individual images each get a decision; the verdict is the final call rolled up across them.
Decision
The per-image outcome: clear, lice, or undecided. Several decisions combine into one verdict.
Cascade
The chain of models a scan passes through, cheapest first. Most images are settled early; only the uncertain ones travel further.
Escalation
When a stage is not confident enough to decide and passes the image to the next, more expensive stage. A rising escalation rate means the cheap models are struggling — accuracy is holding, cost is not.
Undecided
The cascade finished without enough confidence to call it. Not a failure — it is the system declining to guess.
Correction
A lice-center expert marking a result wrong. A disagreement is a correction where the expert's call differs from the model's.
Dead letter
A store webhook that failed every retry and is parked for a human. Until it is resolved, the user's purchase has not been applied.
Capability
A single permission, like `grant_credits`. Roles are bundles of capabilities; the API enforces them, and this tool only hides what you cannot use.

Keeping this page true

This guide is generated from lib/guide.ts, keyed on the sidebar in lib/nav.tsx. Adding a page without writing its entry is a type error, so the build fails before the guide can go stale. That catches a missingpage — it cannot catch a wrong description, so when you change what a page does, edit its entry in the same commit.