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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Add resource data handling settings surface
rcourtmanfc5325ab802e
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 63577fd6ca..43d31447b2 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -146,13 +146,17 @@ work extends shared components instead of creating new local variants.121. `frontend-modern/src/useAppRuntimeState.ts`122. `frontend-modern/src/stores/aiChat.ts`123. `frontend-modern/scripts/header-audit.mjs`+124. `frontend-modern/src/components/Settings/DataHandlingPanel.tsx`+125. `frontend-modern/src/components/Settings/dataHandlingPanelModel.ts`## Shared Boundaries-1. `frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx` shared with `security-privacy`: the general settings privacy panel is both a security/privacy control surface and a canonical settings-shell presentation boundary.-2. `frontend-modern/src/components/Settings/SecurityAuthPanel.tsx` shared with `security-privacy`: the authentication settings surface is both a security/privacy control surface and a canonical settings-shell presentation boundary.-3. `frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx` shared with `security-privacy`: the security overview settings surface is both a security/privacy control surface and a canonical settings-shell presentation boundary.-4. `frontend-modern/src/stores/aiChat.ts` shared with `ai-runtime`: the assistant drawer and session store is both an AI runtime control surface and a canonical app-shell presentation boundary.+1. `frontend-modern/src/components/Settings/DataHandlingPanel.tsx` shared with `security-privacy`: the data-handling settings surface is both a security/privacy trust surface and a canonical settings-shell presentation boundary.+2. `frontend-modern/src/components/Settings/dataHandlingPanelModel.ts` shared with `security-privacy`: the data-handling settings model is both a security/privacy posture projection and a canonical settings-shell presentation boundary.+3. `frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx` shared with `security-privacy`: the general settings privacy panel is both a security/privacy control surface and a canonical settings-shell presentation boundary.+4. `frontend-modern/src/components/Settings/SecurityAuthPanel.tsx` shared with `security-privacy`: the authentication settings surface is both a security/privacy control surface and a canonical settings-shell presentation boundary.+5. `frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx` shared with `security-privacy`: the security overview settings surface is both a security/privacy control surface and a canonical settings-shell presentation boundary.+6. `frontend-modern/src/stores/aiChat.ts` shared with `ai-runtime`: the assistant drawer and session store is both an AI runtime control surface and a canonical app-shell presentation boundary.## Extension Points@@ -207,6 +211,10 @@ work extends shared components instead of creating new local variants.legacy `/operations/*` links must resolve through the canonical Settingsrouting boundary instead of reviving a standalone Operations utility tab orroute-local support shell.+ Data Handling is a trust surface, not a commercial surface. The Settings+ shell must keep it under the Security group, route it through the canonical+ registry/header/navigation model, and avoid trial, upgrade, paid-plan, or+ monitoring-limit copy when commercial presentation is hidden.Shared sparkline primitives must also stay CSP-safe by construction:`frontend-modern/src/components/shared/InteractiveSparkline.tsx` may use SVGattributes and shared state/model helpers for cursor, axis-label, anddiff --git a/docs/release-control/v6/internal/subsystems/registry.json b/docs/release-control/v6/internal/subsystems/registry.jsonindex 0854889c31..4244099aac 100644--- a/docs/release-control/v6/internal/subsystems/registry.json+++ b/docs/release-control/v6/internal/subsystems/registry.json@@ -209,6 +209,22 @@"api-contracts"]},+ {+ "path": "frontend-modern/src/components/Settings/DataHandlingPanel.tsx",+ "rationale": "the data-handling settings surface is both a security/privacy trust surface and a canonical settings-shell presentation boundary",+ "subsystems": [+ "frontend-primitives",+ "security-privacy"+ ]+ },+ {+ "path": "frontend-modern/src/components/Settings/dataHandlingPanelModel.ts",+ "rationale": "the data-handling settings model is both a security/privacy posture projection and a canonical settings-shell presentation boundary",+ "subsystems": [+ "frontend-primitives",+ "security-privacy"+ ]+ },{"path": "frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx","rationale": "the general settings privacy panel is both a security/privacy control surface and a canonical settings-shell presentation boundary",@@ -2856,6 +2872,8 @@"frontend-modern/src/components/Settings/AuditLogPanel.tsx","frontend-modern/src/components/Settings/AuditWebhookPanel.tsx","frontend-modern/src/components/Settings/CopyCommandBlock.tsx",+ "frontend-modern/src/components/Settings/DataHandlingPanel.tsx",+ "frontend-modern/src/components/Settings/dataHandlingPanelModel.ts","frontend-modern/src/components/Settings/diagnosticsModel.ts","frontend-modern/src/components/Settings/DiagnosticsPanel.tsx","frontend-modern/src/components/Settings/DiagnosticsResultsPanel.tsx",@@ -3002,6 +3020,8 @@"frontend-modern/src/components/Settings/AuditLogPanel.tsx","frontend-modern/src/components/Settings/AuditWebhookPanel.tsx","frontend-modern/src/components/Settings/CopyCommandBlock.tsx",+ "frontend-modern/src/components/Settings/DataHandlingPanel.tsx",+ "frontend-modern/src/components/Settings/dataHandlingPanelModel.ts","frontend-modern/src/components/Settings/diagnosticsModel.ts","frontend-modern/src/components/Settings/DiagnosticsPanel.tsx","frontend-modern/src/components/Settings/DiagnosticsResultsPanel.tsx",@@ -3049,6 +3069,7 @@"allow_same_subsystem_tests": false,"test_prefixes": [],"exact_files": [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts","frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"]},@@ -4405,6 +4426,8 @@"frontend-modern/src/api/security.ts","frontend-modern/src/components/Settings/APITokenManager.tsx","frontend-modern/src/components/Settings/apiTokenManagerModel.ts",+ "frontend-modern/src/components/Settings/DataHandlingPanel.tsx",+ "frontend-modern/src/components/Settings/dataHandlingPanelModel.ts","frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx","frontend-modern/src/components/Settings/QuickSecuritySetup.tsx","frontend-modern/src/components/Settings/SecurityAuthPanel.tsx",@@ -4483,6 +4506,8 @@"match_files": ["frontend-modern/src/components/Settings/APITokenManager.tsx","frontend-modern/src/components/Settings/apiTokenManagerModel.ts",+ "frontend-modern/src/components/Settings/DataHandlingPanel.tsx",+ "frontend-modern/src/components/Settings/dataHandlingPanelModel.ts","frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx","frontend-modern/src/components/Settings/SecurityAuthPanel.tsx","frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx",@@ -4492,6 +4517,7 @@"test_prefixes": [],"exact_files": ["frontend-modern/src/components/Settings/__tests__/APITokenManager.test.tsx",+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts","frontend-modern/src/components/Settings/__tests__/SecurityPostureSummary.test.tsx","frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts","frontend-modern/src/stores/__tests__/systemSettings.test.ts"diff --git a/docs/release-control/v6/internal/subsystems/security-privacy.md b/docs/release-control/v6/internal/subsystems/security-privacy.mdindex 72b61bafb9..1c398674fb 100644--- a/docs/release-control/v6/internal/subsystems/security-privacy.md+++ b/docs/release-control/v6/internal/subsystems/security-privacy.md@@ -57,22 +57,26 @@ visibility, and privacy controls to operators.31. `internal/cloudcp/auth/magiclink_store.go`32. `pkg/tlsutil/fingerprint.go`33. `scripts/telemetry_adoption_report.py`+34. `frontend-modern/src/components/Settings/DataHandlingPanel.tsx`+35. `frontend-modern/src/components/Settings/dataHandlingPanelModel.ts`## Shared Boundaries1. `frontend-modern/src/api/security.ts` shared with `api-contracts`: the security frontend client is both a security/privacy control surface and a canonical API payload contract boundary.2. `frontend-modern/src/components/Settings/APITokenManager.tsx` shared with `api-contracts`: the API token settings surface is both a security/privacy control surface and a canonical API payload contract boundary.3. `frontend-modern/src/components/Settings/apiTokenManagerModel.ts` shared with `api-contracts`: the pure API token settings model is both a security/privacy control surface and a canonical API payload contract boundary.-4. `frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx` shared with `frontend-primitives`: the general settings privacy panel is both a security/privacy control surface and a canonical settings-shell presentation boundary.-5. `frontend-modern/src/components/Settings/SecurityAuthPanel.tsx` shared with `frontend-primitives`: the authentication settings surface is both a security/privacy control surface and a canonical settings-shell presentation boundary.-6. `frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx` shared with `frontend-primitives`: the security overview settings surface is both a security/privacy control surface and a canonical settings-shell presentation boundary.-7. `frontend-modern/src/components/Settings/useAPITokenManagerState.ts` shared with `api-contracts`: the API token settings state hook is both a security/privacy control surface and a canonical API payload contract boundary.-8. `frontend-modern/src/utils/apiTokenPresentation.ts` shared with `api-contracts`: the API token presentation helper is both a security/privacy control surface and a canonical API token management boundary.-8. `internal/api/security.go` shared with `api-contracts`: the security handlers are both a security/privacy control surface and a canonical API payload contract boundary.-9. `internal/api/security_tokens.go` shared with `api-contracts`: the security token handlers are both a security/privacy control surface and a canonical API payload contract boundary.-10. `internal/api/system_settings.go` shared with `api-contracts`: the system settings telemetry and auth controls are both a security/privacy control surface and a canonical API payload contract boundary.-11. `internal/cloudcp/auth/magiclink.go` shared with `cloud-paid`: control-plane magic-link HMAC handling is both a Pulse Cloud account-access boundary and a security/privacy token-secrecy boundary.-12. `internal/cloudcp/auth/magiclink_store.go` shared with `cloud-paid`: control-plane magic-link persistence is both a Pulse Cloud account-access boundary and a security/privacy storage-hardening boundary.+4. `frontend-modern/src/components/Settings/DataHandlingPanel.tsx` shared with `frontend-primitives`: the data-handling settings surface is both a security/privacy trust surface and a canonical settings-shell presentation boundary.+5. `frontend-modern/src/components/Settings/dataHandlingPanelModel.ts` shared with `frontend-primitives`: the data-handling settings model is both a security/privacy posture projection and a canonical settings-shell presentation boundary.+6. `frontend-modern/src/components/Settings/GeneralSettingsPanel.tsx` shared with `frontend-primitives`: the general settings privacy panel is both a security/privacy control surface and a canonical settings-shell presentation boundary.+7. `frontend-modern/src/components/Settings/SecurityAuthPanel.tsx` shared with `frontend-primitives`: the authentication settings surface is both a security/privacy control surface and a canonical settings-shell presentation boundary.+8. `frontend-modern/src/components/Settings/SecurityOverviewPanel.tsx` shared with `frontend-primitives`: the security overview settings surface is both a security/privacy control surface and a canonical settings-shell presentation boundary.+9. `frontend-modern/src/components/Settings/useAPITokenManagerState.ts` shared with `api-contracts`: the API token settings state hook is both a security/privacy control surface and a canonical API payload contract boundary.+10. `frontend-modern/src/utils/apiTokenPresentation.ts` shared with `api-contracts`: the API token presentation helper is both a security/privacy control surface and a canonical API token management boundary.+11. `internal/api/security.go` shared with `api-contracts`: the security handlers are both a security/privacy control surface and a canonical API payload contract boundary.+12. `internal/api/security_tokens.go` shared with `api-contracts`: the security token handlers are both a security/privacy control surface and a canonical API payload contract boundary.+13. `internal/api/system_settings.go` shared with `api-contracts`: the system settings telemetry and auth controls are both a security/privacy control surface and a canonical API payload contract boundary.+14. `internal/cloudcp/auth/magiclink.go` shared with `cloud-paid`: control-plane magic-link HMAC handling is both a Pulse Cloud account-access boundary and a security/privacy token-secrecy boundary.+15. `internal/cloudcp/auth/magiclink_store.go` shared with `cloud-paid`: control-plane magic-link persistence is both a Pulse Cloud account-access boundary and a security/privacy storage-hardening boundary.## Extension Points@@ -84,6 +88,7 @@ visibility, and privacy controls to operators.6. Change operator-facing telemetry/adoption reporting through `scripts/telemetry_adoption_report.py` together with the privacy disclosure whenever release-identity interpretation changes.7. Change data-at-rest encryption-key or control-plane magic-link HMAC key and storage-root hardening semantics through `internal/crypto/crypto.go`, `internal/cloudcp/auth/magiclink.go`, `internal/cloudcp/auth/magiclink_store.go`, and `internal/securityutil/secure_storage_dir.go` together so writable-but-not-owned runtime storage mounts stay supported without weakening file-level secrecy.8. Change auth-env password normalization or shared TLS fingerprint verification defaults through `internal/config/config.go`, `internal/config/watcher.go`, and `pkg/tlsutil/fingerprint.go` together so startup auth ingestion, live auth-env reloads, and pinned-fingerprint TLS clients keep one fail-closed security floor.+9. Change operator-facing data-handling posture through `frontend-modern/src/components/Settings/DataHandlingPanel.tsx` and `frontend-modern/src/components/Settings/dataHandlingPanelModel.ts` together so resource classification, handling-boundary, and redaction copy stays governed as a trust surface.## Forbidden Paths@@ -100,6 +105,7 @@ visibility, and privacy controls to operators.5. Update this contract whenever a new canonical security, token, auth, or privacy surface becomes part of the governed trust boundary.6. Keep the shared storage-directory and secure storage-file hardening helper aligned with the crypto manager plus control-plane magic-link key and store handling whenever runtime data-root ownership assumptions change.7. Keep auth-env ingestion and shared fingerprint-verifier TLS defaults aligned whenever runtime auth loading or pinned-certificate transport behavior changes.+8. Keep the Data Handling settings surface neutral and non-commercial: it may show resource policy posture, local-only counts, and redaction coverage, but it must not advertise trials, upgrades, paid plans, or monitoring limits.## Current State@@ -127,6 +133,11 @@ Security-facing settings remain intentionally shared with `frontend-primitives`because shell framing and presentation consistency still belong there, but themeaning of those surfaces now lives here so auth posture, token controls, andprivacy toggles stop borrowing their governance only from adjacent lanes.+The Data Handling settings surface extends that trust boundary to resource+policy posture. It may expose the canonical sensitivity, handling-boundary,+and redaction counts that Pulse already applies to resources, but it must stay+informational and non-commercial so free/self-hosted operators are not shown+paywall, trial, upgrade, or monitoring-limit prompts inside a privacy surface.That shared settings boundary now also has an explicit split of responsibilities:`frontend-modern/src/components/Settings/useSystemSettingsState.ts` remains thecanonical owner for telemetry, local-upgrade-metrics, and auth/privacy runtimediff --git a/frontend-modern/src/components/Settings/DataHandlingPanel.tsx b/frontend-modern/src/components/Settings/DataHandlingPanel.tsxnew file mode 100644index 0000000000..df57fdb26a--- /dev/null+++ b/frontend-modern/src/components/Settings/DataHandlingPanel.tsx@@ -0,0 +1,226 @@+import { For, Show, createMemo, type Component } from 'solid-js';+import AlertTriangle from 'lucide-solid/icons/alert-triangle';+import Cloud from 'lucide-solid/icons/cloud';+import EyeOff from 'lucide-solid/icons/eye-off';+import Lock from 'lucide-solid/icons/lock';+import RefreshCw from 'lucide-solid/icons/refresh-cw';+import ShieldCheck from 'lucide-solid/icons/shield-check';+import { useUnifiedResources } from '@/hooks/useUnifiedResources';+import Button from '@/components/shared/Button';+import SettingsPanel from '@/components/shared/SettingsPanel';+import {+ buildDataHandlingPanelModel,+ type DataHandlingPostureItem,+} from './dataHandlingPanelModel';++const meterClassByTone: Record<DataHandlingPostureItem['tone'], string> = {+ neutral: 'bg-base-content/40',+ info: 'bg-sky-500 dark:bg-sky-400',+ success: 'bg-emerald-500 dark:bg-emerald-400',+ warning: 'bg-amber-500 dark:bg-amber-400',+ danger: 'bg-rose-500 dark:bg-rose-400',+};++const badgeClassByTone: Record<DataHandlingPostureItem['tone'], string> = {+ neutral: 'border border-border bg-surface text-muted',+ info: 'bg-sky-100 text-sky-700 dark:bg-sky-900 dark:text-sky-200',+ success: 'bg-emerald-100 text-emerald-700 dark:bg-emerald-900 dark:text-emerald-200',+ warning: 'bg-amber-100 text-amber-700 dark:bg-amber-900 dark:text-amber-200',+ danger: 'bg-rose-100 text-rose-700 dark:bg-rose-900 dark:text-rose-200',+};++const formatCount = (value: number): string => new Intl.NumberFormat().format(value);++const errorMessageFor = (error: unknown): string => {+ if (error instanceof Error && error.message.trim()) {+ return error.message;+ }+ return 'Unable to load resource policy posture.';+};++const PostureMeter: Component<{ item: DataHandlingPostureItem }> = (props) => (+ <div class="rounded-md border border-border bg-surface-alt px-4 py-3">+ <div class="flex items-start justify-between gap-3">+ <div class="min-w-0">+ <p class="text-sm font-semibold text-base-content">{props.item.label}</p>+ <p class="mt-1 text-xs text-muted">{props.item.description}</p>+ </div>+ <span+ class={`shrink-0 rounded px-2 py-0.5 text-xs font-semibold ${badgeClassByTone[props.item.tone]}`}+ >+ {formatCount(props.item.count)}+ </span>+ </div>+ <div+ class="mt-3 h-2 overflow-hidden rounded bg-surface-hover"+ aria-label={`${props.item.label} ${props.item.percentage}%`}+ >+ <div+ class={`h-full rounded ${meterClassByTone[props.item.tone]}`}+ style={{ width: `${props.item.percentage}%` }}+ />+ </div>+ </div>+);++export const DataHandlingPanel: Component = () => {+ const resources = useUnifiedResources({ query: '', cacheKey: 'all-resources' });+ const model = createMemo(() => buildDataHandlingPanelModel(resources.policyPosture()));+ const errorMessage = createMemo(() => {+ const error = resources.error();+ return error ? errorMessageFor(error) : '';+ });++ return (+ <SettingsPanel+ title="Data Handling"+ description="Review resource classifications, handling boundaries, and redaction coverage."+ bodyClass="space-y-5"+ action={+ <Button+ type="button"+ variant="outline"+ size="sm"+ isLoading={resources.loading()}+ onClick={() => {+ void resources.refetch();+ }}+ >+ <RefreshCw class="mr-2 h-4 w-4" aria-hidden="true" />+ Refresh+ </Button>+ }+ >+ <Show when={errorMessage()}>+ {(message) => (+ <div class="rounded-md border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-900 dark:border-amber-800 dark:bg-amber-900 dark:text-amber-100">+ <div class="flex items-start gap-3">+ <AlertTriangle class="mt-0.5 h-4 w-4 shrink-0" aria-hidden="true" />+ <p>{message()}</p>+ </div>+ </div>+ )}+ </Show>++ <Show+ when={!resources.loading() || resources.policyPosture()}+ fallback={+ <div class="grid gap-3 md:grid-cols-3">+ {[1, 2, 3].map(() => (+ <div class="min-h-28 rounded-md border border-border bg-surface-alt p-4 animate-pulse">+ <div class="h-4 w-24 rounded bg-surface-hover" />+ <div class="mt-4 h-8 w-16 rounded bg-surface-hover" />+ <div class="mt-3 h-3 w-32 rounded bg-surface-hover" />+ </div>+ ))}+ </div>+ }+ >+ <div class="grid gap-3 md:grid-cols-3">+ <div class="rounded-md border border-border bg-surface-alt p-4">+ <div class="flex items-center gap-2 text-sm font-semibold text-base-content">+ <ShieldCheck class="h-4 w-4 text-emerald-600 dark:text-emerald-300" />+ Governed Resources+ </div>+ <p class="mt-3 text-3xl font-semibold text-base-content">+ {formatCount(model().totalResources)}+ </p>+ <p class="mt-1 text-xs text-muted">Resources carrying policy metadata.</p>+ </div>+ <div class="rounded-md border border-border bg-surface-alt p-4">+ <div class="flex items-center gap-2 text-sm font-semibold text-base-content">+ <Lock class="h-4 w-4 text-teal-600 dark:text-teal-300" />+ Local-Only+ </div>+ <p class="mt-3 text-3xl font-semibold text-base-content">+ {formatCount(model().localOnlyResources)}+ </p>+ <p class="mt-1 text-xs text-muted">Resources kept inside this Pulse instance.</p>+ </div>+ <div class="rounded-md border border-border bg-surface-alt p-4">+ <div class="flex items-center gap-2 text-sm font-semibold text-base-content">+ <EyeOff class="h-4 w-4 text-muted" />+ Redaction Hints+ </div>+ <p class="mt-3 text-3xl font-semibold text-base-content">+ {formatCount(model().redactionHintCount)}+ </p>+ <p class="mt-1 text-xs text-muted">Field-level protections applied by policy.</p>+ </div>+ </div>++ <Show+ when={model().hasResources}+ fallback={+ <div class="rounded-md border border-border bg-surface-alt px-4 py-5">+ <p class="text-sm font-semibold text-base-content">No governed resources yet</p>+ <p class="mt-1 text-sm text-muted">+ Resource policy posture will appear after Pulse has canonical resource data.+ </p>+ </div>+ }+ >+ <div class="grid gap-4 xl:grid-cols-2">+ <section class="space-y-3">+ <div>+ <h3 class="text-sm font-semibold text-base-content">Sensitivity</h3>+ <p class="mt-1 text-xs text-muted">Classification applied to monitored resources.</p>+ </div>+ <div class="space-y-2">+ <For each={model().sensitivityItems}>{(item) => <PostureMeter item={item} />}</For>+ </div>+ </section>++ <section class="space-y-3">+ <div class="flex items-start gap-2">+ <Cloud class="mt-0.5 h-4 w-4 text-sky-600 dark:text-sky-300" />+ <div>+ <h3 class="text-sm font-semibold text-base-content">Handling Boundary</h3>+ <p class="mt-1 text-xs text-muted">+ Routing policy for summaries and local-only resource data.+ </p>+ </div>+ </div>+ <div class="space-y-2">+ <For each={model().routingItems}>{(item) => <PostureMeter item={item} />}</For>+ </div>+ </section>+ </div>++ <section class="rounded-md border border-border bg-surface-alt px-4 py-4">+ <div class="flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between">+ <div>+ <h3 class="text-sm font-semibold text-base-content">Redaction Coverage</h3>+ <p class="mt-1 text-xs text-muted">+ Fields removed when a resource requires a guarded display.+ </p>+ </div>+ <Show when={!model().hasRedactions}>+ <span class="w-fit rounded bg-surface px-2 py-1 text-xs font-medium text-muted">+ No active redaction hints+ </span>+ </Show>+ </div>+ <Show when={model().hasRedactions}>+ <div class="mt-4 flex flex-wrap gap-2">+ <For each={model().redactionItems}>+ {(item) => (+ <span+ class={`inline-flex items-center gap-1.5 rounded px-2.5 py-1 text-xs font-medium ${badgeClassByTone[item.tone]}`}+ title={item.description}+ >+ {item.label}+ <span class="font-semibold">{formatCount(item.count)}</span>+ </span>+ )}+ </For>+ </div>+ </Show>+ </section>+ </Show>+ </Show>+ </SettingsPanel>+ );+};++export default DataHandlingPanel;diff --git a/frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts b/frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.tsnew file mode 100644index 0000000000..fa9e0c0508--- /dev/null+++ b/frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts@@ -0,0 +1,70 @@+import { describe, expect, it } from 'vitest';+import { buildDataHandlingPanelModel } from '../dataHandlingPanelModel';++describe('dataHandlingPanelModel', () => {+ it('summarizes canonical resource policy posture for settings', () => {+ const model = buildDataHandlingPanelModel({+ totalResources: 10,+ sensitivityCounts: {+ public: 1,+ internal: 4,+ sensitive: 3,+ restricted: 2,+ },+ routingCounts: {+ 'cloud-summary': 5,+ 'local-first': 3,+ 'local-only': 2,+ },+ redactionCounts: {+ hostname: 2,+ 'ip-address': 1,+ },+ });++ expect(model.totalResources).toBe(10);+ expect(model.localOnlyResources).toBe(2);+ expect(model.redactionHintCount).toBe(3);+ expect(model.hasResources).toBe(true);+ expect(model.hasRedactions).toBe(true);+ expect(model.sensitivityItems.map((item) => [item.key, item.count, item.percentage])).toEqual([+ ['public', 1, 10],+ ['internal', 4, 40],+ ['sensitive', 3, 30],+ ['restricted', 2, 20],+ ]);+ expect(model.routingItems.map((item) => [item.key, item.count, item.percentage])).toEqual([+ ['cloud-summary', 5, 50],+ ['local-first', 3, 30],+ ['local-only', 2, 20],+ ]);+ expect(model.redactionItems.map((item) => [item.key, item.count, item.percentage])).toEqual([+ ['hostname', 2, 67],+ ['ip-address', 1, 33],+ ]);+ });++ it('keeps missing and malformed counts as empty posture without negative totals', () => {+ const model = buildDataHandlingPanelModel({+ totalResources: -4,+ sensitivityCounts: {+ public: -1,+ internal: Number.NaN,+ },+ routingCounts: {+ 'local-only': -5,+ },+ redactionCounts: {},+ });++ expect(model.totalResources).toBe(0);+ expect(model.localOnlyResources).toBe(0);+ expect(model.redactionHintCount).toBe(0);+ expect(model.hasResources).toBe(false);+ expect(model.hasRedactions).toBe(false);+ expect(model.sensitivityItems.every((item) => item.count === 0)).toBe(true);+ expect(model.routingItems.every((item) => item.count === 0)).toBe(true);+ expect(model.redactionItems).toEqual([]);+ });+});+diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.tsindex ac9144b66d..f115f19384 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts@@ -8,6 +8,7 @@ import settingsHeaderMetaSource from '../settingsHeaderMeta.ts?raw';import settingsNavCatalogSource from '../settingsNavCatalog.ts?raw';import settingsNavigationHookSource from '../useSettingsNavigation.ts?raw';import settingsPanelRegistryContextSource from '../settingsPanelRegistryContext.tsx?raw';+import dataHandlingPanelSource from '../DataHandlingPanel.tsx?raw';import infrastructureWorkspaceSource from '../InfrastructureWorkspace.tsx?raw';import infrastructureSourceManagerSource from '../InfrastructureSourceManager.tsx?raw';import infrastructureSourcePickerSource from '../InfrastructureSourcePicker.tsx?raw';@@ -137,6 +138,10 @@ describe('settings architecture guardrails', () => {expect(systemSettingsPresentationSource).toContain('Unable to update commercial prompt preferences.',);+ expect(dataHandlingPanelSource).not.toContain('Start Trial');+ expect(dataHandlingPanelSource).not.toContain('higher limits');+ expect(dataHandlingPanelSource).not.toContain('Upgrade');+ expect(dataHandlingPanelSource).not.toContain('Pro');});it('keeps infrastructure on a source-manager landing with route-backed dialogs', () => {diff --git a/frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx b/frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsxindex 158d7c6ca6..a971075b4b 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/settingsNavigation.integration.test.tsx@@ -25,6 +25,7 @@ const canonicalTabPaths = {'organization-sharing': '/settings/organization/sharing',api: '/settings/security/api','security-overview': '/settings/security-overview',+ 'security-data-handling': '/settings/security-data-handling','security-auth': '/settings/security-auth','security-sso': '/settings/security-sso','security-roles': '/settings/security-roles',@@ -124,6 +125,19 @@ describe('settingsNavigation integration scaffold', () => {expect(getSettingsNavItem('system-billing')?.hideFromSidebar).toBe(true);});+ it('keeps data handling visible as a non-commercial trust surface', () => {+ expect(getSettingsNavItem('security-data-handling')?.hideWhenCommercialHidden).not.toBe(true);+ expect(+ shouldHideSettingsNavItem('security-data-handling', {+ hasFeature: hasFeatures([]),+ runtimeCapabilitiesLoaded: () => true,+ presentationPolicyHidesCommercial: true,+ presentationPolicyResolved: true,+ hostedModeEnabled: false,+ }),+ ).toBe(false);+ });+it('hides paid-only self-hosted tabs from free installs', () => {for (const tab of ['system-relay',diff --git a/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.tsindex 488bfe1771..ff42632adf 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsRouting.test.ts@@ -35,6 +35,7 @@ const canonicalTabPaths = {'organization-sharing': '/settings/organization/sharing',api: '/settings/security/api','security-overview': '/settings/security-overview',+ 'security-data-handling': '/settings/security-data-handling','security-auth': '/settings/security-auth','security-sso': '/settings/security-sso','security-roles': '/settings/security-roles',@@ -160,6 +161,8 @@ describe('settingsNavigationModel', () => {['?tab=organization-overview', 'organization-overview'],['?tab=organization-billing', 'organization-billing'],['?tab=security-overview', 'security-overview'],+ ['?tab=data-handling', 'security-data-handling'],+ ['?tab=resource-privacy', 'security-data-handling'],['?tab=unknown', null],];for (const [query, expectedTab] of queryCases) {diff --git a/frontend-modern/src/components/Settings/dataHandlingPanelModel.ts b/frontend-modern/src/components/Settings/dataHandlingPanelModel.tsnew file mode 100644index 0000000000..295f9ff49f--- /dev/null+++ b/frontend-modern/src/components/Settings/dataHandlingPanelModel.ts@@ -0,0 +1,169 @@+import type {+ ResourcePolicyPostureSummary,+ ResourceRedactionHint,+ ResourceRoutingScope,+ ResourceSensitivity,+} from '@/types/resource';+import {+ getResourceRedactionHintLabel,+ getResourceRoutingScopeLabel,+ getResourceSensitivityLabel,+ RESOURCE_POLICY_REDACTION_ORDER,+ RESOURCE_POLICY_ROUTING_ORDER,+ RESOURCE_POLICY_SENSITIVITY_ORDER,+} from '@/utils/resourcePolicyPresentation';++type DataHandlingTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';++export interface DataHandlingPostureItem<T extends string = string> {+ key: T;+ label: string;+ count: number;+ percentage: number;+ tone: DataHandlingTone;+ description: string;+}++export interface DataHandlingPanelModel {+ totalResources: number;+ localOnlyResources: number;+ redactionHintCount: number;+ hasResources: boolean;+ hasRedactions: boolean;+ sensitivityItems: Array<DataHandlingPostureItem<ResourceSensitivity>>;+ routingItems: Array<DataHandlingPostureItem<ResourceRoutingScope>>;+ redactionItems: Array<DataHandlingPostureItem<ResourceRedactionHint>>;+}++const sensitivityDescriptions: Record<ResourceSensitivity, string> = {+ public: 'Safe to show broadly.',+ internal: 'Normal infrastructure detail.',+ sensitive: 'Handled with extra care.',+ restricted: 'Most guarded resource data.',+};++const routingDescriptions: Record<ResourceRoutingScope, string> = {+ 'cloud-summary': 'Eligible for policy-limited summaries.',+ 'local-first': 'Prefers local handling first.',+ 'local-only': 'Kept inside this Pulse instance.',+};++const redactionDescriptions: Record<ResourceRedactionHint, string> = {+ hostname: 'Hostnames removed when needed.',+ 'ip-address': 'IP addresses removed when needed.',+ 'platform-id': 'Platform identifiers removed when needed.',+ alias: 'Aliases removed when needed.',+ path: 'Filesystem paths removed when needed.',+};++const sensitivityTone: Record<ResourceSensitivity, DataHandlingTone> = {+ public: 'success',+ internal: 'neutral',+ sensitive: 'warning',+ restricted: 'danger',+};++const routingTone: Record<ResourceRoutingScope, DataHandlingTone> = {+ 'cloud-summary': 'info',+ 'local-first': 'warning',+ 'local-only': 'success',+};++const redactionTone: Record<ResourceRedactionHint, DataHandlingTone> = {+ hostname: 'neutral',+ 'ip-address': 'neutral',+ 'platform-id': 'neutral',+ alias: 'neutral',+ path: 'neutral',+};++const normalizeCount = (value: unknown): number => {+ const count = typeof value === 'number' ? value : Number(value);+ if (!Number.isFinite(count)) {+ return 0;+ }+ return Math.max(0, Math.trunc(count));+};++const percentageOf = (count: number, total: number): number => {+ if (total <= 0 || count <= 0) {+ return 0;+ }+ return Math.min(100, Math.round((count / total) * 100));+};++const sumCounts = <T extends string>(counts: Partial<Record<T, number>> | undefined): number => {+ let total = 0;+ for (const value of Object.values(counts ?? {}) as Array<number | undefined>) {+ total += normalizeCount(value);+ }+ return total;+};++const buildItems = <T extends string>(+ order: readonly T[],+ counts: Partial<Record<T, number>> | undefined,+ total: number,+ labelFor: (key: T) => string,+ descriptionFor: Record<T, string>,+ toneFor: Record<T, DataHandlingTone>,+ includeZeroCounts: boolean,+): Array<DataHandlingPostureItem<T>> =>+ order.flatMap((key) => {+ const count = normalizeCount(counts?.[key]);+ if (!includeZeroCounts && count <= 0) {+ return [];+ }+ return [+ {+ key,+ label: labelFor(key),+ count,+ percentage: percentageOf(count, total),+ tone: toneFor[key],+ description: descriptionFor[key],+ },+ ];+ });++export function buildDataHandlingPanelModel(+ posture?: ResourcePolicyPostureSummary | null,+): DataHandlingPanelModel {+ const totalResources = normalizeCount(posture?.totalResources);+ const redactionHintCount = sumCounts<ResourceRedactionHint>(posture?.redactionCounts);++ return {+ totalResources,+ localOnlyResources: normalizeCount(posture?.routingCounts?.['local-only']),+ redactionHintCount,+ hasResources: totalResources > 0,+ hasRedactions: redactionHintCount > 0,+ sensitivityItems: buildItems<ResourceSensitivity>(+ RESOURCE_POLICY_SENSITIVITY_ORDER,+ posture?.sensitivityCounts,+ totalResources,+ getResourceSensitivityLabel,+ sensitivityDescriptions,+ sensitivityTone,+ true,+ ),+ routingItems: buildItems<ResourceRoutingScope>(+ RESOURCE_POLICY_ROUTING_ORDER,+ posture?.routingCounts,+ totalResources,+ getResourceRoutingScopeLabel,+ routingDescriptions,+ routingTone,+ true,+ ),+ redactionItems: buildItems<ResourceRedactionHint>(+ RESOURCE_POLICY_REDACTION_ORDER,+ posture?.redactionCounts,+ redactionHintCount,+ getResourceRedactionHintLabel,+ redactionDescriptions,+ redactionTone,+ false,+ ),+ };+}diff --git a/frontend-modern/src/components/Settings/settingsHeaderMeta.ts b/frontend-modern/src/components/Settings/settingsHeaderMeta.tsindex 3340b8f464..568f714acb 100644--- a/frontend-modern/src/components/Settings/settingsHeaderMeta.ts+++ b/frontend-modern/src/components/Settings/settingsHeaderMeta.ts@@ -84,6 +84,11 @@ export const SETTINGS_HEADER_META: SettingsHeaderMetaMap = {title: 'Security Overview',description: 'View your security posture at a glance and monitor authentication status.',},+ 'security-data-handling': {+ title: 'Data Handling',+ description:+ 'Review resource classifications, handling boundaries, and redaction coverage.',+ },'security-auth': {title: 'Authentication',description: 'Manage password-based authentication and credential rotation.',diff --git a/frontend-modern/src/components/Settings/settingsNavCatalog.ts b/frontend-modern/src/components/Settings/settingsNavCatalog.tsindex 91a3f59c8d..b5a3a3e8a8 100644--- a/frontend-modern/src/components/Settings/settingsNavCatalog.ts+++ b/frontend-modern/src/components/Settings/settingsNavCatalog.ts@@ -174,6 +174,12 @@ export const SETTINGS_NAV_GROUPS: SettingsNavGroup[] = [icon: Shield,iconProps: { strokeWidth: 2 },},+ {+ id: 'security-data-handling',+ label: 'Data Handling',+ icon: FileText,+ iconProps: { strokeWidth: 2 },+ },{id: 'api',label: 'API Access',diff --git a/frontend-modern/src/components/Settings/settingsNavigationModel.ts b/frontend-modern/src/components/Settings/settingsNavigationModel.tsindex 9573421030..1822ed9511 100644--- a/frontend-modern/src/components/Settings/settingsNavigationModel.ts+++ b/frontend-modern/src/components/Settings/settingsNavigationModel.ts@@ -26,6 +26,7 @@ export type SettingsTab =| 'organization-sharing'| 'api'| 'security-overview'+ | 'security-data-handling'| 'security-auth'| 'security-sso'| 'security-roles'@@ -222,6 +223,7 @@ export function deriveTabFromPath(path: string): SettingsTab {if (canonicalPath.includes(LEGACY_INTEGRATIONS_API_PREFIX)) return 'api';if (canonicalPath.includes('/settings/security-overview')) return 'security-overview';+ if (canonicalPath.includes('/settings/security-data-handling')) return 'security-data-handling';if (canonicalPath.includes('/settings/security-auth')) return 'security-auth';if (canonicalPath.includes('/settings/security-sso')) return 'security-sso';if (canonicalPath.includes('/settings/security-roles')) return 'security-roles';@@ -336,6 +338,10 @@ export function deriveTabFromQuery(search: string): SettingsTab | null {return 'organization-billing-admin';case 'security-overview':return 'security-overview';+ case 'security-data-handling':+ case 'data-handling':+ case 'resource-privacy':+ return 'security-data-handling';case 'security-auth':return 'security-auth';case 'security-sso':diff --git a/frontend-modern/src/components/Settings/settingsPanelRegistry.ts b/frontend-modern/src/components/Settings/settingsPanelRegistry.tsindex 8587a5a00c..fe51bc9fab 100644--- a/frontend-modern/src/components/Settings/settingsPanelRegistry.ts+++ b/frontend-modern/src/components/Settings/settingsPanelRegistry.ts@@ -112,6 +112,9 @@ export const createSettingsPanelRegistry = (component: SETTINGS_PANEL_REGISTRY_LOADERS.SecurityOverviewPanel,getProps: context.getSecurityOverviewPanelProps,},+ 'security-data-handling': {+ component: SETTINGS_PANEL_REGISTRY_LOADERS.DataHandlingPanel,+ },'security-auth': {component: SETTINGS_PANEL_REGISTRY_LOADERS.SecurityAuthPanel,getProps: context.getSecurityAuthPanelProps,diff --git a/frontend-modern/src/components/Settings/settingsPanelRegistryLoaders.ts b/frontend-modern/src/components/Settings/settingsPanelRegistryLoaders.tsindex ca537dbed5..6d736c1453 100644--- a/frontend-modern/src/components/Settings/settingsPanelRegistryLoaders.ts+++ b/frontend-modern/src/components/Settings/settingsPanelRegistryLoaders.ts@@ -7,6 +7,9 @@ export const SETTINGS_PANEL_REGISTRY_LOADERS = {DiagnosticsPanel: lazy(() =>import('./DiagnosticsPanel').then((m) => ({ default: m.DiagnosticsPanel })),),+ DataHandlingPanel: lazy(() =>+ import('./DataHandlingPanel').then((m) => ({ default: m.DataHandlingPanel })),+ ),AuditLogPanel: lazy(() => import('./AuditLogPanel')),AuditWebhookPanel: lazy(() =>import('./AuditWebhookPanel').then((m) => ({ default: m.AuditWebhookPanel })),diff --git a/scripts/release_control/canonical_completion_guard_test.py b/scripts/release_control/canonical_completion_guard_test.pyindex 12bdb8a275..ba51fa4a44 100644--- a/scripts/release_control/canonical_completion_guard_test.py+++ b/scripts/release_control/canonical_completion_guard_test.py@@ -2603,6 +2603,7 @@ class CanonicalCompletionGuardTest(unittest.TestCase):"exact_files": ["frontend-modern/src/components/Settings/__tests__/APITokenManager.test.tsx","frontend-modern/src/components/Settings/__tests__/SecurityPostureSummary.test.tsx",+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts","frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts","frontend-modern/src/stores/__tests__/systemSettings.test.ts",],@@ -3272,6 +3273,7 @@ index 1111111..2222222 100644"allow_same_subsystem_tests": False,"test_prefixes": [],"exact_files": [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts","frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",],}@@ -3296,6 +3298,7 @@ index 1111111..2222222 100644"allow_same_subsystem_tests": False,"test_prefixes": [],"exact_files": [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts","frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",],}@@ -3320,6 +3323,7 @@ index 1111111..2222222 100644"allow_same_subsystem_tests": False,"test_prefixes": [],"exact_files": [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts","frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",],}@@ -3350,6 +3354,7 @@ index 1111111..2222222 100644"allow_same_subsystem_tests": False,"test_prefixes": [],"exact_files": [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts","frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",],}@@ -3390,7 +3395,10 @@ index 1111111..2222222 100644self._assert_environment_lock_boundary_requires_frontend_primitives("frontend-modern/src/components/Settings/DockerRuntimeSettingsCard.tsx","settings-shell-and-framing",- ["frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"],+ [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ ],)def test_environment_lock_badge_change_requires_frontend_primitives(self):diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.pyindex cb70e68a5a..e469f911ce 100644--- a/scripts/release_control/subsystem_lookup_test.py+++ b/scripts/release_control/subsystem_lookup_test.py@@ -2924,7 +2924,10 @@ class SubsystemLookupTest(unittest.TestCase):)self.assertEqual(match["verification_requirement"]["exact_files"],- ["frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"],+ [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ ],)def test_lookup_paths_assigns_settings_dialogs_to_frontend_primitives(self) -> None:@@ -2952,7 +2955,10 @@ class SubsystemLookupTest(unittest.TestCase):)self.assertEqual(match["verification_requirement"]["exact_files"],- ["frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"],+ [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ ],)def test_lookup_paths_assigns_settings_shell_state_to_frontend_primitives(self) -> None:@@ -2980,7 +2986,10 @@ class SubsystemLookupTest(unittest.TestCase):)self.assertEqual(match["verification_requirement"]["exact_files"],- ["frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"],+ [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ ],)def test_lookup_paths_assigns_network_settings_panel_to_frontend_primitives(self) -> None:@@ -3008,7 +3017,10 @@ class SubsystemLookupTest(unittest.TestCase):)self.assertEqual(match["verification_requirement"]["exact_files"],- ["frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"],+ [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ ],)def test_lookup_paths_assigns_network_settings_model_to_frontend_primitives(self) -> None:@@ -3036,7 +3048,10 @@ class SubsystemLookupTest(unittest.TestCase):)self.assertEqual(match["verification_requirement"]["exact_files"],- ["frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"],+ [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ ],)def test_lookup_paths_assigns_security_auth_panel_to_frontend_primitives(self) -> None:@@ -3064,7 +3079,10 @@ class SubsystemLookupTest(unittest.TestCase):)self.assertEqual(match["verification_requirement"]["exact_files"],- ["frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"],+ [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ ],)security_match = next(match for match in file_entry["matches"] if match["subsystem"] == "security-privacy"@@ -3109,7 +3127,10 @@ class SubsystemLookupTest(unittest.TestCase):self._assert_environment_lock_lookup("frontend-modern/src/components/Settings/DockerRuntimeSettingsCard.tsx","settings-shell-and-framing",- ["frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"],+ [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ ],)def test_lookup_paths_assigns_environment_lock_badge_to_frontend_primitives(self) -> None:@@ -3188,7 +3209,10 @@ class SubsystemLookupTest(unittest.TestCase):)self.assertEqual(match["verification_requirement"]["exact_files"],- ["frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts"],+ [+ "frontend-modern/src/components/Settings/__tests__/dataHandlingPanelModel.test.ts",+ "frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts",+ ],)def test_lookup_paths_assigns_organization_sharing_panel_to_organization_settings(self) -> None: