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.

Plan VMware vSphere phase-1 execution

rcourtman2c33e5791e3f
diff --git a/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md b/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md
index 2e003c8174..0bea26a6b7 100644
--- a/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md
+++ b/docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md
@@ -344,3 +344,5 @@ floor end to end: connection onboarding, minimum privilege bundle, supported
version floor, canonical `agent`/`vm`/`storage` projections, alert and metrics
history truth, and assistant read behavior. If that proof does not hold,
implementation must stop at governance rather than widening the support claim.
+The concrete first-implementation slice order and stop/go checks live in
+`docs/release-control/v6/internal/VMWARE_VSPHERE_PHASE1_EXECUTION_PLAN.md`.
diff --git a/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md b/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md
index 19d3a76f30..5cddf12210 100644
--- a/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md
+++ b/docs/release-control/v6/internal/SOURCE_OF_TRUTH.md
@@ -519,6 +519,11 @@ acceptable phase-1 model if implementation starts.
truth, and assistant read behavior. If those proofs do not hold,
implementation should stop at governance rather than shipping an inflated
support claim.
+9. Execution sequence:
+ If implementation starts, it should follow
+ `docs/release-control/v6/internal/VMWARE_VSPHERE_PHASE1_EXECUTION_PLAN.md`
+ as the concrete slice order and stop/go contract for the first admitted
+ VMware support floor.
## Cross-Repo Contracts
diff --git a/docs/release-control/v6/internal/VMWARE_VSPHERE_PHASE1_EXECUTION_PLAN.md b/docs/release-control/v6/internal/VMWARE_VSPHERE_PHASE1_EXECUTION_PLAN.md
new file mode 100644
index 0000000000..db489f17a9
--- /dev/null
+++ b/docs/release-control/v6/internal/VMWARE_VSPHERE_PHASE1_EXECUTION_PLAN.md
@@ -0,0 +1,227 @@
+# VMware vSphere Phase-1 Execution Plan
+
+Last updated: 2026-03-30
+Status: PLANNED
+Governance surfaces:
+- `status.json.candidate_lanes.platform-admission-execution`
+- `status.json.resolved_decisions.vmware-vsphere-vcenter-first-admission-model`
+
+## Intent
+
+Pulse now has a locked architecture recommendation for VMware vSphere.
+This document turns that recommendation into an executable phase-1 plan so
+implementation can start without drifting into a provider-specific island.
+
+## Support Decision
+
+Pulse should add VMware support, but only in one narrow form:
+
+1. first-class platform id: `vmware-vsphere`
+2. supported entry point: `vCenter` only
+3. primary ingestion model: `api-backed`
+4. phase-1 resource projections: canonical `agent`, `vm`, and `storage`
+5. phase-1 product stance: read-first
+6. assistant control: `read-only`
+7. recovery support: `n/a`
+
+Implementation may start next on that basis.
+If live validation disproves the minimum privilege bundle, supported version
+floor, or declared support-floor coverage, Pulse should stop at governance and
+must not widen the support claim.
+
+## Product Sentence
+
+Pulse phase-1 VMware support means a shared platform-connections path to
+`vCenter` that projects ESXi hosts, VMs, and datastores into the canonical
+Pulse resource model, surfaces alarms and history through the shared product
+surfaces, and keeps assistant behavior read-only.
+
+## Why This Is A Separate Lane Slice
+
+This is not just another provider adapter.
+
+It crosses:
+
+- platform onboarding and saved-connection health
+- canonical inventory and identity projection
+- shared infrastructure, workload, and storage presentation
+- shared alert and incident surfaces
+- assistant read classification and action boundaries
+- support-floor proof before a matrix claim changes
+
+That makes VMware a cross-surface admission problem, not a monitoring-only
+implementation detail.
+
+## Phase-1 Scope
+
+Phase 1 should include:
+
+1. `vCenter` onboarding through the shared `Platform connections` workspace
+2. host inventory projected as canonical `agent`
+3. VM inventory and runtime state projected as canonical `vm`
+4. datastore inventory and capacity state projected as canonical `storage`
+5. topology metadata for datacenter, cluster, folder, resource-pool, and
+ placement relationships under those shared resources
+6. vSphere alarm state, overall health, and related event/task history through
+ shared alert and incident surfaces
+7. snapshot-tree visibility and recovery-adjacent VM context as read-side
+ workload detail
+8. assistant read on canonical VMware-backed resources through shared read
+ paths only
+
+## Explicit Exclusions
+
+Phase 1 should not include:
+
+1. direct `ESXi` onboarding
+2. agent-first VMware support
+3. `physical-disk`, `system-container`, or `app-container` projections
+4. treating vSphere snapshots as Pulse recovery support
+5. restore, failover, changed-block recovery, or backup-orchestration claims
+6. provider-local VMware pages, top-level resource types, or AI tools
+7. assistant or operator control for VM power, snapshot lifecycle, guest
+ operations, host maintenance, or cluster administration
+
+## Execution Slices
+
+### 1. Platform Connection Admission
+
+Owners:
+- `agent-lifecycle`
+- `api-contracts`
+
+Deliver:
+
+- `vCenter` added only through the shared platform-connections workspace
+- one saved-connection contract for create, update, masked-secret preservation,
+ test, health, and contribution summary
+- explicit disabled/default behavior, reconnect semantics, and credential
+ ownership on the shared platform-connections path
+
+Required proof:
+
+- real `vCenter` connection succeeds through the governed setup path
+- auth, TLS, endpoint, and permission failures classify cleanly
+- minimum privilege bundle is written down from live validation, not inferred
+- supported version floor is written down from live validation, not inferred
+
+### 2. Canonical Projection Floor
+
+Owners:
+- `monitoring`
+- `unified-resources`
+
+Deliver:
+
+- API-backed ingest from the official vCenter Automation API plus the Virtual
+ Infrastructure JSON API
+- stable identity and dedupe for ESXi hosts, VMs, and datastores
+- shared-resource projection with no provider-local `esxi-host`,
+ `vsphere-vm`, or `vsphere-datastore` top-level types
+- relationship metadata for cluster, folder, placement, and datastore
+ attachment without promoting those objects to new top-level Pulse types
+
+Required proof:
+
+- one real `vCenter` produces canonical `agent`, `vm`, and `storage`
+ resources end to end
+- topology, identity, and counts stay coherent across infrastructure and
+ workload surfaces
+- no phase-1 path depends on a unified agent being installed on ESXi or guests
+
+### 3. Alerts, History, And Assistant Read
+
+Owners:
+- `alerts`
+- `monitoring`
+- `ai-runtime`
+
+Deliver:
+
+- vSphere alarm and health signals routed through shared alert/incident paths
+- event/task/performance context available where the shared monitoring and
+ history model expects it
+- assistant read on canonical VMware-backed resources through shared tools and
+ read-state views
+- no VMware-specific control verbs, remediation tools, or admin-plane promises
+
+Required proof:
+
+- shared alerts can drill into VMware-backed incidents without a provider-local
+ shell
+- assistant can inspect canonical VMware-backed resources without special-case
+ VMware tools
+- assistant control remains read-only in both product wording and runtime
+ capability exposure
+
+### 4. Support Claim Ratchet
+
+Owners:
+- release-control governance
+- owning subsystem contracts above
+
+Deliver:
+
+- version floor documented
+- minimum privilege bundle documented
+- explicit phase-1 exclusions documented in support language
+- support matrix changed only after live proof exists
+
+Required proof:
+
+- onboarding, inventory, storage, alerts, metrics/history, and assistant read
+ all hold on a real `vCenter`
+- support wording matches the narrow floor exactly
+- the implementation can fail closed without silently inheriting direct-ESXi or
+ recovery support claims
+
+## What Must Be True Before Pulse Can Say VMware Is Supported
+
+Pulse should not call VMware supported until all of these are true:
+
+1. `vCenter` onboarding works through the shared platform-connections path
+2. the minimum required privilege bundle is validated on a real environment
+3. the supported `vCenter` version floor is validated on a real environment
+4. ESXi hosts, VMs, and datastores project cleanly into canonical `agent`,
+ `vm`, and `storage`
+5. alarm, health, and metrics/history signals appear on the shared alert and
+ monitoring surfaces
+6. assistant read works on those canonical resources without VMware-specific
+ tools
+7. product wording keeps direct `ESXi`, recovery, and broad control out of the
+ support claim
+
+## Known Gaps Requiring Live Validation
+
+These are not reasons to block the planning decision, but they are reasons to
+block a support claim until proven:
+
+1. exact minimum privilege bundle for a production-grade read-first floor
+2. exact supported `vCenter` version floor
+3. signal quality and consistency of alarms, events, and history across that
+ version floor
+4. whether guest-identity and snapshot-detail fidelity is sufficient in mixed
+ VMware Tools coverage environments
+
+## Primary Source Basis
+
+The architecture lock and this execution plan are grounded in the official
+VMware/Broadcom APIs:
+
+1. vCenter and inventory/control surface:
+ [vCenter VM APIs](https://developer.broadcom.com/xapis/vsphere-automation-api/latest/vcenter/)
+2. detail and topology surface:
+ [Virtual Infrastructure JSON API](https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/)
+3. alarms:
+ [AlarmManager GetAlarm](https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/sdk/vim25/release/AlarmManager/moId/GetAlarm/post/)
+4. snapshots:
+ [VirtualMachine snapshot API](https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/sdk/vim25/release/VirtualMachine/moId/snapshot/get/)
+5. performance/history:
+ [PerformanceManager QueryPerfComposite](https://developer.broadcom.com/xapis/virtual-infrastructure-json-api/latest/sdk/vim25/release/PerformanceManager/moId/QueryPerfComposite/post/)
+
+## Start Decision
+
+Implementation should start next only as slice 1 of this plan.
+If slice 1 cannot prove the minimum privilege bundle and supported version
+floor on a real `vCenter`, Pulse should stop and record that gap instead of
+moving forward as if VMware were already supportable.
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.json
index e49a17aa0b..dc169bdb63 100644
--- a/docs/release-control/v6/internal/status.json
+++ b/docs/release-control/v6/internal/status.json
@@ -3516,15 +3516,40 @@
"path": "docs/release-control/v6/internal/SOURCE_OF_TRUTH.md",
"kind": "file"
},
+ {
+ "repo": "pulse",
+ "path": "docs/release-control/v6/internal/subsystems/agent-lifecycle.md",
+ "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/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": "docs/release-control/v6/internal/VMWARE_VSPHERE_PHASE1_EXECUTION_PLAN.md",
+ "kind": "file"
}
]
}
diff --git a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index 11c7f67f69..0045a9484e 100644
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@ -518,6 +518,13 @@ Provider-backed TrueNAS app config may route through shared AI/runtime wiring
on the platform connection and poller path, but lifecycle-adjacent
setup/install flows must not reframe those config reads as requiring
unified-agent host install before TrueNAS becomes operational in Pulse.
+That same platform-connections boundary now also defines the only acceptable
+phase-1 VMware onboarding path. If `vmware-vsphere` implementation starts,
+`PlatformConnectionsWorkspace.tsx` must add `vCenter` under the shared
+API-backed workspace, preserve the saved-connection test and health model, and
+keep direct `ESXi` out of the phase-1 route and install model. Lifecycle-
+adjacent flows must not invent a VMware-only setup shell or reframe unified-
+agent host install as the bootstrap requirement for VMware support.
That same infrastructure workspace boundary now also owns the first-run
handoff copy for new operators. `InfrastructureWorkspace.tsx` must tell a new
Pulse user to start with `Install on a host` to add the first monitored
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index 8fa7cc8d44..086e59c85d 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -192,6 +192,13 @@ canonical `app-container` resources through the shared `pulse_read`,
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 platform-claim boundary now also covers VMware. If
+`vmware-vsphere` implementation starts, the phase-1 Assistant floor is
+read-only access to canonical VMware-backed `agent`, `vm`, and `storage`
+resources through the shared read and query paths only. The AI runtime must
+not add VMware-local tools or action verbs for VM power, snapshot lifecycle,
+guest operations, host maintenance, or cluster administration before the
+governed action surface expands.
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 4c88fe2270..4b6e30aba1 100644
--- a/docs/release-control/v6/internal/subsystems/alerts.md
+++ b/docs/release-control/v6/internal/subsystems/alerts.md
@@ -276,6 +276,12 @@ 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.
+At the current locked VMware floor, alert support must mean the same shared
+alert surfaces can evaluate, show, and drill into vSphere alarm and health
+signals on canonical `agent`, `vm`, and `storage` resources, with related
+event/task context routed through the shared incident and resource links.
+Pulse must not grow a VMware-only alert shell, alarm editor, or direct alarm-
+control surface in phase 1.
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/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index 4295527293..985f0e90fc 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -1627,3 +1627,11 @@ 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.
+VMware vSphere follows a narrower phase-1 boundary. If `vmware-vsphere`
+implementation starts, storage and recovery may consume vCenter-backed
+datastore inventory plus VM snapshot-tree visibility as shared storage and
+workload context, but VMware recovery stays out of the support claim.
+Storage and recovery must not treat vSphere snapshots, changed-disk/block
+visibility, or datastore presence as canonical Pulse recovery artifacts,
+restore capability, or recovery-backed Assistant control until a later
+governed slice adds those contracts explicitly.