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.

Align self-hosted plan copy with monitored-system counting

rcourtmand0b28ef994c6
diff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.md
index 903d1a1393..67d601abec 100644
--- a/docs/release-control/v6/internal/subsystems/api-contracts.md
+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md
@@ -377,7 +377,10 @@ when the disabled candidate no longer counts toward monitored-system capacity.
learned correlations, and policy coverage stay secondary explanatory context
that opens only when degraded verification, active findings, or selected-run
investigation makes that evidence relevant instead of advertising a parallel
- Patrol workflow on otherwise healthy fully verified states
+ Patrol workflow on otherwise healthy fully verified states, and the
+ disclosure copy must explicitly tell operators that findings and run history
+ are the Patrol verification evidence while those supporting cards only add
+ explanation from the same governed payload family
9. Keep AI settings setup transport vendor-neutral: `/api/settings/ai/update`
must accept provider credentials or base URLs without a baked vendor model
ID, resolve the effective BYOK `model` through the canonical runtime
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index ac45b68e9d..112b3ca5d8 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -1106,7 +1106,9 @@ those facts describe the canonical offer rather than one page's local layout.
The same rule applies to self-hosted commercial framing inside product-owned
billing and activation surfaces: plan names, counted-unit copy, and upgrade
adjacency must come from the shared self-hosted plan-definition owner rather
-than page-local strings.
+than page-local strings. That owner must also keep Community, Relay, Pro, and
+Pro+ retail limit copy on top-level monitored systems rather than drifting back
+to vague `systems` or device-style language.
The shared license presentation owner also holds self-hosted Pro settings
upsell and trial-ended notice copy for `ProLicensePlanSection.tsx`; that
surface must consume canonical helper notices instead of carrying inline
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 860f11fd7a..92768efacf 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -1627,7 +1627,10 @@ correlations, and policy coverage belong behind an explicitly secondary
supporting-context disclosure that only appears when Patrol has active
findings, degraded or incomplete verification, or a selected run that needs
explanation; healthy fully verified Patrol states must not advertise that
-supporting evidence as a peer workflow.
+supporting evidence as a peer workflow. When that disclosure expands, the
+workspace must explicitly label findings and run history as Patrol verification
+evidence and frame the supporting cards as explanatory context rather than as a
+fresh Patrol result.
Shared primitive consumers that split status-dot tone and status-text tone
must now keep both values routed through the same exported presentation helper.
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index f2a8675705..c8fd4a9a88 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -1400,6 +1400,10 @@ correlation ordering. `frontend-modern/src/components/Infrastructure/ResourcePol
is the canonical shared card for governed policy-posture counts, while
`frontend-modern/src/utils/resourcePolicyPresentation.ts` owns the canonical
sensitivity, routing, and redaction labels and aggregate count summaries.
+That shared policy card also owns caller-supplied framing lines such as
+subtitle and resource-count wording, so Patrol or other shared surfaces may
+clarify whether the same governed counts read as policy-covered-resource
+context without rebuilding their own policy-posture card shell.
Future correlation or policy-posture wording changes should extend those
unified-resource owners instead of drifting into page-local loops in AI,
Patrol, or infrastructure surfaces.
diff --git a/frontend-modern/src/utils/__tests__/selfHostedPlans.test.ts b/frontend-modern/src/utils/__tests__/selfHostedPlans.test.ts
index 4923cf3506..2efd66eca8 100644
--- a/frontend-modern/src/utils/__tests__/selfHostedPlans.test.ts
+++ b/frontend-modern/src/utils/__tests__/selfHostedPlans.test.ts
@@ -36,7 +36,7 @@ describe('selfHostedPlans', () => {
expect(SELF_HOSTED_COMMERCIAL_PRESENTATION).toEqual({
pageTitle: 'Pricing',
pageDescription:
- 'Core monitoring stays free. Relay adds remote access, and Pro unlocks Pulse Patrol, alert analysis, and auto-fix.',
+ 'Core monitoring stays free. Pulse counts top-level monitored systems, while child resources underneath them are included. Relay adds remote access, and Pro unlocks Pulse Patrol, alert analysis, and auto-fix.',
mostPopularBadge: 'Most Popular',
currentPlanLabel: 'Current Plan',
includedLabel: 'Included',
@@ -67,12 +67,24 @@ describe('selfHostedPlans', () => {
});
it('keeps Community quickstart copy scoped to Patrol activation support', () => {
+ expect(SELF_HOSTED_PLAN_BY_TIER.community.subline).toBe(
+ 'Up to 5 top-level monitored systems',
+ );
expect(SELF_HOSTED_PLAN_BY_TIER.community.highlights).toEqual(
expect.arrayContaining([
'Pulse Patrol (BYOK)',
'Patrol quickstart after activation or trial: 25 runs, no API key',
]),
);
+ expect(SELF_HOSTED_PLAN_BY_TIER.relay.highlights).toContain(
+ '8 top-level monitored systems · 14-day history',
+ );
+ expect(SELF_HOSTED_PLAN_BY_TIER.pro.highlights).toContain(
+ '15 top-level monitored systems',
+ );
+ expect(SELF_HOSTED_PLAN_BY_TIER.proPlus.highlights).toContain(
+ '50 top-level monitored systems',
+ );
expect(SELF_HOSTED_PLAN_BY_TIER.community.highlights).not.toContain(
'Patrol quickstart: 25 runs, no API key',
);
diff --git a/frontend-modern/src/utils/selfHostedPlans.ts b/frontend-modern/src/utils/selfHostedPlans.ts
index f821e4dc72..7eec9ddd76 100644
--- a/frontend-modern/src/utils/selfHostedPlans.ts
+++ b/frontend-modern/src/utils/selfHostedPlans.ts
@@ -45,7 +45,7 @@ export const SELF_HOSTED_PLAN_DEFINITIONS: readonly SelfHostedPlanDefinition[] =
tier: 'community',
name: 'Community',
price: 'Free forever',
- subline: 'Monitor up to 5 systems for free',
+ subline: 'Up to 5 top-level monitored systems',
monitoredSystems: 5,
metricHistoryDays: 7,
highlights: [
@@ -71,7 +71,7 @@ export const SELF_HOSTED_PLAN_DEFINITIONS: readonly SelfHostedPlanDefinition[] =
'Mobile app access',
'Push notifications',
'Custom URL (yourlab.pulserelay.pro)',
- '8 monitored systems · 14-day history',
+ '8 top-level monitored systems · 14-day history',
],
},
{
@@ -89,7 +89,7 @@ export const SELF_HOSTED_PLAN_DEFINITIONS: readonly SelfHostedPlanDefinition[] =
'90-day metric history',
'RBAC, audit logging, SAML SSO',
'Agent profiles · PDF/CSV reports',
- '15 monitored systems',
+ '15 top-level monitored systems',
],
},
{
@@ -99,7 +99,7 @@ export const SELF_HOSTED_PLAN_DEFINITIONS: readonly SelfHostedPlanDefinition[] =
subline: 'or $129/year',
monitoredSystems: 50,
metricHistoryDays: 90,
- highlights: ['Everything in Pro', '50 monitored systems'],
+ highlights: ['Everything in Pro', '50 top-level monitored systems'],
},
] as const;
@@ -113,7 +113,7 @@ export const SELF_HOSTED_PLAN_BY_TIER: Record<SelfHostedTierKey, SelfHostedPlanD
export const SELF_HOSTED_COMMERCIAL_PRESENTATION: SelfHostedCommercialPresentation = {
pageTitle: 'Pricing',
pageDescription:
- 'Core monitoring stays free. Relay adds remote access, and Pro unlocks Pulse Patrol, alert analysis, and auto-fix.',
+ 'Core monitoring stays free. Pulse counts top-level monitored systems, while child resources underneath them are included. Relay adds remote access, and Pro unlocks Pulse Patrol, alert analysis, and auto-fix.',
mostPopularBadge: 'Most Popular',
currentPlanLabel: 'Current Plan',
includedLabel: 'Included',