salesascode
← All feature docs
Feature docs · /admin

Admin console

The pages the deployment owner runs the platform from: who signed up, what customers asked for, what changed, and whether the fleet is healthy.

The admin pages

Every page under /admin is for the deployment owner: an address listed in ADMIN_EMAILS with a verified email. Anyone else who opens one is sent to Home. The Admin tab in the top bar holds Dashboard, Users, Support and Audit. Dashboard carries a tab strip to the rest of the console: Membership, Hosted ops, Release acceptance, Status incidents, Public claims and Family memory, so each of those pages links to the others. The admin home links them too. The docs button on every admin page, the dashboard included, opens this page; the enterprise contracts table on the dashboard is described on Enterprise pipeline.

The PromptReports staff role (switching on). Once the operator turns it on, the admin pages also open for a person who signed in with PromptReports using a passkey while PromptReports ID gave them its staff role. That lasts twelve hours from the passkey sign-in and ends when they sign out; signing in any other way does not carry it. The ADMIN_EMAILS list then stays only as break-glass, for when PromptReports cannot be reached. Every request a staff member makes on an admin page, break-glass included, is recorded in Audit as family_audit.staff_action, with who, what, and whether the staff role or break-glass let them in. If a request cannot be recorded, it does not go through. A staff session lasts its twelve hours even if PromptReports later takes the role away, so to end one sooner, suspend that account in Users, which ends its live sessions, and reinstate it. A staff member who is not on the list opens /admin directly; the Admin tab in the top bar still follows the list. Until PromptReports ID ships the staff role, the list is the only way in, as before.

Operator cards on the admin home

Four cards at the bottom of the admin home each read one setting or report. Each one says so when its read fails.

Support queue

Messages that never reached an inbox come first, marked never emailed, because this page holds the only copy. Each of those rows has a reply box. Send reply emails your answer to the customer from the platform address, quoting their message, with you as reply-to so their answer comes to you. If the mail provider is not configured or refuses the send, nothing is recorded and the page says so; use Open in my mail app instead, then press Mark replied.

Either way the reply text, who sent it and how goes into the audit log, shows under the message, and the message is marked handled. A reply marked from your own mail app says the platform did not see the send. Messages that did reach an inbox have no reply box: answer them from that email, where the customer is already the reply-to.

Membership analytics

Below the funnel, the quality line counts the stalled-setup email. Once per account, when a setup has not moved for two days (and no more than seven) at a step before the first draft, the daily lifecycle run emails the founder from the platform's own address. The email names the step they stopped at and the one thing to do next. When SETUP_CALL_URL holds an https booking link, it offers a 20-minute setup call; when it is unset, it asks for a reply. Accounts that opted out of either platform email, or whose address bounced or complained, get nothing. The line shows how many were sent and how many of those accounts reached a first draft afterwards. Bookings and replies are not counted, because neither reaches the platform. The email ends with the same signed unsubscribe link the weekly digest uses, and carries it in a List-Unsubscribe header. The link opens a page with an Unsubscribe button, and one press, with no sign-in, stops both emails.

The page opens with the founder funnel for accounts created in the last 90 days. Each count sits beside its versioned definition. Select a metric to inspect its evidence, denominator, deduplication and exclusions: each account counts once per stage, and every stage leaves out the @example.invalid test accounts plus its own named cases. Undecided accounts stay separate from measured failures, and while any stage holds them the notice at the top becomes a warning to keep them out of the qualified funnel; an unavailable funnel displays no fallback zero counts. Usage, retention and the detailed funnel charts remain in the disclosure below.

Trace the cohort lets you choose the period: the last 30, 90 or 180 days, or quarter to date. The funnel, its heading and the denominator follow the choice, and 90 days stays the default. Data freshness is the newest evidence row the funnel read for that cohort (sign-ups, onboarding events, runs, drafts, sends, opportunities and payment receipts), so a quiet source shows as an old time rather than as the moment the page loaded. Review receipt model opens the receipts guide.

Onboarding by source splits the same cohort by where each account first came from: the utm_source tag on the link it arrived by, else the site that sent it, else direct. The source is the first page view the visitor's browser recorded after they accepted analytics, copied onto the account at signup and never changed afterwards. Each row shows signups, confirmed briefs, first drafts, verified checkouts and the share that paid, so you can see which source converts for any period you pick. Accounts with no record read "not recorded": they signed up before October 2026, declined analytics, or never saw the cookie banner.

Membership analytics is a read-only admin surface (deployment owners only, gated on ADMIN_EMAILS). It turns the control-plane telemetry your skills already emit (plugin runs, entitlements, and the MCP audit log) into three retention lenses, computed live each time you open the page. No new data collection, no cron. It sits next to the revenue-focused Dashboard and links each subscriber through to Users.

"Subscriber" here means an account holding at least one entitlement that someone paid for, live and not expired. The seat every account is granted at signup is excluded, so signing up does not put a row on this page; buying something does. To stay fast on large deployments, the page aggregates the most-recently-granted subscribers up to a per-request cap and tells you when the cap is hit.

Per-subscriber usage

Licensed-but-idle accounts still appear, with zeroed usage. A paid account that never runs anything is exactly what you want to catch.

Churn risk

Flags active subscribers whose plugin runs fell more than 40% from the previous 7 days to the last 7 days, sorted biggest drop first. A subscriber with no prior-week activity is skipped (a new or never-active account can't have "dropped"), and flat or growing usage is never flagged. A full drop to zero (with prior activity) reads as a 100% drop.

Why customers cancelled

Counts by reason over the last 30 and 90 days, one reason per account. Reasons come from two places. The Cancel subscription button on Settings and Team admin asks one optional question before Stripe opens: too expensive, did not see results, missing a feature, switching to another tool, taking a break, or other, with a note. The billing webhook also reads Stripe's own cancellation_details (reason, feedback, comment) from the subscription events it already receives. When an account answered both, the answer in the app counts, because its list is ours. Stripe's "not using it" counts as did not see results, and its raw value is kept beside the mapped one.

An answer in the app is saved before the customer reaches Stripe, so it counts even if they then kept the subscription. Payment failures and disputes are not counted here; the cancellations queue on the admin dashboard lists those. Under the table sit the newest notes from the last 90 days, one per account, up to ten. This section is visible to the deployment admin only, and the table it reads is closed to the tenant database role.

Author payouts to settle by hand

When a template author deletes their account, earnings still in the 7-day hold are paid to the Stripe account recorded on each payout once the hold ends, and a refund inside the hold still cancels them. If Stripe says that account can no longer receive payouts, or no longer exists, the daily payout sweep stops trying and the payout appears in this table on the Dashboard, with the amount, the Stripe account, the reason and a transfer group. Settle it in Stripe by hand with a transfer that carries that transfer group: the next daily sweep finds it, records the payout as paid and takes it off the list, and a later refund still takes it back. A refund before you settle cancels the payout and also takes it off the list. When you remove an author yourself, from Delete on Users or POST /api/admin/hard-delete, their earnings not yet paid are not paid after the hold. They go straight onto this table with the reason removed by an operator, because a removal by an operator may be about fraud, and the daily sweep never pays them. To pay one, make the transfer by hand as above; to keep the money back, leave it. A refund or dispute still cancels it, and a transfer already made before the removal is still taken back by a refund. Delete asks why the account is being removed; the answer goes in the audit log with the number of payouts held. When the platform is connected to promptcompute, the delete waits for a sign-off there, and the author's earnings not yet paid are held from the moment you ask: they appear on this table with the reason removal pending sign-off and the daily sweep does not pay them. An approved delete keeps them here as removed by an operator. A refused, expired or withdrawn one puts them back in the normal payout run, which pays them after the hold; a transfer you made by hand during the wait is recorded, never paid a second time. If the author deletes their own account during the wait, the earnings stay here for you to settle or leave. Suspending an account on Users holds its earnings the same way, with the reason author suspended, and reinstating it releases them. A refund or dispute still cancels a held payout, and still takes back a transfer made before the hold. Each hold and release is in the audit log as marketplace.payouts.park or marketplace.payouts.release. While a payout is held, a payout sign-off in promptcompute is not recorded as done: the request stays open, marked held, until the payout is released or paid. If the daily sweep was already sending a payout at the moment of the removal, that transfer stands: the payout reads paid, with the reason transferred by the payout sweep before it was parked, and monitoring is paged so you can decide whether to reverse it in Stripe. An author who deletes their own account is paid after the hold as described above. A payout on this list is money still owed, so it is never deleted; once paid, it is kept 7 years from its last money event like every marketplace record whose person is gone, then deleted. All of this sits behind MARKETPLACE_PAYMENTS_ENABLED, which is off until marketplace payments launch.

MCP health

Why "denied" and not 401? The MCP audit log only records authenticated calls. A 401 from an unknown or revoked connection is never attributed to an account, so there's no row to count. "Failing connections" therefore counts denied calls: a connection that authenticates but is repeatedly refused for a missing scope. For unknown or wrong-endpoint problems, the account simply never appears in the audit log at all, which surfaces instead as a silent account or in each user's own Connect troubleshooting panel.

When a number here is not a measurement

Every lens on this page is a separate query. If one of them fails, the section it feeds falls back to empty so the rest of the page still renders, and a red banner at the top names the read that did not land along with the error.

Read that banner before you read the numbers. Without it, a query that never ran looks exactly like a healthy zero, and on a retention page a fake zero reads as churn. When the banner is absent, every count on the page is a real measurement.

Why it matters

Activation is only half the retention story. The other half is catching accounts that activated and then drifted. This view gives the operator a weekly worklist: who to re-engage (churn risk), who never got going (silent accounts), and whose setup is quietly broken (failing connections), before any of them shows up as a cancellation.

Related

Release acceptance

Release acceptance uses the same administrator access check. Choose a provider and operation to read its recorded state, repository paths and live-verification receipt or blocker. The ledger lists the selected provider's operations. When several operations share one blocker, the ledger states it once above the table and those rows point at it. The full matrices and journey coverage remain in a disclosure below.

When the selected row is open because of something outside the repository, usually a vendor account nobody here holds, the notice changes to External access blocks this acceptance row: prepare the exact verification action, keep the row open and carry on with other work. Inspect blocked row jumps to such a row, in the selected provider first. It is disabled, with the reason on hover, when no row is blocked that way.

Built means a repository implementation has been recorded. It does not mean a live operation passed. This read-only page does not change acceptance records, approve a release or contact a provider.

Status incidents

Status incidents uses the same administrator access check. It is where you tell customers about a problem the automatic checks on the public status page cannot describe. Open an incident with a title, a state (Investigating, Identified or Monitoring) and a first update. Each later update adds a timed line under the incident, and choosing Resolved closes it. The public page shows every open incident and those resolved in the last seven days, newest first, with each incident's updates newest first. While an incident is open, the public headline reads Incident in progress. A post can take up to 45 seconds to appear for every visitor, because the status page keeps its incident list for that long between reads. An incident keeps its 50 most recent updates; older ones drop off. The audit log records each post's state, title and message text.

Updates are public as soon as you post them, so write them for customers: what they will notice and what to do meanwhile. The page does not show who posted; the audit log records that. If another administrator posts at the same moment, your post is refused with a request to reload, rather than one update silently replacing the other.

The public page also reports four automatic conditions. Research, work delivery and connection sync come from scheduled job receipts. Draft placement comes from the last 24 hours of Gmail and Outlook draft placements: Delayed when the latest one could not be confirmed by the mailbox provider, No recent data when none was placed. A refusal for one account's own reason, such as an expired connection, does not count against it. Configuration checks, such as a test payment key on production, appear in the admin views and the uptime monitor but not in the public headline.