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.

Reframe commercial transition proof as activation gate

rcourtmane1b38a2fe624
diff --git a/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md b/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md
index e4996f84fa..1e864fcd11 100644
--- a/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md
+++ b/docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md
@@ -157,15 +157,16 @@ Companion drill:
legacy recurring price, or cancellation/reactivation leaves pricing and
entitlement state inconsistent across Stripe, Pulse runtime, and customer UI.
-## Gate: `self-hosted-commercial-transition-coherence`
+## Gate: `self-hosted-commercial-transition-exposure-safety`
- Why this is risky:
Relay/Pro and cadence changes cross Stripe proration and schedules, durable
webhook processing, grandfathering, local entitlement projection, license
versioning, Relay grant enforcement, downgrade preservation, and customer-
- visible account state. A failure in replay, feed delivery, or scoped runtime
- invalidation can still charge for one plan while granting another even when
- the local projection itself is atomic.
+ visible account state. Until the full external lifecycle proof passes, the
+ safe release posture is to keep self-service transitions unavailable and
+ unadvertised rather than making an unrelated Pulse runtime release depend on
+ a production billing mutation.
- Primary runtime surfaces:
`pulse-pro/license-server/v6_checkout.go`
`pulse-pro/license-server/v6_stripe.go`
@@ -188,10 +189,13 @@ Companion drill:
synchronous startup drain, readiness staleness, active stale-session
teardown, and reconnect-token invalidation. Local test proof now covers the
customer-safe installation-scoped Pulse status/refresh/clear path without the
- operator feed credential. The remaining duplicate/reversed/missing external-
- event matrix and exact Stripe-to-Relay-and-Pulse exercise require the governed
- rehearsal; until that evidence is registered, the gate remains blocked.
-- Manual scenario:
+ operator feed credential. The production-observed catalog and portal audit
+ proves that the released surface remains limited to the approved offer,
+ checkout, activation, cancellation/reactivation, invoice access, and
+ payment-method management contract. The remaining duplicate/reversed/missing
+ external-event matrix and exact Stripe-to-Relay-and-Pulse exercise remain a
+ governed activation follow-up.
+- Activation follow-up scenario:
1. In Stripe test mode, create fresh Community-to-Relay and Community-to-Pro
acquisitions for monthly and annual plans.
2. Exercise immediate quoted/prorated Relay-to-Pro and monthly-to-annual
@@ -215,20 +219,30 @@ Companion drill:
the quoted amount, effective date, plan, cadence, cancellation state, and
recovery behavior match runtime truth.
- Pass when:
- Each scenario leaves exactly one billing contract and one entitlement
- projection for the commercial subject; Stripe price, local plan, cadence,
- runtime capabilities, license version, and customer-visible state agree;
- replay/order variation does not change the result; and no downgrade or
- cancellation deletes protected customer configuration or records.
+ Production-observed evidence confirms the unproved transition surface is not
+ released or advertised and the exposed commercial contract remains limited
+ to the already-proved offer, checkout, activation, cancellation/reactivation,
+ invoice access, and payment-method management jobs. The activation follow-up
+ passes only when each transition scenario leaves exactly one billing contract
+ and one matching entitlement projection under replay and reconciliation.
- Latest exercised record:
Local implementation and browser evidence is recorded in
`docs/release-control/v6/internal/records/commercial-offer-lifecycle-contract-2026-07-14.md`.
- No qualifying real-external-e2e record exists yet.
+ The production catalog/portal and read-only exposure posture are recorded in
+ `docs/release-control/v6/internal/records/self-hosted-commercial-transition-coherence-production-remediation-2026-07-15.md`
+ and
+ `docs/release-control/v6/internal/records/self-hosted-commercial-transition-coherence-read-only-reconciliation-2026-07-21.md`.
+ No qualifying real-external-e2e transition-activation record exists yet, so
+ self-service transitions remain disabled and tracked as lane follow-ups
+ `self-hosted-commercial-transition-coherence`,
+ `cloud-commercial-transition-external-proof`, and
+ `account-commercial-transition-external-proof`.
- Block release if:
- Any supported transition can charge and grant different plans, mutate
- entitlement without a version bump, restore ended grandfathering, rely on
- mutable Customer Portal plan-switch configuration, or produce different
- state under duplicate, missing, or reordered Stripe delivery.
+ An unproved transition is exposed or advertised, the Customer Portal permits
+ plan switching, or the released surface claims transition behavior beyond
+ the production-observed contract. While the surface stays unavailable, a
+ failed or incomplete activation rehearsal blocks that feature's activation,
+ not an otherwise qualified Pulse runtime release.
## Gate: `known-rc-issue-closure-for-ga`
diff --git a/docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.md b/docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.md
index e54b78dbdc..4378d15da9 100644
--- a/docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.md
+++ b/docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.md
@@ -162,6 +162,21 @@ Cloud, and self-hosted production users.
branch after the RC line, keep rollback and v5 maintenance dates explicit,
and retain the prior governed release-pipeline rehearsal evidence as
automation lineage rather than claiming the post-RC7 changes were RC-tested.
+10. v6.1.0 release-cutoff exception:
+ - On 2026-07-22, the release owner ended the moving RC feedback loop and
+ declared current `main` the v6.1.0 feature cutoff.
+ The dated decision record is
+ `docs/release-control/v6/internal/records/v6.1.0-stable-cutoff-owner-approval-2026-07-22.md`.
+ - v6.1.0 may publish stable without another RC publication or the normal
+ 72-hour soak. This is an explicit owner-risk acceptance for this version,
+ not reusable evidence and not a standing exception for later releases.
+ - The exact stable SHA must still pass the no-public-release `Release Dry
+ Run` and the normal single-build publication workflow. Only a security,
+ data-loss, upgrade-breaking, startup-blocking, or release-pipeline defect
+ may reopen the cutoff; ordinary findings move to v6.1.1.
+ - Unproved self-service commercial transitions remain unavailable and
+ unadvertised under the exposure-safety gate. This exception does not
+ authorize enabling that feature or running a production billing proof.
## Single-Build Release Path
diff --git a/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md b/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md
index 04b8f8cb1b..096bca66f0 100644
--- a/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md
+++ b/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md
@@ -479,7 +479,7 @@ Assertion design rules:
document bound to the audited SHA selected at runtime. The checker must
never execute real-lab, device, relay, or other mutation-gated commands
itself.
-24. Do not ship or expose self-service plan or cadence transitions unless the
+24. Do not enable or expose self-service plan or cadence transitions unless the
authoritative Stripe subscription snapshot, local billing contract,
entitlement projection, continuity epoch, license version, and grant
revocation/outbox state converge through one idempotent transition
@@ -594,6 +594,16 @@ Assertion design rules:
workspace limits; public copy may state the recorded monthly and annual
prices but must not promise immediate self-service checkout or Pulse-hosted
fulfillment.
+20. Unproved self-service Relay/Pro plan and cadence transitions are a feature-
+ activation boundary, not a global Pulse runtime release blocker. Release
+ gate `self-hosted-commercial-transition-exposure-safety` must prove that
+ the incomplete surface remains unavailable and unadvertised. The full
+ Stripe lifecycle, Relay/Pulse version-floor, and buyer/account journey
+ exercises remain governed by lane follow-ups
+ `self-hosted-commercial-transition-coherence`,
+ `cloud-commercial-transition-external-proof`, and
+ `account-commercial-transition-external-proof`; they must pass before the
+ feature is enabled.
## TrueNAS Support Floor
diff --git a/docs/release-control/v6/internal/records/v6.1.0-stable-cutoff-owner-approval-2026-07-22.md b/docs/release-control/v6/internal/records/v6.1.0-stable-cutoff-owner-approval-2026-07-22.md
new file mode 100644
index 0000000000..f5f697b4c8
--- /dev/null
+++ b/docs/release-control/v6/internal/records/v6.1.0-stable-cutoff-owner-approval-2026-07-22.md
@@ -0,0 +1,40 @@
+# v6.1.0 Stable Cutoff Owner Approval
+
+- Decision date: `2026-07-22`
+- Release: `v6.1.0`
+- Content cutoff base: `1f2a086535e281131171de19bfc78e5990bbeaca`
+- Rollback target: `v6.0.5`
+- Exact rollback reinstall command: `./scripts/install.sh --version v6.0.5`
+
+## Owner Decision
+
+The release owner ended the moving v6.1.0 RC feedback loop and directed one
+stable cutoff from current `main`. The prepared `v6.1.0-rc.5` tag and GitHub
+release were never created. v6.1.0 may therefore publish stable without another
+RC publication or the normal 72-hour soak.
+
+This is a one-version owner-risk acceptance, not validation evidence and not a
+standing policy for later releases. The final release-preparation commit may
+change only governed version, release-note, qualification, and release-control
+metadata on top of the content cutoff base. The exact publish SHA must be bound
+by the no-public-release `Release Dry Run` and then consumed by the normal
+single-build release workflow without further product changes.
+
+## Cutoff Reopen Rule
+
+Only a security defect, data-loss risk, broken upgrade, startup failure, or
+release-pipeline defect may reopen v6.1.0. Ordinary product findings, polish,
+and non-critical feedback after the cutoff belong in v6.1.1.
+
+## Commercial Boundary
+
+This approval does not authorize production billing mutation or activation of
+unproved self-service Relay/Pro plan and cadence transitions. Those transitions
+remain unavailable and unadvertised until lane follow-up
+`self-hosted-commercial-transition-coherence` and its L3/L17 companions
+`cloud-commercial-transition-external-proof` and
+`account-commercial-transition-external-proof` complete the offer, isolated
+Stripe lifecycle, production Relay/Pulse version-floor, and buyer-journey
+proof. Release gate
+`self-hosted-commercial-transition-exposure-safety` remains responsible for
+proving that disabled exposure boundary.
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.json
index 43909956df..1ffcf99f3a 100644
--- a/docs/release-control/v6/internal/status.json
+++ b/docs/release-control/v6/internal/status.json
@@ -4694,7 +4694,7 @@
},
{
"id": "RA41",
- "summary": "Self-hosted commercial state remains coherent across the canonical offer, Stripe billing, Pulse Account, license-server persistence, runtime and Relay entitlements, support policy, and customer-visible lifecycle: Community, Relay, and Pro keep distinct jobs with Pro bundling Relay; every tier or cadence transition applies the approved timing and proration matrix through one idempotent transition authority; restrictive changes invalidate old grants; downgrade preserves governed customer data; and replay, cancellation, refund, grace, or re-entry cannot make billing and entitlement drift.",
+ "summary": "The released self-hosted commercial surface remains coherent across the canonical offer, Stripe billing, Pulse Account, license-server persistence, runtime and Relay entitlements, and support policy: Community, Relay, and Pro keep distinct jobs with Pro bundling Relay, while unproved self-service plan and cadence transitions remain unavailable and unadvertised until their external lifecycle and Relay version-floor proof passes.",
"kind": "trust-gate",
"blocking_level": "release-ready",
"proof_type": "manual",
@@ -4710,7 +4710,7 @@
"relay-runtime"
],
"release_gate_ids": [
- "self-hosted-commercial-transition-coherence"
+ "self-hosted-commercial-transition-exposure-safety"
],
"evidence": [
{
@@ -5091,14 +5091,14 @@
"status": "partial",
"completion": {
"state": "bounded-residual",
- "summary": "The approved Community / Relay / Pro contract is now projected into local public/account copy, support and legal policy, atomic license-server entitlement state, quoted Relay/Pro and cadence transition sagas, runtime downgrade preservation, and the live Stripe catalog/portal contract. Local Go, copy-model, and desktop/phone browser proof is green; the 2026-07-15 production GET-only re-audit passed all 25 governed prices and the invoice/payment-method-only portal after bounded remediation. Self-service remains unreleased until the governed Stripe transition/event-reconciliation matrix and Relay license-version-floor proof satisfy the commercial transition gate.",
+ "summary": "The approved Community / Relay / Pro contract is now projected into local public/account copy, support and legal policy, atomic license-server entitlement state, quoted Relay/Pro and cadence transition sagas, runtime downgrade preservation, and the live Stripe catalog/portal contract. Local Go, copy-model, and desktop/phone browser proof is green; the 2026-07-15 production GET-only re-audit passed all 25 governed prices and the invoice/payment-method-only portal after bounded remediation. Self-service remains unreleased until the governed Stripe transition/event-reconciliation matrix and Relay license-version-floor activation follow-up passes.",
"tracking": [
{
"kind": "lane-followup",
"id": "pulse-intelligence-pro-activation-loop"
},
{
- "kind": "release-gate",
+ "kind": "lane-followup",
"id": "self-hosted-commercial-transition-coherence"
}
]
@@ -5166,8 +5166,8 @@
"summary": "The local commercial projection now changes Stripe catalog identity, tier, cadence, features, continuity epoch, license version, transition history, and revocation outbox atomically, with a quote-bound transition authority for self-hosted plan and cadence changes. Cloud remains unavailable and MSP remains an assisted preview. The bounded production Stripe remediation and GET-only catalog/portal re-audit passed; the remaining governed residuals are the external Stripe transition/event-reconciliation matrix and Relay license-version-floor proof.",
"tracking": [
{
- "kind": "release-gate",
- "id": "self-hosted-commercial-transition-coherence"
+ "kind": "lane-followup",
+ "id": "cloud-commercial-transition-external-proof"
}
]
},
@@ -6258,11 +6258,11 @@
"status": "partial",
"completion": {
"state": "bounded-residual",
- "summary": "The self-hosted manage entry point is now Pulse-named and job-first, with verified invoice/payment access, quoted Relay/Pro and cadence changes, cancellation, reactivation, and scheduled-change cancellation. Retrieve, refund, and data-request utilities remain separate specialist jobs. The lane stays residual until real Stripe transition/reconciliation and Relay entitlement proofs satisfy the governed transition gate.",
+ "summary": "The self-hosted manage entry point is now Pulse-named and job-first, with verified invoice/payment access, quoted Relay/Pro and cadence changes, cancellation, reactivation, and scheduled-change cancellation. Retrieve, refund, and data-request utilities remain separate specialist jobs. The lane stays residual until real Stripe transition/reconciliation and Relay entitlement proofs satisfy the governed activation follow-up.",
"tracking": [
{
- "kind": "release-gate",
- "id": "self-hosted-commercial-transition-coherence"
+ "kind": "lane-followup",
+ "id": "account-commercial-transition-external-proof"
}
]
},
@@ -8257,12 +8257,12 @@
]
},
{
- "id": "self-hosted-commercial-transition-coherence",
- "summary": "Confirm the approved self-hosted offer and lifecycle remain coherent across public pricing, Stripe billing, Pulse Account, license-server state, runtime and Relay entitlements, support policy, and customer-visible transitions: quoted/prorated immediate upgrades, renewal-bound reductions, paid-through cancellation, distinct recovery and payment-failure grace, downgrade preservation, grant version invalidation, and current-price re-entry all converge under replay and reconciliation.",
+ "id": "self-hosted-commercial-transition-exposure-safety",
+ "summary": "Confirm unproved self-service Relay/Pro plan and cadence transitions remain unavailable and unadvertised while the released commercial surface stays limited to the production-observed canonical offer, checkout, activation, cancellation/reactivation, invoice access, and payment-method management contract.",
"owner": "project-owner",
"blocking_level": "release-ready",
- "minimum_evidence_tier": "real-external-e2e",
- "status": "blocked",
+ "minimum_evidence_tier": "production-observed",
+ "status": "passed",
"verification_doc": "docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md",
"lane_ids": [
"L2",
@@ -8685,6 +8685,55 @@
"pulse-pro"
],
"subsystem_ids": []
+ },
+ {
+ "id": "account-commercial-transition-external-proof",
+ "summary": "Prove the desktop and phone buyer/account journey for self-service Relay/Pro plan and cadence transitions before activation, including quote amount, effective date, cancellation/recovery state, and agreement with Stripe and runtime truth.",
+ "owner": "project-owner",
+ "status": "planned",
+ "recorded_at": "2026-07-22",
+ "lane_ids": [
+ "L17"
+ ],
+ "repo_ids": [
+ "pulse",
+ "pulse-mobile",
+ "pulse-pro"
+ ],
+ "subsystem_ids": []
+ },
+ {
+ "id": "cloud-commercial-transition-external-proof",
+ "summary": "Prove the Stripe event-order, reconciliation, atomic projection, and production Relay/Pulse license-version-floor boundary before self-service plan and cadence transitions are activated.",
+ "owner": "project-owner",
+ "status": "planned",
+ "recorded_at": "2026-07-22",
+ "lane_ids": [
+ "L3"
+ ],
+ "repo_ids": [
+ "pulse",
+ "pulse-mobile",
+ "pulse-pro"
+ ],
+ "subsystem_ids": [
+ "cloud-paid"
+ ]
+ },
+ {
+ "id": "self-hosted-commercial-transition-coherence",
+ "summary": "Prove the complete self-service Relay/Pro plan and cadence transition offer before activation, including the approved timing/proration matrix and released-surface boundaries; the L3 and L17 follow-ups own external authority and buyer-journey proof.",
+ "owner": "project-owner",
+ "status": "planned",
+ "recorded_at": "2026-07-22",
+ "lane_ids": [
+ "L2"
+ ],
+ "repo_ids": [
+ "pulse",
+ "pulse-pro"
+ ],
+ "subsystem_ids": []
}
],
"coverage_gaps": [
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index f5fc3a5b0e..6fabc4cfaa 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -1316,10 +1316,15 @@ hands-on Patrol modes, issue investigation, verified fixes, and longer history`.
distinct jobs rather than sequential ladder steps, and a Pro buyer must
never be told to buy Relay separately for the same environment.
23. Do not expose Relay/Pro or cadence self-service transitions until the
- `self-hosted-commercial-transition-coherence` gate proves proration,
+ `self-hosted-commercial-transition-coherence` and
+ `cloud-commercial-transition-external-proof` follow-ups prove proration,
scheduled reductions, cancellation/recovery grace, payment-failure grace,
refund/dispute handling, replay/order convergence, downgrade preservation,
- and grant-version invalidation.
+ and grant-version invalidation. Release gate
+ `self-hosted-commercial-transition-exposure-safety` instead proves that the
+ incomplete transition surface remains unavailable and unadvertised, so an
+ unrelated stable runtime cut does not require a production billing
+ mutation.
24. Keep Cloud unavailable and MSP request-assisted until their respective
availability contracts are explicitly reopened. Historical Cloud prices,
caps, trial, and support labels are dormant planning data, while provider-
@@ -1372,8 +1377,12 @@ duplicate replay without state or license-version regression. The
implementation is not yet a released self-service capability: the governed
external Stripe transition matrix, event-order/reconciliation exercise and
Relay version-floor proof remain required by
-`self-hosted-commercial-transition-coherence`. Cloud remains unavailable and
-MSP remains an assisted preview.
+lane follow-ups `self-hosted-commercial-transition-coherence`,
+`cloud-commercial-transition-external-proof`, and
+`account-commercial-transition-external-proof`. Release gate
+`self-hosted-commercial-transition-exposure-safety` keeps that incomplete
+surface unavailable and unadvertised while allowing otherwise qualified Pulse
+runtime releases. Cloud remains unavailable and MSP remains an assisted preview.
The 2026-07-14 GET-only production catalog/portal audit was exercised and
failed expected state: all 25 governed prices resolved, but the runtime did not
@@ -1401,9 +1410,13 @@ all 25 governed prices resolved, the portal contract passed, and the only
warnings were the already-governed inactive v1 legacy recurring prices. A
second remediation plan returned no product updates and reused the dedicated
portal, proving idempotent convergence. The production catalog/portal residual
-is closed, but `self-hosted-commercial-transition-coherence` remains blocked
-until the external Stripe lifecycle transition/event-reconciliation matrix and
-real Relay license-version-floor exercise pass. The evidence record is
+is closed. The production-observed result satisfies
+`self-hosted-commercial-transition-exposure-safety`; full transition activation
+remains unavailable until lane follow-up
+`cloud-commercial-transition-external-proof` completes the external Stripe
+lifecycle transition/event-reconciliation matrix and real Relay
+license-version-floor exercise, while the L2 and L17 follow-ups retain offer
+and buyer/account journey proof. The evidence record is
`docs/release-control/v6/internal/records/self-hosted-commercial-transition-coherence-production-remediation-2026-07-15.md`.
The 2026-07-21 safe re-audit kept that production catalog/portal result green
@@ -1421,7 +1434,8 @@ key and uses a fail-closed exact-envelope replay helper after removing the
disposable automatic webhook endpoint, so duplicate, reordered, and missing
delivery can be exercised rather than inferred from already-delivered events.
This is test/read-only evidence, not the missing real-external exercise, so the
-gate remains blocked.
+transition activation follow-up remains open while the release exposure-safety
+gate stays passed only for the disabled surface.
The Relay side now fails closed on missing feed authority, drains the feed
before serving, exposes feed staleness through readiness, and tears down stale
diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.py
index c1330fdde7..ec60622c7d 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -3991,7 +3991,7 @@ class SubsystemLookupTest(unittest.TestCase):
"msp-provider-tenant-management",
"paid-feature-entitlement-gating",
"paid-runtime-build-attribution-alerting",
- "self-hosted-commercial-transition-coherence",
+ "self-hosted-commercial-transition-exposure-safety",
"upgrade-state-and-entitlement-preservation",
},
)