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.

Define the TrueNAS support floor

rcourtman1d3ed41d9352
diff --git a/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md b/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md
index db7d185142..5d0be4ae0a 100644
--- a/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md
+++ b/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md
@@ -1,6 +1,6 @@
# Pulse v6 Source Of Truth
-Last updated: 2026-03-27
+Last updated: 2026-03-30
Status: ACTIVE
This file is the stable human governance layer for the active v6 release
@@ -86,6 +86,9 @@ This file must not contain:
notice requirements for the v6 cutover.
13. `docs/release-control/v6/internal/RC_TO_GA_REHEARSAL_TEMPLATE.md`
Canonical human record shape for the non-publish RC-to-GA rehearsal run.
+14. `docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md`
+ Canonical first-class platform, ingestion-mode, resource-projection, and
+ support-floor model for Pulse v6.
These machine files remain canonical, but agents should not ingest them in full
by default when a smaller derived command answers the question. Prefer
@@ -409,6 +412,63 @@ Assertion design rules:
derived incident projection rather than a competing source of truth for
durable resource history.
+## TrueNAS Support Floor
+
+Pulse v6 uses one governed definition of "TrueNAS supported" at the current
+floor. Detailed proof routes live in `status.json.readiness_assertions` and the
+owning subsystem contracts; user-facing claims must not exceed this floor.
+
+1. Architecture boundary:
+ TrueNAS is API-first. The unified agent may augment a TrueNAS system later,
+ but it is not required for bootstrap or baseline support. TrueNAS must
+ project into the canonical `agent`, `app-container`, `storage`,
+ `physical-disk`, and recovery contracts instead of reopening a parallel
+ TrueNAS product model.
+2. Onboarding path:
+ Supported now through the shared platform-connections flow and
+ `/api/truenas/connections`. Operators can add, test, edit, retest, and
+ delete stored TrueNAS connections without re-entering masked secrets on
+ ordinary edits. `truenas_disabled` is only an explicit server opt-out, not
+ the baseline state. Out of scope for this floor: a separate TrueNAS-first
+ wizard, agent-required bootstrap, or disabled-by-default launch posture.
+3. Infrastructure visibility:
+ Supported now as one canonical top-level system in connected infrastructure
+ plus shared host telemetry/history when the API can supply it. The expected
+ user outcome is that a connected TrueNAS appliance shows up as
+ infrastructure, keeps platform-connection poll health, and remains a
+ TrueNAS platform even when host telemetry is ignored. Out of scope: a
+ separate `truenas-system` surface or provider-local infrastructure model.
+4. Workloads:
+ Supported now for TrueNAS apps projected as canonical `app-container`
+ workloads with shared workload navigation, metrics, and related links. Out
+ of scope: a separate TrueNAS app runtime model or provider-local workload
+ page/control surface.
+5. Storage and disk health:
+ Supported now for pools, datasets, and physical disks projected into the
+ shared storage and disk contracts, including SMART/disk-state risk, live
+ temperature, and recent temperature aggregates when the provider supplies
+ them. Out of scope: promising deeper TrueNAS-only topology or admin actions
+ beyond the current shared storage-health floor.
+6. Recovery:
+ Supported now as read-side visibility for TrueNAS snapshots and replication
+ artifacts in the shared recovery model, filters, rollups, and cross-surface
+ handoffs. Out of scope: treating recovery as its own TrueNAS onboarding
+ flow or promising provider-native restore/control actions that do not yet
+ exist on the governed shared path.
+7. Alerts:
+ Supported now when TrueNAS systems, disks, and app parents participate in
+ the shared alert thresholds, incidents, and related-resource handoffs into
+ infrastructure, workloads, storage, and recovery. Out of scope: a separate
+ TrueNAS-only alert product surface.
+8. Assistant read/control:
+ Supported now for canonical read-side resource access plus bounded app
+ control. Assistant may read TrueNAS app logs via `pulse_read`, read app
+ config via `pulse_query action="config"`, and issue native app
+ start/stop/restart through `pulse_control` on canonical `app-container`
+ resources. Out of scope: a blanket TrueNAS admin plane, provider-local AI
+ tools, host command execution without the unified agent, or broader action
+ promises ahead of the existing action-governance coverage gap.
+
## Cross-Repo Contracts
These contracts must not drift:
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.json
index 5805b5c619..364824a53d 100644
--- a/docs/release-control/v6/internal/status.json
+++ b/docs/release-control/v6/internal/status.json
@@ -1,6 +1,6 @@
{
"version": "6.0",
- "updated_at": "2026-03-27",
+ "updated_at": "2026-03-30",
"scope": {
"active_repos": [
"pulse",
@@ -1698,6 +1698,171 @@
"kind": "file"
}
]
+ },
+ {
+ "id": "RA20",
+ "summary": "Pulse's TrueNAS support claim is bounded to the current API-first floor: onboarding is through platform connections without requiring unified-agent bootstrap, TrueNAS projects into the canonical resource model and shared infrastructure/workload/storage/recovery/alert surfaces, Assistant support is read-first with bounded app control, and broader TrueNAS administration is not part of the current floor.",
+ "kind": "invariant",
+ "blocking_level": "release-ready",
+ "proof_type": "automated",
+ "lane_ids": [
+ "L6",
+ "L9",
+ "L13",
+ "L15"
+ ],
+ "subsystem_ids": [
+ "ai-runtime",
+ "alerts",
+ "api-contracts",
+ "monitoring",
+ "storage-recovery",
+ "unified-resources"
+ ],
+ "release_gate_ids": [],
+ "proof_commands": [
+ {
+ "id": "truenas-api-contract-tests",
+ "run": [
+ "go",
+ "test",
+ "./internal/api",
+ "-run",
+ "TestTrueNASHandlers_",
+ "-count=1"
+ ]
+ },
+ {
+ "id": "truenas-runtime-floor-tests",
+ "run": [
+ "go",
+ "test",
+ "./internal/monitoring",
+ "./internal/recovery/mapper/truenas",
+ "./internal/truenas",
+ "-run",
+ "TestFeatureFlagDefaultsTrueNASOnUnlessExplicitlyDisabled|TestGetAppLogsUsesRPCSubscription|TestProviderGetAppConfigReturnsCanonicalApp|TestRegistryIngestRecordsTreatsTrueNASAsGenericDataSource|TestStartAndStopAppUseRPCMethods|TestTrueNASDiskRecordsPopulatePhysicalDiskMeta|TestTrueNASPollerGetAppConfigUsesTenantScopedProvider|TestTrueNASResourcesFlowThroughUnifiedTypesWithoutSpecialCasing",
+ "-count=1"
+ ]
+ }
+ ],
+ "evidence": [
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/SOURCE_OF_TRUTH.md",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/status.json",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/subsystems/ai-runtime.md",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/subsystems/alerts.md",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/subsystems/api-contracts.md",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/subsystems/monitoring.md",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/subsystems/storage-recovery.md",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/subsystems/unified-resources.md",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Recovery/__tests__/Recovery.test.tsx",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Storage/__tests__/DiskList.test.tsx",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/components/Storage/__tests__/Storage.test.tsx",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/hooks/__tests__/useUnifiedResources.test.ts",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "frontend-modern/src/hooks/__tests__/useWorkloads.test.ts",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "internal/api/truenas_handlers_test.go",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "internal/monitoring/truenas_poller_test.go",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "internal/recovery/mapper/truenas/mapper_test.go",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "internal/truenas/client_test.go",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "internal/truenas/contract_test.go",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "internal/truenas/provider_test.go",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "tests/integration/evals/tasks/truenas-node-add.md",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "tests/integration/tests/21-truenas-settings-platform-connections.spec.ts",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "tests/integration/tests/28-truenas-alert-resource-links.spec.ts",
+ "kind": "file"
+ },
+ {
+ "repo": "pulse",
+ "path": "tests/integration/tests/32-truenas-workloads-resource-deeplink.spec.ts",
+ "kind": "file"
+ }
+ ]
}
],
"evidence_reference_policy": {
@@ -3729,6 +3894,27 @@
"lane_ids": [
"L5"
]
+ },
+ {
+ "id": "platform-support-model-v1",
+ "summary": "Pulse v6 platform support is governed by one canonical model: first-class platforms declare primary ingestion, canonical resource projections, and support-floor surfaces, while runtime variants such as Podman and transport helpers are not top-level platforms.",
+ "kind": "architecture",
+ "decided_at": "2026-03-30",
+ "subsystem_ids": [
+ "agent-lifecycle",
+ "ai-runtime",
+ "alerts",
+ "api-contracts",
+ "monitoring",
+ "storage-recovery",
+ "unified-resources"
+ ],
+ "lane_ids": [
+ "L6",
+ "L13",
+ "L15",
+ "L16"
+ ]
}
]
}
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index fa4a91b871..11c7f67f69 100644
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@ -227,6 +227,12 @@ management, and fleet control surfaces.
top-level `truenas` type, that value must collapse immediately to the
canonical `agent` host type before lifecycle surfaces, setup handoffs, or
operator-visible route state consume it.
+13. Keep onboarding ownership aligned with
+ `docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md`: agent-backed
+ first-class platforms belong to the install/reporting lifecycle path,
+ API-backed first-class platforms belong to Platform connections, and any
+ later unified-agent augmentation on an API-backed platform must remain an
+ optional secondary path instead of silently becoming the required bootstrap.
## Current State
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index 7e18dc0b52..8fa7cc8d44 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -68,6 +68,11 @@ runtime cost control, and shared AI transport surfaces.
3. Preserve explicit coverage for chat, Patrol, remediation, and cost-control behavior when AI runtime changes
4. Preserve auditability for outbound model-bound context exports and keep the export record aligned with the prompt boundary that actually reaches the provider
5. Keep AI resource and incident context aligned with the canonical unified-resource timeline before falling back to patrol-local change detectors
+6. Keep platform assistant read/control claims aligned with
+ `docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md`. New
+ platform-native reads or writes must extend the shared Assistant tool
+ contracts, and read-only or augmentation-only platforms must stay explicit
+ there instead of drifting into provider-local tools.
## Current State
@@ -180,6 +185,13 @@ API-backed app configuration reads such as TrueNAS app-container runtime
shape on the shared `pulse_query` tool with `action="config"` and
`resource_id=<canonical app>` instead of forcing those resources through the
guest-config shim or adding a provider-local config tool.
+That bounded tool set is the current Assistant floor for TrueNAS. Supported
+now means read-side app logs/config and native app start/stop/restart on
+canonical `app-container` resources through the shared `pulse_read`,
+`pulse_query`, and `pulse_control` tools. Pulse does not promise a blanket
+TrueNAS admin plane, host command execution on API-backed systems without the
+unified agent, or provider-local AI tools outside the shared action-governed
+runtime contract.
That same AI tool ownership also applies to recovery-backed storage reads.
When `internal/ai/tools/adapters.go` returns recovery points with malformed
persisted metadata omitted at the shared recovery-store boundary, the storage
diff --git a/docs/release-control/v6/internal/subsystems/alerts.md b/docs/release-control/v6/internal/subsystems/alerts.md
index fb4666c3ec..4c88fe2270 100644
--- a/docs/release-control/v6/internal/subsystems/alerts.md
+++ b/docs/release-control/v6/internal/subsystems/alerts.md
@@ -270,6 +270,12 @@ parents through the shared alert-overrides state rather than assuming
the same `Container Runtimes` / `Containers` surface, while Docker-specific
controls like ignored prefixes and Swarm service gap settings must stay gated
to real Docker runtimes instead of leaking onto non-Docker platforms.
+At the current support floor, TrueNAS alert support means the shared alert
+surfaces can evaluate, show, and drill into incidents on TrueNAS-backed
+systems, disks, and app parents using the canonical resource model and related
+links into infrastructure, workloads, storage, and recovery. Pulse does not
+promise a TrueNAS-only alert workflow or provider-specific alert management
+surface beyond the shared alerts product.
Future Docker thresholds presentation work should extend those section owners
instead of expanding `frontend-modern/src/components/Alerts/ThresholdsTableDockerTab.tsx`
back into a mixed render surface.
diff --git a/docs/release-control/v6/internal/subsystems/api-contracts.md b/docs/release-control/v6/internal/subsystems/api-contracts.md
index 000523d2c8..7866365059 100644
--- a/docs/release-control/v6/internal/subsystems/api-contracts.md
+++ b/docs/release-control/v6/internal/subsystems/api-contracts.md
@@ -299,6 +299,13 @@ Own canonical runtime payload shapes between backend and frontend.
`bootstrapTokenPath`, and allows browser-owned first-session proof to
re-enter the real setup wizard instead of silently falling back to an
authenticated dashboard state.
+25. Keep platform transport vocabulary aligned with
+ `docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md`. Presentation
+ keys, future-label helpers, recovery provider strings, and
+ connected-infrastructure surface kinds may carry forward-compatible
+ vocabulary, but they must not be treated as admitting a new first-class
+ platform until that model, the owning contracts, and the applicable proof
+ surfaces change together.
22. Keep shared SSO test and metadata-preview transport fail-closed: SAML
metadata URLs and OIDC issuer URLs must reject non-HTTP or userinfo-bearing
inputs before any outbound request is attempted, and OIDC discovery must
@@ -669,6 +676,15 @@ That same `/api/truenas/connections` boundary also owns explicit disabled-path
semantics: the `truenas_disabled` response exists only when the server has
explicitly opted out of the default-on TrueNAS integration, not as the normal
bootstrap state for a supported platform.
+That same platform-connections boundary therefore defines the current TrueNAS
+onboarding floor for Pulse. Supported now means operators can bootstrap
+TrueNAS through the shared Platform connections workflow and
+`/api/truenas/connections` without the unified agent, preserve masked secrets
+on ordinary edits, retest saved connections through the stored-secret path,
+and see last-sync plus discovered contribution summaries on the same settings
+surface. Pulse does not promise a separate TrueNAS-only onboarding wizard,
+agent-required bootstrap, or public provider-local app/log/config APIs at this
+floor.
That same backend API boundary now also owns the negative space around
assistant control. Wiring native TrueNAS app actions into
`internal/api/router.go`, `internal/api/ai_handler.go`, or adjacent backend
diff --git a/docs/release-control/v6/internal/subsystems/monitoring.md b/docs/release-control/v6/internal/subsystems/monitoring.md
index c08eb818fb..65d0a0a4bc 100644
--- a/docs/release-control/v6/internal/subsystems/monitoring.md
+++ b/docs/release-control/v6/internal/subsystems/monitoring.md
@@ -59,6 +59,11 @@ truth for live infrastructure data.
2. Tighten guardrails when `GetState()`-centric paths are removed
3. Keep discovery-provider, metrics-history, and container bootstrap proof routes explicit in `registry.json`
4. Update related read-state or monitor tests when new collector paths land
+5. Keep platform ingestion semantics aligned with
+ `docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md`: hybrid is a
+ declared ingestion mode on an admitted first-class platform, not a license
+ to create new platform ids from secondary pollers or optional agent
+ augmentation paths.
## Current State
@@ -331,3 +336,11 @@ same RPC session as system telemetry, and `internal/truenas/provider.go` must
project those readings into the canonical host temperature and host-sensor
contract. Pulse must not treat TrueNAS CPU temperature as an agent-only
capability or invent a TrueNAS-local sensor payload.
+Taken together, this is the current monitoring-owned TrueNAS floor: one stored
+API connection can surface one canonical top-level system, shared host
+telemetry/history, app-container workloads, disk health/history, and
+per-connection poll health without requiring the unified agent. The same
+poller/provider path also owns assistant-driven app start/stop, logs, and
+config refresh for those canonical workloads. Pulse does not promise a
+separate TrueNAS runtime model, broader NAS administration, or agent-required
+bootstrap at this floor.
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 8518b1d690..4295527293 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -132,6 +132,12 @@ querying, and the operator-facing storage health presentation layer.
expose unauthenticated setup so storage/recovery-owned empty-state and
dashboard handoff proof does not silently fall back to an authenticated
dashboard path.
+9. Keep recovery support claims aligned with
+ `docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md`. Forward-
+ compatible provider strings are not support declarations by themselves, and
+ a platform should be treated as recovery-capable only when that model marks
+ recovery as part of its support floor and the owning ingest/projection path
+ exists in the same governed slice.
## Current State
@@ -1614,3 +1620,10 @@ shared AI/runtime wiring and the poller's provider selection path, but storage
and recovery surfaces must not grow a second recovery-local config transport
or provider-shaped configuration payload just because those reads can inform
operator investigation.
+That bounded projection is the current TrueNAS floor for storage and recovery:
+operators can inspect TrueNAS pools, datasets, disks, snapshots, and
+replication artifacts through the shared storage and recovery pages plus
+cross-surface handoffs. Storage and recovery do not promise a TrueNAS-local
+onboarding path, restore/control plane, or separate diagnostic transport;
+backend-native app actions, logs, and config reads stay on the adjacent
+AI/runtime path and only feed refreshed canonical recovery/state afterward.
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index cdb9339247..132482a12a 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -158,6 +158,12 @@ assembly branch.
route-owned source such as `truenas` in the filter option set even when the
current unified-resource snapshot does not contain that source, so
cross-surface handoffs do not silently fall back to `All`.
+7. Keep first-class platform classification on
+ `docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md`. New platform
+ work must declare its primary ingestion mode and canonical resource
+ projections there before adding platform-local branches here, and runtime
+ variants such as `podman` must stay inside the owning platform contract
+ instead of becoming new top-level platforms or resource types.
## Current State
@@ -225,6 +231,12 @@ API-backed TrueNAS apps through the same canonical `app-container` identity
and `resource_id` contract, then project native runtime/config shape through
the shared app-container payload rather than forcing those resources through
guest-config routing or inventing a TrueNAS-local config type.
+That projection contract is the product-definition floor for TrueNAS support:
+Pulse supports TrueNAS only when it lands on the shared `agent`,
+`app-container`, `storage`, `physical-disk`, and recovery-linked resource
+shapes. The unified agent may augment a TrueNAS system later, but baseline
+support does not depend on it, and product surfaces must not reopen a parallel
+`truenas-*` resource model just to add another capability.
The canonical resource timeline now also owns durable incident-response facts
that materially changed resource investigation state. `ResourceChange` kinds
such as `alert_fired`, `alert_acknowledged`, `alert_unacknowledged`,
diff --git a/scripts/release_control/subsystem_lookup_test.py b/scripts/release_control/subsystem_lookup_test.py
index 486c27323b..b918260467 100644
--- a/scripts/release_control/subsystem_lookup_test.py
+++ b/scripts/release_control/subsystem_lookup_test.py
@@ -4380,6 +4380,7 @@ class SubsystemLookupTest(unittest.TestCase):
{
"canonical-timeline-source-precedence",
"host-type-migration-boundary-audit",
+ "platform-support-model-v1",
},
)