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.

Guard pseudonymous telemetry terminology

rcourtman2323c963855e
diff --git a/docs/release-control/v6/internal/records/localized-product-surfaces-foundation-2026-06-13.md b/docs/release-control/v6/internal/records/localized-product-surfaces-foundation-2026-06-13.md
index 83be5abb0d..7d8b994b6c 100644
--- a/docs/release-control/v6/internal/records/localized-product-surfaces-foundation-2026-06-13.md
+++ b/docs/release-control/v6/internal/records/localized-product-surfaces-foundation-2026-06-13.md
@@ -3,7 +3,7 @@
## Slice
- Claimed governed slice: `candidate-lane:localized-product-surfaces`.
-- Migrated journey: Settings -> System -> General language preference, including the Settings shell/header/navigation copy already on the catalog path, Appearance language selection, anonymous telemetry controls, Docker / Podman update-action controls, and monitoring cadence copy.
+- Migrated journey: Settings -> System -> General language preference, including the Settings shell/header/navigation copy already on the catalog path, Appearance language selection, pseudonymous telemetry controls, Docker / Podman update-action controls, and monitoring cadence copy.
- First-wave locales: German (`de`) and Spanish (`es`).
## Evidence
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index 9a6651a231..eff2b943a1 100644
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@ -2570,7 +2570,7 @@ also remain system-settings, API-contract, and security/privacy ownership:
lifecycle-adjacent surfaces may observe that action-plan, approval,
approved-action-decision, rejected-action-decision, first-party workflow
starter, Pro activation starter, and external-agent usage is summarized, but
-they must not reinterpret those anonymous counters as agent enrollment, install
+they must not reinterpret those pseudonymous install-level counters as agent enrollment, install
success, recovery scope, or lifecycle state.
External-agent activity may be counted when a narrow API token satisfies the
specific manifest capability scope being called, including read-only
@@ -2631,11 +2631,11 @@ Agent lifecycle surfaces must not read those step counts as host-agent
heartbeat, command-agent install state, or fleet-control authority.
Approved action decision telemetry may use action lifecycle events or approved
approval records as its API-owned proof source, but the exported value remains
-an anonymous approve/reject journey counter. Agent-lifecycle surfaces must not
+a pseudonymous approve/reject journey counter. Agent-lifecycle surfaces must not
read that rollup as command dispatch, command-agent reachability, profile
convergence, install success, or fleet lifecycle state.
Approved execution attempt telemetry may use action lifecycle events as its
-API-owned proof source, but the exported value remains an anonymous operations
+API-owned proof source, but the exported value remains a pseudonymous operations
loop counter. Agent-lifecycle surfaces must not treat that rollup as command
agent heartbeat, installation proof, profile convergence, or fleet lifecycle
state.
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.md
index 84595bdcd0..722cca5a97 100644
--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md
+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md
@@ -469,7 +469,7 @@ active, including the stricter resolved operations loop split by first-party
Assistant collaboration, external-agent collaboration, and Pulse MCP adapter
use.
The same aggregate may expose an `operations_funnel` object that keeps the
-loop proof readable as a staged anonymous cohort sequence: loop configured,
+loop proof readable as a staged pseudonymous install cohort sequence: loop configured,
Patrol activity, Assistant or external-agent collaboration, governed action,
approved execution, approved action success, Patrol resolution, resolved
operations loop, Assistant resolved loop, external-agent resolved loop, active
@@ -478,7 +478,7 @@ proof, paid Patrol-control cohorts, and full-loop free-to-paid conversion compar
Assistant-only chat. That funnel is a projection over the same coarse telemetry
counters and value cohorts; it must not introduce per-install drilldowns or raw
commercial account links. Source-specific guided starter cohorts may split the
-same anonymous operations-loop starter count into Assistant, Patrol, primary
+same content-free pseudonymous operations-loop starter count into Assistant, Patrol, primary
Patrol-control, legacy Pro activation entry-point, and Pulse MCP sources so
conversion reporting can tell which entry point led to loop entry, but those cohorts
remain starter evidence only and must not be counted as completed
@@ -553,7 +553,7 @@ When that action has become a completed-loop review, it must not write another
Patrol control starter marker; starter telemetry remains for start/continue
entry into the guided journey rather than for post-completion review clicks.
The value report may also expose a `value_driver_evidence` summary derived only
-from those same anonymous cohort deltas. That summary may state whether the
+from those same pseudonymous install cohort deltas. That summary may state whether the
available evidence is insufficient, positive on paid conversion, positive on
activation or retention, or has no positive delta against the generic
Assistant-only baseline; it must not claim causality, store per-install
diff --git a/docs/release-control/v6/internal/subsystems/security-privacy.md b/docs/release-control/v6/internal/subsystems/security-privacy.md
index a98f5e3b54..68aff0045d 100644
--- a/docs/release-control/v6/internal/subsystems/security-privacy.md
+++ b/docs/release-control/v6/internal/subsystems/security-privacy.md
@@ -943,6 +943,11 @@ pseudonymous identifier, not a lifetime install handle. The runtime may keep a
local rotating UUID so startup and heartbeat pings can still represent an
active installation window, but it may not preserve one stable install
identifier indefinitely or echo that identifier back into routine logs.
+Customer-facing legal pages, shipped privacy documentation, in-product copy,
+runtime comments, operational notes, and governed contracts must therefore
+describe this telemetry as pseudonymous. The stronger anonymity claim is
+prohibited; disclosures must instead state the concrete direct identifiers and
+content that the allowlisted payload excludes.
The identifier must be resolved at each outbound event, not frozen when the
process starts, so a continuously running installation still rotates after the
30-day window. Each payload also carries a schema version and one UTC build
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 6eeebcb334..52d2a516be 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -1566,7 +1566,7 @@ recovery scope, or a storage/recovery-owned secret source.
Content-free Pulse Intelligence telemetry rollups under shared
`internal/api/` are also adjacent-only. Storage and recovery may consume
underlying recovery artifacts, action outcomes, or Patrol context through
- their owned surfaces, but anonymous action-plan, approval,
+ their owned surfaces, but pseudonymous action-plan, approval,
approved-action-decision, rejected-action-decision, external-agent,
Assistant, or Patrol usage counters are not backup inventory, restore
capability, recovery freshness, or storage ownership evidence.
@@ -1589,13 +1589,13 @@ recovery scope, or a storage/recovery-owned secret source.
the resulting counter as evidence that a backup, restore, dataset, or
storage endpoint was read or mutated.
Approved action decision telemetry may use shared action lifecycle evidence
- or approved approval records, but the exported rollup remains an anonymous
+ or approved approval records, but the exported rollup remains a pseudonymous
approve/reject journey counter. Storage and recovery must not reinterpret
that counter as proof that a backup, restore, dataset, storage appliance, or
recovery endpoint was approved, changed, inspected, or verified.
Approved execution attempt telemetry may be backed by shared action
lifecycle events, including refused-before-dispatch failures, but the
- exported rollup remains an anonymous operations-loop counter. Storage and
+ exported rollup remains a pseudonymous operations-loop counter. Storage and
recovery must not reinterpret that counter as proof that a backup, restore,
dataset, storage appliance, or recovery endpoint was changed or verified.
Approved action success telemetry may use the same governed audit stream
diff --git a/internal/api/contract_test.go b/internal/api/contract_test.go
index aa1c626a82..25212b6a9a 100644
--- a/internal/api/contract_test.go
+++ b/internal/api/contract_test.go
@@ -16143,7 +16143,7 @@ func TestContract_AgentEventsStreamPublishesOnActionCompleted(t *testing.T) {
}
// TestContract_ExternalAgentActivityUsesRouteSpecificMarkers pins the
-// anonymous usage signal behind Pulse Intelligence external-agent telemetry:
+// pseudonymous usage signal behind Pulse Intelligence external-agent telemetry:
// configured/readiness may come from token capability posture, but recent-use
// must come from authenticated calls into a manifest-backed agent/MCP
// capability route. Generic API-token LastUsedAt is too broad because the same
diff --git a/internal/telemetry/telemetry_test.go b/internal/telemetry/telemetry_test.go
index 80ca06e9c8..4b963f8e9a 100644
--- a/internal/telemetry/telemetry_test.go
+++ b/internal/telemetry/telemetry_test.go
@@ -3,11 +3,13 @@ package telemetry
import (
"encoding/json"
"io"
+ "io/fs"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"reflect"
+ "regexp"
"strings"
"sync/atomic"
"testing"
@@ -638,6 +640,7 @@ func TestAllTelemetryFieldsAreDisclosed(t *testing.T) {
}
func TestTelemetryPrivacyDocsDisclosePseudonymousIdentityAndIPHandling(t *testing.T) {
+ anonymousTelemetryClaimPattern := regexp.MustCompile(`(?i)\banonymous\b[^\n]{0,120}\btelemetry\b|\btelemetry\b[^\n]{0,120}\banonymous\b`)
for _, relativePath := range []string{
filepath.Join("..", "..", "docs", "PRIVACY.md"),
filepath.Join("..", "..", "frontend-modern", "public", "docs", "PRIVACY.md"),
@@ -665,12 +668,73 @@ func TestTelemetryPrivacyDocsDisclosePseudonymousIdentityAndIPHandling(t *testin
if !strings.Contains(normalized, "does not store ip addresses in telemetry rows") {
t.Errorf("%s must disclose that telemetry rows do not store IP addresses", relativePath)
}
- if strings.Contains(normalized, "anonymous telemetry") {
+ if anonymousTelemetryClaimPattern.MatchString(content) {
t.Errorf("%s must not describe outbound usage telemetry as anonymous", relativePath)
}
}
}
+func TestRepositoryDoesNotClaimTelemetryIsAnonymous(t *testing.T) {
+ repoRoot := filepath.Clean(filepath.Join("..", ".."))
+ anonymousTelemetryClaimPattern := regexp.MustCompile(`(?i)\banonymous\b[^\n]{0,120}\btelemetry\b|\btelemetry\b[^\n]{0,120}\banonymous\b`)
+ scannableExtensions := map[string]bool{
+ ".go": true,
+ ".html": true,
+ ".json": true,
+ ".md": true,
+ ".py": true,
+ ".sh": true,
+ ".ts": true,
+ ".tsx": true,
+ ".yaml": true,
+ ".yml": true,
+ }
+
+ err := filepath.WalkDir(repoRoot, func(path string, entry fs.DirEntry, walkErr error) error {
+ if walkErr != nil {
+ return walkErr
+ }
+ if entry.IsDir() {
+ switch entry.Name() {
+ case ".claude", ".git", "build", "dist", "node_modules", "tmp", "vendor":
+ return fs.SkipDir
+ default:
+ return nil
+ }
+ }
+
+ relativePath, err := filepath.Rel(repoRoot, path)
+ if err != nil {
+ return err
+ }
+ normalizedPath := filepath.ToSlash(relativePath)
+ baseName := entry.Name()
+ if normalizedPath == "docs/release-control/v6/internal/status.json" ||
+ strings.Contains(normalizedPath, "/__tests__/") ||
+ strings.Contains(normalizedPath, "/tests/") ||
+ strings.HasSuffix(baseName, "_test.go") ||
+ strings.HasSuffix(baseName, "_test.py") ||
+ strings.Contains(baseName, ".test.") {
+ return nil
+ }
+ if !scannableExtensions[strings.ToLower(filepath.Ext(baseName))] {
+ return nil
+ }
+
+ raw, err := os.ReadFile(path)
+ if err != nil {
+ return err
+ }
+ if match := anonymousTelemetryClaimPattern.Find(raw); match != nil {
+ t.Errorf("%s must describe telemetry as pseudonymous, not %q", normalizedPath, match)
+ }
+ return nil
+ })
+ if err != nil {
+ t.Fatalf("scan repository telemetry language: %v", err)
+ }
+}
+
func normalizedTelemetryDisclosureTableText(value string) string {
tableLines := make([]string, 0)
for _, line := range strings.Split(value, "\n") {
diff --git a/pkg/server/server.go b/pkg/server/server.go
index 159c63c42c..a16bd47e00 100644
--- a/pkg/server/server.go
+++ b/pkg/server/server.go
@@ -458,7 +458,7 @@ func Run(ctx context.Context, version string) error {
// Wire alert-triggered AI analysis
router.WireAlertTriggeredAI()
- // Start anonymous telemetry (enabled by default; opt out via PULSE_TELEMETRY=false or Settings toggle).
+ // Start pseudonymous telemetry (enabled by default; opt out via PULSE_TELEMETRY=false or Settings toggle).
// Persistence is created once here (outside the closure) to avoid NewConfigPersistence's
// fatal-on-error path running inside the telemetry goroutine.
isDocker := os.Getenv("PULSE_DOCKER") == "true"