T
Core
Superadmin
core
/admin · merchant-admin

Inställningar

aktiv

Tenant

Identitet och primär domän.

Tenant id
Visningsnamn
Primär domän
Locale

Team

Medlemmar
0
Owner-invites pending
0

Integrationer

Endast provider references. Inga credentials.

Inga integrationer

Billing

Placeholder — inga live providers anslutna.

Plan
Billing owner
Teknik

Persistence state

Admin-visible state for what is mock today and what is persistence-ready next.

State
local/fixture/persistent-ready
Runtime mode
local
Adapter
fixture
Readiness
persistent-ready

Tenant scope

Tenant id
unknown
Primary domain
not-set
Locale
not-set
Configured refs
none

RLS draft

Status
draft-not-applied
Tenant-scoped tables
4
Append-only tables
3
Tenant setting
true
Role setting
true
Repository helpers
6

No-live DB guard

  • Live DBoffNo production database connection is opened from admin settings.
  • CredentialsabsentAdmin shows provider references only, never secrets.
  • External writesblockedSettings remains read-only until migration gates are cleared.
  • Customer datascopedPanel reads tenant-scoped state only; no cross-tenant customer data.

Next migration blockers

  1. Choose production Postgres/Supabase project and region
  2. Apply product persistence migration before enabling writes
  3. Replay RLS policy draft with trifecta.tenant_id and trifecta.role request settings
  4. Keep fixture adapter as the contract test oracle
  5. Run tenant isolation, append-only and PII guard checks against the real adapter
No live DB, no deploy and no credentials are required for this surface.
API-kontrakt

API-kopplingar

/admin/settings visar tenantens API- och persistence-kontrakt.

Tenant
unknown (unknown)
Primary domain
not-set
Provider refs
none
Adapter
fixture
Repository boundary
tenant-scoped repositories
Write mode
preview-or-append-only
RLS
draft-not-applied
Live DB
false
Credentials
false
Deploy
false
SurfaceRoute contractModeScopeSourceGate
ProductsGET /api/v1/products/:tenantId/feedreadproduct-feed:readlocal fixture storetenant envelope + path tenant match
ProductsGET /api/v1/products/:tenantId/search-projectionreadproduct-search-projection:readpublished local snapshotindexable products only
ProductsGET /api/v1/products/:tenantId/readinessreadproduct-readiness:readsynthetic readiness gatesall local gates pass
ProductsGET /api/v1/products/:tenantId/admin/summaryreadproduct-admin-summary:readlatest import summarymerchant-admin read
KnowledgePOST /api/v1/knowledge/:tenantId/retrievereadknowledge:customer:read or knowledge:support:readfixture-backed knowledge storeaudience visibility
KnowledgeGET /api/v1/knowledge/:tenantId/sourcesreadknowledge:support:read or knowledge:admin:readsource metadata onlybody never returned
KnowledgePOST /api/v1/knowledge/:tenantId/sources/previewpreviewaction:preview:review-requireddraft-only validationlive provider input blocked
ActionsPOST /api/v1/actions/:tenantId/previewpreviewaction:preview:review-requiredlocal action runtimepreview-first
ActionsPOST /api/v1/actions/:tenantId/applyapplyaction:apply:approvedapproval receiptidempotent apply + audit
SupportPOST /api/v1/support/:tenantId/cases/:caseId/reply/:modepreview/applysupport:case:replyactions runtime chainSC4/SC5 global API runtime

Customer readiness gates

  • Local-only runtimepassSettings describes tenant contracts without opening network calls.
  • Tenant safepassEvery route row requires envelope tenant and path tenant to agree.
  • Preview-first writespassKnowledge ingestion and actions apply remain gated by preview, approval and audit.
  • Credential-freepassProvider refs are named, but secrets and live connection strings are not surfaced.
  • Customer demo readinesspassBookhero launch can run on its real feed while the same contract keeps other tenants isolated.
Den här ytan är en wiring-karta: den gör inga live calls, skriver ingen data och visar inga credentials.