Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

docs(release-control): define Pulse Account portal lane

rcourtman3c55ec42a03e
diff --git a/docs/release-control/v6/README.md b/docs/release-control/v6/README.md
index 6f2deb9c38..efd10abd21 100644
--- a/docs/release-control/v6/README.md
+++ b/docs/release-control/v6/README.md
@@ -62,6 +62,7 @@ Supporting governance file:
- `CONSOLIDATION_MAP.md` (legacy-doc demotion and archival map)
- `RETIREMENT_AUDIT_2026-02-27.md` (file-by-file audited retirement decisions)
- `internal/CANONICAL_DEVELOPMENT_PROTOCOL.md` (canonical subsystem development protocol)
+- `internal/PULSE_ACCOUNT_PORTAL_SPEC.md` (canonical Pulse Account portal IA, ownership boundaries, and candidate-lane scope)
- `internal/RELEASE_PROMOTION_POLICY.md` (customer-facing release-train contract for `stable` versus the prerelease `rc` channel)
- `internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md` (manual verification runbook for trust-critical release gates)
- `internal/RC_TO_GA_REHEARSAL_TEMPLATE.md` (human record template for the non-publish GA rehearsal run)
diff --git a/docs/release-control/v6/internal/PULSE_ACCOUNT_PORTAL_SPEC.md b/docs/release-control/v6/internal/PULSE_ACCOUNT_PORTAL_SPEC.md
new file mode 100644
index 0000000000..d2535bc2f5
--- /dev/null
+++ b/docs/release-control/v6/internal/PULSE_ACCOUNT_PORTAL_SPEC.md
@@ -0,0 +1,246 @@
+# Pulse Account Portal Spec
+
+Last updated: 2026-03-25
+Status: ACTIVE
+
+## Purpose
+
+Define the canonical customer and operator account surface for Pulse once the
+current fragmented cloud, licensing, billing, recovery, and MSP account
+surfaces are promoted into a dedicated governed lane.
+
+This spec exists to stop three kinds of drift:
+
+1. Cloud and MSP account work growing as a control-plane-only portal with no
+ coherent self-hosted account story.
+2. Self-hosted commercial support accreting as one-off utility pages instead
+ of a real account surface.
+3. Relay, Mobile, Cloud, and licensing account actions being presented as
+ separate portals rather than one Pulse account model with product-specific
+ areas.
+
+## Current Product Truth
+
+Pulse already has real customer-account and operator-account surfaces, but they
+are split across different products and repos:
+
+1. `internal/cloudcp/portal/page.go` and `internal/cloudcp/portal/handlers.go`
+ provide a real hosted browser portal for Cloud and MSP accounts.
+2. `internal/cloudcp/account/tenant_handlers.go` and `internal/cloudcp/routes.go`
+ provide authenticated account-member, workspace, and billing actions.
+3. `pulse-pro/landing-page/manage.html`,
+ `pulse-pro/landing-page/retrieve-license.html`,
+ `pulse-pro/landing-page/refund.html`,
+ `pulse-pro/landing-page/data.html`, and
+ `pulse-pro/landing-page/thanks.html` provide public commercial utility
+ surfaces for the current self-hosted track.
+4. Hosted Cloud and MSP now have public explanatory pages, but those pages are
+ not themselves the account surface.
+
+That means Pulse has account plumbing, not yet one coherent Pulse account
+product surface.
+
+## Canonical Product Definition
+
+`Pulse Account` is the single authenticated commercial and lifecycle control
+surface for Pulse customers and operators.
+
+It owns:
+
+1. identity for commercial/account actions
+2. billing and subscription state
+3. self-hosted licenses, activations, and recovery
+4. hosted Cloud tenant access and lifecycle
+5. MSP workspace and membership administration
+6. support and compliance actions that belong to the commercial account, not to
+ one Pulse runtime instance
+
+It does not own:
+
+1. in-product Pulse runtime settings
+2. relay pairing or mobile device state as a standalone portal
+3. tenant-local monitoring, AI, alerting, storage, or other runtime product
+ workflows that belong inside Pulse itself
+
+## Canonical User Model
+
+The canonical commercial identity hierarchy is:
+
+1. `user`
+ One human identity that can sign in to account-scoped commercial surfaces.
+2. `account`
+ The commercial ownership unit. An account can be a Cloud customer, an MSP,
+ or another commercial owner shape that holds billing and memberships.
+3. `workspace` / `tenant`
+ A hosted Pulse runtime owned by an account.
+4. `license`
+ A self-hosted commercial entitlement owned by an account.
+5. `membership`
+ A role binding between a user and an account.
+
+One user may belong to multiple accounts. One account may own multiple hosted
+workspaces and multiple self-hosted licenses. MSP is therefore an account kind
+with stronger workspace-management needs, not a completely separate portal.
+
+## Canonical Information Architecture
+
+The future Pulse account surface should be one shell with product-aware areas,
+not separate portals for each commercial motion.
+
+Primary areas:
+
+1. `Overview`
+ Account identity, current plan state, high-level service status, and next
+ actions.
+2. `Cloud`
+ Hosted tenant list, health summary, open-workspace handoff, tenant lifecycle,
+ invites, and account-scoped hosted billing actions.
+3. `Licenses`
+ Self-hosted license retrieval, activation context, entitlement status,
+ renewal state, and recovery actions.
+4. `Billing`
+ Subscription state, invoices, payment method, usage-facing commercial facts,
+ and Stripe billing portal handoff when still needed.
+5. `People`
+ Memberships, roles, invitations, and account access.
+6. `Recovery & Support`
+ Refund, data request, recovery-email, and commercial support actions.
+
+Conditional areas:
+
+1. `MSP Workspaces`
+ Only when the account kind is MSP or otherwise multi-workspace by contract.
+2. `Organization / Tenant Admin`
+ Only for hosted accounts that need browser-side workspace lifecycle actions.
+
+## Product-Specific Boundaries
+
+### Self-hosted Pulse
+
+Self-hosted Pulse keeps runtime settings, activation notices, and local billing
+status inside the product instance, but the durable customer-account actions
+move toward Pulse Account:
+
+1. license retrieval
+2. subscription management
+3. refunds and data requests
+4. account-level billing history
+5. future license inventory and seat/entitlement visibility
+
+### Pulse Cloud
+
+Pulse Cloud uses Pulse Account as its primary customer control surface.
+
+It owns:
+
+1. hosted tenant list
+2. billing state
+3. workspace open/handoff
+4. tenant create/delete/suspend lifecycle
+5. account membership and invites
+
+The hosted tenant Pulse runtime remains the product runtime, not the account
+portal.
+
+### MSP
+
+MSP is not a separate portal brand. It is a Pulse Account shape with stronger
+multi-workspace and operator controls.
+
+It adds:
+
+1. customer workspace lifecycle
+2. workspace switching
+3. per-workspace health summary
+4. account roles suitable for owner/admin/tech/read-only workflows
+
+### Pulse Relay and Pulse Mobile
+
+Pulse Relay does not get a standalone portal. Relay is a capability inside
+Pulse Mobile, self-hosted Pulse, and Pulse Cloud.
+
+Pulse Account may show:
+
+1. whether a plan includes relay/mobile capability
+2. hosted billing or upgrade implications for relay/mobile usage
+
+It must not become a separate Relay administration product unless Relay is
+later sold as a standalone service.
+
+## Transition Rules
+
+The current public utility pages remain valid transitional surfaces while v5 is
+the live public commercial track, but they are not the desired steady-state
+shape.
+
+Transition rule:
+
+1. existing utility pages may remain as entry points or compatibility shims
+2. new commercial/account workflows should prefer the Pulse Account shell
+3. utility pages should shrink toward redirects or lightweight recovery
+ handoffs once equivalent Pulse Account areas exist
+
+## Forbidden Drift
+
+Do not:
+
+1. build a separate Relay portal
+2. build separate Cloud, MSP, and self-hosted account shells that duplicate
+ billing, identity, and recovery logic
+3. add new one-off commercial utility pages when the workflow belongs in Pulse
+ Account
+4. let the hosted control-plane portal evolve without a self-hosted license and
+ recovery story
+5. move runtime product settings out of Pulse and into the account portal just
+ because the account shell exists
+
+## v6 Scope And Phasing
+
+The full Pulse Account portal is not an RC or GA floor gate for v6. That
+matches the current resolved decision that full hosted MSP portal expansion is
+post-GA.
+
+But it is the canonical next product-shaping lane for commercial coherence.
+
+### Current v6 floor
+
+Accepted as sufficient for RC and GA:
+
+1. Cloud/MSP control-plane portal exists
+2. self-hosted recovery and billing utilities exist
+3. commercial surfaces are functional but fragmented
+
+### Candidate lane target
+
+The `customer-account-portal` lane should deliver:
+
+1. one named `Pulse Account` shell and IA
+2. shared identity and navigation across hosted account actions and
+ self-hosted commercial actions
+3. canonical ownership boundaries for billing, licenses, hosted tenants,
+ memberships, and recovery
+4. de-duplication of fragmented public utility flows where a real authenticated
+ account area is the better product shape
+
+### Post-lane follow-on
+
+Reasonable later expansions include:
+
+1. richer invoice/history views
+2. support case history
+3. broader audit/compliance export surfaces
+4. deeper MSP customer/customer-contact management
+
+## Ownership
+
+The owning governed subsystem is `cloud-paid`.
+
+Why:
+
+1. the portal is a commercial/account boundary first
+2. it spans Cloud, MSP, billing, licensing, and recovery
+3. the existing control-plane portal and self-hosted utility surfaces already
+ sit inside cloud-paid-adjacent ownership
+
+This is a lane-expansion / new-lane shape above current `L3` and `L4`, not a
+reason to fork commercial governance into another subsystem.
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index e4bc253fac..ebdccb5902 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -41,38 +41,41 @@ agreement, and cloud-specific enforcement rules.
19. `internal/cloudcp/entitlements/service.go`
20. `internal/cloudcp/registry/registry.go`
21. `internal/cloudcp/account/tenant_handlers.go`
-22. `internal/cloudcp/stripe/provisioner.go`
-23. `internal/hosted/provisioner.go`
-24. `frontend-modern/src/App.tsx`
-25. `frontend-modern/src/AppLayout.tsx`
-26. `frontend-modern/src/useAppRuntimeState.ts`
-27. `frontend-modern/src/components/Dashboard/RelayOnboardingCard.tsx`
-28. `frontend-modern/src/components/Dashboard/useRelayOnboardingCardState.ts`
-29. `frontend-modern/src/components/Commercial/MonitoredSystemDefinitionDisclosure.tsx`
-30. `frontend-modern/src/components/Settings/BillingAdminPanel.tsx`
-31. `frontend-modern/src/components/Settings/BillingAdminOrganizationsTable.tsx`
-32. `frontend-modern/src/components/Settings/OrganizationBillingPanel.tsx`
-33. `frontend-modern/src/components/Settings/OrganizationBillingLoadingState.tsx`
-34. `frontend-modern/src/components/Settings/MonitoredSystemLedgerPanel.tsx`
-35. `frontend-modern/src/components/Settings/ProLicensePanel.tsx`
-36. `frontend-modern/src/components/Settings/ProLicensePlanSection.tsx`
-37. `frontend-modern/src/components/Settings/CommercialBillingSections.tsx`
-38. `frontend-modern/src/components/Settings/SelfHostedCommercialActivationSection.tsx`
-39. `frontend-modern/src/components/Settings/RelaySettingsPanel.tsx`
-40. `frontend-modern/src/components/Settings/RelayPairingSection.tsx`
-41. `frontend-modern/src/components/Settings/useBillingAdminPanelState.ts`
-42. `frontend-modern/src/components/Settings/useOrganizationBillingPanelState.ts`
-43. `frontend-modern/src/components/Settings/useProLicensePanelState.ts`
-44. `frontend-modern/src/components/Settings/useRelaySettingsPanelState.ts`
-45. `frontend-modern/src/pages/CloudPricing.tsx`
-46. `frontend-modern/src/pages/PricingV6.tsx`
-47. `frontend-modern/src/utils/apiClient.ts`
-48. `frontend-modern/src/utils/cloudPlans.ts`
-49. `frontend-modern/src/utils/commercialBillingModel.ts`
-50. `frontend-modern/src/utils/monitoredSystemPresentation.ts`
-51. `frontend-modern/src/utils/selfHostedPlans.ts`
-52. `frontend-modern/src/utils/licensePresentation.ts`
-53. `frontend-modern/src/utils/upgradePresentation.ts`
+22. `internal/cloudcp/portal/handlers.go`
+23. `internal/cloudcp/portal/page.go`
+24. `internal/cloudcp/routes.go`
+25. `internal/cloudcp/stripe/provisioner.go`
+26. `internal/hosted/provisioner.go`
+27. `frontend-modern/src/App.tsx`
+28. `frontend-modern/src/AppLayout.tsx`
+29. `frontend-modern/src/useAppRuntimeState.ts`
+30. `frontend-modern/src/components/Dashboard/RelayOnboardingCard.tsx`
+31. `frontend-modern/src/components/Dashboard/useRelayOnboardingCardState.ts`
+32. `frontend-modern/src/components/Commercial/MonitoredSystemDefinitionDisclosure.tsx`
+33. `frontend-modern/src/components/Settings/BillingAdminPanel.tsx`
+34. `frontend-modern/src/components/Settings/BillingAdminOrganizationsTable.tsx`
+35. `frontend-modern/src/components/Settings/OrganizationBillingPanel.tsx`
+36. `frontend-modern/src/components/Settings/OrganizationBillingLoadingState.tsx`
+37. `frontend-modern/src/components/Settings/MonitoredSystemLedgerPanel.tsx`
+38. `frontend-modern/src/components/Settings/ProLicensePanel.tsx`
+39. `frontend-modern/src/components/Settings/ProLicensePlanSection.tsx`
+40. `frontend-modern/src/components/Settings/CommercialBillingSections.tsx`
+41. `frontend-modern/src/components/Settings/SelfHostedCommercialActivationSection.tsx`
+42. `frontend-modern/src/components/Settings/RelaySettingsPanel.tsx`
+43. `frontend-modern/src/components/Settings/RelayPairingSection.tsx`
+44. `frontend-modern/src/components/Settings/useBillingAdminPanelState.ts`
+45. `frontend-modern/src/components/Settings/useOrganizationBillingPanelState.ts`
+46. `frontend-modern/src/components/Settings/useProLicensePanelState.ts`
+47. `frontend-modern/src/components/Settings/useRelaySettingsPanelState.ts`
+48. `frontend-modern/src/pages/CloudPricing.tsx`
+49. `frontend-modern/src/pages/PricingV6.tsx`
+50. `frontend-modern/src/utils/apiClient.ts`
+51. `frontend-modern/src/utils/cloudPlans.ts`
+52. `frontend-modern/src/utils/commercialBillingModel.ts`
+53. `frontend-modern/src/utils/monitoredSystemPresentation.ts`
+54. `frontend-modern/src/utils/selfHostedPlans.ts`
+55. `frontend-modern/src/utils/licensePresentation.ts`
+56. `frontend-modern/src/utils/upgradePresentation.ts`
## Shared Boundaries
@@ -87,21 +90,22 @@ agreement, and cloud-specific enforcement rules.
2. Add or change hosted entitlement issuance through `internal/cloudcp/entitlements/service.go`
3. Add or change control-plane plan storage through `internal/cloudcp/registry/registry.go`
4. Add or change MSP account-scoped workspace provisioning entry handlers through `internal/cloudcp/account/tenant_handlers.go`
-5. Add or change Stripe provisioning plan resolution through `internal/cloudcp/stripe/provisioner.go`
-6. Add or change activation/grant lifecycle through `pkg/licensing/service.go`, `pkg/licensing/grant_refresh.go`, and `pkg/licensing/revocation_poll.go`
-7. Add or change license-server transport through `pkg/licensing/license_server_client.go`
-8. Add or change encrypted activation persistence through `pkg/licensing/persistence.go` and `pkg/licensing/activation_store.go`
-9. Add or change hosted trial token semantics through `pkg/licensing/trial_activation.go`
-10. Add or change hosted signup provisioning through `internal/hosted/provisioner.go`
-11. Add or change hosted billing-admin presentation through `frontend-modern/src/components/Settings/BillingAdminPanel.tsx`, `frontend-modern/src/components/Settings/BillingAdminOrganizationsTable.tsx`, and `frontend-modern/src/components/Settings/useBillingAdminPanelState.ts`
-12. Add or change shared commercial plan/usage presentation through `frontend-modern/src/components/Settings/CommercialBillingSections.tsx` and `frontend-modern/src/utils/commercialBillingModel.ts`
-13. Add or change organization billing and usage presentation through `frontend-modern/src/components/Settings/OrganizationBillingPanel.tsx`, `frontend-modern/src/components/Settings/OrganizationBillingLoadingState.tsx`, and `frontend-modern/src/components/Settings/useOrganizationBillingPanelState.ts`
-14. Add or change self-hosted Pro activation, trial, and entitlement actions through `frontend-modern/src/components/Settings/ProLicensePanel.tsx`, `frontend-modern/src/components/Settings/ProLicensePlanSection.tsx`, `frontend-modern/src/components/Settings/SelfHostedCommercialActivationSection.tsx`, and `frontend-modern/src/components/Settings/useProLicensePanelState.ts`
-15. Add or change monitored-system ledger presentation through `frontend-modern/src/components/Settings/MonitoredSystemLedgerPanel.tsx`, `frontend-modern/src/components/Commercial/MonitoredSystemDefinitionDisclosure.tsx`, and `frontend-modern/src/utils/monitoredSystemPresentation.ts`
-16. Add or change paid relay settings and onboarding presentation through `frontend-modern/src/components/Settings/RelaySettingsPanel.tsx`, `frontend-modern/src/components/Settings/RelayPairingSection.tsx`, `frontend-modern/src/components/Settings/useRelaySettingsPanelState.ts`, `frontend-modern/src/components/Dashboard/RelayOnboardingCard.tsx`, and `frontend-modern/src/components/Dashboard/useRelayOnboardingCardState.ts`
-17. Add or change cloud plan presentation through `frontend-modern/src/pages/CloudPricing.tsx`
-18. Add contract tests where runtime and pricing need to stay aligned
-19. Add or change hosted browser org-context bootstrap through `frontend-modern/src/App.tsx`, `frontend-modern/src/AppLayout.tsx`, `frontend-modern/src/useAppRuntimeState.ts`, and `frontend-modern/src/utils/apiClient.ts`
+5. Add or change the hosted account portal API, browser shell, or account-scoped billing handoff through `internal/cloudcp/portal/handlers.go`, `internal/cloudcp/portal/page.go`, and `internal/cloudcp/routes.go`
+6. Add or change Stripe provisioning plan resolution through `internal/cloudcp/stripe/provisioner.go`
+7. Add or change activation/grant lifecycle through `pkg/licensing/service.go`, `pkg/licensing/grant_refresh.go`, and `pkg/licensing/revocation_poll.go`
+8. Add or change license-server transport through `pkg/licensing/license_server_client.go`
+9. Add or change encrypted activation persistence through `pkg/licensing/persistence.go` and `pkg/licensing/activation_store.go`
+10. Add or change hosted trial token semantics through `pkg/licensing/trial_activation.go`
+11. Add or change hosted signup provisioning through `internal/hosted/provisioner.go`
+12. Add or change hosted billing-admin presentation through `frontend-modern/src/components/Settings/BillingAdminPanel.tsx`, `frontend-modern/src/components/Settings/BillingAdminOrganizationsTable.tsx`, and `frontend-modern/src/components/Settings/useBillingAdminPanelState.ts`
+13. Add or change shared commercial plan/usage presentation through `frontend-modern/src/components/Settings/CommercialBillingSections.tsx` and `frontend-modern/src/utils/commercialBillingModel.ts`
+14. Add or change organization billing and usage presentation through `frontend-modern/src/components/Settings/OrganizationBillingPanel.tsx`, `frontend-modern/src/components/Settings/OrganizationBillingLoadingState.tsx`, and `frontend-modern/src/components/Settings/useOrganizationBillingPanelState.ts`
+15. Add or change self-hosted Pro activation, trial, and entitlement actions through `frontend-modern/src/components/Settings/ProLicensePanel.tsx`, `frontend-modern/src/components/Settings/ProLicensePlanSection.tsx`, `frontend-modern/src/components/Settings/SelfHostedCommercialActivationSection.tsx`, and `frontend-modern/src/components/Settings/useProLicensePanelState.ts`
+16. Add or change monitored-system ledger presentation through `frontend-modern/src/components/Settings/MonitoredSystemLedgerPanel.tsx`, `frontend-modern/src/components/Commercial/MonitoredSystemDefinitionDisclosure.tsx`, and `frontend-modern/src/utils/monitoredSystemPresentation.ts`
+17. Add or change paid relay settings and onboarding presentation through `frontend-modern/src/components/Settings/RelaySettingsPanel.tsx`, `frontend-modern/src/components/Settings/RelayPairingSection.tsx`, `frontend-modern/src/components/Settings/useRelaySettingsPanelState.ts`, `frontend-modern/src/components/Dashboard/RelayOnboardingCard.tsx`, and `frontend-modern/src/components/Dashboard/useRelayOnboardingCardState.ts`
+18. Add or change cloud plan presentation through `frontend-modern/src/pages/CloudPricing.tsx`
+19. Add contract tests where runtime and pricing need to stay aligned
+20. Add or change hosted browser org-context bootstrap through `frontend-modern/src/App.tsx`, `frontend-modern/src/AppLayout.tsx`, `frontend-modern/src/useAppRuntimeState.ts`, and `frontend-modern/src/utils/apiClient.ts`
## Forbidden Paths
@@ -696,3 +700,15 @@ displayed pairing token only when canonical token metadata still shows no
`lastUsedAt`; once a token has been used by a paired device, refreshing or
hiding the QR must preserve that credential instead of treating it as
disposable UI state.
+The customer-account surface is now also an explicit cloud-paid ownership
+boundary. Pulse already has a real hosted control-plane portal in
+`internal/cloudcp/portal/`, account/workspace mutation APIs in
+`internal/cloudcp/account/tenant_handlers.go`, and transitional self-hosted
+commercial utility pages in `pulse-pro/landing-page/`, but those surfaces do
+not yet form one coherent Pulse account product. The canonical future shape is
+`docs/release-control/v6/internal/PULSE_ACCOUNT_PORTAL_SPEC.md`: one
+authenticated Pulse account shell that unifies Cloud tenants, self-hosted
+licenses, billing, recovery, and MSP admin surfaces without creating a
+standalone Relay portal. Until that candidate lane lands, new commercial
+account work must extend the governed Pulse account shape rather than spawning
+additional one-off recovery or billing pages.