Client Experience PlaybookTENANT PINNED · UPGRADE STAGED

B2B SaaS Billing & Seat Upgrade

Diagnosing API overages and staging a mid-cycle seat upgrade inside a SaaS dashboard

Measured Impact:78% of billing & plan tickets resolved in-app
Playbook Execution TopologySigned-In Workspace Admin (Elena Vance · org_acme_402)
Governed Workflow TopologyISOLATED TENANT WORKSPACEVERIFIED CALLERSigned-In WorkspaceSSO / Server-Pinned✓ Scoped sessionNUNC RUNTIME PRIMITIVES• @nunc/sdk• Workspace Memory• Write GateINLINE GUARDIAN ENFORCEMENTTENANT PINNED · UPGRADE STA78% of billing & plan tickets Tamper-evident ISO 42001 ledgerStripeScoped · AuditedPostgreSQLScoped · Audited
01 · Step-by-Step Execution Trace

From caller prompt to ISO 42001 audit receipt

01 · Caller Prompt / TriggerSSO / Principal Bound

“Why did our October invoice jump by $420, and can we add 5 Enterprise seats prorated to our annual contract?”

Authenticated PersonaSigned-In Workspace Admin (Elena Vance · org_acme_402)
02 · Server-Pinned @nunc/sdk Turn
Isolated Tenant Runtime
// Backend route pins customer tenant — browser prompt cannot spoof orgId
const userClient = nunc.asExternalUser(session.orgId);
const reply = await userClient.chat.complete({
  agentId: "account-concierge",
  scope: `customer:${session.orgId}`,
  tools: ["postgres_usage_readonly", "stripe_customer_billing"],
  text: req.body.message,
});
03 · Inline Nunc Guardian GateTENANT PINNED · UPGRADE STAGED

Bound PostgreSQL usage and Stripe invoice queries strictly to externalId=org_acme_402; masked card digits as ⟦PII:CARD#1⟧; paused subscription write behind inline confirmation card.

@nunc/sdkWorkspace MemoryWrite Gate
04 · Verified Output & Audit ReceiptSHA-256 ISO 42001
Usage Breakdown: +$420 came from 1.4M extra webhook events on Oct 18–22.
Prorated Quote: +5 Enterprise seats = $195.00/mo ($112.40 prorated today).
Action Staged [Confirm Seat Upgrade]: Update Sub #sub_94K2 in Stripe.
Measured Outcome78% of billing & plan tickets resolved in-app

Launch your private AI in minutes — without giving up your data.

Start a 14-day isolated Core Platform trial with $0 due today, inspect Guardian live, or speak with our team about a custom deployment.