D1 binding unavailable. The admin settings API did not respond. Apply migration 0029_billing_settings_admin_readiness.sql and redeploy.
Klariven Platform · Module 16
Admin / Billing Settings Readiness
Workspace admin profile, billing tier readiness, plan entitlements, review and export policy, and admin event history. Does not process payments. Does not connect Stripe. Production billing belongs to Trelmir OS Billing / Commercial Infrastructure.
Live billing is not connected. This surface documents billing readiness and entitlement placeholders only. Stripe checkout, payment methods, subscriptions, invoices, and Stripe customer IDs are owned by Trelmir OS Billing / Commercial Infrastructure and are not implemented here.
Billing boundary contracts
DISABLED Klariven does not process live payments
DISABLED Klariven does not store payment methods
DISABLED Klariven does not store raw billing secrets
DISABLED Stripe checkout is not enabled
ENFORCED ProductTruth remains claim boundary
ENFORCED Review-before-publish required
FUTURE Production billing → Trelmir OS Billing / Commercial Infrastructure
Billing tier
—
Current plan tier
Billing status
—
Readiness label
Entitlements
—
Seeded plan items
Admin events
—
Recorded events
Live payments
Off
Always disabled in MVP
Enforcement
Visibility only
Entitlement mode
Bootstrap admin settings
Create admin profile and billing readiness records for this workspace. Safe to run multiple times — existing records are not overwritten.
Workspace / admin profile
Admin contact details and workspace identity. Update fields and save — does not require re-bootstrap.
Billing readiness
Billing tier labels and readiness state. Stripe, payment collection, and entitlement enforcement are not active. Future production billing is owned by Trelmir OS Billing / Commercial Infrastructure.
Not editable here: stripe_live_connected, payment_collection_enabled, entitlement_enforcement_mode. These are set by Trelmir OS Billing infrastructure — not by this UI.
Plan / tier readiness & entitlements
Default plan entitlements for this workspace. Enforcement mode is visibility_only — no access gates are blocked. Future enforcement belongs to Trelmir OS billing infrastructure.
No entitlements seeded yet. Click "Seed default entitlements".
Review & export policy settings
Governs review approval requirement and export gate mode. These settings are readiness-layer only — they do not override the core review-before-publish gate enforced in the product workflow.
OS Consumption Readiness Internal
Trelmir OS billing entitlement posture and OS Slack campaign review metadata contract. Internal/operator surface only. OS remains billing truth. Klariven does not own Stripe.
OS Billing Entitlement Posture
Click “Check OS entitlement posture” to fetch live posture from /api/os-entitlement.
Browser calls /api/os-entitlement only — never the Trelmir OS internal route directly. API key stays server-side.
OS Slack Campaign Review Metadata Contract
Review gate preservation: Review-before-publish remains required before any campaign or package export or distribution. Slack notification readiness does not publish, approve, or distribute content. No Slack OAuth, tokens, webhooks, or live delivery is implemented in Klariven.
Klariven Checkout — Outcome Pack Pilot Operator / Not GA
Create a Stripe checkout session for the Klariven Outcome Pack Pilot plan. Operator/internal only — not public-facing. OS owns Stripe. Klariven does not own Stripe, does not activate entitlements, and does not create webhooks.
Not GA billing. This surface creates a Stripe checkout URL via the Trelmir OS checkout-session route. No entitlement is activated by Klariven. Activation is handled by the OS webhook after payment. productKey: klariven is hardcoded server-side.
Browser calls /api/billing-checkout only — never /internal/billing/checkout-session directly.
API key stays server-side. TRELMIR_INTERNAL_API_KEY is never returned to the browser.
Admin event history
Non-sensitive admin events for this workspace. Record a manual event using the form below.