mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
57f3fa8431
Cover pure functions left at 0% after the canonical Operational Trust and unified-resource work, surfaced by a fresh coverage probe. - unifiedresources views.go accessors for K8sNodeView, DockerContainerView, PodView, K8sDeploymentView, HostView, DockerHostView, K8sClusterView and the smaller ContainerView.Pool / NodeView.IsClusterMember / PhysicalDiskView.MetricResourceID / PBSInstanceView.Datastores / PMGInstanceView.InstanceID accessors. Each exercises the nil-receiver and nil-nested defensive arms, the populated projection, and slice/map clone-independence. - unifiedresources clone.go seven Ceph deep-clone helpers, asserting value equality, mutation independence, and nil/empty inputs. - agentcapabilities firstStringPayloadValue, MCPManifestPromptProjectionSupported and JSONRPCError.Error. - ai/tools data_types NormalizeCollections (three receivers), ValidateCurrentResourceAvailable and ErrExecutionContextUnavailable.Error. Test-only. Every target function moved 0% to covered. No source changes. Contract-Neutral: test-only branch-coverage tests; no source or contract changes