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.

Add Pro admin extras to paid feature proof

rcourtman00e4a4005106
diff --git a/docs/release-control/v6/internal/records/paid-feature-claim-proof-matrix-2026-04-29.md b/docs/release-control/v6/internal/records/paid-feature-claim-proof-matrix-2026-04-29.md
index 20a366de5e..390aaa0115 100644
--- a/docs/release-control/v6/internal/records/paid-feature-claim-proof-matrix-2026-04-29.md
+++ b/docs/release-control/v6/internal/records/paid-feature-claim-proof-matrix-2026-04-29.md
@@ -4,7 +4,7 @@ Date: 2026-04-29
## Decision
-Self-hosted v6 paid claims are release-gated by an executable proof bundle. The bundle verifies that Community, Relay, and Pro claims line up across public customer-facing copy, the canonical licensing contract, history entitlement enforcement, frontend plan copy, public checkout/pricing, download authorization, and Relay runtime entitlement behavior.
+Self-hosted v6 paid claims are release-gated by an executable proof bundle. The bundle verifies that Community, Relay, and Pro claims line up across public customer-facing copy, the canonical licensing contract, history entitlement enforcement, frontend plan copy, Pro admin-extra runtime behavior, public checkout/pricing, download authorization, and Relay runtime entitlement behavior.
## Proof Command
@@ -19,4 +19,5 @@ python3 scripts/release_control/paid_feature_claims_proof.py --json
- Pro preserves Relay capabilities and adds operator extras: root-cause analysis, safe remediation workflows, 90-day metric history, RBAC, audit logging, reporting, SAML SSO, and agent profiles.
- Public app, docs, and site copy must not reintroduce old self-hosted monitoring-limit, higher-limit, default-trial, hosted-model-credit, or bundled-Patrol-credit claims.
- History claims are enforced by the runtime metrics-history API, not only shown in copy.
+- Pro admin extras are backed by concrete core and enterprise runtime tests for RBAC, audit logging, reporting, SAML SSO, and agent profile behavior.
- Public pricing, checkout, download, and relay-server entitlement behavior remain consistent with those claims.
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 5ea7673269..9524437d25 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -197,9 +197,9 @@ cross-repo proof bundle in `scripts/release_control/paid_feature_claims_proof.py
When Community, Relay, or Pro claims change, that proof must continue to verify
the public customer-facing copy, canonical licensing matrix, runtime history
entitlement enforcement, frontend plan presentation, public
-pricing/checkout/download behavior, and Relay entitlement acceptance together
-rather than treating copy, checkout, and runtime gating as separate unlinked
-claims.
+pricing/checkout/download behavior, Pro admin-extra runtime behavior, and
+Relay entitlement acceptance together rather than treating copy, checkout, and
+runtime gating as separate unlinked claims.
## Extension Points
diff --git a/scripts/release_control/internal/paid_feature_claims_proof.py b/scripts/release_control/internal/paid_feature_claims_proof.py
index adba0b906d..7c5e3440ff 100644
--- a/scripts/release_control/internal/paid_feature_claims_proof.py
+++ b/scripts/release_control/internal/paid_feature_claims_proof.py
@@ -129,6 +129,10 @@ def default_pulse_pro_relay_server_dir() -> Path:
return default_pulse_dir().parent / "pulse-pro" / "relay-server"
+def default_pulse_enterprise_dir() -> Path:
+ return default_pulse_dir().parent / "pulse-enterprise"
+
+
def default_pulse_pro_dir(args: argparse.Namespace) -> Path:
return Path(args.pulse_pro_license_server_dir).resolve().parent
@@ -147,6 +151,10 @@ def parse_args(argv: list[str] | None = None) -> argparse.Namespace:
"--pulse-pro-relay-server-dir",
default=str(default_pulse_pro_relay_server_dir()),
)
+ parser.add_argument(
+ "--pulse-enterprise-dir",
+ default=str(default_pulse_enterprise_dir()),
+ )
parser.add_argument("--json", action="store_true", help="Emit JSON instead of human-readable output")
parser.add_argument("--report-out", help="Optional path to write a markdown report")
parser.add_argument(
@@ -168,6 +176,7 @@ def build_command_specs(args: argparse.Namespace) -> list[CommandSpec]:
frontend_dir = frontend_dir_from_args(args)
pulse_pro_license_server_dir = Path(args.pulse_pro_license_server_dir).resolve()
pulse_pro_relay_server_dir = Path(args.pulse_pro_relay_server_dir).resolve()
+ pulse_enterprise_dir = Path(args.pulse_enterprise_dir).resolve()
return [
CommandSpec(
name="pulse-licensing-paid-feature-contract",
@@ -193,6 +202,30 @@ def build_command_specs(args: argparse.Namespace) -> list[CommandSpec]:
"-count=1",
],
),
+ CommandSpec(
+ name="pulse-pro-admin-extras-api-contract",
+ cwd=str(pulse_dir),
+ command=[
+ "go",
+ "test",
+ "./internal/api",
+ "-run",
+ "^(Test.*RBAC|Test.*Audit|Test.*Reporting|Test.*Report|Test.*SAML|Test.*SSO|Test.*AgentProfiles|Test.*ProfileSuggestions|Test.*ConfigProfiles|Test.*RequireLicenseFeature|TestRouter.*Reporting|TestRouter.*SSO|TestHandle.*Reporting|TestHandle.*Audit|TestHandle.*RBAC|TestHandle.*Profile|TestBind.*)$",
+ "-count=1",
+ ],
+ ),
+ CommandSpec(
+ name="pulse-pro-admin-extras-core-packages",
+ cwd=str(pulse_dir),
+ command=[
+ "go",
+ "test",
+ "./pkg/audit",
+ "./pkg/auth",
+ "./pkg/reporting",
+ "-count=1",
+ ],
+ ),
CommandSpec(
name="pulse-frontend-paid-claim-contract",
cwd=str(frontend_dir),
@@ -233,6 +266,21 @@ def build_command_specs(args: argparse.Namespace) -> list[CommandSpec]:
"-count=1",
],
),
+ CommandSpec(
+ name="pulse-enterprise-pro-admin-extras-runtime",
+ cwd=str(pulse_enterprise_dir),
+ command=[
+ "go",
+ "test",
+ "./internal/audit",
+ "./internal/auditadmin",
+ "./internal/rbac",
+ "./internal/rbacadmin",
+ "./internal/reportingadmin",
+ "./internal/ssoadmin",
+ "-count=1",
+ ],
+ ),
]
@@ -338,7 +386,7 @@ def render_markdown_report(title: str, results: list[CommandResult]) -> str:
"",
"## Scope",
"",
- "This proof checks that self-hosted paid claims map to concrete public copy, entitlement, API, UI, license-server, and relay-server behavior.",
+ "This proof checks that self-hosted paid claims map to concrete public copy, entitlement, API, UI, Pro admin-extra, license-server, and relay-server behavior.",
"",
"## Results",
"",
diff --git a/scripts/release_control/internal/paid_feature_claims_proof_test.py b/scripts/release_control/internal/paid_feature_claims_proof_test.py
index e34371fffc..e3dbc4b1ab 100644
--- a/scripts/release_control/internal/paid_feature_claims_proof_test.py
+++ b/scripts/release_control/internal/paid_feature_claims_proof_test.py
@@ -102,6 +102,10 @@ class PaidFeatureClaimsProofTest(unittest.TestCase):
proof.default_pulse_pro_relay_server_dir(),
proof.default_pulse_dir().parent / "pulse-pro" / "relay-server",
)
+ self.assertEqual(
+ proof.default_pulse_enterprise_dir(),
+ proof.default_pulse_dir().parent / "pulse-enterprise",
+ )
def test_build_command_specs_cover_paid_claim_layers(self) -> None:
with tempfile.TemporaryDirectory() as tmp:
@@ -113,6 +117,8 @@ class PaidFeatureClaimsProofTest(unittest.TestCase):
pulse_pro_license_server_dir.mkdir(parents=True)
pulse_pro_relay_server_dir = Path(tmp) / "pulse-pro" / "relay-server"
pulse_pro_relay_server_dir.mkdir(parents=True)
+ pulse_enterprise_dir = Path(tmp) / "pulse-enterprise"
+ pulse_enterprise_dir.mkdir()
args = proof.parse_args(
[
@@ -122,21 +128,27 @@ class PaidFeatureClaimsProofTest(unittest.TestCase):
str(pulse_pro_license_server_dir),
"--pulse-pro-relay-server-dir",
str(pulse_pro_relay_server_dir),
+ "--pulse-enterprise-dir",
+ str(pulse_enterprise_dir),
]
)
specs = proof.build_command_specs(args)
- self.assertEqual(len(specs), 5)
+ self.assertEqual(len(specs), 8)
self.assertEqual(specs[0].cwd, str(pulse_dir.resolve()))
- self.assertEqual(specs[2].cwd, str(frontend_dir.resolve()))
- self.assertEqual(specs[3].cwd, str(pulse_pro_license_server_dir.resolve()))
- self.assertEqual(specs[4].cwd, str(pulse_pro_relay_server_dir.resolve()))
+ self.assertEqual(specs[4].cwd, str(frontend_dir.resolve()))
+ self.assertEqual(specs[5].cwd, str(pulse_pro_license_server_dir.resolve()))
+ self.assertEqual(specs[6].cwd, str(pulse_pro_relay_server_dir.resolve()))
+ self.assertEqual(specs[7].cwd, str(pulse_enterprise_dir.resolve()))
names = {spec.name for spec in specs}
self.assertIn("pulse-licensing-paid-feature-contract", names)
self.assertIn("pulse-api-history-entitlement-enforcement", names)
+ self.assertIn("pulse-pro-admin-extras-api-contract", names)
+ self.assertIn("pulse-pro-admin-extras-core-packages", names)
self.assertIn("pulse-frontend-paid-claim-contract", names)
self.assertIn("pulse-pro-public-pricing-and-checkout-contract", names)
self.assertIn("pulse-pro-relay-entitlement-runtime", names)
+ self.assertIn("pulse-enterprise-pro-admin-extras-runtime", names)
def test_public_copy_audit_passes_for_current_claim_floor(self) -> None:
with tempfile.TemporaryDirectory() as tmp: