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.

chore: remove remaining gitignored files from tracking

rcourtman23ff4d133746
diff --git a/analyze_coverage.py b/analyze_coverage.py
deleted file mode 100644
index 070f967a61..0000000000
--- a/analyze_coverage.py
+++ /dev/null
@@ -1,56 +0,0 @@
-
-import sys
-import os
-
-def parse_coverage(filename):
- if not os.path.exists(filename):
- print(f"File {filename} not found")
- return
-
- package_stmts = {}
- package_covered = {}
-
- with open(filename, 'r') as f:
- lines = f.readlines()
-
- current_mode = ""
- for line in lines:
- if line.startswith("mode:"):
- current_mode = line.split()[1]
- continue
-
- parts = line.strip().split(':')
- if len(parts) != 2:
- continue
-
- file_path = parts[0]
- # Package is directory of file_path
- package_name = os.path.dirname(file_path)
-
- metrics = parts[1].split()
- if len(metrics) != 3:
- continue
-
- # start_end = metrics[0]
- num_stmts = int(metrics[1])
- count = int(metrics[2])
-
- package_stmts[package_name] = package_stmts.get(package_name, 0) + num_stmts
- if count > 0:
- package_covered[package_name] = package_covered.get(package_name, 0) + num_stmts
-
- results = []
- for pkg, total in package_stmts.items():
- covered = package_covered.get(pkg, 0)
- percent = (covered / total) * 100 if total > 0 else 0
- results.append((pkg, percent, covered, total))
-
- # Sort by percentage (ascending)
- results.sort(key=lambda x: x[1])
-
- print("Package Coverage Report (Bottom 20):")
- for pkg, pct, cov, tot in results[:20]:
- print(f"{pct:6.2f}% ({cov}/{tot}) {pkg}")
-
-if __name__ == "__main__":
- parse_coverage("coverage.out")
diff --git a/coverage_summary.txt b/coverage_summary.txt
deleted file mode 100644
index 962740f096..0000000000
--- a/coverage_summary.txt
+++ /dev/null
@@ -1,3873 +0,0 @@
-github.com/rcourtman/pulse-go-rewrite/cmd/hashpw/main.go:18: run 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/hashpw/main.go:35: main 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:79: String 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:83: Set 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:88: main 0.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:101: run 86.1%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:393: cleanupDockerAgent 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:402: healthHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:427: startHealthServer 90.9%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:501: loadConfig 96.4%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:686: gatherTags 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:705: gatherCSV 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:724: defaultInt 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:736: parseLogLevel 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:744: defaultLogLevel 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:754: resolveEnableCommands 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:791: resolveToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:795: resolveTokenInternal 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:829: initDockerWithRetry 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:869: initKubernetesWithRetry 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/main.go:922: applyRemoteSettings 0.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-agent/service_stub.go:10: runAsWindowsService 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-host-agent/main.go:39: String 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-host-agent/main.go:43: Set 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-host-agent/main.go:48: main 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-host-agent/main.go:72: run 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-host-agent/main.go:142: parseConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-host-agent/main.go:227: gatherTags 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-host-agent/main.go:246: parseLogLevel 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-host-agent/main.go:263: defaultLogLevel 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse-host-agent/service_stub.go:10: runAsWindowsService 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/bootstrap.go:27: showBootstrapToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/config.go:168: getPassphrase 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/config.go:289: init 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/main.go:31: runServer 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/main.go:36: init 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/main.go:59: main 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/metrics_server.go:16: startMetricsServer 92.3%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/mock.go:88: init 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/mock.go:96: getMockEnvPath 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/mock.go:110: setMockMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/mock.go:138: getDefaultMockConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/mock.go:157: parseMockEnv 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/mock.go:173: writeMockEnv 100.0%
-github.com/rcourtman/pulse-go-rewrite/cmd/pulse/mock.go:222: getMockStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:74: HostAgentSearchPaths 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:97: EnsureHostAgentBinaries 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:149: DownloadAndInstallHostAgentBinaries 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:192: findMissingHostAgentBinaries 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:203: hostAgentBinaryExists 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:215: normalizeVersionTag 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:224: extractHostAgentBinaries 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:297: writeHostAgentFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:329: copyHostAgentFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentbinaries/host_agent.go:353: normalizeExecutableMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/policy.go:26: DefaultPolicy 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/policy.go:202: compile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/policy.go:208: compilePatterns 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/policy.go:229: Evaluate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/policy.go:266: IsBlocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/policy.go:271: NeedsApproval 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/policy.go:276: IsAutoApproved 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:46: NewServer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:55: HandleWebSocket 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:197: readLoop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:267: pingLoop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:313: sendMessage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:322: ExecuteCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:376: ReadFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:426: GetConnectedAgents 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:438: IsAgentConnected 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentexec/server.go:446: GetAgentForHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/restart_unix.go:15: restartProcess 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:92: New 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:124: RunLoop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:157: CheckAndUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:217: getServerVersion 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:252: isUnraid 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:258: verifyBinaryMagic 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:305: unraidPersistentPath 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:310: performUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:318: performUpdateWithExecPath 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:479: GetUpdatedFromVersion 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/agentupdate/update.go:504: determineArch 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_adapter.go:22: NewAlertManagerAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_adapter.go:27: GetActiveAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_adapter.go:43: GetRecentlyResolved 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_adapter.go:67: GetAlertsByResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_adapter.go:85: GetAlertHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_adapter.go:112: convertAlertFromManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_adapter.go:138: convertAlertFromModels 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_adapter.go:164: inferResourceType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_adapter.go:192: formatDuration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_provider.go:51: SetAlertProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_provider.go:58: buildAlertContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_provider.go:134: buildTargetAlertContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_provider.go:158: formatAlertForAI 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_provider.go:175: formatTimeAgo 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_provider.go:216: GenerateAlertInvestigationPrompt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_threshold_adapter.go:14: NewAlertThresholdAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_threshold_adapter.go:19: GetNodeCPUThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_threshold_adapter.go:31: GetNodeMemoryThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_threshold_adapter.go:43: GetGuestMemoryThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_threshold_adapter.go:55: GetGuestDiskThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_threshold_adapter.go:67: GetStorageThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:37: NewAlertTriggeredAnalyzer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:50: Start 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:76: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:95: SetEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:103: IsEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:110: OnAlertFired 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:164: analyzeResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:228: analyzeResourceByAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:280: analyzeNodeFromAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:311: analyzeGuestFromAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:356: analyzeDockerFromAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:388: analyzeUpdateAlertFromAlert 97.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:483: classifyContainerUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:657: analyzeStorageFromAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:679: analyzeGenericResourceFromAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:701: resourceKeyFromAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/alert_triggered.go:715: CleanupOldCooldowns 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:83: NewStore 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:115: CreateApproval 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:162: GetApproval 70.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:183: GetPendingApprovals 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:200: GetApprovalsByExecution 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:215: Approve 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:256: Deny 86.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:287: StoreExecution 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:308: GetExecution 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:326: DeleteExecution 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:335: CleanupExpired 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:375: GetStats 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:405: approvalsFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:409: executionsFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:413: load 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:437: save 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:462: StartCleanup 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:466: cleanupLoop 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:525: AssessRiskLevel 72.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:555: truncateCommand 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:569: SetStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/approval/store.go:576: GetStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:67: DefaultConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:76: NewStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:114: Learn 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:168: GetBaseline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:182: GetResourceBaseline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:206: IsAnomaly 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:255: CheckAnomaly 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:326: CheckResourceAnomalies 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:401: formatAnomalyDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:432: formatRatio 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:456: GetAllAnomalies 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:494: CalculateTrend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:574: formatTrendDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:594: formatDays 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:622: floatToStr 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:646: ResourceCount 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:665: GetAllBaselines 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:697: Save 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:709: saveToDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:731: loadFromDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:747: computeMean 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:758: computeStdDev 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:772: computePercentiles 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline/store.go:793: percentile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline_adapter.go:13: NewBaselineStoreAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline_adapter.go:21: CheckAnomaly 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline_adapter.go:35: GetBaseline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline_exports.go:17: DefaultBaselineConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/baseline_exports.go:22: NewBaselineStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:33: NewAgenticLoop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:50: UpdateTools 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:56: Execute 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:61: ExecuteWithTools 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:65: executeWithTools 58.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:363: Abort 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:370: AnswerQuestion 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:389: waitForApprovalDecision 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:409: pruneMessagesForModel 26.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:437: truncateToolResultForModel 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/agentic.go:447: convertToProviderMessages 70.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:80: NewPatrolService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:88: SetFindingsStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:95: IsRunning 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:102: GetLastResult 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:109: Subscribe 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:118: Unsubscribe 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:126: broadcast 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:140: RunPatrol 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:146: RunPatrolWithResult 76.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:256: buildPatrolPrompt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:307: parseFindings 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:329: parseFindingBlock 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:385: generateFindingID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:392: CreatePatrolSession 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/patrol.go:411: GetSessionID 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:77: NewService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:120: GetState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:128: Evaluate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:136: GetConnectedAgents 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:140: ExecuteCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:145: Start 95.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:193: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:204: Restart 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:243: IsRunning 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:250: ExecuteStream 71.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:315: ListSessions 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:328: CreateSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:341: DeleteSession 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:354: GetMessages 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:367: AbortSession 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:381: AnswerQuestion 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:396: SummarizeSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:401: GetSessionDiff 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:406: ForkSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:411: RevertSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:416: UnrevertSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:421: GetBaseURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:427: SetAlertProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:435: SetFindingsProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:443: SetBaselineProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:451: SetPatternProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:459: SetMetricsHistory 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:467: SetBackupProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:475: SetStorageProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:483: SetDiskHealthProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:491: SetUpdatesProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:499: SetAgentProfileManager 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:507: SetFindingsManager 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:515: SetMetadataUpdater 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:523: UpdateControlSettings 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:536: createProvider 69.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:593: applyChatContextSettings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:598: buildSystemPrompt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:631: filterToolsForPrompt 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:646: classifyRunCommand 20.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:668: parseRunCommandDecision 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:704: filterOutRunCommand 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/service.go:716: Execute 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:33: NewSessionStore 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:45: sessionPath 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:50: List 76.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:89: Create 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:115: Get 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:134: Delete 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:150: GetMessages 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:163: AddMessage 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:192: UpdateLastMessage 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:212: readSession 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:231: writeSession 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:246: generateTitle 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/session.go:276: EnsureSession 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/tools.go:9: ConvertMCPToolsToProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/tools.go:54: ConvertProviderToolCallToMCP 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/chat/tools.go:62: FormatToolResult 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/config.go:18: NewDefaultConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:58: NewBuilder 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:69: WithMetricsHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:75: WithKnowledge 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:81: WithFindings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:87: WithBaseline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:93: BuildForInfrastructure 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:205: computeNodeTrends 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:234: computeGuestTrends 86.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:267: computeStorageTrends 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:291: computeStoragePredictions 88.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:345: formatPredictionBasis 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:351: buildDockerHostContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:372: buildHostContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:403: enrichWithNotes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:415: enrichWithAnomalies 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:456: formatAnomalyDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:476: computeGuestMetricSamples 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:511: filterRecentPoints 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/builder.go:523: MergeContexts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:12: FormatResourceContext 97.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:131: formatTrendLine 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:165: formatRate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:185: formatMetricSamples 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:216: DownsampleMetrics 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:245: FormatInfrastructureContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:334: FormatCompactSummary 96.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:381: hasGrowingTrend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:391: formatResourceType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:415: formatDuration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:439: FormatBackupStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:452: FormatNodeForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:475: FormatGuestForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/formatter.go:501: FormatStorageForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:11: ComputeTrend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:62: applyTrendSanityChecks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:130: computeStats 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:166: linearRegression 96.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:227: classifyTrend 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:263: ComputePercentiles 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:306: TrendSummary 94.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:341: formatFloat 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:345: floatToString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:359: intToString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:369: padLeft 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/context/trends.go:376: trimTrailingZeros 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:85: DefaultConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:95: NewDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:133: RecordEvent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:159: detectCorrelations 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:204: calculateConfidence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:218: formatCorrelationDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:239: GetCorrelations 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:259: GetCorrelationsForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:275: GetDependencies 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:295: GetDependsOn 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:314: PredictCascade 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:357: FormatForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:389: trimEvents 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:407: saveToDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:449: loadFromDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:499: generateEventID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:504: intToStr 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:516: correlationKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:520: formatDuration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation/detector.go:538: formatConfidence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation_exports.go:37: NewCorrelationDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/correlation_exports.go:42: DefaultCorrelationConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/pricing.go:15: EstimateUSD 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/pricing.go:35: PricingAsOf 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/pricing.go:71: lookupPrice 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/pricing.go:95: matchPattern 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/resolve.go:7: ResolveProviderAndModel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/resolve.go:22: normalizeModelForProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/resolve.go:40: inferProviderAndModel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:55: NewStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:67: SetPersistence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:89: Record 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:102: Clear 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:112: ListEvents 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:136: GetSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:255: Flush 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:272: trimLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:286: scheduleSaveLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:329: SetOnSaveError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:336: GetPersistenceStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:400: summarizeUseCases 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost/store.go:463: summarizeTargets 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost_persistence.go:14: NewCostPersistenceAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost_persistence.go:19: SaveUsageHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/cost_persistence.go:39: LoadUsageHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/demo.go:14: IsDemoMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/demo.go:29: IsMockResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/demo.go:52: InjectDemoFindings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/demo.go:191: injectDemoRunHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/demo.go:291: GenerateDemoAIResponse 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/demo.go:444: GenerateDemoAIStream 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/dryrun/simulator.go:31: NewSimulator 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/dryrun/simulator.go:38: Simulate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/dryrun/simulator.go:57: initPatterns 96.4%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/dryrun/simulator.go:390: reverseAction 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/dryrun/simulator.go:412: Simulate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:70: IsActive 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:75: IsDismissed 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:80: IsSnoozed 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:85: IsResolved 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:132: NewFindingsStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:143: SetPersistence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:170: scheduleSave 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:220: ForceSave 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:247: SetOnSaveError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:257: GetPersistenceStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:267: Add 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:332: Resolve 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:352: Acknowledge 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:370: Snooze 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:392: Unsnooze 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:422: Dismiss 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:457: Undismiss 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:490: SetUserNote 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:507: Suppress 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:528: IsSuppressed 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:535: isSuppressedInternal 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:560: Get 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:573: GetByResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:589: GetActive 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:613: GetSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:642: GetAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:660: ClearAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:673: Cleanup 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:701: GetDismissedForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:787: HasIssues 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:792: IsHealthy 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:799: AddSuppressionRule 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:828: GetSuppressionRules 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:871: DeleteSuppressionRule 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:904: GetDismissedFindings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings.go:919: MatchesSuppressionRule 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings_persistence.go:14: NewFindingsPersistenceAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings_persistence.go:19: SaveFindings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings_persistence.go:54: LoadFindings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings_tools_adapter.go:13: NewFindingsMCPAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings_tools_adapter.go:21: GetActiveFindings 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/findings_tools_adapter.go:52: GetDismissedFindings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:167: NewIntelligence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:174: SetSubsystems 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:198: SetStateProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:205: GetSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:251: GetResourceIntelligence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:323: FormatContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:373: FormatGlobalContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:411: RecordLearning 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:423: CheckBaselinesForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:450: CreatePredictionFinding 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:474: countFindings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:495: getTopFindings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:518: severityOrder 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:533: getUpcomingRisks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:556: getLearningStats 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:592: calculateOverallHealth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:672: calculateResourceHealth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:766: scoreToGrade 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:781: generateHealthPrediction 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:803: getResourcesAtRisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:882: detectCurrentAnomalies 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:891: formatBaselinesForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:913: formatAnomaliesForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:929: formatAnomalyDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/intelligence.go:939: absFloatIntel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:48: NewStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:68: guestFilePath 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:79: GetKnowledge 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:149: SaveNote 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:222: DeleteNote 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:244: GetNotesByCategory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:260: FormatForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:308: saveToFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:347: ListGuests 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/knowledge/store.go:367: FormatAllForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:28: AnalyzeKubernetesCluster 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:71: findKubernetesCluster 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:80: kubernetesClusterDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:93: buildKubernetesClusterContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:174: summarizeKubernetesNodes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:205: summarizeKubernetesPods 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:256: summarizeKubernetesDeployments 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:292: formatPodIssues 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:306: formatPodRestarts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:331: formatPodIssueLine 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:339: isKubernetesPodHealthy 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:365: isKubernetesDeploymentHealthy 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:382: kubernetesPodReason 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:422: truncateKubernetesMessage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/kubernetes_analysis.go:429: formatKubernetesAge 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:76: NewChangeDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:101: DetectChanges 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:173: detectResourceChanges 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:264: GetChangesForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:279: GetRecentChanges 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:293: GetChangesSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:308: trimChanges 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:316: saveToDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:341: loadFromDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:380: generateChangeID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:385: formatDuration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:398: formatUnit 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:405: formatBytes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:423: formatFloat 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:433: intToString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:445: formatCreateDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:449: formatDeleteDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:453: formatStatusDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:457: formatMigrationDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:461: formatCPUChangeDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:469: formatMemoryChangeDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/changes.go:477: formatBackupDescription 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:99: NewIncidentStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:134: RecordAlertFired 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:161: RecordAlertAcknowledged 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:189: RecordAlertUnacknowledged 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:212: RecordAlertResolved 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:242: RecordAnalysis 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:271: RecordCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:311: RecordRunbook 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:346: RecordNote 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:381: GetTimelineByAlertID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:397: GetTimelineByAlertAt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:431: ListIncidentsByResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:453: FormatForAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:480: FormatForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:511: FormatForPatrol 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:574: newIncidentFromAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:599: updateIncidentFromAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:615: ensureIncidentForAlertLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:625: addEventLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:646: findOpenIncidentByAlertIDLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:659: findLatestIncidentByAlertIDLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:672: findIncidentByIDLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:685: trimLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:714: saveAsync 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:725: saveToDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:758: loadFromDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:789: cloneIncident 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:821: generateIncidentID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:828: generateIncidentEventID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/incidents.go:833: formatAlertSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:74: NewRemediationLog 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:98: Log 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:123: LogCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:145: GetForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:160: GetForFinding 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:174: GetSimilar 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:211: GetSuccessfulRemediations 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:226: GetRecentRemediations 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:240: GetRecentRemediationStats 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:280: FormatForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:300: GetRemediationStats 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:329: trimRecords 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:336: saveToDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:361: loadFromDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:400: generateRecordID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:405: truncateOutput 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:412: extractKeywords 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:435: countMatches 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:451: GetByID 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:464: MarkRolledBack 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory/remediation.go:493: GetRollbackable 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory_exports.go:54: NewChangeDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/memory_exports.go:59: NewRemediationLog 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/metadata_provider.go:25: SetMetadataProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/metadata_provider.go:34: SetResourceURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/metrics_history_adapter.go:17: NewMetricsHistoryAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/metrics_history_adapter.go:25: GetNodeMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/metrics_history_adapter.go:34: GetGuestMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/metrics_history_adapter.go:43: GetAllGuestMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/metrics_history_adapter.go:52: GetAllStorageMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/metrics_history_adapter.go:61: convertMetricPoints 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/metrics_history_adapter.go:76: convertMetricsMap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:55: DefaultPatrolThresholds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:68: CalculatePatrolThresholds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:75: CalculatePatrolThresholdsWithMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:125: clampThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:162: GetInterval 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:175: DefaultPatrolConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:300: NewPatrolService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:315: SetIncidentStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:322: GetIncidentStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:330: SetChatPatrol 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:339: SetConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:363: SetThresholdProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:377: SetProactiveMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:393: GetProactiveMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:400: GetThresholds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:408: SetFindingsPersistence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:424: SetRunHistoryPersistence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:439: SetKnowledgeStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:447: SetMetricsHistoryProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:456: SetBaselineStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:464: GetBaselineStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:471: GetMetricsHistoryProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:478: SetChangeDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:486: SetRemediationLog 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:494: GetRemediationLog 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:501: SetPatternDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:509: GetPatternDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:516: SetCorrelationDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:524: GetCorrelationDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:531: GetChangeDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:538: GetConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:545: GetFindings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:552: GetIntelligence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:581: GetStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:621: SubscribeToStream 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:640: UnsubscribeFromStream 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:649: broadcast 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:676: appendStreamContent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:689: setStreamPhase 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:701: GetCurrentStreamOutput 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:708: Start 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:727: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:741: patrolLoop 9.4%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:807: runPatrol 70.6%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1085: joinParts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1101: generateFindingID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1106: runHeuristicAnalysis 79.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1196: analyzeNode 91.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1288: analyzeGuest 93.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1401: analyzeDockerHost 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1580: analyzeStorage 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1626: autoResolveStaleFindings 63.6%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1654: GetFindingsForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1659: GetFindingsSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1665: ResolveFinding 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1695: DismissFinding 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1731: GetRunHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1740: GetAllFindings 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1763: GetFindingsHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1777: ForcePatrol 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1782: analyzePBSInstance 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:1960: analyzeHost 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2151: analyzeKubernetesCluster 86.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2332: cleanThinkingTokens 97.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2421: runAIAnalysis 76.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2517: getPatrolSystemPrompt 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2599: buildInfrastructureSummary 28.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2751: buildEnrichedContext 19.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2859: stateToSnapshots 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2915: GetNodeMetrics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2923: GetGuestMetrics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2931: GetAllGuestMetrics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2939: GetAllStorageMetrics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2952: GetNotes 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2968: FormatAllForContext 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2980: CheckAnomaly 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2987: GetBaseline 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:2996: convertToContextPoints 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3012: convertToContextMetricsMap 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3025: buildPatrolPrompt 57.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3100: recordEvent 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3121: checkAnomalies 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3171: validateAIFindings 97.6%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3252: isActionableFinding 82.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3322: parseAIFindings 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3345: parseFindingBlock 97.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3432: normalizeFindingKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3452: formatDurationPatrol 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3463: formatBytes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol.go:3477: formatBytesInt64 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:24: NewPatrolHistoryPersistenceAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:29: SavePatrolRunHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:64: LoadPatrolRunHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:121: NewPatrolRunHistoryStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:133: SetPersistence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:159: Add 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:176: GetAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:186: GetRecent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:200: Count 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:208: scheduleSaveLocked 96.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:253: SetOnSaveError 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:260: GetPersistenceStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patrol_history_persistence.go:267: FlushPersistence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/pattern_exports.go:37: NewPatternDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/pattern_exports.go:42: DefaultPatternConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:93: DefaultConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:103: NewDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:141: RecordEvent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:173: RecordFromAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:188: GetPredictions 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:231: GetPredictionsForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:243: GetPatterns 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:258: computePattern 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:335: trimEvents 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:351: saveToDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:381: loadFromDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:432: FormatForContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:463: generateEventID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:468: intToStr 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:480: patternKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:484: mapAlertToEventType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:505: averageDuration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:516: stddevDuration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:529: formatPatternBasis 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/patterns/detector.go:561: formatDays 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic.go:34: NewAnthropicClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic.go:41: NewAnthropicClientWithBaseURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic.go:59: Name 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic.go:126: Chat 86.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic.go:361: TestConnection 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic.go:366: modelsEndpoint 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic.go:376: ListModels 79.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic.go:436: SupportsThinking 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic.go:471: ChatStream 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:82: GenerateOAuthSession 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:107: GetAuthorizationURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:128: ExchangeCodeForTokens 80.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:201: CreateAPIKeyFromOAuth 76.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:244: RefreshAccessToken 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:324: NewAnthropicOAuthClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:331: NewAnthropicOAuthClientWithBaseURL 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:351: SetTokenRefreshCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:356: Name 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:361: ensureValidToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:371: forceRefreshToken 84.6%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:398: Chat 73.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:634: TestConnection 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:639: modelsEndpoint 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/anthropic_oauth.go:649: ListModels 81.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/factory.go:11: NewFromConfig 73.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/factory.go:77: NewForProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/factory.go:138: NewForModel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/gemini.go:32: NewGeminiClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/gemini.go:53: Name 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/gemini.go:142: Chat 89.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/gemini.go:444: TestConnection 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/gemini.go:450: SupportsThinking 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/gemini.go:462: ChatStream 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/gemini.go:708: ListModels 86.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:56: GetNotableCache 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:64: NewNotableModelsCache 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:85: Refresh 79.4%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:150: IsNotable 42.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:219: getModelFamilyAliases 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:245: getProviderIDs 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:254: normalizeKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:259: normalizeModelID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:291: isRecentlyReleased 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/notable_models.go:312: parseFlexibleDate 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/ollama.go:23: NewOllamaClient 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/ollama.go:45: Name 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/ollama.go:113: Chat 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/ollama.go:261: SupportsThinking 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/ollama.go:280: ChatStream 70.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/ollama.go:455: TestConnection 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/ollama.go:476: ListModels 72.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:34: NewOpenAIClient 81.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:75: Name 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:179: isDeepSeek 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:184: isDeepSeekReasoner 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:189: requiresMaxCompletionTokens 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:196: isGPT52NonChat 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:205: Chat 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:491: TestConnection 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:496: modelsEndpoint 69.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:527: SupportsThinking 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:587: ChatStream 68.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/providers/openai.go:859: ListModels 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/resource_context.go:31: SetResourceProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/resource_context.go:39: buildUnifiedResourceContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/resource_context.go:305: min 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/routing.go:36: Error 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/routing.go:45: ForAI 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/routing.go:70: routeToAgent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/routing.go:299: extractVMIDFromTargetID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/routing.go:323: findClusterPeerAgent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:109: NewService 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:140: acquireExecutionSlot 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:163: enforceBudget 86.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:192: SetStateProvider 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:216: GetStateProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:223: GetPatrolService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:230: GetRemediationLog 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:241: GetAlertTriggeredAnalyzer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:248: GetAIConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:255: GetCostSummary 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:288: ListCostEvents 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:299: ClearCostHistory 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:311: SetPatrolThresholdProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:335: SetMetricsHistoryProvider 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:346: SetBaselineStore 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:357: SetChangeDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:368: SetRemediationLog 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:379: SetIncidentStore 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:390: SetPatternDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:401: SetCorrelationDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:412: SetLicenseChecker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:419: HasLicenseFeature 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:432: GetLicenseState 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:453: StartPatrol 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:513: StopPatrol 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:529: ReconfigurePatrol 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:577: enrichRequestFromFinding 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:650: lookupNodeForVMID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:669: lookupGuestsByVMID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:715: extractVMIDFromCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:759: formatApprovalNeededToolResult 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:777: formatPolicyBlockedToolResult 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:791: parseApprovalNeededMarker 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:820: approvalNeededFromToolCall 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:852: LoadConfig 80.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:955: IsEnabled 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:966: GetConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:977: GetDebugContext 85.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:1063: IsAutonomous 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:1115: getModelForRequest 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:1176: Execute 81.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:1376: ExecuteStream 81.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:1765: getToolInputDisplay 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:1789: logRemediation 89.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:1869: isActionableCommand 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:1911: generateRemediationSummary 94.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2071: hasAgentForTarget 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2154: getTools 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2271: executeTool 65.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2545: getGuestID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2557: GetGuestKnowledge 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2565: SaveGuestNote 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2573: DeleteGuestNote 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2581: fetchURL 89.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2638: parseAndValidateFetchURL 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2691: isBlockedFetchHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2699: isBlockedFetchIP 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2718: sanitizeError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2754: executeOnAgent 93.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2876: RunCommand 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:2924: buildSystemPrompt 88.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3233: formatContextKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3278: buildUserAnnotationsContext 94.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3346: TestConnection 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3385: ListModels 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3390: ListModelsWithCache 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3455: buildModelsCacheKey 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3475: providerDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3493: Reload 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3498: buildRemediationContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3550: buildIncidentContext 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3569: RecordIncidentAnalysis 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3583: RecordIncidentRunbook 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3596: extractAlertID 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3610: truncateString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3623: buildEnrichedResourceContext 33.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/service.go:3901: absFloat 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:27: NewAlertManagerMCPAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:35: GetActiveAlerts 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:66: NewStorageMCPAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:74: GetStorage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:83: GetCephClusters 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:97: NewBackupMCPAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:105: GetBackups 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:114: GetPBSInstances 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:128: NewDiskHealthMCPAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:136: GetHosts 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:164: NewMetricsHistoryMCPAdapter 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:175: GetResourceMetrics 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:203: GetAllMetricsSummary 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:237: computeSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:270: mergeMetricsByTimestamp 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:300: computeStats 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:316: computeTrend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:370: NewBaselineMCPAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:378: GetBaseline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:397: GetAllBaselines 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:456: NewPatternMCPAdapter 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:464: GetPatterns 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:490: GetPredictions 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:515: getResourceName 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:552: NewFindingsManagerMCPAdapter 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:560: ResolveFinding 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:568: DismissFinding 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:588: NewMetadataUpdaterMCPAdapter 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:596: SetResourceURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:624: NewUpdatesMCPAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:632: GetPendingUpdates 82.6%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:686: TriggerUpdateCheck 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:705: UpdateContainer 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:724: IsUpdateActionsEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/adapters.go:732: trimContainerName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:179: NewPulseToolExecutor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:207: SetContext 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:214: SetControlLevel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:219: SetProtectedGuests 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:226: SetMetadataUpdater 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:231: SetFindingsManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:236: SetMetricsHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:241: SetBaselineProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:246: SetPatternProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:251: SetAlertProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:256: SetFindingsProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:261: SetBackupProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:266: SetStorageProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:271: SetDiskHealthProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:276: SetAgentProfileManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:281: SetUpdatesProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:286: ListTools 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:301: isToolAvailable 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:343: ExecuteTool 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/executor.go:353: registerTools 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/protocol.go:212: NewTextContent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/protocol.go:220: NewErrorResult 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/protocol.go:228: NewTextResult 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/protocol.go:237: NewJSONResult 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/registry.go:27: NewToolRegistry 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/registry.go:35: Register 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/registry.go:47: ListTools 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/registry.go:64: Execute 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:17: registerControlTools 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:140: executeRunCommand 41.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:231: executeControlGuest 23.6%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:342: executeControlDocker 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:428: findAgentForCommand 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:453: resolveGuest 54.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:490: resolveDockerContainer 39.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:556: findAgentForNode 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:588: findAgentForDockerHost 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:615: getAgentHostnameForDockerHost 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:637: createApprovalRecord 40.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:663: isPreApproved 20.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:691: formatApprovalNeeded 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:704: formatPolicyBlocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:715: formatTargetHostRequired 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:741: formatCommandSuggestion 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:752: formatControlApprovalNeeded 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:767: formatDockerApprovalNeeded 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:782: formatControlSuggestion 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_control.go:790: formatDockerSuggestion 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:11: registerInfrastructureTools 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:677: executeListBackups 70.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:786: executeListStorage 75.9%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:870: executeGetDiskHealth 85.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:942: executeListDockerUpdates 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:968: executeCheckDockerUpdates 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1009: executeUpdateDockerContainer 61.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1078: resolveDockerHostID 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1095: getDockerHostName 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1112: formatDockerUpdateApprovalNeeded 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1127: trimLeadingSlash 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1135: executeGetTemperatures 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1211: executeGetCephStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1274: executeGetReplication 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1341: containsAny 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1353: executeListSnapshots 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1428: executeListPBSJobs 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1541: executeListBackupTasks 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1613: executeGetNetworkStats 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1706: executeGetDiskIOStats 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1759: executeGetClusterStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1845: executeGetSwarmStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1883: executeListDockerServices 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:1948: executeListDockerTasks 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:2006: executeListRecentTasks 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:2068: executeListPhysicalDisks 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:2157: executeGetHostRAIDStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:2251: executeGetHostCephDetails 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:2399: executeGetResourceDisks 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_infrastructure.go:2544: executeGetConnectionHealth 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_patrol.go:12: registerPatrolTools 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_patrol.go:262: executeGetMetrics 73.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_patrol.go:356: executeGetBaselines 32.8%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_patrol.go:461: executeGetPatterns 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_patrol.go:482: executeListAlerts 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_patrol.go:527: executeListFindings 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_patrol.go:652: executeResolveFinding 72.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_patrol.go:679: executeDismissFinding 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_patrol.go:713: executeListResolvedAlerts 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_pmg.go:9: registerPMGTools 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_pmg.go:103: executeGetPMGStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_pmg.go:162: executeGetMailStats 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_pmg.go:218: executeGetMailQueues 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_pmg.go:274: executeGetSpamStats 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_profiles.go:13: registerProfileTools 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_profiles.go:73: executeGetAgentScope 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_profiles.go:138: executeSetAgentScope 73.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_profiles.go:259: resolveAgentFromHostname 93.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_profiles.go:283: resolveAgentLabel 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_profiles.go:301: firstNonEmpty 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_profiles.go:311: formatSettingsSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_profiles.go:327: detectAgentModules 96.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:22: registerQueryTools 57.1%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:265: executeGetCapabilities 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:302: executeGetURLContent 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:341: executeListInfrastructure 35.6%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:526: executeGetTopology 93.3%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:764: executeSetResourceURL 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:799: executeGetResource 51.2%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:962: executeSearchResources 70.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:1146: intArg 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:1163: registerKubernetesTools 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:1283: executeGetKubernetesClusters 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:1330: executeGetKubernetesNodes 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:1392: executeGetKubernetesPods 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ai/tools/tools_query.go:1485: executeGetKubernetesDeployments 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:74: normalizePoweredOffSeverity 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:109: Clone 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:137: cloneMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:149: cloneMetadataValue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:488: SetMetricHooks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:557: NewManager 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:733: SetLicenseChecker 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:740: addRecentlyResolvedUnlocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:748: addRecentlyResolvedWithPrimaryLock 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:755: SetAlertCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:762: SetResolvedCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:769: SetAcknowledgedCallback 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:776: SetUnacknowledgedCallback 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:783: SetEscalateCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:790: safeCallResolvedCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:815: safeCallAcknowledgedCallback 25.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:835: safeCallUnacknowledgedCallback 25.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:855: safeCallEscalateCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:879: checkFlappingLocked 95.2%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:928: dispatchAlert 71.9%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1015: isMonitorOnlyAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1032: ensureValidHysteresis 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1051: UpdateConfig 96.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1111: normalizeStorageDefaults 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1127: normalizeDockerThreshold 84.6%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1155: normalizeDockerDefaults 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1197: normalizePMGDefaults 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1249: normalizeSnapshotDefaults 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1277: normalizeBackupDefaults 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1291: normalizeNodeDefaults 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1308: normalizeHostDefaults 78.8%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1357: normalizeGeneralSettings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1373: normalizeTimeThresholds 93.8%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1399: migrateActivationState 11.1%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1419: validateHysteresisThresholds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1430: validateQuietHoursTimezone 20.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1445: normalizeOverrides 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1456: normalizeMetricTimeThresholds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1487: NormalizeMetricTimeThresholds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1493: NormalizeDockerIgnoredPrefixes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1524: applyGlobalOfflineSettingsLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1606: reevaluateActiveAlertsLocked 80.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1862: ReevaluateGuestAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1935: getThresholdForMetric 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:1962: getThresholdForMetricFromConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2006: isInQuietHours 96.2%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2059: quietHoursCategoryForAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2087: shouldSuppressNotification 93.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2122: ShouldSuppressResolvedNotification 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2144: shouldNotifyAfterCooldown 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2163: GetConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2170: CheckGuest 96.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2511: CheckNode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2599: RegisterHostAgentHostname 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2614: UnregisterHostAgentHostname 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2631: hasHostAgentForNode 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2642: hostResourceID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2650: hostDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2663: hostInstanceName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2673: sanitizeHostComponent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2705: sanitizeRAIDDevice 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2711: hostDiskResourceID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:2725: CheckHost 88.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3045: HandleHostOnline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3064: HandleHostRemoved 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3081: HandleHostOffline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3188: clearHostMetricAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3201: clearHostDiskAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3222: cleanupHostDiskAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3246: clearHostRAIDAlerts 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3264: CheckPBS 98.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3388: CheckPMG 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3494: dockerInstanceName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3506: dockerContainerDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3522: dockerResourceID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3538: dockerServiceDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3553: dockerServiceResourceID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3588: matchesDockerIgnoredPrefix 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3613: CheckDockerHost 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3669: evaluateDockerContainer 82.4%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3796: evaluateDockerService 83.6%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3936: clearDockerServiceAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3942: HandleDockerHostOnline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3960: HandleDockerHostRemoved 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:3972: HandleDockerHostOffline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4073: checkDockerContainerState 67.4%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4172: clearDockerContainerStateAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4180: checkDockerContainerHealth 94.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4238: clearDockerContainerHealthAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4244: checkDockerContainerRestartLoop 95.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4347: checkDockerContainerOOMKill 96.2%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4422: checkDockerContainerMemoryLimit 74.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4504: clearDockerContainerMetricAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4515: checkDockerContainerImageUpdate 90.6%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4639: cleanupDockerContainerAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4675: clearDockerHostContainerAlerts 90.5%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4713: CheckStorage 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4814: BuildGuestKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:4824: CheckSnapshotsForInstance 72.6%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:5111: CheckBackups 71.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:5509: checkZFSPoolHealth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:5691: clearAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:5718: getTimeThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:5735: getMetricTimeThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:5769: getBaseTimeThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:5784: getGlobalMetricTimeThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:5815: canonicalResourceTypeKeys 95.5%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:5863: checkMetric 71.9%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6196: sanitizeAlertKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6241: abs 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6251: namespaceMatchesInstance 94.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6298: AcknowledgeAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6334: UnacknowledgeAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6365: preserveAlertState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6406: removeActiveAlertNoLock 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6419: GetActiveAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6432: NotifyExistingAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6447: GetRecentlyResolved 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6475: GetResolvedAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6491: GetAlertHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6496: GetAlertHistorySince 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6505: ClearAlertHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6511: OnAlertHistory 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6518: checkNodeOffline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6604: clearNodeOfflineAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6646: checkPBSOffline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6714: clearPBSOfflineAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6756: checkPMGOffline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6824: clearPMGOfflineAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:6867: checkPMGQueueDepths 90.5%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7043: checkPMGOldestMessage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7122: checkPMGNodeQueues 85.1%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7280: isQueueOutlier 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7290: scaleThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7302: calculateMedianInt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7326: createOrUpdateNodeAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7370: checkPMGQuarantineBacklog 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7429: checkQuarantineMetric 93.1%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7546: calculateTrimmedBaseline 96.9%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7610: checkPMGAnomalies 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7700: checkAnomalyMetric 89.6%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7862: checkStorageOffline 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7931: clearStorageOfflineAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:7973: checkGuestPoweredOff 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8078: clearGuestPoweredOffAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8120: ClearAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8139: Cleanup 91.8%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8351: convertLegacyThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8365: cloneThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8373: cloneStringPtr 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8381: cloneThresholdConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8397: applyThresholdOverride 91.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8475: ensureHysteresisThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8491: parsePulseTags 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8507: applyRelaxedGuestThresholds 93.8%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8534: suppressGuestAlerts 96.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8580: guestHasMonitorOnlyAlerts 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8600: checkRateLimit 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8631: escalationChecker 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8650: checkEscalations 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8693: Stop 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8708: SaveActiveAlerts 73.1%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8757: saveActiveAlertsAsync 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8777: LoadActiveAlerts 81.2%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8936: CleanupAlertsForNodes 92.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:8991: ClearActiveAlerts 92.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9028: periodicSaveAlerts 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9046: trackingMapCleanup 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9064: cleanupStaleMaps 98.9%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9228: hasKnownFirmwareBug 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9251: CheckDiskHealth 98.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9397: clearAlertNoLock 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9423: clearSnapshotAlertsForInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9429: clearSnapshotAlertsForInstanceLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9441: clearBackupAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/alerts.go:9447: clearBackupAlertsLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/filter_evaluation.go:12: evaluateFilterCondition 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/filter_evaluation.go:39: extractGuestMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/filter_evaluation.go:75: evaluateGuestCondition 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/filter_evaluation.go:124: evaluateNumericCondition 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/filter_evaluation.go:151: evaluateVMCondition 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/filter_evaluation.go:157: evaluateContainerCondition 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/filter_evaluation.go:163: evaluateFilterStack 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/filter_evaluation.go:193: getGuestThresholds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/filter_evaluation.go:336: tryLegacyOverrideMigration 84.6%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:49: NewHistoryManager 70.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:83: OnAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:90: AddAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:111: GetHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:131: GetAllHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:150: loadHistory 76.2%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:191: saveHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:196: saveHistoryWithRetry 85.3%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:265: startPeriodicSave 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:283: cleanupRoutine 44.4%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:308: cleanOldEntries 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:334: RemoveAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:356: ClearAllHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:372: Stop 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:385: GetStats 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/alerts/history.go:407: getFileSize 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:26: NewMCPAgentProfileManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:34: ApplyAgentScope 78.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:120: AssignProfile 73.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:158: GetAgentScope 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:206: assignProfile 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:244: validateSettings 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:255: formatValidationIssues 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:269: saveVersion 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:290: logChange 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:296: requireLicense 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/agent_profiles_tools.go:303: buildScopeProfileName 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:73: NewAIHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:88: Start 86.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:135: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:144: Restart 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:154: IsRunning 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:159: GetService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:164: GetAIConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:168: loadAIConfig 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:188: HandleChat 82.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:318: HandleSessions 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:335: HandleCreateSession 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:352: HandleDeleteSession 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:367: HandleMessages 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:384: HandleAbort 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:399: HandleStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:411: HandleSummarize 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:429: HandleDiff 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:447: HandleFork 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:465: HandleRevert 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:483: HandleUnrevert 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:508: HandleAnswerQuestion 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:544: SetAlertProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:551: SetFindingsProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:558: SetBaselineProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:565: SetPatternProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:572: SetMetricsHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:579: SetAgentProfileManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:586: SetStorageProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:593: SetBackupProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:600: SetDiskHealthProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:607: SetUpdatesProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:614: SetFindingsManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:621: SetMetadataUpdater 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handler.go:628: UpdateControlSettings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:43: NewAISettingsHandler 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:58: GetAIService 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:63: SetConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:71: SetStateProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:76: SetResourceProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:81: SetMetadataProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:86: StartPatrol 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:91: IsAIEnabled 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:96: SetPatrolThresholdProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:101: SetPatrolFindingsPersistence 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:109: SetPatrolRunHistoryPersistence 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:117: SetMetricsHistoryProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:122: SetBaselineStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:127: SetChangeDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:132: SetRemediationLog 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:137: SetIncidentStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:142: SetPatternDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:147: SetCorrelationDetector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:152: StopPatrol 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:157: GetAlertTriggeredAnalyzer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:162: SetLicenseChecker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:168: SetOnModelChange 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:174: SetOnControlSettingsChange 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:262: HandleGetAISettings 52.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:330: HandleUpdateAISettings 32.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:736: HandleTestAIConnection 68.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:775: HandleTestProvider 47.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:844: HandleListModels 68.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:944: HandleExecute 44.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1057: HandleAnalyzeKubernetesCluster 22.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1119: HandleExecuteStream 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1387: HandleRunCommand 40.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1466: HandleGetGuestKnowledge 40.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1485: HandleSaveGuestNote 58.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1515: HandleDeleteGuestNote 58.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1541: HandleExportGuestKnowledge 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1564: HandleImportGuestKnowledge 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1639: HandleClearGuestKnowledge 32.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1690: HandleDebugContext 42.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1712: HandleGetConnectedAgents 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1767: HandleInvestigateAlert 10.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:1991: SetAlertProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2002: HandleOAuthStart 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2048: HandleOAuthExchange 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2181: HandleOAuthCallback 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2274: HandleOAuthDisconnect 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2349: HandleGetPatrolStatus 36.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2412: HandleGetIntelligence 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2463: HandlePatrolStream 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2512: previewTitle 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2529: previewResourceName 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2560: redactFindingsForPreview 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2590: redactPatrolRunHistory 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2604: HandleGetPatrolFindings 36.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2640: HandleForcePatrol 17.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2681: HandleAcknowledgeFinding 12.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2736: HandleSnoozeFinding 26.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2802: HandleResolveFinding 12.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2857: HandleDismissFinding 28.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2925: HandleSuppressFinding 12.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:2979: HandleClearAllFindings 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3019: HandleGetFindingsHistory 14.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3061: HandleGetPatrolRunHistory 35.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3100: HandleGetAICostSummary 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3135: HandleResetAICostHistory 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3181: HandleExportAICostHistory 7.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3285: HandleGetSuppressionRules 21.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3313: HandleAddSuppressionRule 9.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3390: HandleDeleteSuppressionRule 14.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3436: HandleGetDismissedFindings 21.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3468: HandleListAIChatSessions 58.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3514: HandleGetAIChatSession 45.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3558: HandleSaveAIChatSession 42.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3645: HandleDeleteAIChatSession 48.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3694: getAuthUsername 44.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3723: HandleListApprovals 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3765: HandleGetApproval 57.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3798: HandleApproveCommand 62.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3869: HandleDenyCommand 69.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:3923: HandleRollback 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:4031: HandleGetRollbackable 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:4080: HandleDryRunSimulate 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_handlers.go:4106: truncateForLog 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_intelligence_handlers.go:17: HandleGetPatterns 18.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_intelligence_handlers.go:100: HandleGetPredictions 17.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_intelligence_handlers.go:185: HandleGetCorrelations 17.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_intelligence_handlers.go:274: HandleGetRecentChanges 16.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_intelligence_handlers.go:363: HandleGetBaselines 18.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_intelligence_handlers.go:447: HandleGetRemediations 15.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_intelligence_handlers.go:574: remediationStatsFromRecords 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_intelligence_handlers.go:609: HandleGetAnomalies 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ai_intelligence_handlers.go:850: HandleGetLearningStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:58: NewAlertHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:66: SetMonitor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:73: validateAlertID 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:102: GetAlertConfig 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:111: UpdateAlertConfig 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:164: ActivateAlerts 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:226: GetActiveAlerts 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:235: GetAlertHistory 56.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:400: GetAlertIncidentTimeline 56.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:469: SaveAlertIncidentNote 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:524: ClearAlertHistory 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:536: UnacknowledgeAlert 73.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:605: AcknowledgeAlert 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:692: AcknowledgeAlertByBody 73.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:738: UnacknowledgeAlertByBody 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:782: ClearAlertByBody 70.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:824: ClearAlert 70.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:880: BulkAcknowledgeAlerts 82.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:945: BulkClearAlerts 64.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/alerts.go:1004: HandleAlerts 69.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:24: NewAuditHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:29: HandleListAuditEvents 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:110: HandleVerifyAuditEvent 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:175: HandleGetWebhooks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:189: HandleUpdateWebhooks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:227: validateWebhookURL 95.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:287: isPrivateOrReservedIP 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:308: isPersistentLogger 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:315: HandleExportAuditEvents 94.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/audit_handlers.go:391: HandleAuditSummary 92.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:34: InitSessionStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:41: GetSessionStore 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:50: detectProxy 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:64: isConnectionSecure 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:71: getCookieSettings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:105: generateSessionToken 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:116: ValidateSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:121: ValidateAndExtendSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:126: CheckProxyAuth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:185: CheckAuth 74.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:534: RequireAuth 78.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:573: RequireAdmin 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:635: RequirePermission 53.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:700: RequireScope 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:709: respondMissingScope 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:724: ensureScope 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:736: attachAPITokenRecord 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:745: getAPITokenRecordFromRequest 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:757: adminBypassEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/auth.go:780: refreshOIDCSessionTokens 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/bootstrap_token.go:23: generateBootstrapToken 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/bootstrap_token.go:31: loadOrCreateBootstrapToken 78.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/bootstrap_token.go:67: initializeBootstrapToken 92.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/bootstrap_token.go:109: bootstrapTokenValid 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/bootstrap_token.go:120: clearBootstrapToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/bootstrap_token.go:142: handleValidateBootstrapToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:45: sanitizeInstallerURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:67: sanitizeSetupAuthToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:108: NewConfigHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:130: SetMonitor 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:135: SetConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:143: cleanupExpiredCodes 23.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:166: ValidateSetupToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:190: markAutoRegistered 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:200: clearAutoRegistered 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:210: isRecentlyAutoRegistered 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:229: findInstanceNameByHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:249: sanitizeErrorMessage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:266: normalizePVEUser 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:279: shouldSkipClusterAutoDetection 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:293: maybeRefreshClusterInfo 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:429: isContainerSSHRestricted 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:439: deriveSchemeAndPort 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:470: ensureHostHasPort 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:496: validateNodeAPI 54.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:605: findExistingGuestURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:615: findExistingIPOverride 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:626: extractIPFromHost 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:655: ipsOnSameNetwork 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:694: findPreferredIP 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:720: defaultDetectPVECluster 20.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:954: GetAllNodesForAPI 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1050: HandleGetNodes 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1187: validateIPAddress 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1199: validatePort 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1208: extractHostAndPort 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1237: defaultPortForNodeType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1251: normalizeNodeHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1299: extractHostIP 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1317: resolveHostnameToIP 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1352: disambiguateNodeName 70.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1391: HandleAddNode 31.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:1893: HandleTestConnection 28.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:2192: HandleUpdateNode 29.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:2562: HandleDeleteNode 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:2685: HandleRefreshClusterNodes 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:2801: HandleTestNodeConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:2953: HandleTestNode 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:3135: getNodeStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:3166: HandleGetSystemSettings 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:3216: HandleVerifyTemperatureSSH 87.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:3295: generateNodeID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:3311: HandleExportConfig 72.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:3353: HandleImportConfig 46.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:3461: HandleDiscoverServers 35.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:3588: HandleSetupScript 88.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:4653: generateSetupCode 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:4667: HandleSetupScriptURL 94.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:4768: HandleGetMockMode 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:4796: HandleUpdateMockMode 42.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:4884: HandleAutoRegister 38.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:5515: handleSecureAutoRegister 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:5693: getOrGenerateSSHKeys 40.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:5731: generateOrLoadSSHKey 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_handlers.go:5810: HandleAgentInstallCommand 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:26: NewConfigProfileHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:34: SetAIHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:39: ServeHTTP 59.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:141: ListProfiles 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:156: CreateProfile 64.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:245: getUsernameFromRequest 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:253: UpdateProfile 69.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:357: DeleteProfile 59.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:428: ListAssignments 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:443: AssignProfile 67.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:515: UnassignProfile 74.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:585: GetProfile 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:605: GetConfigSchema 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:612: ValidateConfig 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:625: GetChangeLog 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:655: GetDeploymentStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:685: UpdateDeploymentStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:749: GetProfileVersions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:775: RollbackProfile 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:876: saveVersionHistory 57.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/config_profiles.go:891: logChange 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:34: csrfSessionKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:38: csrfTokenHash 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:62: InitCSRFStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:80: GetCSRFStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:88: backgroundWorker 33.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:102: GenerateCSRFToken 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:127: ValidateCSRFToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:144: DeleteCSRFToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:153: cleanup 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:167: save 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:178: saveUnsafe 78.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/csrf_store.go:221: load 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/demo_middleware.go:13: DemoModeMiddleware 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:91: isFallbackMemorySource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:316: handleDiagnostics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:352: writeDiagnosticsResponse 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:363: computeDiagnostics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:564: copyStringSlice 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:571: buildDiscoveryDiagnostic 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:648: buildAPITokenDiagnostic 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:789: buildDockerAgentDiagnostic 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:929: buildAlertsDiagnostic 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1007: fingerprintPublicKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1019: resolveUserName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1027: resolveGroupName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1035: countLegacySSHKeys 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1056: hasLegacyThresholds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1066: preferredDockerHostName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1079: formatTimeMaybe 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1086: normalizeVersionLabel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1102: checkVMDiskMonitoring 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1367: checkPhysicalDisks 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1466: contains 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1475: containsFold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1489: interfaceToStringSlice 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/diagnostics.go:1508: buildAIChatDiagnostic 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:42: normalizeCommandStatus 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:59: NewDockerAgentHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:64: SetMonitor 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:69: HandleReport 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:130: HandleDockerHostActions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:171: HandleCommandAck 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:236: HandleDeleteHost 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:334: HandleAllowReenroll 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:365: HandleUnhideHost 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:397: HandleMarkPendingUninstall 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:429: HandleSetCustomDisplayName 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:476: HandleContainerUpdate 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_agents.go:538: HandleCheckUpdates 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_metadata.go:19: NewDockerMetadataHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_metadata.go:26: Store 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_metadata.go:31: HandleGetMetadata 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_metadata.go:74: HandleUpdateMetadata 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_metadata.go:143: HandleDeleteMetadata 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_metadata.go:167: HandleGetHostMetadata 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_metadata.go:210: HandleUpdateHostMetadata 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/docker_metadata.go:294: HandleDeleteHostMetadata 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/frontend_embed.go:28: getFrontendDevProxy 35.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/frontend_embed.go:57: getFrontendFS 42.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/frontend_embed.go:72: serveFrontendHandler 72.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/guest_metadata.go:19: NewGuestMetadataHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/guest_metadata.go:26: Reload 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/guest_metadata.go:31: Store 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/guest_metadata.go:36: HandleGetMetadata 73.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/guest_metadata.go:79: HandleUpdateMetadata 52.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/guest_metadata.go:148: HandleDeleteMetadata 46.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:38: NewHostAgentHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:43: SetMonitor 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:48: HandleReport 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:109: HandleLookup 97.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:205: HandleDeleteHost 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:241: HandleConfig 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:262: canReadConfig 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:271: resolveConfigHost 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:292: signHostConfig 25.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:335: getConfigSigningKey 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:352: isConfigSignatureRequired 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:357: handleGetConfig 58.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:403: tokenID 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:410: ensureHostTokenMatch 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:437: handlePatchConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:476: HandleUninstall 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:521: HandleLink 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_agents.go:570: HandleUnlink 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_metadata.go:19: NewHostMetadataHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_metadata.go:26: Store 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_metadata.go:31: HandleGetMetadata 42.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_metadata.go:74: HandleUpdateMetadata 42.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/host_metadata.go:143: HandleDeleteMetadata 46.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/http_metrics.go:20: initHTTPMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/http_metrics.go:55: recordAPIRequest 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/http_metrics.go:68: classifyStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/http_metrics.go:79: normalizeRoute 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/http_metrics.go:110: normalizeSegment 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/http_metrics.go:123: isNumeric 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/http_metrics.go:135: looksLikeUUID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/kubernetes_agents.go:23: NewKubernetesAgentHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/kubernetes_agents.go:28: SetMonitor 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/kubernetes_agents.go:33: HandleReport 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/kubernetes_agents.go:84: HandleClusterActions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/kubernetes_agents.go:119: HandleDeleteCluster 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/kubernetes_agents.go:151: HandleAllowReenroll 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/kubernetes_agents.go:179: HandleUnhideCluster 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/kubernetes_agents.go:211: HandleMarkPendingUninstall 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/kubernetes_agents.go:243: HandleSetCustomDisplayName 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/license_handlers.go:21: NewLicenseHandlers 47.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/license_handlers.go:62: initAuditLoggerIfLicensed 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/license_handlers.go:86: Service 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/license_handlers.go:92: HandleLicenseStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/license_handlers.go:113: HandleLicenseFeatures 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/license_handlers.go:160: HandleActivateLicense 90.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/license_handlers.go:232: HandleClearLicense 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/license_handlers.go:259: RequireLicenseFeature 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/license_handlers.go:280: LicenseGatedEmptyResponse 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/log_redact.go:3: safePrefixForLog 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/metadata_provider.go:17: NewMetadataProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/metadata_provider.go:30: SetGuestURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/metadata_provider.go:50: SetDockerURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/metadata_provider.go:70: SetHostURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/middleware.go:28: Error 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/middleware.go:33: ErrorHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/middleware.go:97: writeErrorResponse 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/middleware.go:121: WriteHeader 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/middleware.go:129: Write 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/middleware.go:136: StatusCode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/middleware.go:144: Hijack 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/middleware.go:153: Flush 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:16: NewAlertMonitorWrapper 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:23: GetAlertManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:27: GetConfigPersistence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:31: GetIncidentStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:35: GetNotificationManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:39: SyncAlertState 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:43: GetState 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:53: NewNotificationMonitorWrapper 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:60: GetNotificationManager 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:64: GetConfigPersistence 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/monitor_wrappers.go:68: GetState 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notification_queue.go:21: NewNotificationQueueHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notification_queue.go:28: GetDLQ 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notification_queue.go:59: GetQueueStats 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notification_queue.go:83: RetryDLQItem 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notification_queue.go:130: DeleteDLQItem 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notification_queue.go:177: HandleNotificationQueue 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:58: NewNotificationHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:65: SetMonitor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:70: GetEmailConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:81: UpdateEmailConfig 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:130: GetAppriseConfig 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:140: UpdateAppriseConfig 64.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:184: GetWebhooks 73.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:230: CreateWebhook 68.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:280: UpdateWebhook 72.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:374: DeleteWebhook 53.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:402: TestNotification 64.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:522: GetWebhookTemplates 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:530: GetWebhookHistory 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:545: redactSecretsFromURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:608: GetEmailProviders 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:616: TestWebhook 68.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:732: GetNotificationHealth 76.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:776: countEnabledWebhooks 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/notifications.go:787: HandleNotifications 61.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:19: handleOIDCLogin 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:96: handleOIDCCallback 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:312: getOIDCService 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:338: sanitizeOIDCReturnTo 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:349: redirectOIDCError 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:362: addQueryParam 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:376: extractStringClaim 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:403: extractStringSliceClaim 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:434: matchesValue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:447: matchesDomain 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:466: intersects 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:482: ensureOIDCConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_handlers.go:492: buildRedirectURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:48: NewOIDCService 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:114: Matches 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:155: newStateEntry 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:182: consumeState 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:186: authCodeURL 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:197: exchangeCode 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:206: contextWithHTTPClient 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:221: RefreshToken 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:265: newOIDCHTTPClient 86.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:305: hashCABundle 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:333: newOIDCStateStore 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:358: cleanup 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:371: Stop 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:375: Put 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:381: Consume 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:398: generateRandomURLString 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/oidc_service.go:406: generatePKCEPair 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/profile_suggestions.go:24: NewProfileSuggestionHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/profile_suggestions.go:45: HandleSuggestProfile 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/profile_suggestions.go:161: parseAISuggestion 87.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/profile_suggestions.go:238: buildConfigSchemaDoc 45.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rate_limit_config.go:25: InitializeRateLimiters 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rate_limit_config.go:54: GetRateLimiterForEndpoint 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rate_limit_config.go:120: UniversalRateLimitMiddleware 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rate_limit_config.go:177: ResetRateLimitForIP 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rate_limit_config.go:200: Reset 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ratelimit.go:19: NewRateLimiter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ratelimit.go:46: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ratelimit.go:52: Allow 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ratelimit.go:83: cleanup 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/ratelimit.go:106: Middleware 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rbac_handlers.go:26: NewRBACHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rbac_handlers.go:31: HandleRoles 45.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rbac_handlers.go:148: HandleGetUsers 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rbac_handlers.go:166: HandleUserRoleActions 51.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rbac_handlers.go:242: HandleRBACChangelog 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rbac_handlers.go:291: HandleRoleEffective 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/rbac_handlers.go:333: HandleUserEffectivePermissions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/recovery_tokens.go:40: InitRecoveryTokenStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/recovery_tokens.go:55: GetRecoveryTokenStore 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/recovery_tokens.go:63: GenerateRecoveryToken 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/recovery_tokens.go:94: ValidateRecoveryTokenConstantTime 87.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/recovery_tokens.go:143: cleanupRoutine 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/recovery_tokens.go:159: cleanup 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/recovery_tokens.go:181: saveUnsafe 73.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/recovery_tokens.go:212: load 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/reporting_handlers.go:20: NewReportingHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/reporting_handlers.go:25: HandleGenerateReport 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/reporting_handlers.go:108: sanitizeFilename 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:24: NewResourceHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:31: SetStateProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:36: Store 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:49: HandleGetResources 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:119: HandleGetResource 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:144: HandleGetResourceStats 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:165: PopulateFromSnapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:217: parseResourceTypes 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:230: parsePlatformTypes 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/resource_handlers.go:243: parseStatuses 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:92: pulseBinDir 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:99: isDirectLoopbackRequest 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:120: NewRouter 93.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:198: setupRoutes 40.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1445: routeAISessions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1489: routeApprovals 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1522: routeQuestions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1548: handleAgentWebSocket 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1556: handleVerifyTemperatureSSH 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1590: handleSSHConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1621: extractSetupToken 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1634: extractBearerToken 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1652: Handler 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1660: SetMonitor 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1723: SetConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1746: StartPatrol 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1889: StopPatrol 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1897: StartAIChat 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:1938: wireAIChatProviders 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2085: GetGuestMetrics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2090: GetNodeMetrics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2095: GetAllGuestMetrics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2104: convertMetricPoints 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2120: GetBaseline 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2131: GetAllBaselines 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2166: GetPatterns 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2192: GetPredictions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2220: IsDockerUpdateActionsEnabled 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2228: StopAIChat 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2238: RestartAIChat 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2250: startBaselineLearning 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2285: learnBaselines 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2361: GetAlertTriggeredAnalyzer 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2370: WireAlertTriggeredAI 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2388: reloadSystemSettings 38.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2419: ServeHTTP 57.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2742: capturePublicURLFromRequest 76.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2839: firstForwardedValue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2847: sanitizeForwardedHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2869: isLoopbackHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2885: shouldAppendForwardedPort 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2901: canCapturePublicURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2913: isRequestAuthenticated 82.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2960: handleHealth 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2980: handleSchedulerHealth 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:2998: handleChangePassword 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3263: handleLogout 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3314: establishSession 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3354: establishOIDCSession 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3396: handleLogin 41.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3564: handleResetLockout 20.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3620: handleState 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3657: handleVersion 54.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3725: handleAgentVersion 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3744: handleServerInfo 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3768: handleStorage 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:3814: handleCharts 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4179: handleStorageCharts 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4219: handleMetricsStoreStats 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4261: handleMetricsHistory 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4397: handleConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4418: handleBackups 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4448: handleBackupsPVE 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4476: handleBackupsPBS 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4504: handleSnapshots 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4532: handleWebSocket 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4541: handleSimpleStats 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4758: handleSocketIO 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4797: forwardUpdateProgress 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4821: backgroundUpdateChecker 63.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4846: handleDownloadInstallScript 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4874: handleDownloadContainerAgentInstallScript 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4890: handleDownloadAgent 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4953: handleDownloadHostAgentInstallScript 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4982: handleDownloadHostAgentInstallScriptPS 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:4999: handleDownloadHostAgentUninstallScript 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5015: handleDownloadHostAgentUninstallScriptPS 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5032: handleDownloadHostAgent 28.6%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5101: tryServeHostAgentBinary 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5135: hostAgentSearchCandidates 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5166: dedupeStrings 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5182: sortedHostAgentKeys 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5200: cachedSHA256 69.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5248: serveChecksum 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5265: handleDiagnosticsDockerPrepareToken 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5348: handleDownloadDockerInstallerScript 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5375: resolvePublicURL 94.4%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5408: fileExists 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/router.go:5413: normalizeDockerAgentArch 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:25: NewSAMLServiceManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:33: GetService 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:40: InitializeProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:58: RemoveProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:65: handleSAMLLogin 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:129: handleSAMLACS 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:271: handleSAMLMetadata 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:325: handleSAMLLogout 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:372: handleSAMLSLO 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:388: establishSAMLSession 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:440: getSAMLSessionInfo 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:459: clearSession 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:472: redirectSAMLError 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:486: extractSAMLProviderID 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:502: getSSOProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:510: InitializeSAMLProviders 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_handlers.go:531: RefreshSAMLProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:50: NewSAMLService 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:75: newSAMLHTTPClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:87: loadIDPMetadata 63.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:123: fetchIDPMetadataFromURL 69.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:147: parseIDPMetadataXML 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:163: buildManualMetadata 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:225: addIDPCertificate 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:269: initServiceProvider 76.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:338: loadSPCredentials 71.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:408: MakeAuthRequest 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:435: ProcessResponse 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:519: extractAttribute 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:530: GetMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:543: MakeLogoutRequest 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:571: RefreshMetadata 40.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:585: ProviderID 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:590: GetSPEntityID 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/saml_service.go:601: GetIDPEntityID 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:18: generateCSRFToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:23: validateCSRFToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:28: CheckCSRF 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:105: clearCSRFCookie 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:118: issueNewCSRFCookie 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:147: GetClientIP 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:185: loadTrustedProxyCIDRs 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:229: extractRemoteIP 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:239: firstValidForwardedIP 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:256: isTrustedProxyIP 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:279: isPrivateIP 93.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:319: isTrustedNetwork 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:348: RecordFailedLogin 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:372: ClearFailedLogins 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:379: GetLockoutInfo 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:399: ResetLockout 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:410: SecurityHeadersWithConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:486: LogAuditEvent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:497: TrackUserSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:508: GetSessionUsername 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security.go:532: InvalidateUserSessions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_oidc.go:13: handleOIDCConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_oidc.go:24: handleGetOIDCConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_oidc.go:34: handleUpdateOIDCConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_oidc.go:136: makeOIDCResponse 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_setup_fix.go:20: detectServiceName 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_setup_fix.go:40: validateBcryptHash 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_setup_fix.go:51: isRunningAsRoot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_setup_fix.go:55: ensureSettingsWriteScope 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_setup_fix.go:78: WriteHeader 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_setup_fix.go:85: Write 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_setup_fix.go:90: handleQuickSecuritySetupFixed 47.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_setup_fix.go:519: HandleRegenerateAPIToken 6.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_setup_fix.go:637: HandleValidateAPIToken 10.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_tokens.go:27: toAPITokenDTO 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_tokens.go:39: normalizeRequestedScopes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_tokens.go:84: handleListAPITokens 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_tokens.go:110: handleCreateAPIToken 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/security_tokens.go:174: handleDeleteAPIToken 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:24: sessionHash 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:70: NewSessionStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:88: backgroundWorker 33.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:102: CreateSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:129: CreateOIDCSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:164: CreateSAMLSession 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:191: GetSAMLSessionInfo 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:208: GetSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:223: UpdateOIDCTokens 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:247: InvalidateSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:252: SetTokenRefreshing 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:263: ValidateSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:276: ValidateAndExtendSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:301: DeleteSession 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:310: cleanup 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:324: save 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:331: saveUnsafe 78.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/session_store.go:384: load 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:37: validateProviderID 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:45: sanitizeProviderName 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:61: validateURL 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:112: handleSSOProviders 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:124: handleSSOProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:152: handleListSSOProviders 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:171: handleGetSSOProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:187: handleCreateSSOProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:295: handleUpdateSSOProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:401: handleDeleteSSOProvider 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:438: saveSSOConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:445: providerToResponse 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:552: handleTestSSOProvider 73.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:607: testSAMLConnection 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:720: testOIDCConnection 81.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:853: handleMetadataPreview 80.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:971: newTestHTTPClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:982: fetchSAMLMetadataFromURL 81.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:1011: parseSAMLMetadataXML 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:1027: extractCertificateInfo 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:1061: base64Decode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/sso_handlers.go:1071: formatXML 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:43: NewSystemSettingsHandler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:62: SetMonitor 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:74: SetConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:81: firstValueForKeys 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:90: hasAnyKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:99: discoveryConfigMap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:119: validateSystemSettings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:375: HandleGetSystemSettings 81.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:422: HandleUpdateSystemSettings 46.2%
-github.com/rcourtman/pulse-go-rewrite/internal/api/system_settings.go:779: HandleSSHConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/unified_agent.go:15: handleDownloadUnifiedInstallScript 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/unified_agent.go:46: handleDownloadUnifiedInstallScriptPS 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/unified_agent.go:75: normalizeUnifiedAgentArch 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/unified_agent.go:108: handleDownloadUnifiedAgent 52.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/unified_agent.go:191: proxyInstallScriptFromGitHub 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/update_detection.go:20: NewUpdateDetectionHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/update_detection.go:44: HandleGetInfraUpdates 37.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/update_detection.go:85: HandleGetInfraUpdateForResource 42.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/update_detection.go:113: HandleGetInfraUpdatesSummary 35.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/update_detection.go:161: HandleTriggerInfraUpdateCheck 15.8%
-github.com/rcourtman/pulse-go-rewrite/internal/api/update_detection.go:243: HandleGetInfraUpdatesForHost 54.5%
-github.com/rcourtman/pulse-go-rewrite/internal/api/update_detection.go:274: collectDockerUpdates 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:38: NewUpdateHandlers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:65: HandleCheckUpdates 76.9%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:90: HandleApplyUpdate 61.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:136: HandleUpdateStatus 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:189: HandleUpdateStream 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:238: cleanupRateLimits 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:247: doCleanupRateLimits 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:260: getClientIP 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:288: HandleGetUpdatePlan 59.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:331: HandleListUpdateHistory 57.1%
-github.com/rcourtman/pulse-go-rewrite/internal/api/updates.go:363: HandleGetUpdateHistoryEntry 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/buffer/buffer.go:15: New 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/buffer/buffer.go:23: Push 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/buffer/buffer.go:36: Pop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/buffer/buffer.go:51: Peek 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/buffer/buffer.go:63: Len 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/buffer/buffer.go:70: IsEmpty 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ceph/collector.go:125: IsAvailable 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ceph/collector.go:132: Collect 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ceph/collector.go:167: runCephCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ceph/collector.go:182: parseStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ceph/collector.go:315: parseDF 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ceph/collector.go:353: boolToInt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:115: GetAvailableModels 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:120: NewDefaultAIConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:142: IsConfigured 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:171: HasProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:194: GetConfiguredProviders 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:215: GetAPIKeyForProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:251: GetBaseURLForProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:276: IsUsingOAuth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:282: ParseModelString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:308: FormatModelString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:314: GetBaseURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:330: GetModel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:372: GetChatModel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:381: GetPatrolModel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:391: GetAutoFixModel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:399: ClearOAuthTokens 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:406: ClearAPIKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:412: GetPatrolInterval 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:446: PresetToMinutes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:468: IsPatrolEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:481: IsAlertTriggeredAnalysisEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:491: GetRequestTimeout 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:501: GetControlLevel 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:513: IsControlEnabled 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:519: IsAutonomous 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:524: IsValidControlLevel 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/ai.go:534: GetProtectedGuests 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:67: ensureScopes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:80: Clone 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:91: NewAPITokenRecord 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:110: NewHashedAPITokenRecord 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:130: tokenPrefix 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:138: tokenSuffix 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:146: HasAPITokens 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:151: APITokenCount 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:156: ActiveAPITokenHashes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:167: HasAPITokenHash 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:178: IsEnvMigrationSuppressed 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:188: SuppressEnvMigration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:196: PrimaryAPITokenHash 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:204: PrimaryAPITokenHint 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:219: ValidateAPIToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:236: UpsertAPIToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:250: RemoveAPIToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:262: SortAPITokens 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:279: normalizeScopes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:289: HasScope 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/api_tokens.go:303: IsKnownScope 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/client_helpers.go:29: normalizeHostPort 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/client_helpers.go:59: CreateProxmoxConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/client_helpers.go:66: CreateProxmoxConfigWithHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/client_helpers.go:70: createProxmoxConfigWithHost 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/client_helpers.go:92: CreatePBSConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/client_helpers.go:105: CreatePMGConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/client_helpers.go:118: CreateProxmoxConfigFromFields 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/client_helpers.go:135: CreatePMGConfigFromFields 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/client_helpers.go:150: StripDefaultPort 86.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:54: IsPasswordHashed 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:202: DefaultDiscoveryConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:217: CloneDiscoveryConfig 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:232: NormalizeDiscoveryConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:273: sanitizeCIDRList 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:298: UnmarshalJSON 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:395: IsValidDiscoveryEnvironment 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:404: splitAndTrim 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:467: EffectiveIP 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:526: Load 77.9%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:1493: SaveOIDCConfig 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:1510: Validate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:1588: detectPublicURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/config.go:1645: getOutboundIP 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/detect_root.go:15: detectAppRoot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:45: NewDockerMetadataStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:68: Load 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:124: save 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:162: Get 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:173: GetAll 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:186: GetHostMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:197: GetAllHostMetadata 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:210: SetHostMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:227: Set 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:243: Delete 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/docker_metadata.go:254: ReplaceAll 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/export.go:37: ExportConfig 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/config/export.go:133: ImportConfig 77.2%
-github.com/rcourtman/pulse-go-rewrite/internal/config/export.go:251: encryptWithPassphrase 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/config/export.go:291: decryptWithPassphrase 89.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/guest_metadata.go:34: NewGuestMetadataStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/guest_metadata.go:56: Load 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/guest_metadata.go:83: save 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/guest_metadata.go:115: Get 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/guest_metadata.go:133: GetWithLegacyMigration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/guest_metadata.go:197: GetAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/guest_metadata.go:210: Set 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/guest_metadata.go:226: Delete 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/guest_metadata.go:237: ReplaceAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/host_metadata.go:32: NewHostMetadataStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/host_metadata.go:54: Load 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/config/host_metadata.go:85: save 78.6%
-github.com/rcourtman/pulse-go-rewrite/internal/config/host_metadata.go:133: Get 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/host_metadata.go:144: GetAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/host_metadata.go:157: Set 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/host_metadata.go:173: Delete 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/host_metadata.go:184: ReplaceAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/import_transaction.go:25: newImportTransaction 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/import_transaction.go:43: StageFile 76.9%
-github.com/rcourtman/pulse-go-rewrite/internal/config/import_transaction.go:92: Commit 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/config/import_transaction.go:170: Rollback 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/config/import_transaction.go:189: Cleanup 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/oidc.go:36: NewOIDCConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/oidc.go:43: Clone 82.4%
-github.com/rcourtman/pulse-go-rewrite/internal/config/oidc.go:70: ApplyDefaults 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/oidc.go:109: DefaultRedirectURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/oidc.go:118: Validate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/oidc.go:153: normaliseList 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/oidc.go:172: parseDelimited 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/oidc.go:185: parseMappings 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/oidc.go:205: MergeFromEnv 95.9%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:61: ReadFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:62: WriteFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:65: Rename 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:68: Remove 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:69: Stat 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:70: MkdirAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:77: NewConfigPersistence 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:88: newConfigPersistence 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:137: DataDir 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:142: EnsureConfigDir 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:146: beginTransaction 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:152: endTransaction 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:162: writeConfigFileLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:183: LoadAPITokens 93.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:212: LoadEnvTokenSuppressions 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:237: SaveEnvTokenSuppressions 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:254: SaveAPITokens 81.2%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:285: SaveAlertConfig 77.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:434: LoadAlertConfig 85.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:652: SaveEmailConfig 81.2%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:688: LoadEmailConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:728: SaveAppriseConfig 82.4%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:763: LoadAppriseConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:806: SaveWebhooks 81.2%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:840: LoadWebhooks 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:902: MigrateWebhooksIfNeeded 94.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1006: DefaultSystemSettings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1023: SaveNodesConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1029: SaveNodesConfigAllowEmpty 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1033: saveNodesConfig 91.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1142: LoadNodesConfig 93.8%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1388: SaveSystemSettings 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1417: SaveOIDCConfig 82.4%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1450: LoadOIDCConfig 94.1%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1480: SaveSSOConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1525: LoadSSOConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1560: migrateFromLegacyOIDCConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1621: SaveAIConfig 81.2%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1651: LoadAIConfig 94.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1728: SaveAIFindings 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1759: SetFileSystem 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1766: LoadAIFindings 93.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1865: SaveAIUsageHistory 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1896: LoadAIUsageHistory 93.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1933: SavePatrolRunHistory 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:1964: LoadPatrolRunHistory 93.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2003: LoadSystemSettings 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2029: updateEnvFile 88.6%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2101: IsEncryptionEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2108: cleanupOldBackups 81.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2153: LoadGuestMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2161: LoadDockerMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2169: LoadAgentProfiles 64.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2202: SaveAgentProfiles 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2227: LoadAgentProfileAssignments 64.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2260: SaveAgentProfileAssignments 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2285: LoadAgentProfileVersions 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2319: SaveAgentProfileVersions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2345: LoadProfileDeploymentStatus 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2379: SaveProfileDeploymentStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2405: LoadProfileChangeLogs 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2431: SaveProfileChangeLogs 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2449: AppendProfileChangeLog 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2511: SaveAIChatSessions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2542: LoadAIChatSessions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2578: SaveAIChatSession 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2591: DeleteAIChatSession 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2602: GetAIChatSessionsForUser 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/persistence.go:2625: CleanupOldAIChatSessions 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:115: NewSSOConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:123: GetProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:136: GetEnabledProviders 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:158: GetDefaultProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:173: HasEnabledProviders 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:178: AddProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:193: UpdateProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:207: RemoveProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:225: Validate 89.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:262: validateProvider 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:278: validateOIDCProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:291: validateSAMLProvider 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:325: Clone 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:343: cloneProvider 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:388: MigrateFromOIDCConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/sso.go:432: ToLegacyOIDCConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:45: NewConfigWatcher 90.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:149: SetMockReloadCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:157: SetAPITokenReloadCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:164: Start 72.2%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:196: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:205: ReloadConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:210: watchForChanges 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:215: handleEvents 89.7%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:279: pollForChanges 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:332: calculateFileHash 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:342: reloadConfig 91.1%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:490: reloadAPITokens 92.5%
-github.com/rcourtman/pulse-go-rewrite/internal/config/watcher.go:576: reloadMockConfig 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/crypto/crypto.go:34: NewCryptoManagerAt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/crypto/crypto.go:52: getOrCreateKeyAt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/crypto/crypto.go:207: Encrypt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/crypto/crypto.go:239: Decrypt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/crypto/crypto.go:265: EncryptString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/crypto/crypto.go:274: DecryptString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/config_override.go:17: BuildScanner 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/config_override.go:30: ApplyConfigToProfile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/config_override.go:133: shouldPruneContainerNetworks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/config_override.go:137: isLikelyContainerPhase 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/config_override.go:142: parseCIDRs 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/config_override.go:161: parseCIDRMap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/config_override.go:170: environmentFromOverride 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/config_override.go:190: filterPhasesForEnvironment 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:52: StartedAt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:56: CompletedAt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:60: Subnet 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:64: ServerCount 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:68: ErrorCount 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:72: Duration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:76: BlocklistLength 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:80: Status 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:132: init 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:137: NewService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:166: Start 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:202: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:207: scanLoop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:225: appendHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:241: GetHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:260: performScan 98.9%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:470: GetCachedResult 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:485: IsScanning 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:492: ForceRefresh 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:516: SetInterval 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:524: SetSubnet 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/discovery/service.go:552: GetStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:113: New 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:262: normalizeTargets 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:301: normalizeContainerStates 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:331: normalizeRuntime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:351: connectRuntime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:393: tryRuntimeCandidate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:411: buildRuntimeCandidates 96.9%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:514: detectRuntime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:552: Run 96.8%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:611: stopTimer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:620: collectOnce 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:639: flushBuffer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:664: sendReport 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:707: sendReportToTarget 97.6%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:780: handleCommand 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:794: handleCheckUpdatesCommand 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:816: handleStopCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:848: disableSelf 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:864: disableSystemdService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:890: stopSystemdService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:920: removeFileIfExists 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:930: sendCommandAck 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:971: primaryTarget 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:978: httpClientFor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:991: newHTTPClient 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:1013: Close 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:1017: readMachineID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:1035: isHexString 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:1044: readSystemUptime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/agent.go:1053: detectHostRemovedError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/cleanup.go:13: cleanupOrphanedBackups 18.5%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:20: buildReport 94.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:173: collectContainers 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:222: pruneStaleCPUSamples 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:239: collectContainer 98.8%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:460: getImageRepoDigest 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:507: matchesImageReference 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:537: extractPodmanMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:597: calculateContainerCPUPercent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:714: calculateCPUPercent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:737: calculateMemoryUsage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:768: safeFloat 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:775: parseTime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:791: trimLeadingSlash 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:799: randomDuration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:812: summarizeBlockIO 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/collect.go:855: maskSensitiveEnvVars 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/container_update.go:29: handleUpdateContainerCommand 95.5%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/container_update.go:86: updateContainerWithProgress 80.9%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:63: NewRegistryChecker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:68: newRegistryCheckerWithConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:92: SetEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:99: Enabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:106: ShouldCheck 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:118: MarkChecked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:125: ForceCheck 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:136: CheckImageUpdate 95.8%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:234: digestsDiffer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:255: fetchDigest 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:329: resolveManifestList 69.2%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:409: getAuthToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:427: fetchAuthToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:458: getCached 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:472: cacheDigest 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:482: cacheError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:493: CleanupCache 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:506: parseImageReference 73.1%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/registry.go:562: isValidDigest 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/self_update.go:20: checkForUpdates 95.7%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/self_update.go:111: isUnraid 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/self_update.go:118: resolveSymlink 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/self_update.go:123: verifyELFMagic 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/self_update.go:142: determineSelfUpdateArch 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/self_update.go:171: selfUpdate 85.1%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/signature.go:24: verifySignature 88.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/signature.go:73: verifyFileSignature 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:22: normalizeSwarmScope 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:36: resolvedSwarmScope 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:50: collectSwarmData 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:154: collectSwarmDataFromManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:216: mapSwarmService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:279: mapSwarmTask 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:332: serviceMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:347: buildContainerIndex 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:362: lookupContainer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:378: deriveSwarmTasksFromContainers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:446: deriveSwarmServicesFromData 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:543: copyStringMap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/swarm.go:554: isTaskCompletedState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/dockeragent/system.go:10: readProcUptime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:46: Error 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:56: Unwrap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:61: Is 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:83: NewMonitorError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:95: WithNode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:101: WithStatusCode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:113: isRetryable 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:131: WrapConnectionError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:136: WrapAuthError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:141: WrapAPIError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:146: IsRetryableError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/errors/errors.go:157: IsAuthError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:104: New 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:262: Run 52.6%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:303: runOnce 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:307: process 76.9%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:332: flushBuffer 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:356: buildReport 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:424: sendReport 79.2%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:475: applyRemoteConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:500: normalisePlatform 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:512: collectTemperatures 64.3%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:610: collectRAIDArrays 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:633: collectCephStatus 65.2%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:754: collectSMARTData 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:794: runProxmoxSetup 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:841: isLXCContainer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:875: GetReliableMachineID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:917: isHexString 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:931: getPrimaryMACIdentifier 68.4%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/agent.go:967: isLikelyVirtualInterfaceName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:39: NewCommandClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:108: Run 36.8%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:153: connectAndHandle 86.7%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:218: buildWebSocketURL 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:240: sendRegistration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:258: waitForRegistration 84.6%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:283: pingLoop 41.7%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:309: handleMessages 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:351: handleExecuteCommand 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:389: wrapCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:399: executeCommand 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/commands.go:463: Close 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:57: NewProxmoxSetup 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:74: Run 87.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:127: RunAll 55.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:166: runForType 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:208: detectProxmoxType 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:222: detectProxmoxTypes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:239: setupToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:249: setupPVEToken 76.9%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:279: setupPBSToken 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:317: parseTokenValue 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:343: parsePBSTokenValue 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:363: getHostURL 70.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:409: getIPThatReachesPulse 54.2%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:457: getIPForHostname 53.8%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:484: selectBestIP 95.5%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:540: scoreIPv4 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:583: registerWithPulse 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:621: isAlreadyRegistered 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:627: isTypeRegistered 95.5%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:679: stateFileForType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:691: markAsRegistered 40.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostagent/proxmox_setup.go:703: markTypeAsRegistered 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/collector.go:45: Collect 95.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/collector.go:89: collectCPUUsage 63.6%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/collector.go:108: collectDisks 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/collector.go:212: collectNetwork 85.2%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/collector.go:263: isLoopback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/collector.go:274: collectDiskIO 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/collector.go:313: isPartition 68.8%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:36: summarizeZFSPools 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:56: disksFromZpoolStats 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:121: fallbackZFSDisks 82.4%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:175: findZpool 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:193: fetchZpoolStats 33.3%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:215: parseZpoolList 95.8%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:258: uniqueZFSPools 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:277: bestZFSMountpoints 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:297: zfsMountpointScore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:308: zfsPoolFromDevice 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:319: calculatePercent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:326: clampPercent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/hostmetrics/zfs.go:337: bestZFSPoolDatasets 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:86: New 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:193: buildRESTConfig 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:251: computeClusterID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:257: discoverClusterMetadata 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:271: Run 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:287: runOnce 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:302: flushReports 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:315: namespaceAllowed 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:336: collectReport 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:376: collectNodes 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:405: isNodeReady 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:414: rolesFromNodeLabels 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:434: dedupeStrings 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:451: toNodeResources 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:463: collectPods 85.3%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:544: isProblemPod 73.3%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:574: summarizeContainerState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:587: ownerRef 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:599: collectDeployments 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:641: desiredReplicas 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:648: isProblemDeployment 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/kubernetesagent/agent.go:656: sendReport 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/license/features.go:127: TierHasFeature 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/features.go:141: GetTierDisplayName 37.5%
-github.com/rcourtman/pulse-go-rewrite/internal/license/features.go:161: GetFeatureDisplayName 17.6%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:22: SetPublicKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:80: IsExpired 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:88: IsLifetime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:94: DaysRemaining 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:106: ExpiresAt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:115: HasFeature 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:127: AllFeatures 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:158: NewService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:165: SetLicenseChangeCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:172: Activate 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:191: Clear 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:203: Current 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:210: IsValid 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:228: HasFeature 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:256: isDemoMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:261: isDevMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:276: GetLicenseState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:302: GetLicenseStateString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:310: RequireFeature 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:318: Status 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:381: ValidateLicense 92.5%
-github.com/rcourtman/pulse-go-rewrite/internal/license/license.go:475: GenerateLicenseForTesting 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:38: NewPersistence 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:62: loadPersistentKey 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:73: ensurePersistentKey 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:108: Save 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:113: SaveWithGracePeriod 73.7%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:157: Load 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:168: LoadWithMetadata 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:209: Delete 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:219: Exists 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:226: encrypt 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:249: decrypt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:254: decryptWithKey 78.6%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:281: deriveKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:286: deriveKeyFrom 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/license/persistence.go:292: getMachineID 55.6%
-github.com/rcourtman/pulse-go-rewrite/internal/license/pubkey.go:24: InitPublicKey 89.5%
-github.com/rcourtman/pulse-go-rewrite/internal/license/pubkey.go:61: decodePublicKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:69: init 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:75: Init 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:105: IsLevelEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:110: WithRequestID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:121: parseLevel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:134: selectWriter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:151: newConsoleWriter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:158: isTerminal 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:175: newRollingFileWriter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:204: Write 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:225: openOrCreateLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:245: rotateLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:263: closeLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:273: cleanupOldFiles 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/logging/logging.go:303: compressAndRemove 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mdadm/mdadm.go:28: CollectArrays 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mdadm/mdadm.go:59: isMdadmAvailable 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mdadm/mdadm.go:68: listArrayDevices 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mdadm/mdadm.go:91: collectArrayDetail 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mdadm/mdadm.go:104: parseDetail 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mdadm/mdadm.go:218: getRebuildSpeed 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/alert_history.go:12: GenerateAlertHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:16: titleCase 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:276: generateVirtualDisks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:331: GenerateMockData 95.1%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:524: generateReplicationJobs 94.4%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:609: formatSecondsAsClock 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:616: ptrTime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:620: ptrFloat64 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:624: generateNodes 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:701: generateNode 93.8%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:772: generateNodeTemperature 95.5%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:833: generateRealisticIO 98.3%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:930: generateVM 98.6%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1069: generateGuestNetworkInfo 96.2%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1120: generateGuestOSMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1142: generateKubernetesClusters 87.1%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1210: generateKubernetesNodes 89.7%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1273: generateKubernetesPods 98.4%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1391: generateKubernetesDeployments 94.1%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1432: clusterHasIssues 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1454: kubernetesPodHealthy 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1470: kubernetesDeploymentHealthy 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1478: generateDockerHosts 93.3%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1697: generateHosts 97.1%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:1904: generateDockerContainers 96.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2095: generateDockerPorts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2128: generateDockerNetworks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2148: generateDockerLabels 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2208: formatDurationForStatus 82.4%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2238: clampFloat 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2248: randomHexString 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2261: humanizeHostDisplayName 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2274: generateContainer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2387: generateGuestName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2393: generateLastBackupTime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2416: generateTags 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2440: generateZFSPoolWithIssues 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2539: generateStorage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2804: generateCephClusters 83.1%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2944: maxInt 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:2952: generateBackups 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3072: extractPMGBackups 85.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3114: generatePBSInstances 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3182: generatePBSBackups 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3286: generatePMGInstances 67.9%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3456: generateSnapshots 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3530: UpdateMetrics 92.4%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3742: updateKubernetesClusters 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3810: updateDockerHosts 63.7%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3957: serviceKey 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:3964: recalculateDockerServiceHealth 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:4062: ensureDockerSwarmInfo 76.5%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:4102: updateHosts 76.3%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:4166: fluctuateFloat 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:4178: fluctuateInt 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:4193: generateDisksForNode 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/generator.go:4271: generateDockerServicesAndTasks 90.3%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:28: init 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:37: IsMockEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:42: SetEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:46: setEnabled 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:67: setEnvFlag 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:75: enableMockMode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:107: disableMockMode 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:122: startUpdateLoopLocked 84.6%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:144: stopUpdateLoopLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:157: updateMetrics 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:170: GetConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:177: LoadMockConfig 37.8%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:254: SetMockConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:280: GetMockState 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:295: UpdateAlertSnapshots 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:321: GetMockAlertHistory 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/mock/integration.go:335: cloneState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:9: ToFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:14: ToFrontend 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:65: ToFrontend 82.6%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:139: ToFrontend 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:217: ToFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:307: ToFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:317: ToFrontend 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:444: timeToUnixMillis 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:452: ToFrontend 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:462: ToFrontend 95.2%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:528: ToFrontend 89.7%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:621: ToFrontend 89.5%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:666: ToFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:671: ToFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:684: ToFrontend 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:721: ToFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:725: hostSensorSummaryToFrontend 78.6%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:758: copyStringFloatMap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:769: toDockerHostCommandFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:807: ToFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:832: ToFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:865: ToFrontend 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:917: zeroIfNegative 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/converters.go:979: ConvertResourceToFrontend 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1230: NewState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1267: syncBackupsLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1276: UpdateActiveAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1283: UpdateRecentlyResolved 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1290: UpdateNodes 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1304: UpdateNodesForInstance 68.6%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1374: UpdateVMs 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1382: UpdateVMsForInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1426: UpdateContainers 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1435: backupKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1442: namespaceMatchesInstance 84.2%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1492: SyncGuestBackupTimes 95.7%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1591: UpdateContainersForInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1635: UpsertDockerHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1671: RemoveDockerHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1690: ClearAllDockerHosts 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1701: SetDockerHostStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1722: SetDockerHostHidden 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1739: SetDockerHostPendingUninstall 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1756: SetDockerHostCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1773: SetDockerHostCustomDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1790: TouchDockerHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1807: RemoveStaleDockerHosts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1830: GetDockerHosts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1840: AddRemovedDockerHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1862: RemoveRemovedDockerHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1876: GetRemovedDockerHosts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1886: UpsertKubernetesCluster 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1924: RemoveKubernetesCluster 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1940: SetKubernetesClusterStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1960: SetKubernetesClusterHidden 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1976: SetKubernetesClusterPendingUninstall 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:1992: SetKubernetesClusterCustomDisplayName 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2009: GetKubernetesClusters 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2019: AddRemovedKubernetesCluster 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2041: RemoveRemovedKubernetesCluster 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2055: GetRemovedKubernetesClusters 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2065: UpsertHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2090: GetHosts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2100: RemoveHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2118: ClearAllHosts 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2130: LinkNodeToHostAgent 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2146: UnlinkNodesFromHostAgent 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2167: LinkHostAgentToNode 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2226: UnlinkHostAgent 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2263: UpsertCephCluster 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2288: SetHostStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2306: TouchHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2323: SetHostCommandsEnabled 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2341: UpdateStorage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2349: UpdatePhysicalDisks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2385: UpdateStorageForInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2421: UpdateCephClustersForInstance 93.8%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2454: UpdatePBSInstances 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2462: UpdatePBSInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2484: UpdatePMGInstances 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2493: UpdatePMGInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2514: UpdateBackupTasksForInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2548: UpdateStorageBackupsForInstance 93.1%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2606: UpdateReplicationJobsForInstance 75.9%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2655: UpdateGuestSnapshotsForInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2689: SetConnectionHealth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2696: RemoveConnectionHealth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2703: UpdatePBSBackups 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2737: UpdatePMGBackups 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2763: GetContainers 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/models.go:2773: UpdateContainerDockerStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/profile_validation.go:133: Error 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/profile_validation.go:150: NewProfileValidator 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/profile_validation.go:159: Validate 82.4%
-github.com/rcourtman/pulse-go-rewrite/internal/models/profile_validation.go:205: validateValue 48.1%
-github.com/rcourtman/pulse-go-rewrite/internal/models/profile_validation.go:305: GetConfigKeyDefinitions 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/profile_validation.go:310: GetConfigKeyDefinition 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/profiles.go:74: MergedConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/state_snapshot.go:36: GetSnapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/models/state_snapshot.go:91: ToFrontend 61.7%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/backoff.go:15: nextDelay 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/ceph.go:16: isCephStorageType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/ceph.go:26: pollCephCluster 13.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/ceph.go:66: buildCephClusterModel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/ceph.go:158: summarizeCephHealth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/ceph.go:191: extractCephCheckSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/ceph.go:233: countServiceDaemons 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/circuit_breaker.go:30: newCircuitBreaker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/circuit_breaker.go:55: allow 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/circuit_breaker.go:82: recordSuccess 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/circuit_breaker.go:94: recordFailure 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/circuit_breaker.go:110: trip 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/circuit_breaker.go:132: State 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/circuit_breaker.go:137: stateDetails 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_disk_usage.go:17: clampToInt64 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_disk_usage.go:24: storageSupportsContainerVolumes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_disk_usage.go:39: isRootVolumeForContainer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_disk_usage.go:64: collectContainerRootUsage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:29: ensureContainerRootDiskEntry 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:63: convertContainerDiskInfo 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:135: sanitizeRootFSDevice 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:147: parseContainerRawIPs 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:159: collectIPsFromInterface 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:193: sanitizeGuestAddressStrings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:244: dedupeStringsPreserveOrder 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:268: parseContainerConfigNetworks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:331: parseContainerMountMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:385: mergeContainerNetworkInterface 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:430: extractContainerRootDeviceFromConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:467: extractContainerOSType 61.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:497: extractContainerOSTemplate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:520: isOCITemplate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/container_parsing.go:569: isOCIContainerByConfig 58.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/diagnostic_snapshots.go:88: makeNodeSnapshotKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/diagnostic_snapshots.go:92: makeGuestSnapshotKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/diagnostic_snapshots.go:96: logNodeMemorySource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/diagnostic_snapshots.go:169: recordNodeSnapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/diagnostic_snapshots.go:190: recordGuestSnapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/diagnostic_snapshots.go:212: GetDiagnosticSnapshots 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:47: newDockerHostCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:69: markDispatched 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:76: markInProgress 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:85: markAcknowledged 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:95: markCompleted 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:105: markFailed 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:113: hasExpired 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:121: queueDockerStopCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:170: QueueDockerContainerUpdateCommand 76.7%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:235: QueueDockerCheckUpdatesCommand 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:285: getDockerCommandPayload 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:323: acknowledgeDockerCommand 97.2%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_commands.go:393: normalizeDockerHostID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_detection.go:46: CheckContainersForDocker 82.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_detection.go:131: containerNeedsDockerCheck 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_detection.go:160: checkDockerParallel 77.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_detection.go:223: NewAgentDockerChecker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_detection.go:231: CheckDockerInContainer 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_detection.go:265: SetDockerChecker 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_detection.go:277: GetDockerChecker 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_host_identity.go:16: tokenHintFromRecord 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_host_identity.go:35: resolveDockerHostIdentifier 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_host_identity.go:73: findMatchingDockerHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_host_identity.go:136: dockerHostIDExists 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_host_identity.go:149: generateDockerHostIdentifier 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_host_identity.go:190: dockerHostSuffixCandidates 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_host_identity.go:221: sanitizeDockerHostSuffix 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_host_identity.go:259: fallbackDockerHostID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/docker_host_identity.go:277: uniqueNonEmptyStrings 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/fs_filters.go:7: readOnlyFilesystemReason 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/fs_filters.go:13: shouldIgnoreReadOnlyFilesystem 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:48: tryReserveGuestMetadataFetch 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:66: scheduleNextGuestMetadataFetch 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:83: deferGuestMetadataRetry 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:96: acquireGuestMetadataSlot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:108: releaseGuestMetadataSlot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:119: retryGuestAgentCall 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:148: fetchGuestAgentMetadata 63.6%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:313: guestMetadataCacheKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:317: clearGuestMetadataCache 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:330: cloneStringSlice 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:339: cloneGuestNetworkInterfaces 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:353: processGuestNetworkInterfaces 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:419: parseInterfaceStat 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:434: extractGuestOSInfo 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:475: isGuestAgentOSInfoUnsupportedError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:496: stringValue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/guest_metadata.go:523: anyToInt64 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/host_agent_temps.go:20: getHostAgentTemperature 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/host_agent_temps.go:27: getHostAgentTemperatureByID 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/host_agent_temps.go:88: convertHostSensorsToTemperature 85.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/host_agent_temps.go:252: isHostAgentTemperatureRecent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/host_agent_temps.go:260: mergeTemperatureData 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/kubernetes_agents.go:22: normalizeKubernetesClusterIdentifier 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/kubernetes_agents.go:41: ApplyKubernetesReport 61.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/kubernetes_agents.go:221: RemoveKubernetesCluster 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/kubernetes_agents.go:287: AllowKubernetesClusterReenroll 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/kubernetes_agents.go:307: UnhideKubernetesCluster 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/kubernetes_agents.go:321: MarkKubernetesClusterPendingUninstall 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/kubernetes_agents.go:335: SetKubernetesClusterCustomDisplayName 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/kubernetes_agents.go:348: evaluateKubernetesAgents 93.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/kubernetes_agents.go:374: cleanupRemovedKubernetesClusters 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:59: getPollMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:66: newPollMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:283: RecordNodeResult 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:325: RecordQueueWait 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:337: UpdateQueueSnapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:362: UpdateDeadLetterCounts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:399: SetBreakerState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:421: RecordResult 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:463: ResetQueueDepth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:478: SetQueueDepth 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:489: IncInFlight 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:497: DecInFlight 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:504: decrementPending 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:519: storeLastSuccess 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:525: lastSuccessFor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:532: updateStaleness 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:537: storeNodeLastSuccess 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:543: lastNodeSuccessFor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:550: updateNodeStaleness 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:556: splitInstanceKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:567: breakerStateToValue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:580: sanitizeInstanceLabels 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:584: makeMetricKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:592: makeNodeMetricKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:601: normalizeLabel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:609: normalizeNodeLabel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics.go:617: classifyError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:43: NewMetricsHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:54: Reset 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:64: AddGuestMetric 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:104: AddNodeMetric 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:132: appendMetric 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:159: GetGuestMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:202: GetNodeMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:237: GetAllGuestMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:272: AddStorageMetric 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:303: GetAllStorageMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:335: Cleanup 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/metrics_history.go:369: cleanupMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/mock_metrics_history.go:25: mockMetricsSamplerConfigFromEnv 61.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/mock_metrics_history.go:54: hashSeed 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/mock_metrics_history.go:72: pickTrendClass 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/mock_metrics_history.go:85: generateSeededSeries 97.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/mock_metrics_history.go:141: seedMockMetricsHistory 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/mock_metrics_history.go:255: recordMockStateToMetricsHistory 95.1%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/mock_metrics_history.go:346: startMockMetricsSampler 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/mock_metrics_history.go:396: stopMockMetricsSampler 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:107: getNodeDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:150: getInstanceConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:162: mergeNVMeTempsIntoDisks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:334: mergeHostAgentSMARTIntoDisks 4.2%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:436: lookupClusterEndpointLabel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:464: normalizeEndpointHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:496: isLikelyIPAddress 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:515: ensureClusterEndpointURL 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:533: clusterEndpointEffectiveURL 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:572: newRealExecutor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:576: Execute 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:682: schedulerKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:686: timePtr 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:811: safePercentage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:823: safeFloat 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:841: makeGuestID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:846: parseDurationEnv 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:865: parseIntEnv 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:883: clampUint64ToInt64 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:890: cloneStringFloatMap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:901: cloneStringMap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:912: convertDockerServices 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:975: convertDockerTasks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1017: normalizeAgentVersion 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1029: convertDockerSwarmInfo 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1048: shouldRunBackupPoll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1104: getNodeRRDMetrics 78.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1178: RemoveDockerHost 58.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1255: RemoveHostAgent 69.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1376: LinkHostAgent 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1401: UnlinkHostAgent 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1430: GetHostAgentConfig 85.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1471: getAgentProfileCache 87.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1520: InvalidateAgentProfileCache 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1528: UpdateHostAgentConfig 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1566: HideDockerHost 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1586: UnhideDockerHost 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1612: MarkDockerHostPendingUninstall 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1632: SetDockerHostCustomDisplayName 73.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1668: AllowDockerHostReenroll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1704: GetDockerHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1720: GetDockerHosts 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1731: RebuildTokenBindings 47.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1807: ClearUnauthenticatedAgents 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1835: QueueDockerHostStop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1840: FetchDockerCommandForHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1845: AcknowledgeDockerHostCommand 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:1850: ApplyDockerReport 67.7%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2309: ApplyHostReport 68.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2672: findLinkedProxmoxEntity 40.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2766: linkNodeToHostAgent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2776: recoverFromPanic 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2787: cleanupRemovedDockerHosts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2818: cleanupGuestMetadataCache 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2838: cleanupDiagnosticSnapshots 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2868: cleanupRRDCache 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2886: evaluateDockerAgents 87.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2922: evaluateHostAgents 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2981: sortContent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:2990: enrichContainerMetadata 52.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3252: GetConnectionStatuses 94.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3322: checkContainerizedTempMonitoring 70.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3349: New 63.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3803: SetExecutor 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3819: buildInstanceInfoCache 73.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3894: getExecutor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3901: clampInterval 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3914: effectivePVEPollingInterval 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3931: baseIntervalForInstanceType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:3955: getConfiguredHostIPs 62.2%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4044: consolidateDuplicateClusters 90.2%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4138: Start 36.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4326: retryFailedConnections 74.1%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4497: poll 80.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4546: syncAlertsToState 57.1%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4586: SyncAlertState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4591: pruneStaleDockerAlerts 64.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4662: startTaskWorkers 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4677: taskWorker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4699: derivePollTimeout 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4719: taskExecutionTimeout 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4730: executeScheduledTask 47.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4819: rescheduleTask 58.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4904: sendToDeadLetter 92.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4950: classifyDLQReason 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4960: updateDeadLetterMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4975: updateBreakerMetric 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4984: randomFloat 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:4991: updateQueueDepthMetric 40.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:5000: allowExecution 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:5011: ensureBreaker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:5038: recordTaskResult 97.6%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:5126: SchedulerHealth 89.1%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:5395: isTransientError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:5408: shouldTryPortlessFallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:5429: retryPVEPortFallback 75.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:5496: pollPVEInstance 33.6%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:6308: pollVMsAndContainersEfficient 54.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:7207: pollBackupTasks 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:7251: pollReplicationStatus 73.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:7395: formatSeconds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:7405: copyFloatPointer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:7416: matchesDatastoreExclude 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:7464: pollPBSInstance 66.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:7840: pollPMGInstance 80.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8134: GetState 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8149: SetMockMode 95.1%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8205: resetStateLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8214: GetStartTime 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8219: GetDiscoveryService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8224: StartDiscoveryService 72.2%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8256: StopDiscoveryService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8268: EnableTemperatureMonitoring 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8275: DisableTemperatureMonitoring 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8282: GetGuestMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8287: GetNodeMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8292: GetStorageMetrics 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8297: GetAlertManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8302: GetIncidentStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8308: SetAlertTriggeredAICallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8324: handleAlertFired 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8346: handleAlertResolved 58.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8370: handleAlertAcknowledged 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8377: handleAlertUnacknowledged 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8386: broadcastStateUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8405: SetResourceStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8413: GetNotificationManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8418: GetConfigPersistence 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8423: GetMetricsStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8429: GetMetricsHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8436: shouldSkipNodeMetrics 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8456: updateResourceStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8479: getResourcesForBroadcast 62.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8586: pollStorageBackupsWithNodes 73.1%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8831: shouldPreserveBackups 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8841: shouldPreservePBSBackups 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8849: storageNamesForNode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8880: preserveFailedStorageBackups 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8918: buildGuestLookups 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:8976: enrichWithPersistedMetadata 95.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9021: persistGuestIdentity 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9054: calculateBackupOperationTimeout 76.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9091: pollGuestSnapshots 71.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9321: collectSnapshotSizes 72.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9416: extractSnapshotName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9435: Stop 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9461: recordAuthFailure 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9503: resetAuthFailures 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9524: removeFailedPVENode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9568: removeFailedPBSNode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9587: removeFailedPMGInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9621: pollPBSBackups 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9789: buildPBSBackupCache 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9812: normalizePBSNamespacePath 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9819: namespacePathsForDatastore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9837: fetchPBSBackupSnapshots 77.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9904: convertPBSSnapshots 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:9965: checkMockAlerts 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:10075: isLegacyHostAgent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:10081: isLegacyDockerAgent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:10088: convertAgentSMARTToModels 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:10109: convertAgentCephToModels 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor.go:10211: convertAgentCephToGlobalCluster 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor_polling.go:24: describeInstancesForScheduler 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor_polling.go:119: buildScheduledTasks 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor_polling.go:151: convertPoolInfoToModel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor_polling.go:190: pollVMsWithNodes 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor_polling.go:881: pollContainersWithNodes 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor_polling.go:1191: pollStorageWithNodes 51.3%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor_polling.go:1669: shouldAttemptFallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor_polling.go:1677: fetchNodeStorageFallback 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/monitor_polling.go:1720: pollPVENode 39.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/ratetracker.go:28: NewRateTracker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/ratetracker.go:37: CalculateRates 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/ratetracker.go:102: Clear 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/reload.go:26: NewReloadableMonitor 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/reload.go:43: Start 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/reload.go:57: Reload 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/reload.go:64: watchReload 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/reload.go:83: doReload 78.9%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/reload.go:125: GetMonitor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/reload.go:132: GetConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/reload.go:142: GetState 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/reload.go:147: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:83: DefaultSchedulerConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:103: NewAdaptiveScheduler 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:133: BuildPlan 95.5%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:226: FilterDue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:241: DispatchDue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:262: LastScheduled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:274: StalenessScore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:288: newAdaptiveIntervalSelector 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:299: SelectInterval 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:373: clampFloat 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/scheduler.go:385: Enqueue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:30: NewStalenessTracker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:40: SetBounds 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:52: UpdateSuccess 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:74: UpdateError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:89: SetChangeHash 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:111: StalenessScore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:148: setSnapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:155: mergeSnapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:181: snapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:188: trackerKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/staleness_tracker.go:202: Snapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/storage_filters.go:12: isInherentlySharedStorageType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/storage_filters.go:45: storageContentQueryable 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:15: key 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:21: Len 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:23: Less 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:33: Swap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:39: Push 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:45: Pop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:65: NewTaskQueue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:75: Upsert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:92: Remove 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:106: WaitNext 97.4%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:183: Size 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:197: Snapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/task_queue.go:229: PeekAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:33: NewTemperatureCollectorWithPort 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:59: CollectTemperature 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:143: runSSHCommand 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:211: logMissingSSHKey 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:225: disableLegacySSHOnAuthFailure 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:260: normalizeSMARTEntries 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:300: parseSensorsJSON 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:452: parseCPUTemps 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:572: parseNVMeTemps 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:614: parseGPUTemps 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:656: parseNouveauGPUTemps 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:692: extractTempInput 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:712: extractCoreNumber 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:724: parseRPiTemperature 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:752: extractHostname 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/monitoring/temperature.go:770: ensureHostKey 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_enhanced.go:31: NewEnhancedEmailManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_enhanced.go:46: SendEmailWithRetry 82.4%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_enhanced.go:88: checkRateLimit 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_enhanced.go:112: sendEmailOnce 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_enhanced.go:151: sendViaProvider 94.4%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_enhanced.go:196: sendTLS 16.7%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_enhanced.go:258: sendStartTLS 35.5%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_enhanced.go:322: TestConnection 39.1%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_enhanced.go:373: sendPlain 67.9%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_providers.go:15: GetEmailProviders 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_template.go:13: titleCase 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_template.go:31: EmailTemplate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_template.go:38: singleAlertTemplate 93.8%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_template.go:206: groupedAlertTemplate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_template.go:379: formatDuration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_template.go:390: pluralize 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_template.go:398: formatMetricValue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/email_template.go:412: formatMetricThreshold 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:59: createSecureWebhookClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:150: copyEmailConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:159: copyWebhookConfigs 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:187: copyAppriseConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:196: annotateResolvedMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:207: NormalizeAppriseConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:272: defaultAppriseExec 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:347: NewNotificationManager 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:403: SetPublicURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:421: GetPublicURL 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:428: SetEmailConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:448: SetAppriseConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:455: GetAppriseConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:462: SetCooldown 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:473: SetNotifyOnResolve 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:485: GetNotifyOnResolve 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:492: SetGroupingWindow 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:503: SetGroupingOptions 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:512: AddWebhook 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:519: UpdateWebhook 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:533: DeleteWebhook 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:547: GetWebhooks 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:561: GetEmailConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:568: GetQueue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:575: SendAlert 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:630: SendResolvedAlert 73.9%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:672: CancelAlert 85.2%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:727: sendGroupedAlerts 94.4%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:771: enqueueNotifications 39.5%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:857: enqueueResolvedNotifications 33.3%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:937: sendNotificationsDirect 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:966: sendResolvedNotificationsDirect 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1004: sendGroupedEmail 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1016: sendResolvedEmail 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1029: sendGroupedApprise 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1068: buildApprisePayload 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1113: buildResolvedNotificationContent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1188: resolveAppriseNotificationType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1204: sendAppriseViaCLI 70.6%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1242: sendAppriseViaHTTP 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1341: sendResolvedApprise 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1381: sendEmail 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1397: sendHTMLEmailWithError 89.5%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1465: sendHTMLEmail 72.7%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1522: sendGroupedWebhook 4.1%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1737: sendResolvedWebhook 68.8%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1781: checkWebhookRateLimit 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1821: sendWebhookRequest 52.9%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:1966: sendWebhook 32.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2093: convertWebhookCustomFields 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2105: ensurePushoverCustomFieldAliases 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2125: isEmptyInterface 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2139: prepareWebhookData 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2203: templateFuncMap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2224: generatePayloadFromTemplateWithService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2255: renderWebhookURL 95.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2293: formatWebhookDuration 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2308: extractTelegramChatID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2337: isNumeric 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2347: ValidateWebhookURL 90.6%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2432: isPrivateIP 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2458: isNumericIP 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2469: UpdateAllowedPrivateCIDRs 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2523: isIPInAllowlist 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2543: addWebhookDelivery 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2558: GetWebhookHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2568: buildNotificationTestAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2589: GetQueueStats 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2601: SendTestNotification 30.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2664: SendTestAppriseWithConfig 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2689: SendTestWebhook 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2723: SendTestNotificationWithConfig 52.4%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2793: normalizeQueueType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2800: resolvedTimeFromAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2825: ProcessQueuedNotification 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2891: cleanupOldNotificationRecords 31.2%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/notifications.go:2926: Stop 84.6%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:63: NewNotificationQueue 77.3%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:124: initSchema 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:173: Enqueue 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:240: UpdateStatus 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:270: IncrementAttempt 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:283: IncrementAttemptAndSetStatus 85.7%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:302: GetPending 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:336: scanNotification 90.5%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:387: ScheduleRetry 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:416: MoveToDLQ 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:421: GetDLQ 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:454: RecordAudit 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:488: GetQueueStats 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:522: processQueue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:539: SetProcessor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:546: processBatch 88.2%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:577: processNotification 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:650: cleanupOldEntries 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:664: performCleanup 87.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:708: Stop 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:724: calculateBackoff 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/queue.go:734: CancelByAlertIDs 81.1%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/webhook_enhanced.go:70: SendEnhancedWebhook 76.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/webhook_enhanced.go:131: shouldSendWebhook 97.3%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/webhook_enhanced.go:203: sendWebhookWithRetry 72.7%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/webhook_enhanced.go:345: isRetryableWebhookError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/webhook_enhanced.go:384: sendWebhookOnceWithResponse 86.2%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/webhook_enhanced.go:447: sendWebhookOnce 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/webhook_enhanced.go:455: TestEnhancedWebhook 60.8%
-github.com/rcourtman/pulse-go-rewrite/internal/notifications/webhook_templates.go:15: GetWebhookTemplates 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/client.go:46: New 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/client.go:78: Fetch 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/client.go:147: isConfigSignatureRequired 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/client.go:151: resolveHostID 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/signature.go:36: DecodeEd25519PrivateKey 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/signature.go:58: SignConfigPayload 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/signature.go:73: VerifyConfigPayloadSignature 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/signature.go:102: canonicalConfigPayload 88.9%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/signature.go:131: trustedConfigPublicKeys 67.5%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/signature.go:195: marshalSortedMap 86.4%
-github.com/rcourtman/pulse-go-rewrite/internal/remoteconfig/signature.go:231: marshalCanonicalValue 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:13: FromNode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:104: FromVM 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:184: FromContainer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:270: FromHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:449: FromDockerHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:603: FromDockerContainer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:691: FromKubernetesCluster 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:742: FromKubernetesNode 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:794: FromKubernetesPod 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:853: FromKubernetesDeployment 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:897: FromPBSInstance 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:938: FromStorage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:986: mapNodeStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:997: mapGuestStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:1010: mapHostStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:1023: mapDockerHostStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:1034: mapDockerContainerStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:1049: mapKubernetesClusterStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:1060: mapKubernetesPodStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/converters.go:1073: mapPBSStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/resource.go:174: GetPlatformData 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/resource.go:182: SetPlatformData 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/resource.go:193: IsInfrastructure 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/resource.go:204: IsWorkload 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/resource.go:214: EffectiveDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/resource.go:222: CPUPercent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/resource.go:230: MemoryPercent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/resource.go:243: DiskPercent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:26: NewStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:38: Upsert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:70: Get 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:85: GetAll 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:97: GetByType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:111: GetByPlatform 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:125: GetInfrastructure 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:139: GetWorkloads 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:153: GetChildren 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:170: FindContainerHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:214: Remove 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:233: IsSuppressed 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:242: GetPreferredID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:253: GetStats 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:293: GetPreferredResourceFor 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:313: IsSamePhysicalMachine 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:339: HasPreferredSourceForHostname 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:375: ShouldSkipAPIPolling 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:382: GetAgentMonitoredHostnames 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:411: GetPollingRecommendations 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:439: findDuplicate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:499: preferredResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:518: sourceScore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:531: addToIndexes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:552: removeFromIndexes 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:579: removeFromSlice 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:591: isNonUniqueIP 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:614: MarkStale 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:635: PruneStale 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:654: Query 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:674: OfType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:680: FromPlatform 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:686: WithStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:692: WithParent 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:698: InCluster 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:704: WithAlerts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:711: SortBy 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:718: Limit 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:724: Offset 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:730: Execute 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:763: Count 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:776: matches 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:839: sortResources 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:909: GetTopByCPU 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:950: GetTopByMemory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:991: GetTopByDisk 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:1032: GetRelated 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:1092: GetResourceSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/resources/store.go:1177: PopulateFromSnapshot 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/collector.go:13: CollectLocal 88.2%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/parser.go:26: Parse 94.9%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/parser.go:122: isCPUChip 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/parser.go:139: parseCPUTemps 92.9%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/parser.go:227: extractNVMeCompositeTemp 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/parser.go:244: parseGPUTemps 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/parser.go:272: extractTempInput 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/parser.go:296: parseFansAndOther 81.5%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/parser.go:370: normalizeSensorKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/parser.go:387: extractNumericValue 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/power.go:46: CollectPower 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/power.go:65: collectRALP 21.2%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/power.go:149: readRAPLEnergy 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/power.go:189: readUint64File 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/power.go:198: readStringFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/power.go:211: collectAMDEnergy 9.4%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/power.go:287: findAMDEnergyHwmon 42.9%
-github.com/rcourtman/pulse-go-rewrite/internal/sensors/power.go:316: readAMDEnergy 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/smartctl/collector.go:67: CollectLocal 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/smartctl/collector.go:96: listBlockDevices 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/smartctl/collector.go:131: matchesDeviceExclude 94.7%
-github.com/rcourtman/pulse-go-rewrite/internal/smartctl/collector.go:170: collectDeviceSMART 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/smartctl/collector.go:255: detectDiskType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/smartctl/collector.go:275: formatWWN 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:82: Error 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:86: Unwrap 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:94: WithTimeout 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:103: WithKeyscanFunc 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:112: NewManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:132: Ensure 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:137: EnsureWithPort 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:172: EnsureWithEntries 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:233: Path 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:237: ensureKnownHostsFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:256: appendHostKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:274: sanitizeKeyscanOutput 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:291: normalizeHostEntry 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:311: findHostKeyLine 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:343: hostLineMatches 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:356: hostFieldMatches 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:368: HostFieldMatches 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:372: hostCandidates 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/ssh/knownhosts/manager.go:399: defaultKeyscan 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/system/container.go:27: InContainer 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/system/container.go:68: DetectDockerContainerName 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/system/container.go:88: isHexString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/system/container.go:99: DetectLXCCTID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/system/container.go:136: isNumeric 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/system/container.go:149: isTruthy 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/types/metrics.go:12: GetTimestamp 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:40: DefaultManagerConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:50: NewManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:64: ProcessDockerContainerUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:119: CheckImageUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:128: GetUpdates 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:145: GetUpdatesForHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:150: GetUpdatesForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:155: GetSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:160: GetTotalCount 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:165: DeleteUpdatesForHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:170: AddRegistryConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:176: CleanupStale 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:205: IsEmpty 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:210: Matches 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:233: Enabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:240: SetEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:247: AlertDelayHours 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/manager.go:254: GetUpdatesReadyForAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:54: NewRegistryChecker 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:77: AddRegistryConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:90: ParseImageReference 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:131: CheckImageUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:200: fetchDigest 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:273: getAuthToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:336: getCached 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:350: cacheDigest 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:360: cacheError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:371: CleanupCache 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:384: CacheSize 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/registry.go:393: isValidDigest 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:19: NewStore 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:28: UpsertUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:57: GetUpdatesForHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:72: GetUpdatesForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:84: GetAllUpdates 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:96: DeleteUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:127: DeleteUpdatesForResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:161: DeleteUpdatesForHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:176: GetSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:213: Count 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updatedetection/store.go:220: CountForHost 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:28: NewInstallShAdapter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:37: SupportsApply 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:42: GetDeploymentType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:47: PrepareUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:70: Execute 78.2%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:215: Rollback 40.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:282: executeRollback 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:347: detectServiceName 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:365: downloadBinary 63.3%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:470: stopService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:476: startService 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:482: restoreConfig 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:494: installBinary 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:516: waitForHealth 62.5%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:538: downloadInstallScript 72.7%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:594: parseProgress 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:619: readLastLines 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:653: NewDockerUpdater 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:657: SupportsApply 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:661: GetDeploymentType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:665: PrepareUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:679: Execute 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:683: Rollback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:691: NewAURUpdater 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:695: SupportsApply 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:699: GetDeploymentType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:703: PrepareUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:717: Execute 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/adapter_installsh.go:721: Rollback 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:101: NewUpdateHistory 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:128: CreateEntry 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:161: UpdateEntry 86.7%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:198: GetEntry 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:212: ListEntries 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:244: GetLatestSuccessful 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:258: loadCache 91.7%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:304: appendToFile 70.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:325: rewriteFile 50.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/history.go:361: addToCache 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:93: NewManager 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:118: SetHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:123: GetProgressChannel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:128: Close 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:136: GetSSEBroadcaster 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:141: GetQueue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:146: AddSSEClient 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:154: RemoveSSEClient 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:161: GetSSECachedStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:169: CheckForUpdates 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:174: CheckForUpdatesWithChannel 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:363: ApplyUpdate 5.5%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:559: GetStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:568: GetCachedUpdateInfo 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:588: getLatestReleaseForChannel 60.4%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:778: resolveChannel 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:794: getLatestReleaseFromFeed 78.8%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:872: createHistoryEntry 57.1%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:884: updateHistoryEntry 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:896: completeHistoryEntry 70.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:919: inferVersionFromDownloadURL 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:934: downloadFile 73.7%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:968: verifyChecksum 80.8%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1070: extractTarball 70.6%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1135: createBackup 70.6%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1203: restoreBackup 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1265: applyUpdateFiles 41.6%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1422: updateStatus 90.9%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1454: sseHeartbeatLoop 60.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1466: sanitizeError 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1482: statusDelayForStage 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1496: configuredStageDelay 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1514: cleanupOldTempDirs 57.1%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1558: copyFileSafe 76.5%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1594: copyDirSafe 64.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/manager.go:1647: isPreV4Installation 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/mock_updater.go:13: NewMockUpdater 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/mock_updater.go:17: SupportsApply 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/mock_updater.go:21: GetDeploymentType 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/mock_updater.go:25: PrepareUpdate 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/mock_updater.go:42: Execute 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/mock_updater.go:65: Rollback 0.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:44: NewUpdateQueue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:53: Enqueue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:87: MarkRunning 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:101: MarkCompleted 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:141: Cancel 81.8%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:161: GetCurrentJob 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:168: IsRunning 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:175: GetHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:186: addToHistory 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/queue.go:196: generateJobID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:33: NewSSEBroadcaster 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:54: AddClient 86.7%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:91: RemoveClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:106: Broadcast 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:122: GetCachedStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:129: GetClientCount 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:136: broadcastLoop 77.8%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:159: sendToClient 61.1%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:205: cleanupLoop 20.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:236: SendHeartbeat 76.5%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/sse.go:270: Close 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/updater.go:63: NewUpdaterRegistry 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/updater.go:70: Register 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/updater.go:75: Get 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:43: ParseVersion 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:67: String 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:84: Compare 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:116: IsNewerThan 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:121: IsPrerelease 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:126: GetCurrentVersion 42.1%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:182: normalizeVersionString 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:203: normalizeGitDescribeVersion 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:222: sanitizePrereleaseIdentifier 95.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:259: detectChannelFromVersion 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:268: getGitVersion 75.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:285: isDockerEnvironment 72.7%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:309: isSourceBuildEnvironment 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:326: fileExists 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:333: GetDeploymentType 36.4%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:382: dockerUpdatesAllowed 66.7%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:389: envBool 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:400: compareInts 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/updates/version.go:411: extractRCNumber 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/utils/helpers.go:14: GenerateID 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/utils/helpers.go:19: WriteJSONResponse 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/utils/helpers.go:31: ParseBool 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/utils/helpers.go:41: GetenvTrim 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/utils/helpers.go:53: NormalizeVersion 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/utils/helpers.go:72: CompareVersions 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/utils/paths.go:8: GetDataDir 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:22: isValidPrivateOrigin 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:51: normalizeForwardedProto 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:78: SetAllowedOrigins 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:85: checkOrigin 97.4%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:184: safeSend 80.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:198: cloneAlertData 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:212: cloneAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:235: cloneMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:247: cloneMetadataValue 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:306: SetStateGetter 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:313: NewHub 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:328: Run 54.2%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:462: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:467: HandleWebSocket 83.3%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:508: dispatchToClients 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:531: popCoalescedMessage 87.5%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:546: runBroadcastSequencer 95.5%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:595: BroadcastState 90.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:622: BroadcastAlert 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:632: BroadcastAlertResolved 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:642: GetClientCount 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:649: Broadcast 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:658: BroadcastMessage 40.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:681: sendPing 100.0%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:690: readPump 57.6%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:759: writePump 58.6%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:816: sanitizeData 71.4%
-github.com/rcourtman/pulse-go-rewrite/internal/websocket/hub.go:832: sanitizeValue 81.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/agents/docker/report.go:141: AgentKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:75: SetLogger 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:83: GetLogger 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:107: Log 66.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:129: NewConsoleLogger 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:134: Log 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:156: Query 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:161: Count 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:166: GetWebhookURLs 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:171: UpdateWebhookURLs 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/audit.go:176: Close 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/export.go:53: NewExporter 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/export.go:58: Export 81.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/export.go:103: exportCSV 76.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/export.go:166: exportJSON 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/export.go:204: GenerateSummary 96.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/signer.go:34: NewSigner 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/signer.go:81: Sign 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/signer.go:94: Verify 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/signer.go:105: canonicalForm 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/signer.go:122: SigningEnabled 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/signer.go:128: ExportKey 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:36: NewSQLiteLogger 67.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:119: initSchema 83.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:162: Log 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:219: Query 94.4%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:299: Count 70.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:345: GetWebhookURLs 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:353: UpdateWebhookURLs 86.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:384: VerifySignature 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:389: Close 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:407: loadWebhookURLs 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:417: retentionWorker 77.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:440: cleanupOldEvents 76.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:475: GetRetentionDays 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/sqlite_logger.go:480: SetRetentionDays 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:42: NewWebhookDelivery 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:61: Start 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:70: Stop 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:78: Enqueue 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:91: UpdateURLs 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:98: GetURLs 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:107: worker 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:125: drainQueue 37.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:143: deliverToAll 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:161: deliverWithRetry 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:200: deliver 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/audit/webhook.go:240: QueueLength 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/authorizer.go:25: WithUser 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/authorizer.go:30: GetUser 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/authorizer.go:38: WithAPIToken 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/authorizer.go:43: GetAPIToken 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/authorizer.go:51: GetAPITokenContextKey 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/authorizer.go:59: Authorize 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/authorizer.go:67: SetAuthorizer 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/authorizer.go:77: SetAdminUser 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/authorizer.go:87: GetAuthorizer 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/password.go:19: HashPassword 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/password.go:28: CheckPasswordHash 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/password.go:34: ValidatePasswordComplexity 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:19: NewPolicyEvaluator 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:25: Authorize 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:30: AuthorizeWithAttributes 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:53: getUserEffectivePermissions 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:69: filterMatching 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:91: evaluateWithDenyPrecedence 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:115: evaluateConditions 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:139: substituteVariables 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:153: SetAdminUser 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:165: NewRBACAuthorizer 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:172: Authorize 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:184: AuthorizeWithAttributes 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/policy_evaluator.go:196: SetAdminUser 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac.go:24: GetEffect 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac.go:128: SetManager 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac.go:135: GetManager 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac.go:142: HasPermission 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac.go:149: GetExtendedManager 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac.go:164: MatchesResource 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac.go:193: MatchesAction 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:21: NewFileManager 66.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:42: initBuiltInRoles 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:104: rolesFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:108: assignmentsFile 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:112: load 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:140: saveRoles 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:154: saveAssignments 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:169: GetRoles 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:181: GetRole 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:190: SaveRole 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:209: DeleteRole 88.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:227: GetUserAssignments 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:239: GetUserAssignment 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:248: AssignRole 78.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:280: UpdateUserRoles 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:301: RemoveRole 92.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/rbac_manager.go:325: GetUserPermissions 93.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:33: NewSQLiteManager 64.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:100: initSchema 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:158: initBuiltInRoles 82.4%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:241: Close 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:246: GetRoles 82.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:287: loadRolePermissions 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:320: GetRole 88.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:353: SaveRole 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:358: SaveRoleWithContext 82.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:452: getRoleUnsafe 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:478: DeleteRole 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:483: DeleteRoleWithContext 82.4%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:517: GetUserAssignments 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:545: getUserAssignmentUnsafe 86.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:578: GetUserAssignment 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:587: AssignRole 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:610: UpdateUserRoles 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:615: UpdateUserRolesWithContext 78.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:671: RemoveRole 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:684: GetUserPermissions 93.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:712: GetRoleWithInheritance 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:727: collectInheritedPermissions 81.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:753: checkCircularInheritanceUnsafe 93.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:782: GetRolesWithInheritance 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:801: collectRoleChain 77.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:821: GetChangeLogs 70.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:845: GetChangeLogsForEntity 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:864: scanChangeLogs 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:888: logChangeUnsafe 66.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:900: migrateFromFiles 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/sqlite_manager.go:949: nullString 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/token.go:15: GenerateAPIToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/token.go:25: HashAPIToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/token.go:31: CompareAPIToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/auth/token.go:37: IsAPITokenHashed 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:52: friendlyPhaseName 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:70: AddError 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:116: NewScanner 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:126: NewScannerWithProfile 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:212: DiscoverServers 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:217: DiscoverServersWithCallback 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:222: DiscoverServersWithCallbacks 50.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:382: discoverAtPort 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:399: buildServerFromProbe 76.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:446: populateServerHostname 64.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:481: scanWorkerWithProgress 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:502: runPhaseWithProgress 83.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:614: resolveProfile 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:661: collectExtraTargets 26.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:686: expandPhaseIPs 83.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:708: shouldSkipPhase 20.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:726: buildEnvironmentInfo 88.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:753: ensurePolicyDefaults 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:772: cloneProfile 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:804: clonePhase 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:813: copyMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:824: max 66.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:831: newProxmoxProbeResult 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:841: addConfidence 83.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:865: recordEndpoint 60.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:875: endpointFinding 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:883: finalize 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:903: probeProxmoxService 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:946: applyProductMatchers 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:953: applySharedHeuristics 80.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1006: applyPVEHeuristics 69.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1033: applyPMGHeuristics 88.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1092: applyPBSHeuristics 39.4%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1171: defaultProductsForPort 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1182: fetchNodeHostname 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1212: performTLSProbe 93.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1238: probeVersionEndpoint 90.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1283: probeAPIEndpoint 71.4%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1311: cloneHeader 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1325: inferTypeFromCertificate 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1338: inferTypeFromMetadata 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/discovery.go:1383: generateIPs 86.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:35: LookPath 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:37: CommandCombinedOutput 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:41: Stat 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:42: ReadFile 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:44: Interfaces 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:83: String 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:111: DefaultScanPolicy 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:143: DetectEnvironment 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:147: detectEnvironment 70.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:205: detectContainer 51.4%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:275: detectNativeEnvironment 81.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:301: detectDockerEnvironment 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:376: detectLXCEnvironment 38.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:446: isDockerHostMode 69.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:475: isLXCPrivileged 58.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:508: getAllLocalSubnets 75.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:563: detectHostNetworkFromContainer 66.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:604: getDefaultGateway 78.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:648: parseHexIP 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:667: tryCommonSubnets 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:689: addFallbackSubnets 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:711: countKernelRoutes 86.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/envdetect/envdetect.go:738: profileWithWarning 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/probe_test_helpers.go:11: ProbeProxmoxService 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/discovery/probe_test_helpers.go:15: ProbeAPIEndpoint 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/fsfilters/filters.go:24: ReadOnlyFilesystemReason 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/fsfilters/filters.go:53: ShouldIgnoreReadOnlyFilesystem 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/fsfilters/filters.go:117: ShouldSkipFilesystem 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/fsfilters/filters.go:195: MatchesUserExclude 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/alert_metrics.go:69: RecordAlertFired 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/alert_metrics.go:75: RecordAlertResolved 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/alert_metrics.go:85: RecordAlertAcknowledged 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/alert_metrics.go:90: RecordAlertSuppressed 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:47: DefaultConfig 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:84: NewStore 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:128: initSchema 83.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:168: Write 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:187: flushLocked 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:202: writeBatch 55.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:243: Query 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:275: QueryAll 81.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:307: selectTier 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:321: backgroundWorker 78.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:352: Flush 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:359: runRollup 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:375: rollupTier 81.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:419: rollupCandidate 61.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:469: runRetention 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:506: Close 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/metrics/store.go:536: GetStats 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:51: NewClient 94.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:141: authenticate 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:154: authenticateJSON 92.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:180: authenticateForm 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:201: handleAuthResponse 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:230: Error 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:237: shouldFallbackToForm 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:248: request 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:323: get 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:328: post 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:340: CreateUser 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:365: SetUserACL 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:385: CreateUserToken 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:429: SetupMonitoringAccess 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:492: GetVersion 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:514: GetNodeName 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:544: GetNodeStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:581: GetDatastores 98.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:818: ListNamespaces 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:856: ListBackupGroups 89.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:898: ListBackupSnapshots 88.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/pbs/client.go:933: ListAllBackups 93.1%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:130: NewClient 67.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:204: authenticate 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:242: authenticateForm 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:263: handleAuthResponse 91.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:295: Error 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:302: shouldFallbackToForm 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:312: ensureAuth 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:329: request 68.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:384: getJSON 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:400: GetVersion 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:408: GetMailStatistics 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:418: GetMailCount 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:431: GetSpamScores 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:439: GetClusterStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:451: GetQuarantineStatus 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:460: GetQueueStatus 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/client.go:470: ListBackups 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/json_types.go:14: UnmarshalJSON 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/json_types.go:49: Float64 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/json_types.go:56: UnmarshalJSON 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/json_types.go:98: Int64 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/pmg/json_types.go:102: Int 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/ceph.go:118: GetCephStatus 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/ceph.go:137: GetCephDF 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:24: UnmarshalJSON 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:56: coerceUint64 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:152: NewClient 87.1%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:234: authenticate 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:247: authenticateJSON 76.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:273: authenticateForm 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:294: handleAuthResponse 90.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:323: Error 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:330: shouldFallbackToForm 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:341: request 69.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:439: get 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:502: UnmarshalJSON 83.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:568: EffectiveAvailable 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:623: GetMHzString 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:640: GetNodes 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:659: GetNodeStatus 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:678: GetNodeRRDData 90.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:716: GetLXCRRDData 90.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:857: GetNodeNetworkInterfaces 72.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:881: GetContainerConfig 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:942: GetVMs 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:961: GetContainers 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:980: GetStorage 84.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1010: GetAllStorage 84.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1054: GetNodeTasks 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1073: GetBackupTasks 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1104: GetContainerInterfaces 72.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1128: GetStorageContent 88.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1166: GetVMSnapshots 84.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1194: GetContainerSnapshots 84.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1235: GetClusterStatus 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1254: IsClusterMember 45.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1283: GetVMConfig 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1302: GetVMAgentInfo 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1322: GetVMAgentVersion 52.4%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1378: UnmarshalJSON 94.4%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1412: parseUint64Flexible 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1482: GetVMFSInfo 73.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1589: GetVMNetworkInterfaces 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1610: GetVMStatus 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1631: GetContainerStatus 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1673: GetClusterResources 81.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1753: UnmarshalJSON 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1806: GetZFSPoolStatus 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1825: GetZFSPoolDetail 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1861: UnmarshalJSON 95.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1921: parseWearoutValue 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1968: clampWearoutConsumed 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:1990: GetDisks 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/client.go:2021: GetNodePendingUpdates 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:49: isVMSpecificError 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:76: sanitizeEndpointError 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:132: NewClusterClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:164: getEndpointFingerprint 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:172: initialHealthCheck 54.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:280: getHealthyClient 54.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:486: markUnhealthyWithError 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:506: clearEndpointError 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:516: recoverUnhealthyNodes 80.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:656: executeWithFailover 59.2%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:805: applyRateLimitCooldown 71.4%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:818: calculateRateLimitBackoff 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:829: isTransientRateLimitError 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:853: extractStatusCode 85.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:867: isNotImplementedError 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:887: GetHealthStatus 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:906: GetHealthStatusWithErrors 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:923: GetNodes 91.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:953: GetNodeStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:966: GetNodeRRDData 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:979: GetLXCRRDData 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:992: GetVMs 72.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1016: GetContainers 72.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1040: GetStorage 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1053: GetAllStorage 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1066: GetBackupTasks 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1079: GetReplicationStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1092: GetStorageContent 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1106: GetCephStatus 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1120: GetCephDF 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1133: GetVMSnapshots 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1146: GetContainerSnapshots 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1159: GetVMStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1172: GetVMConfig 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1185: GetVMAgentInfo 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1199: GetVMAgentVersion 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1213: GetVMFSInfo 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1227: GetVMNetworkInterfaces 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1241: GetClusterResources 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1255: GetContainerStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1269: GetContainerConfig 87.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1283: GetContainerInterfaces 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1297: IsClusterMember 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1311: GetZFSPoolStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1325: GetZFSPoolsWithDetails 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1339: GetDisks 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1364: GetNodePendingUpdates 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1390: GetClusterStatus 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1408: IsQuorate 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/cluster_client.go:1426: isAuthError 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:51: GetReplicationStatus 84.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:82: enrichReplicationJobStatus 66.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:211: parseReplicationJob 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:302: decodeRaw 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:313: firstNonNilRaw 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:322: stringFromAny 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:359: intFromAny 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:415: boolFromAny 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:445: floatFromAny 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:481: parseReplicationTime 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:541: parseDurationSeconds 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:573: parseHHMMSSToSeconds 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/replication.go:598: copyFloat 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/zfs.go:13: GetZFSPoolsWithDetails 93.8%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/zfs.go:76: ConvertToModelZFSPool 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/proxmox/zfs.go:139: convertDeviceRecursive 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/csv.go:15: NewCSVGenerator 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/csv.go:20: Generate 66.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/csv.go:48: writeHeader 80.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/csv.go:70: writeSummary 76.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/csv.go:115: writeData 86.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/csv.go:184: formatValue 66.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/csv.go:192: formatBytes 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/engine.go:25: NewReportEngine 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/engine.go:34: Generate 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/engine.go:111: queryMetrics 0.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/engine.go:192: GetResourceTypeDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/engine.go:212: GetMetricTypeDisplayName 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/engine.go:234: GetMetricUnit 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/pdf.go:17: NewPDFGenerator 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/pdf.go:22: Generate 92.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/pdf.go:56: writeHeader 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/pdf.go:119: writeSummary 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/pdf.go:176: writeCharts 90.5%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/pdf.go:309: writeDataTable 75.7%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/pdf.go:430: writeFooter 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/reporting.go:37: SetEngine 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/reporting/reporting.go:42: GetEngine 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/server/server.go:49: SetBusinessHooks 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/server/server.go:56: Run 63.6%
-github.com/rcourtman/pulse-go-rewrite/pkg/server/server.go:322: startMetricsServer 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/server/server.go:347: ShouldAutoImport 83.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/server/server.go:361: PerformAutoImport 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/server/server.go:406: NormalizeImportPayload 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/server/server.go:423: LooksLikeBase64 93.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/tlsutil/dnscache.go:22: GetDNSResolver 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/tlsutil/dnscache.go:30: initDNSResolver 75.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/tlsutil/dnscache.go:54: SetDNSCacheTTL 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/tlsutil/dnscache.go:70: DialContextWithCache 90.9%
-github.com/rcourtman/pulse-go-rewrite/pkg/tlsutil/fingerprint.go:20: FetchFingerprint 77.3%
-github.com/rcourtman/pulse-go-rewrite/pkg/tlsutil/fingerprint.go:68: FingerprintVerifier 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/tlsutil/fingerprint.go:94: CreateHTTPClient 100.0%
-github.com/rcourtman/pulse-go-rewrite/pkg/tlsutil/fingerprint.go:99: CreateHTTPClientWithTimeout 100.0%
-total: (statements) 69.2%
diff --git a/internal/ai/tools/tools_control.go b/internal/ai/tools/tools_control.go
index 5f4690983e..9d2b9d618f 100644
--- a/internal/ai/tools/tools_control.go
+++ b/internal/ai/tools/tools_control.go
@@ -2,1105 +2,95 @@ package tools
import (
"context"
- "encoding/json"
"fmt"
- "strconv"
- "strings"
-
- "github.com/rcourtman/pulse-go-rewrite/internal/agentexec"
- "github.com/rcourtman/pulse-go-rewrite/internal/ai/approval"
- "github.com/rcourtman/pulse-go-rewrite/internal/ai/safety"
- "github.com/rcourtman/pulse-go-rewrite/internal/models"
- "github.com/rs/zerolog/log"
)
-// registerControlTools registers control tools (conditional on control level)
-func (e *PulseToolExecutor) registerControlTools() {
+// registerControlToolsConsolidated registers the consolidated pulse_control tool
+func (e *PulseToolExecutor) registerControlToolsConsolidated() {
e.registry.Register(RegisteredTool{
Definition: Tool{
- Name: "pulse_run_command",
- Description: `Execute a shell command on infrastructure via a connected agent.
-
-This tool has built-in user approval - just call it directly when requested.
-Prefer query tools first. If multiple agents exist and target is unclear, ask which host.
-
-Routing: target_host can be a Proxmox host (delly), an LXC name (homepage-docker), or a VM name.
-Commands targeting LXCs/VMs are automatically routed through the Proxmox host agent.`,
+ Name: "pulse_control",
+ Description: `Control Proxmox VMs/LXC containers or execute WRITE commands on infrastructure.
+
+IMPORTANT: For READ operations (grep, cat, tail, logs, ps, status checks), use pulse_read instead.
+This tool is for WRITE operations that modify state.
+
+Types:
+- guest: Start, stop, restart, shutdown, or delete VMs and LXC containers
+- command: Execute commands that MODIFY state (restart services, write files, etc.)
+
+USE pulse_control FOR:
+- Guest control: start/stop/restart/delete VMs and LXCs
+- Service management: systemctl restart, service start/stop
+- Package management: apt install, yum update
+- File modification: echo > file, sed -i, rm, mv, cp
+
+DO NOT use pulse_control for:
+- Reading logs → use pulse_read action=exec or action=logs
+- Checking status → use pulse_read action=exec
+- Reading files → use pulse_read action=file
+- Finding files → use pulse_read action=find
+
+Examples:
+- Restart VM: type="guest", guest_id="101", action="restart"
+- Restart service: type="command", command="systemctl restart nginx", target_host="webserver"
+
+For Docker container control, use pulse_docker.
+Note: Delete requires the guest to be stopped first.`,
InputSchema: InputSchema{
Type: "object",
Properties: map[string]PropertySchema{
- "command": {
- Type: "string",
- Description: "Shell command to execute (runs via sh -c)",
- },
- "run_on_host": {
- Type: "boolean",
- Description: "If true, run on host. If false/omitted, runs on host anyway (use pct exec for LXC internals)",
- },
- "target_host": {
+ "type": {
Type: "string",
- Description: "Hostname to run on (e.g. 'delly'). Ask the user to choose if multiple agents are connected or if the target is unclear.",
+ Description: "Control type: guest or command",
+ Enum: []string{"guest", "command"},
},
- },
- Required: []string{"command"},
- },
- },
- Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeRunCommand(ctx, args)
- },
- RequireControl: true,
- })
-
- e.registry.Register(RegisteredTool{
- Definition: Tool{
- Name: "pulse_control_guest",
- Description: `Start, stop, restart, or delete Proxmox VMs and LXC containers.
-
-This tool has built-in user approval - just call it directly when requested.
-Use pulse_search_resources to find the guest first if needed.
-For Docker containers, use pulse_control_docker instead.
-Delete requires the guest to be stopped first.`,
- InputSchema: InputSchema{
- Type: "object",
- Properties: map[string]PropertySchema{
"guest_id": {
Type: "string",
- Description: "VMID number (e.g. '101') or exact name of the VM/LXC container",
+ Description: "For guest: VMID or name",
},
"action": {
Type: "string",
- Description: "start, stop (immediate), shutdown (graceful), restart, or delete (permanent removal - guest must be stopped first)",
+ Description: "For guest: start, stop, shutdown, restart, delete",
Enum: []string{"start", "stop", "shutdown", "restart", "delete"},
},
- "force": {
- Type: "boolean",
- Description: "Force stop without graceful shutdown (rarely needed)",
- },
- },
- Required: []string{"guest_id", "action"},
- },
- },
- Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeControlGuest(ctx, args)
- },
- RequireControl: true,
- })
-
- e.registry.Register(RegisteredTool{
- Definition: Tool{
- Name: "pulse_control_docker",
- Description: `Start, stop, or restart Docker containers.
-
-Returns: Success message with container name and host, or error if failed.
-
-Use when: User asks to start, stop, or restart a Docker container.
-
-Prefer: Use pulse_search_resources or pulse_list_infrastructure to confirm the container and host before control actions.
-
-Do NOT use for: Proxmox VMs/LXC containers (use pulse_control_guest), or checking status (use pulse_get_topology).
-
-Note: These are Docker containers, not Proxmox LXC containers. Uses 'docker' commands internally.`,
- InputSchema: InputSchema{
- Type: "object",
- Properties: map[string]PropertySchema{
- "container": {
+ "command": {
Type: "string",
- Description: "Container name (e.g. 'nginx') or container ID",
+ Description: "For command type: the shell command to execute",
},
- "host": {
+ "target_host": {
Type: "string",
- Description: "Docker host name (e.g. 'Tower'). Required if multiple Docker hosts exist.",
+ Description: "For command type: hostname to run command on",
},
- "action": {
- Type: "string",
- Description: "start, stop, or restart",
- Enum: []string{"start", "stop", "restart"},
+ "run_on_host": {
+ Type: "boolean",
+ Description: "For command type: run on host (default true)",
+ },
+ "force": {
+ Type: "boolean",
+ Description: "For guest stop: force stop without graceful shutdown",
},
},
- Required: []string{"container", "action"},
+ Required: []string{"type"},
},
},
Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeControlDocker(ctx, args)
+ return exec.executeControl(ctx, args)
},
RequireControl: true,
})
}
-func (e *PulseToolExecutor) executeRunCommand(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
- command, _ := args["command"].(string)
- runOnHost, _ := args["run_on_host"].(bool)
- targetHost, _ := args["target_host"].(string)
-
- if command == "" {
- return NewErrorResult(fmt.Errorf("command is required")), nil
- }
-
- // Validate resource is in resolved context
- // Uses command risk classification: read-only commands bypass strict mode
- // With PULSE_STRICT_RESOLUTION=true, write commands are blocked on undiscovered resources
- if targetHost != "" {
- validation := e.validateResolvedResourceForExec(targetHost, command, true)
- if validation.IsBlocked() {
- // Hard validation failure - return consistent error envelope
- return NewToolResponseResult(validation.StrictError.ToToolResponse()), nil
- }
- if validation.ErrorMsg != "" {
- // Soft validation - log warning but allow operation
- log.Warn().
- Str("target", targetHost).
- Str("command", command).
- Str("validation_error", validation.ErrorMsg).
- Msg("[Control] Target resource not in resolved context - may indicate model hallucination")
- }
-
- // Validate routing context - block if targeting a Proxmox host when child resources exist
- // This prevents accidentally executing commands on the host when user meant to target an LXC/VM
- routingResult := e.validateRoutingContext(targetHost)
- if routingResult.IsBlocked() {
- return NewToolResponseResult(routingResult.RoutingError.ToToolResponse()), nil
- }
- }
-
- // Note: Control level read_only check is now centralized in registry.Execute()
-
- // Check if this is a pre-approved execution (agentic loop re-executing after user approval)
- preApproved := isPreApproved(args)
-
- // Check security policy (skip block check - blocks cannot be pre-approved)
- decision := agentexec.PolicyAllow
- if e.policy != nil {
- decision = e.policy.Evaluate(command)
- if decision == agentexec.PolicyBlock {
- return NewTextResult(formatPolicyBlocked(command, "This command is blocked by security policy")), nil
- }
- }
-
- if targetHost == "" && e.agentServer != nil {
- agents := e.agentServer.GetConnectedAgents()
- if len(agents) > 1 {
- return NewTextResult(formatTargetHostRequired(agents)), nil
- }
- }
-
- // Skip approval checks if pre-approved or in autonomous mode
- if !preApproved && !e.isAutonomous && e.controlLevel == ControlLevelControlled {
- targetType := "container"
- if runOnHost {
- targetType = "host"
- }
- approvalID := createApprovalRecord(command, targetType, e.targetID, targetHost, "Control level requires approval")
- return NewTextResult(formatApprovalNeeded(command, "Control level requires approval", approvalID)), nil
- }
- if e.isAutonomous {
- log.Debug().
- Str("command", command).
- Bool("read_only", safety.IsReadOnlyCommand(command)).
- Msg("Auto-approving command for autonomous investigation")
- }
- if !preApproved && decision == agentexec.PolicyRequireApproval && !e.isAutonomous {
- targetType := "container"
- if runOnHost {
- targetType = "host"
- }
- approvalID := createApprovalRecord(command, targetType, e.targetID, targetHost, "Security policy requires approval")
- return NewTextResult(formatApprovalNeeded(command, "Security policy requires approval", approvalID)), nil
- }
-
- // Execute via agent server
- if e.agentServer == nil {
- return NewErrorResult(fmt.Errorf("no agent server available")), nil
- }
-
- // Resolve target to the correct agent and routing info (with full provenance)
- // If targetHost is an LXC/VM name, this routes to the Proxmox host agent
- // with the correct TargetType and TargetID for pct exec / qm guest exec
- routing := e.resolveTargetForCommandFull(targetHost)
- if routing.AgentID == "" {
- if targetHost != "" {
- if routing.TargetType == "container" || routing.TargetType == "vm" {
- return NewErrorResult(fmt.Errorf("'%s' is a %s but no agent is available on its Proxmox host. Install Pulse Unified Agent on the Proxmox node.", targetHost, routing.TargetType)), nil
- }
- return NewErrorResult(fmt.Errorf("no agent available for target '%s'. Specify a valid hostname with a connected agent.", targetHost)), nil
- }
- return NewErrorResult(fmt.Errorf("no agent available for target")), nil
- }
-
- log.Debug().
- Str("target_host", targetHost).
- Str("agent_id", routing.AgentID).
- Str("agent_host", routing.AgentHostname).
- Str("resolved_kind", routing.ResolvedKind).
- Str("resolved_node", routing.ResolvedNode).
- Str("transport", routing.Transport).
- Str("target_type", routing.TargetType).
- Str("target_id", routing.TargetID).
- Msg("[pulse_control] Routing command execution")
-
- result, err := e.agentServer.ExecuteCommand(ctx, routing.AgentID, agentexec.ExecuteCommandPayload{
- Command: command,
- TargetType: routing.TargetType,
- TargetID: routing.TargetID,
- })
- if err != nil {
- return NewErrorResult(err), nil
- }
-
- output := result.Stdout
- if result.Stderr != "" {
- output += "\n" + result.Stderr
- }
- if result.ExitCode != 0 {
- return NewTextResult(fmt.Sprintf("Command failed (exit code %d):\n%s", result.ExitCode, output)), nil
- }
-
- // Success - always show output explicitly to prevent LLM hallucination
- // When output is empty, we must be explicit about it so the LLM doesn't fabricate results
- if output == "" {
- return NewTextResult("Command completed successfully (exit code 0).\n\nOutput:\n(no output)"), nil
- }
- return NewTextResult(fmt.Sprintf("Command completed successfully (exit code 0).\n\nOutput:\n%s", output)), nil
-}
-
-func (e *PulseToolExecutor) executeControlGuest(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
- guestID, _ := args["guest_id"].(string)
- action, _ := args["action"].(string)
- force, _ := args["force"].(bool)
-
- if guestID == "" {
- return NewErrorResult(fmt.Errorf("guest_id is required")), nil
- }
- if action == "" {
- return NewErrorResult(fmt.Errorf("action is required")), nil
- }
-
- validActions := map[string]bool{"start": true, "stop": true, "shutdown": true, "restart": true, "delete": true}
- if !validActions[action] {
- return NewErrorResult(fmt.Errorf("invalid action: %s. Use start, stop, shutdown, restart, or delete", action)), nil
- }
-
- // Validate resource is in resolved context
- // With PULSE_STRICT_RESOLUTION=true, this blocks execution on undiscovered resources
- validation := e.validateResolvedResource(guestID, action, true)
- if validation.IsBlocked() {
- // Hard validation failure - return consistent error envelope
- return NewToolResponseResult(validation.StrictError.ToToolResponse()), nil
- }
- if validation.ErrorMsg != "" {
- // Soft validation - log warning but allow operation
- log.Warn().
- Str("guest_id", guestID).
- Str("action", action).
- Str("validation_error", validation.ErrorMsg).
- Msg("[ControlGuest] Guest not in resolved context - may indicate model hallucination")
- }
-
- // Note: Control level read_only check is now centralized in registry.Execute()
-
- guest, err := e.resolveGuest(guestID)
- if err != nil {
- return NewTextResult(fmt.Sprintf("Could not find guest '%s': %v", guestID, err)), nil
- }
-
- // Check if guest is protected
- vmidStr := fmt.Sprintf("%d", guest.VMID)
- for _, protected := range e.protectedGuests {
- if protected == vmidStr || protected == guest.Name {
- return NewTextResult(fmt.Sprintf("Guest %s (VMID %d) is protected and cannot be controlled by Pulse Assistant.", guest.Name, guest.VMID)), nil
- }
- }
-
- // Build the command
- cmdTool := "pct"
- if guest.Type == "vm" {
- cmdTool = "qm"
- }
-
- // For delete action, verify guest is stopped first
- if action == "delete" && guest.Status != "stopped" {
- return NewTextResult(fmt.Sprintf("Cannot delete %s (VMID %d) - it is currently %s. Stop it first, then try deleting again.", guest.Name, guest.VMID, guest.Status)), nil
- }
-
- var command string
- switch action {
- case "start":
- command = fmt.Sprintf("%s start %d", cmdTool, guest.VMID)
- case "stop":
- command = fmt.Sprintf("%s stop %d", cmdTool, guest.VMID)
- case "shutdown":
- command = fmt.Sprintf("%s shutdown %d", cmdTool, guest.VMID)
- case "restart":
- command = fmt.Sprintf("%s reboot %d", cmdTool, guest.VMID)
- case "delete":
- // Delete uses 'destroy' subcommand with --purge to also remove associated storage
- command = fmt.Sprintf("%s destroy %d --purge", cmdTool, guest.VMID)
- }
-
- if force && action == "stop" {
- command = fmt.Sprintf("%s stop %d --skiplock", cmdTool, guest.VMID)
- }
-
- // Check if this is a pre-approved execution (agentic loop re-executing after user approval)
- preApproved := isPreApproved(args)
-
- // Check security policy (skip if pre-approved)
- if !preApproved && e.policy != nil {
- decision := e.policy.Evaluate(command)
- if decision == agentexec.PolicyBlock {
- return NewTextResult(formatPolicyBlocked(command, "This command is blocked by security policy")), nil
- }
- if decision == agentexec.PolicyRequireApproval && !e.isAutonomous {
- // Use guest.Node (the Proxmox host) as targetName so approval execution can find the correct agent
- approvalID := createApprovalRecord(command, guest.Type, fmt.Sprintf("%d", guest.VMID), guest.Node, fmt.Sprintf("%s guest %s", action, guest.Name))
- return NewTextResult(formatControlApprovalNeeded(guest.Name, guest.VMID, action, command, approvalID)), nil
- }
- }
-
- // Check control level - this must be outside policy check since policy may be nil (skip if pre-approved)
- if !preApproved && e.controlLevel == ControlLevelControlled {
- // Use guest.Node (the Proxmox host) as targetName so approval execution can find the correct agent
- approvalID := createApprovalRecord(command, guest.Type, fmt.Sprintf("%d", guest.VMID), guest.Node, fmt.Sprintf("%s guest %s", action, guest.Name))
- return NewTextResult(formatControlApprovalNeeded(guest.Name, guest.VMID, action, command, approvalID)), nil
- }
-
- if e.agentServer == nil {
- return NewErrorResult(fmt.Errorf("no agent server available")), nil
- }
-
- agentID := e.findAgentForNode(guest.Node)
- if agentID == "" {
- return NewTextResult(fmt.Sprintf("No agent available on node '%s'. Install Pulse Unified Agent on the Proxmox host to enable control.", guest.Node)), nil
- }
-
- result, err := e.agentServer.ExecuteCommand(ctx, agentID, agentexec.ExecuteCommandPayload{
- Command: command,
- TargetType: "host",
- TargetID: "",
- })
- if err != nil {
- return NewErrorResult(err), nil
- }
-
- output := result.Stdout
- if result.Stderr != "" {
- output += "\n" + result.Stderr
- }
-
- if result.ExitCode == 0 {
- return NewTextResult(fmt.Sprintf("✓ Successfully executed '%s' on %s (VMID %d). Action complete - no verification needed (state updates in ~10s).\n%s", action, guest.Name, guest.VMID, output)), nil
- }
-
- return NewTextResult(fmt.Sprintf("Command failed (exit code %d):\n%s", result.ExitCode, output)), nil
-}
-
-func (e *PulseToolExecutor) executeControlDocker(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
- containerName, _ := args["container"].(string)
- hostName, _ := args["host"].(string)
- action, _ := args["action"].(string)
-
- if containerName == "" {
- return NewErrorResult(fmt.Errorf("container name is required")), nil
- }
- if action == "" {
- return NewErrorResult(fmt.Errorf("action is required")), nil
- }
-
- validActions := map[string]bool{"start": true, "stop": true, "restart": true}
- if !validActions[action] {
- return NewErrorResult(fmt.Errorf("invalid action: %s. Use start, stop, or restart", action)), nil
- }
-
- // Validate resource is in resolved context
- // With PULSE_STRICT_RESOLUTION=true, this blocks execution on undiscovered resources
- validation := e.validateResolvedResource(containerName, action, true)
- if validation.IsBlocked() {
- // Hard validation failure - return consistent error envelope
- return NewToolResponseResult(validation.StrictError.ToToolResponse()), nil
- }
- if validation.ErrorMsg != "" {
- // Soft validation - log warning but allow operation
- log.Warn().
- Str("container", containerName).
- Str("action", action).
- Str("host", hostName).
- Str("validation_error", validation.ErrorMsg).
- Msg("[ControlDocker] Container not in resolved context - may indicate model hallucination")
- }
-
- // Note: Control level read_only check is now centralized in registry.Execute()
-
- // Check if this is a pre-approved execution (agentic loop re-executing after user approval)
- preApproved := isPreApproved(args)
-
- container, dockerHost, err := e.resolveDockerContainer(containerName, hostName)
- if err != nil {
- return NewTextResult(fmt.Sprintf("Could not find Docker container '%s': %v", containerName, err)), nil
- }
-
- command := fmt.Sprintf("docker %s %s", action, container.Name)
-
- // Get the agent hostname for approval records (may differ from docker host display name)
- agentHostname := e.getAgentHostnameForDockerHost(dockerHost)
-
- // Skip approval checks if pre-approved
- if !preApproved && e.policy != nil {
- decision := e.policy.Evaluate(command)
- if decision == agentexec.PolicyBlock {
- return NewTextResult(formatPolicyBlocked(command, "This command is blocked by security policy")), nil
- }
- if decision == agentexec.PolicyRequireApproval && !e.isAutonomous {
- approvalID := createApprovalRecord(command, "docker", container.Name, agentHostname, fmt.Sprintf("%s Docker container %s", action, container.Name))
- return NewTextResult(formatDockerApprovalNeeded(container.Name, dockerHost.Hostname, action, command, approvalID)), nil
- }
- }
-
- // Check control level - this must be outside policy check since policy may be nil (skip if pre-approved)
- if !preApproved && e.controlLevel == ControlLevelControlled {
- approvalID := createApprovalRecord(command, "docker", container.Name, agentHostname, fmt.Sprintf("%s Docker container %s", action, container.Name))
- return NewTextResult(formatDockerApprovalNeeded(container.Name, dockerHost.Hostname, action, command, approvalID)), nil
- }
-
- if e.agentServer == nil {
- return NewErrorResult(fmt.Errorf("no agent server available")), nil
- }
-
- // Resolve the Docker host to the correct agent and routing info (with full provenance)
- routing := e.resolveDockerHostRoutingFull(dockerHost)
- if routing.AgentID == "" {
- if routing.TargetType == "container" || routing.TargetType == "vm" {
- return NewTextResult(fmt.Sprintf("Docker host '%s' is a %s but no agent is available on its Proxmox host. Install Pulse Unified Agent on the Proxmox node.", dockerHost.Hostname, routing.TargetType)), nil
- }
- return NewTextResult(fmt.Sprintf("No agent available on Docker host '%s'. Install Pulse Unified Agent on the host to enable control.", dockerHost.Hostname)), nil
- }
-
- log.Debug().
- Str("docker_host", dockerHost.Hostname).
- Str("agent_id", routing.AgentID).
- Str("agent_host", routing.AgentHostname).
- Str("resolved_kind", routing.ResolvedKind).
- Str("resolved_node", routing.ResolvedNode).
- Str("transport", routing.Transport).
- Str("target_type", routing.TargetType).
- Str("target_id", routing.TargetID).
- Msg("[pulse_control docker] Routing docker command execution")
-
- result, err := e.agentServer.ExecuteCommand(ctx, routing.AgentID, agentexec.ExecuteCommandPayload{
- Command: command,
- TargetType: routing.TargetType,
- TargetID: routing.TargetID,
- })
- if err != nil {
- return NewErrorResult(err), nil
- }
-
- output := result.Stdout
- if result.Stderr != "" {
- output += "\n" + result.Stderr
- }
-
- if result.ExitCode == 0 {
- return NewTextResult(fmt.Sprintf("✓ Successfully executed 'docker %s' on container '%s' (host: %s). Action complete - no verification needed (state updates in ~10s).\n%s", action, container.Name, dockerHost.Hostname, output)), nil
- }
-
- return NewTextResult(fmt.Sprintf("Command failed (exit code %d):\n%s", result.ExitCode, output)), nil
-}
-
-// Helper methods for control tools
-
-// CommandRoutingResult contains full routing information for command execution.
-// This provides the provenance needed to verify where commands actually run.
-type CommandRoutingResult struct {
- // Routing info for agent
- AgentID string // The agent that will execute the command
- TargetType string // "host", "container", or "vm"
- TargetID string // VMID for LXC/VM, empty for host
-
- // Provenance info
- AgentHostname string // Hostname of the agent
- ResolvedKind string // What kind of resource we resolved to: "node", "lxc", "vm", "docker", "host"
- ResolvedNode string // Proxmox node name (if applicable)
- Transport string // How command will be executed: "direct", "pct_exec", "qm_guest_exec"
-}
-
-// resolveTargetForCommandFull resolves a target_host to full routing info including provenance.
-// Use this for write operations where you need to verify execution context.
-//
-// CRITICAL ORDERING: Topology resolution (state.ResolveResource) happens FIRST.
-// Agent hostname matching is a FALLBACK only when the state doesn't know the resource.
-// This prevents the "hostname collision" bug where an agent with hostname matching an LXC name
-// causes commands to execute on the node instead of inside the LXC via pct exec.
-func (e *PulseToolExecutor) resolveTargetForCommandFull(targetHost string) CommandRoutingResult {
- result := CommandRoutingResult{
- TargetType: "host",
- Transport: "direct",
- }
-
- if e.agentServer == nil {
- return result
- }
-
- agents := e.agentServer.GetConnectedAgents()
- if len(agents) == 0 {
- return result
- }
-
- if targetHost == "" {
- // No target_host specified - require exactly one agent or fail
- if len(agents) > 1 {
- return result
- }
- result.AgentID = agents[0].AgentID
- result.AgentHostname = agents[0].Hostname
- result.ResolvedKind = "host"
- return result
- }
-
- // STEP 1: Consult topology (state) FIRST — this is authoritative.
- // If the state knows about this resource, use topology-based routing.
- // This prevents hostname collisions from masquerading as host targets.
- if e.stateProvider != nil {
- state := e.stateProvider.GetState()
- loc := state.ResolveResource(targetHost)
-
- if loc.Found {
- // Route based on resource type
- switch loc.ResourceType {
- case "node":
- // Direct Proxmox node
- nodeAgentID := e.findAgentForNode(loc.Node)
- result.AgentID = nodeAgentID
- result.ResolvedKind = "node"
- result.ResolvedNode = loc.Node
- for _, agent := range agents {
- if agent.AgentID == nodeAgentID {
- result.AgentHostname = agent.Hostname
- break
- }
- }
- return result
-
- case "lxc":
- // LXC container - route through Proxmox node agent via pct exec
- nodeAgentID := e.findAgentForNode(loc.Node)
- result.ResolvedKind = "lxc"
- result.ResolvedNode = loc.Node
- result.TargetType = "container"
- result.TargetID = fmt.Sprintf("%d", loc.VMID)
- result.Transport = "pct_exec"
- if nodeAgentID != "" {
- result.AgentID = nodeAgentID
- for _, agent := range agents {
- if agent.AgentID == nodeAgentID {
- result.AgentHostname = agent.Hostname
- break
- }
- }
- }
- return result
-
- case "vm":
- // VM - route through Proxmox node agent via qm guest exec
- nodeAgentID := e.findAgentForNode(loc.Node)
- result.ResolvedKind = "vm"
- result.ResolvedNode = loc.Node
- result.TargetType = "vm"
- result.TargetID = fmt.Sprintf("%d", loc.VMID)
- result.Transport = "qm_guest_exec"
- if nodeAgentID != "" {
- result.AgentID = nodeAgentID
- for _, agent := range agents {
- if agent.AgentID == nodeAgentID {
- result.AgentHostname = agent.Hostname
- break
- }
- }
- }
- return result
-
- case "docker", "dockerhost":
- // Docker container or Docker host
- result.ResolvedKind = loc.ResourceType
- result.ResolvedNode = loc.Node
-
- if loc.DockerHostType == "lxc" {
- nodeAgentID := e.findAgentForNode(loc.Node)
- result.TargetType = "container"
- result.TargetID = fmt.Sprintf("%d", loc.DockerHostVMID)
- result.Transport = "pct_exec"
- if nodeAgentID != "" {
- result.AgentID = nodeAgentID
- for _, agent := range agents {
- if agent.AgentID == nodeAgentID {
- result.AgentHostname = agent.Hostname
- break
- }
- }
- }
- return result
- }
- if loc.DockerHostType == "vm" {
- nodeAgentID := e.findAgentForNode(loc.Node)
- result.TargetType = "vm"
- result.TargetID = fmt.Sprintf("%d", loc.DockerHostVMID)
- result.Transport = "qm_guest_exec"
- if nodeAgentID != "" {
- result.AgentID = nodeAgentID
- for _, agent := range agents {
- if agent.AgentID == nodeAgentID {
- result.AgentHostname = agent.Hostname
- break
- }
- }
- }
- return result
- }
- // Standalone Docker host - find agent directly
- for _, agent := range agents {
- if agent.Hostname == loc.TargetHost || agent.AgentID == loc.TargetHost {
- result.AgentID = agent.AgentID
- result.AgentHostname = agent.Hostname
- return result
- }
- }
- }
- }
- }
-
- // STEP 2: FALLBACK — agent hostname match.
- // Only used when the state doesn't know about this resource at all.
- // This handles standalone hosts without Proxmox topology.
- for _, agent := range agents {
- if agent.Hostname == targetHost || agent.AgentID == targetHost {
- result.AgentID = agent.AgentID
- result.AgentHostname = agent.Hostname
- result.ResolvedKind = "host"
- return result
- }
- }
-
- return result
-}
-
-// resolveTargetForCommand resolves a target_host to the correct agent and routing info.
-// Uses the authoritative ResolveResource function from models.StateSnapshot.
-// Returns: agentID, targetType ("host", "container", or "vm"), targetID (vmid for LXC/VM)
-//
-// CRITICAL ORDERING: Same as resolveTargetForCommandFull — topology first, agent fallback second.
-func (e *PulseToolExecutor) resolveTargetForCommand(targetHost string) (agentID string, targetType string, targetID string) {
- // Delegate to the full resolver and extract the triple
- r := e.resolveTargetForCommandFull(targetHost)
- return r.AgentID, r.TargetType, r.TargetID
-}
-
-func (e *PulseToolExecutor) findAgentForCommand(runOnHost bool, targetHost string) string {
- agentID, _, _ := e.resolveTargetForCommand(targetHost)
- return agentID
-}
-
-func (e *PulseToolExecutor) resolveGuest(guestID string) (*GuestInfo, error) {
- if e.stateProvider == nil {
- return nil, fmt.Errorf("state provider not available")
- }
-
- state := e.stateProvider.GetState()
- vmid, err := strconv.Atoi(guestID)
-
- for _, vm := range state.VMs {
- if (err == nil && vm.VMID == vmid) || vm.Name == guestID || vm.ID == guestID {
- return &GuestInfo{
- VMID: vm.VMID,
- Name: vm.Name,
- Node: vm.Node,
- Type: "vm",
- Status: vm.Status,
- Instance: vm.Instance,
- }, nil
- }
- }
-
- for _, ct := range state.Containers {
- if (err == nil && ct.VMID == vmid) || ct.Name == guestID || ct.ID == guestID {
- return &GuestInfo{
- VMID: ct.VMID,
- Name: ct.Name,
- Node: ct.Node,
- Type: "lxc",
- Status: ct.Status,
- Instance: ct.Instance,
- }, nil
- }
- }
-
- return nil, fmt.Errorf("no VM or container found with ID or name '%s'", guestID)
-}
-
-func (e *PulseToolExecutor) resolveDockerContainer(containerName, hostName string) (*models.DockerContainer, *models.DockerHost, error) {
- if e.stateProvider == nil {
- return nil, nil, fmt.Errorf("state provider not available")
- }
-
- state := e.stateProvider.GetState()
- type dockerMatch struct {
- host *models.DockerHost
- idx int
- }
- matches := []dockerMatch{}
-
- for i := range state.DockerHosts {
- host := &state.DockerHosts[i]
- if hostName != "" && host.Hostname != hostName && host.DisplayName != hostName {
- continue
- }
-
- for ci := range host.Containers {
- container := host.Containers[ci]
- if container.Name == containerName ||
- container.ID == containerName ||
- strings.HasPrefix(container.ID, containerName) {
- matches = append(matches, dockerMatch{host: host, idx: ci})
- }
- }
- }
-
- if hostName != "" {
- if len(matches) == 0 {
- return nil, nil, fmt.Errorf("container '%s' not found on host '%s'", containerName, hostName)
- }
- match := matches[0]
- return &match.host.Containers[match.idx], match.host, nil
- }
-
- if len(matches) == 0 {
- return nil, nil, fmt.Errorf("container '%s' not found on any Docker host", containerName)
- }
- if len(matches) > 1 {
- hostNames := make([]string, 0, len(matches))
- seen := make(map[string]bool)
- for _, match := range matches {
- name := strings.TrimSpace(match.host.DisplayName)
- if name == "" {
- name = strings.TrimSpace(match.host.Hostname)
- }
- if name == "" {
- name = strings.TrimSpace(match.host.ID)
- }
- if name == "" || seen[name] {
- continue
- }
- hostNames = append(hostNames, name)
- seen[name] = true
- }
- if len(hostNames) == 0 {
- return nil, nil, fmt.Errorf("container '%s' exists on multiple Docker hosts; specify host", containerName)
- }
- return nil, nil, fmt.Errorf("container '%s' exists on multiple Docker hosts: %s. Specify host.", containerName, strings.Join(hostNames, ", "))
- }
-
- match := matches[0]
- return &match.host.Containers[match.idx], match.host, nil
-}
-
-func (e *PulseToolExecutor) findAgentForNode(nodeName string) string {
- if e.agentServer == nil {
- return ""
- }
-
- agents := e.agentServer.GetConnectedAgents()
- for _, agent := range agents {
- if agent.Hostname == nodeName {
- return agent.AgentID
- }
- }
-
- if e.stateProvider != nil {
- state := e.stateProvider.GetState()
- for _, host := range state.Hosts {
- if host.LinkedNodeID != "" {
- for _, node := range state.Nodes {
- if node.ID == host.LinkedNodeID && node.Name == nodeName {
- for _, agent := range agents {
- if agent.Hostname == host.Hostname || agent.AgentID == host.ID {
- return agent.AgentID
- }
- }
- }
- }
- }
- }
- }
-
- return ""
-}
-
-func (e *PulseToolExecutor) findAgentForDockerHost(dockerHost *models.DockerHost) string {
- if e.agentServer == nil {
- return ""
- }
-
- agents := e.agentServer.GetConnectedAgents()
-
- // First try to match by AgentID (most reliable)
- if dockerHost.AgentID != "" {
- for _, agent := range agents {
- if agent.AgentID == dockerHost.AgentID {
- return agent.AgentID
- }
- }
- }
-
- // Fall back to hostname match
- for _, agent := range agents {
- if agent.Hostname == dockerHost.Hostname {
- return agent.AgentID
- }
- }
-
- return ""
-}
-
-// getAgentHostnameForDockerHost finds the agent hostname for a Docker host (for approval records)
-func (e *PulseToolExecutor) getAgentHostnameForDockerHost(dockerHost *models.DockerHost) string {
- if e.agentServer == nil {
- return dockerHost.Hostname // fallback
- }
-
- agents := e.agentServer.GetConnectedAgents()
-
- // Try to match by AgentID first
- if dockerHost.AgentID != "" {
- for _, agent := range agents {
- if agent.AgentID == dockerHost.AgentID {
- return agent.Hostname
- }
- }
- }
-
- // Fall back to the docker host's hostname
- return dockerHost.Hostname
-}
-
-// resolveDockerHostRoutingFull resolves a Docker host to the correct agent and routing info
-// with full provenance metadata. If the Docker host is actually an LXC or VM, it routes
-// through the Proxmox host agent with the correct TargetType and TargetID so commands
-// are executed inside the guest.
-func (e *PulseToolExecutor) resolveDockerHostRoutingFull(dockerHost *models.DockerHost) CommandRoutingResult {
- result := CommandRoutingResult{
- TargetType: "host",
- Transport: "direct",
- }
-
- if e.agentServer == nil {
- return result
- }
-
- // STEP 1: Check topology — is the Docker host actually an LXC or VM?
- if e.stateProvider != nil {
- state := e.stateProvider.GetState()
-
- // Check LXCs
- for _, ct := range state.Containers {
- if ct.Name == dockerHost.Hostname {
- result.ResolvedKind = "lxc"
- result.ResolvedNode = ct.Node
- result.TargetType = "container"
- result.TargetID = fmt.Sprintf("%d", ct.VMID)
- result.Transport = "pct_exec"
- nodeAgentID := e.findAgentForNode(ct.Node)
- if nodeAgentID != "" {
- result.AgentID = nodeAgentID
- result.AgentHostname = ct.Node
- log.Debug().
- Str("docker_host", dockerHost.Hostname).
- Str("node", ct.Node).
- Int("vmid", ct.VMID).
- Str("agent", nodeAgentID).
- Str("transport", result.Transport).
- Msg("Resolved Docker host as LXC, routing through Proxmox agent")
- }
- return result
- }
- }
-
- // Check VMs
- for _, vm := range state.VMs {
- if vm.Name == dockerHost.Hostname {
- result.ResolvedKind = "vm"
- result.ResolvedNode = vm.Node
- result.TargetType = "vm"
- result.TargetID = fmt.Sprintf("%d", vm.VMID)
- result.Transport = "qm_guest_exec"
- nodeAgentID := e.findAgentForNode(vm.Node)
- if nodeAgentID != "" {
- result.AgentID = nodeAgentID
- result.AgentHostname = vm.Node
- log.Debug().
- Str("docker_host", dockerHost.Hostname).
- Str("node", vm.Node).
- Int("vmid", vm.VMID).
- Str("agent", nodeAgentID).
- Str("transport", result.Transport).
- Msg("Resolved Docker host as VM, routing through Proxmox agent")
- }
- return result
- }
- }
- }
-
- // STEP 2: Docker host is not an LXC/VM — use direct agent routing
- agentID := e.findAgentForDockerHost(dockerHost)
- result.AgentID = agentID
- result.ResolvedKind = "dockerhost"
- if agentID != "" {
- // Try to get agent hostname
- agents := e.agentServer.GetConnectedAgents()
- for _, a := range agents {
- if a.AgentID == agentID {
- result.AgentHostname = a.Hostname
- break
- }
- }
- }
- return result
-}
-
-// resolveDockerHostRouting delegates to resolveDockerHostRoutingFull for backwards compatibility.
-func (e *PulseToolExecutor) resolveDockerHostRouting(dockerHost *models.DockerHost) (agentID string, targetType string, targetID string) {
- r := e.resolveDockerHostRoutingFull(dockerHost)
- return r.AgentID, r.TargetType, r.TargetID
-}
-
-// createApprovalRecord creates an approval record in the store and returns the approval ID.
-// Returns empty string if store is not available (approvals will still work, just without persistence).
-func createApprovalRecord(command, targetType, targetID, targetName, context string) string {
- store := approval.GetStore()
- if store == nil {
- log.Debug().Msg("Approval store not available, approval will not be persisted")
- return ""
- }
-
- req := &approval.ApprovalRequest{
- Command: command,
- TargetType: targetType,
- TargetID: targetID,
- TargetName: targetName,
- Context: context,
- }
-
- if err := store.CreateApproval(req); err != nil {
- log.Warn().Err(err).Msg("Failed to create approval record")
- return ""
- }
-
- log.Debug().Str("approval_id", req.ID).Str("command", command).Msg("Created approval record")
- return req.ID
-}
-
-// isPreApproved checks if the args contain a valid, approved approval_id.
-// This is used when the agentic loop re-executes a tool after user approval.
-func isPreApproved(args map[string]interface{}) bool {
- approvalID, ok := args["_approval_id"].(string)
- if !ok || approvalID == "" {
- return false
- }
-
- store := approval.GetStore()
- if store == nil {
- return false
- }
-
- req, found := store.GetApproval(approvalID)
- if !found {
- log.Debug().Str("approval_id", approvalID).Msg("Pre-approval check: approval not found")
- return false
- }
-
- if req.Status == approval.StatusApproved {
- log.Debug().Str("approval_id", approvalID).Msg("Pre-approval check: approved, skipping approval flow")
- return true
- }
-
- log.Debug().Str("approval_id", approvalID).Str("status", string(req.Status)).Msg("Pre-approval check: not approved")
- return false
-}
-
-// Formatting helpers for control tools
-
-func formatApprovalNeeded(command, reason, approvalID string) string {
- payload := map[string]interface{}{
- "type": "approval_required",
- "approval_id": approvalID,
- "command": command,
- "reason": reason,
- "how_to_approve": "Click the approval button in the chat to execute this command.",
- "do_not_retry": true,
- }
- b, _ := json.Marshal(payload)
- return "APPROVAL_REQUIRED: " + string(b)
-}
-
-func formatPolicyBlocked(command, reason string) string {
- payload := map[string]interface{}{
- "type": "policy_blocked",
- "command": command,
- "reason": reason,
- "do_not_retry": true,
- }
- b, _ := json.Marshal(payload)
- return "POLICY_BLOCKED: " + string(b)
-}
-
-func formatTargetHostRequired(agents []agentexec.ConnectedAgent) string {
- hostnames := make([]string, 0, len(agents))
- for _, agent := range agents {
- name := strings.TrimSpace(agent.Hostname)
- if name == "" {
- name = strings.TrimSpace(agent.AgentID)
- }
- if name != "" {
- hostnames = append(hostnames, name)
- }
- }
- if len(hostnames) == 0 {
- return "Multiple agents are connected. Please specify target_host."
- }
- maxItems := 6
- list := hostnames
- if len(hostnames) > maxItems {
- list = hostnames[:maxItems]
- }
- message := fmt.Sprintf("Multiple agents are connected. Please specify target_host. Available: %s", strings.Join(list, ", "))
- if len(hostnames) > maxItems {
- message = fmt.Sprintf("%s (+%d more)", message, len(hostnames)-maxItems)
- }
- return message
-}
-
-func formatControlApprovalNeeded(name string, vmid int, action, command, approvalID string) string {
- payload := map[string]interface{}{
- "type": "approval_required",
- "approval_id": approvalID,
- "guest_name": name,
- "guest_vmid": vmid,
- "action": action,
- "command": command,
- "how_to_approve": "Click the approval button in the chat to execute this action.",
- "do_not_retry": true,
- }
- b, _ := json.Marshal(payload)
- return "APPROVAL_REQUIRED: " + string(b)
-}
-
-func formatDockerApprovalNeeded(name, host, action, command, approvalID string) string {
- payload := map[string]interface{}{
- "type": "approval_required",
- "approval_id": approvalID,
- "container_name": name,
- "docker_host": host,
- "action": action,
- "command": command,
- "how_to_approve": "Click the approval button in the chat to execute this action.",
- "do_not_retry": true,
+// executeControl routes to the appropriate control handler based on type
+// Handler functions are implemented in tools_control.go
+func (e *PulseToolExecutor) executeControl(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
+ controlType, _ := args["type"].(string)
+ switch controlType {
+ case "guest":
+ return e.executeControlGuest(ctx, args)
+ case "command":
+ return e.executeRunCommand(ctx, args)
+ default:
+ return NewErrorResult(fmt.Errorf("unknown type: %s. Use: guest, command", controlType)), nil
}
- b, _ := json.Marshal(payload)
- return "APPROVAL_REQUIRED: " + string(b)
}
diff --git a/internal/ai/tools/tools_control_consolidated.go b/internal/ai/tools/tools_control_consolidated.go
deleted file mode 100644
index 9d2b9d618f..0000000000
--- a/internal/ai/tools/tools_control_consolidated.go
+++ /dev/null
@@ -1,96 +0,0 @@
-package tools
-
-import (
- "context"
- "fmt"
-)
-
-// registerControlToolsConsolidated registers the consolidated pulse_control tool
-func (e *PulseToolExecutor) registerControlToolsConsolidated() {
- e.registry.Register(RegisteredTool{
- Definition: Tool{
- Name: "pulse_control",
- Description: `Control Proxmox VMs/LXC containers or execute WRITE commands on infrastructure.
-
-IMPORTANT: For READ operations (grep, cat, tail, logs, ps, status checks), use pulse_read instead.
-This tool is for WRITE operations that modify state.
-
-Types:
-- guest: Start, stop, restart, shutdown, or delete VMs and LXC containers
-- command: Execute commands that MODIFY state (restart services, write files, etc.)
-
-USE pulse_control FOR:
-- Guest control: start/stop/restart/delete VMs and LXCs
-- Service management: systemctl restart, service start/stop
-- Package management: apt install, yum update
-- File modification: echo > file, sed -i, rm, mv, cp
-
-DO NOT use pulse_control for:
-- Reading logs → use pulse_read action=exec or action=logs
-- Checking status → use pulse_read action=exec
-- Reading files → use pulse_read action=file
-- Finding files → use pulse_read action=find
-
-Examples:
-- Restart VM: type="guest", guest_id="101", action="restart"
-- Restart service: type="command", command="systemctl restart nginx", target_host="webserver"
-
-For Docker container control, use pulse_docker.
-Note: Delete requires the guest to be stopped first.`,
- InputSchema: InputSchema{
- Type: "object",
- Properties: map[string]PropertySchema{
- "type": {
- Type: "string",
- Description: "Control type: guest or command",
- Enum: []string{"guest", "command"},
- },
- "guest_id": {
- Type: "string",
- Description: "For guest: VMID or name",
- },
- "action": {
- Type: "string",
- Description: "For guest: start, stop, shutdown, restart, delete",
- Enum: []string{"start", "stop", "shutdown", "restart", "delete"},
- },
- "command": {
- Type: "string",
- Description: "For command type: the shell command to execute",
- },
- "target_host": {
- Type: "string",
- Description: "For command type: hostname to run command on",
- },
- "run_on_host": {
- Type: "boolean",
- Description: "For command type: run on host (default true)",
- },
- "force": {
- Type: "boolean",
- Description: "For guest stop: force stop without graceful shutdown",
- },
- },
- Required: []string{"type"},
- },
- },
- Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeControl(ctx, args)
- },
- RequireControl: true,
- })
-}
-
-// executeControl routes to the appropriate control handler based on type
-// Handler functions are implemented in tools_control.go
-func (e *PulseToolExecutor) executeControl(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
- controlType, _ := args["type"].(string)
- switch controlType {
- case "guest":
- return e.executeControlGuest(ctx, args)
- case "command":
- return e.executeRunCommand(ctx, args)
- default:
- return NewErrorResult(fmt.Errorf("unknown type: %s. Use: guest, command", controlType)), nil
- }
-}
diff --git a/internal/ai/tools/tools_discovery.go b/internal/ai/tools/tools_discovery.go
index 36547a45f0..325738712e 100644
--- a/internal/ai/tools/tools_discovery.go
+++ b/internal/ai/tools/tools_discovery.go
@@ -3,507 +3,85 @@ package tools
import (
"context"
"fmt"
- "strconv"
- "strings"
)
-// getCommandContext returns information about how to run commands on a resource.
-// This helps the AI understand what commands to use with pulse_control.
-type CommandContext struct {
- // How to run commands: "direct" (agent on resource), "via_host" (agent on parent host)
- Method string `json:"method"`
- // The target_host value to use with pulse_control
- TargetHost string `json:"target_host"`
- // Example command pattern (what to pass to pulse_control)
- Example string `json:"example"`
- // For containers running inside this resource (e.g., Docker in LXC)
- NestedExample string `json:"nested_example,omitempty"`
-}
-
-// getCLIAccessPattern returns context about the resource type.
-// Does NOT prescribe how to access - the AI should determine that based on available agents.
-func getCLIAccessPattern(resourceType, hostID, resourceID string) string {
- switch resourceType {
- case "lxc":
- return fmt.Sprintf("LXC container on Proxmox node '%s' (VMID %s)", hostID, resourceID)
- case "vm":
- return fmt.Sprintf("VM on Proxmox node '%s' (VMID %s)", hostID, resourceID)
- case "docker":
- return fmt.Sprintf("Docker container '%s' on host '%s'", resourceID, hostID)
- case "host":
- return fmt.Sprintf("Host '%s'", hostID)
- default:
- return ""
- }
-}
-
-// commonServicePaths contains typical log/config paths for well-known services
-// These are fallbacks when discovery doesn't find specific paths
-var commonServicePaths = map[string]struct {
- LogPaths []string
- ConfigPaths []string
- DataPaths []string
-}{
- "jellyfin": {
- LogPaths: []string{"/var/log/jellyfin/", "/config/log/"},
- ConfigPaths: []string{"/etc/jellyfin/", "/config/"},
- DataPaths: []string{"/var/lib/jellyfin/", "/config/data/"},
- },
- "plex": {
- LogPaths: []string{"/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/"},
- ConfigPaths: []string{"/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/"},
- DataPaths: []string{"/var/lib/plexmediaserver/"},
- },
- "sonarr": {
- LogPaths: []string{"/config/logs/"},
- ConfigPaths: []string{"/config/"},
- DataPaths: []string{"/config/"},
- },
- "radarr": {
- LogPaths: []string{"/config/logs/"},
- ConfigPaths: []string{"/config/"},
- DataPaths: []string{"/config/"},
- },
- "prowlarr": {
- LogPaths: []string{"/config/logs/"},
- ConfigPaths: []string{"/config/"},
- DataPaths: []string{"/config/"},
- },
- "lidarr": {
- LogPaths: []string{"/config/logs/"},
- ConfigPaths: []string{"/config/"},
- DataPaths: []string{"/config/"},
- },
- "postgresql": {
- LogPaths: []string{"/var/log/postgresql/", "/var/lib/postgresql/data/log/"},
- ConfigPaths: []string{"/etc/postgresql/", "/var/lib/postgresql/data/"},
- DataPaths: []string{"/var/lib/postgresql/data/"},
- },
- "mysql": {
- LogPaths: []string{"/var/log/mysql/", "/var/lib/mysql/"},
- ConfigPaths: []string{"/etc/mysql/"},
- DataPaths: []string{"/var/lib/mysql/"},
- },
- "mariadb": {
- LogPaths: []string{"/var/log/mysql/", "/var/lib/mysql/"},
- ConfigPaths: []string{"/etc/mysql/"},
- DataPaths: []string{"/var/lib/mysql/"},
- },
- "nginx": {
- LogPaths: []string{"/var/log/nginx/"},
- ConfigPaths: []string{"/etc/nginx/"},
- DataPaths: []string{"/var/www/"},
- },
- "homeassistant": {
- LogPaths: []string{"/config/home-assistant.log"},
- ConfigPaths: []string{"/config/"},
- DataPaths: []string{"/config/"},
- },
- "frigate": {
- LogPaths: []string{"/config/logs/"},
- ConfigPaths: []string{"/config/"},
- DataPaths: []string{"/media/frigate/"},
- },
- "redis": {
- LogPaths: []string{"/var/log/redis/"},
- ConfigPaths: []string{"/etc/redis/"},
- DataPaths: []string{"/var/lib/redis/"},
- },
- "mongodb": {
- LogPaths: []string{"/var/log/mongodb/"},
- ConfigPaths: []string{"/etc/mongod.conf"},
- DataPaths: []string{"/var/lib/mongodb/"},
- },
- "grafana": {
- LogPaths: []string{"/var/log/grafana/"},
- ConfigPaths: []string{"/etc/grafana/"},
- DataPaths: []string{"/var/lib/grafana/"},
- },
- "prometheus": {
- LogPaths: []string{"/var/log/prometheus/"},
- ConfigPaths: []string{"/etc/prometheus/"},
- DataPaths: []string{"/var/lib/prometheus/"},
- },
- "influxdb": {
- LogPaths: []string{"/var/log/influxdb/"},
- ConfigPaths: []string{"/etc/influxdb/"},
- DataPaths: []string{"/var/lib/influxdb/"},
- },
-}
-
-// getCommonServicePaths returns fallback paths for a service type
-func getCommonServicePaths(serviceType string) (logPaths, configPaths, dataPaths []string) {
- // Normalize service type (lowercase, remove version numbers)
- normalized := strings.ToLower(serviceType)
- // Try to match against known services
- for key, paths := range commonServicePaths {
- if strings.Contains(normalized, key) {
- return paths.LogPaths, paths.ConfigPaths, paths.DataPaths
- }
- }
- return nil, nil, nil
-}
-
-// registerDiscoveryTools registers AI-powered infrastructure discovery tools
-func (e *PulseToolExecutor) registerDiscoveryTools() {
+// registerDiscoveryToolsConsolidated registers the consolidated pulse_discovery tool
+func (e *PulseToolExecutor) registerDiscoveryToolsConsolidated() {
e.registry.Register(RegisteredTool{
Definition: Tool{
- Name: "pulse_get_discovery",
- Description: `Get AI-discovered information about a specific resource (VM, LXC container, Docker container, or host).
-
-Returns: JSON with service type, version, config paths, data paths, CLI access command, and discovered facts.
+ Name: "pulse_discovery",
+ Description: `Get deep AI-discovered information about services (log paths, config locations, service details).
-Use when: You need detailed context about a resource before proposing remediation commands, or when investigating what services are running on infrastructure.
+Actions:
+- get: Trigger discovery and get detailed info for a specific resource. Use this when you need deep context about a container/VM (where logs are, config paths, service details). Requires resource_type, resource_id, and host_id - use pulse_query action="search" first if you don't know these.
+- list: Search existing discoveries only. Will NOT find resources that haven't been discovered yet. Use action="get" to trigger discovery for new resources.
-The discovery includes:
-- Service type and version (e.g., "Frigate NVR v0.13.2")
-- Configuration file locations
-- Data/storage paths
-- CLI access command (e.g., "pct exec 101 -- <command>")
-- Discovered facts (ports, GPUs, connected services, etc.)
-- User-added notes
+Workflow for investigating applications:
+1. Use pulse_query action="search" to find the resource by name
+2. Use pulse_discovery action="get" with the resource details to get deep context (log paths, config locations)
+3. Use pulse_control type="command" to run commands (check logs, query app state, etc.)
-This information is critical for proposing correct remediation commands that match the actual service configuration.`,
+Examples:
+- Trigger discovery: action="get", resource_type="docker", resource_id="jellyfin", host_id="docker-host-1"
+- Search existing: action="list", service_type="postgresql"`,
InputSchema: InputSchema{
Type: "object",
Properties: map[string]PropertySchema{
+ "action": {
+ Type: "string",
+ Description: "Discovery action: get or list",
+ Enum: []string{"get", "list"},
+ },
"resource_type": {
Type: "string",
- Description: "Type of resource: 'vm', 'lxc', 'docker', or 'host'",
+ Description: "For get: resource type (vm, lxc, docker, host)",
Enum: []string{"vm", "lxc", "docker", "host"},
},
"resource_id": {
Type: "string",
- Description: "Resource identifier (VMID for VM/LXC, container name for Docker, hostname for host)",
+ Description: "For get: resource identifier (VMID, container name, hostname)",
},
"host_id": {
Type: "string",
- Description: "Node/host where the resource runs. For VM/LXC: the PVE node from 'node' field. For Docker: the Docker host. For host type: same as resource_id.",
+ Description: "For get: node/host where resource runs",
},
- },
- Required: []string{"resource_type", "resource_id", "host_id"},
- },
- },
- Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeGetDiscovery(ctx, args)
- },
- })
-
- e.registry.Register(RegisteredTool{
- Definition: Tool{
- Name: "pulse_list_discoveries",
- Description: `List all AI-discovered infrastructure information with optional filtering.
-
-Returns: JSON array of discoveries with service types, versions, and summaries.
-
-Use when: You need an overview of what services are running across infrastructure, or want to find specific service types.
-
-Filters:
-- type: Filter by resource type (vm, lxc, docker, host)
-- host: Filter by host/node ID
-- service_type: Filter by discovered service type (e.g., "frigate", "postgresql")`,
- InputSchema: InputSchema{
- Type: "object",
- Properties: map[string]PropertySchema{
"type": {
Type: "string",
- Description: "Optional: Filter by resource type",
+ Description: "For list: filter by resource type",
Enum: []string{"vm", "lxc", "docker", "host"},
},
"host": {
Type: "string",
- Description: "Optional: Filter by host/node ID",
+ Description: "For list: filter by host/node ID",
},
"service_type": {
Type: "string",
- Description: "Optional: Filter by discovered service type",
+ Description: "For list: filter by service type (e.g., frigate, postgresql)",
},
"limit": {
Type: "integer",
- Description: "Maximum number of results (default: 50)",
+ Description: "For list: maximum results (default: 50)",
},
},
+ Required: []string{"action"},
},
},
Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeListDiscoveries(ctx, args)
+ return exec.executeDiscovery(ctx, args)
},
})
}
-func (e *PulseToolExecutor) executeGetDiscovery(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
- if e.discoveryProvider == nil {
- return NewTextResult("Discovery service not available."), nil
- }
-
- resourceType, _ := args["resource_type"].(string)
- resourceID, _ := args["resource_id"].(string)
- hostID, _ := args["host_id"].(string)
-
- if resourceType == "" {
- return NewErrorResult(fmt.Errorf("resource_type is required")), nil
- }
- if resourceID == "" {
- return NewErrorResult(fmt.Errorf("resource_id is required")), nil
- }
- if hostID == "" {
- return NewErrorResult(fmt.Errorf("host_id is required - use the 'node' field from search or get_resource results")), nil
- }
-
- // For LXC and VM types, resourceID should be a numeric VMID.
- // If a name was passed, try to resolve it to a VMID.
- if (resourceType == "lxc" || resourceType == "vm") && e.stateProvider != nil {
- if _, err := strconv.Atoi(resourceID); err != nil {
- // Not a number - try to resolve the name to a VMID
- state := e.stateProvider.GetState()
- resolved := false
-
- if resourceType == "lxc" {
- for _, c := range state.Containers {
- if strings.EqualFold(c.Name, resourceID) && c.Node == hostID {
- resourceID = fmt.Sprintf("%d", c.VMID)
- resolved = true
- break
- }
- }
- } else if resourceType == "vm" {
- for _, vm := range state.VMs {
- if strings.EqualFold(vm.Name, resourceID) && vm.Node == hostID {
- resourceID = fmt.Sprintf("%d", vm.VMID)
- resolved = true
- break
- }
- }
- }
-
- if !resolved {
- return NewErrorResult(fmt.Errorf("could not resolve resource name '%s' to a VMID on host '%s'", resourceID, hostID)), nil
- }
- }
- }
-
- // First try to get existing discovery
- discovery, err := e.discoveryProvider.GetDiscoveryByResource(resourceType, hostID, resourceID)
- if err != nil {
- return NewErrorResult(fmt.Errorf("failed to get discovery: %w", err)), nil
- }
-
- // Compute CLI access pattern (always useful, even if discovery fails)
- cliAccess := getCLIAccessPattern(resourceType, hostID, resourceID)
-
- // If no discovery exists, trigger one
- if discovery == nil {
- discovery, err = e.discoveryProvider.TriggerDiscovery(ctx, resourceType, hostID, resourceID)
- if err != nil {
- // Even on failure, provide cli_access so AI can investigate manually
- return NewJSONResult(map[string]interface{}{
- "found": false,
- "resource_type": resourceType,
- "resource_id": resourceID,
- "host_id": hostID,
- "cli_access": cliAccess,
- "message": fmt.Sprintf("Discovery failed: %v", err),
- "hint": "Use pulse_control with type='command' to investigate. Try checking /var/log/ for logs.",
- }), nil
- }
- }
-
- if discovery == nil {
- // No discovery but provide cli_access for manual investigation
- return NewJSONResult(map[string]interface{}{
- "found": false,
- "resource_type": resourceType,
- "resource_id": resourceID,
- "host_id": hostID,
- "cli_access": cliAccess,
- "message": "Discovery returned no data. The resource may not be accessible.",
- "hint": "Use pulse_control with type='command' to investigate. Try listing /var/log/ or checking running processes.",
- }), nil
- }
-
- // Use fallback cli_access if discovery didn't provide one
- responseCLIAccess := discovery.CLIAccess
- if responseCLIAccess == "" {
- responseCLIAccess = cliAccess
- }
-
- // Use fallback paths for known services if discovery didn't find specific ones
- responseConfigPaths := discovery.ConfigPaths
- responseDataPaths := discovery.DataPaths
- var responseLogPaths []string
-
- if discovery.ServiceType != "" {
- fallbackLogPaths, fallbackConfigPaths, fallbackDataPaths := getCommonServicePaths(discovery.ServiceType)
- if len(responseConfigPaths) == 0 && len(fallbackConfigPaths) > 0 {
- responseConfigPaths = fallbackConfigPaths
- }
- if len(responseDataPaths) == 0 && len(fallbackDataPaths) > 0 {
- responseDataPaths = fallbackDataPaths
- }
- if len(fallbackLogPaths) > 0 {
- responseLogPaths = fallbackLogPaths
- }
- }
-
- // Return the discovery information
- response := map[string]interface{}{
- "found": true,
- "id": discovery.ID,
- "resource_type": discovery.ResourceType,
- "resource_id": discovery.ResourceID,
- "host_id": discovery.HostID,
- "hostname": discovery.Hostname,
- "service_type": discovery.ServiceType,
- "service_name": discovery.ServiceName,
- "service_version": discovery.ServiceVersion,
- "category": discovery.Category,
- "cli_access": responseCLIAccess,
- "config_paths": responseConfigPaths,
- "data_paths": responseDataPaths,
- "confidence": discovery.Confidence,
- "discovered_at": discovery.DiscoveredAt,
- "updated_at": discovery.UpdatedAt,
- }
-
- // Add log paths if we have them (from fallback or discovery)
- if len(responseLogPaths) > 0 {
- response["log_paths"] = responseLogPaths
- }
-
- // Add facts if present
- if len(discovery.Facts) > 0 {
- facts := make([]map[string]string, 0, len(discovery.Facts))
- for _, f := range discovery.Facts {
- facts = append(facts, map[string]string{
- "category": f.Category,
- "key": f.Key,
- "value": f.Value,
- })
- }
- response["facts"] = facts
- }
-
- // Add user notes if present
- if discovery.UserNotes != "" {
- response["user_notes"] = discovery.UserNotes
- }
-
- // Add AI reasoning for context
- if discovery.AIReasoning != "" {
- response["ai_reasoning"] = discovery.AIReasoning
- }
-
- // Add listening ports if present
- if len(discovery.Ports) > 0 {
- ports := make([]map[string]interface{}, 0, len(discovery.Ports))
- for _, p := range discovery.Ports {
- port := map[string]interface{}{
- "port": p.Port,
- "protocol": p.Protocol,
- }
- if p.Process != "" {
- port["process"] = p.Process
- }
- if p.Address != "" {
- port["address"] = p.Address
- }
- ports = append(ports, port)
- }
- response["ports"] = ports
- }
-
- return NewJSONResult(response), nil
-}
-
-func (e *PulseToolExecutor) executeListDiscoveries(_ context.Context, args map[string]interface{}) (CallToolResult, error) {
- if e.discoveryProvider == nil {
- return NewTextResult("Discovery service not available."), nil
- }
-
- filterType, _ := args["type"].(string)
- filterHost, _ := args["host"].(string)
- filterServiceType, _ := args["service_type"].(string)
- limit := intArg(args, "limit", 50)
-
- var discoveries []*ResourceDiscoveryInfo
- var err error
-
- // Get discoveries based on filters
- if filterType != "" {
- discoveries, err = e.discoveryProvider.ListDiscoveriesByType(filterType)
- } else if filterHost != "" {
- discoveries, err = e.discoveryProvider.ListDiscoveriesByHost(filterHost)
- } else {
- discoveries, err = e.discoveryProvider.ListDiscoveries()
- }
-
- if err != nil {
- return NewErrorResult(fmt.Errorf("failed to list discoveries: %w", err)), nil
- }
-
- // Filter by service type if specified
- if filterServiceType != "" {
- filtered := make([]*ResourceDiscoveryInfo, 0)
- filterLower := strings.ToLower(filterServiceType)
- for _, d := range discoveries {
- if strings.Contains(strings.ToLower(d.ServiceType), filterLower) ||
- strings.Contains(strings.ToLower(d.ServiceName), filterLower) {
- filtered = append(filtered, d)
- }
- }
- discoveries = filtered
- }
-
- // Apply limit
- if len(discoveries) > limit {
- discoveries = discoveries[:limit]
- }
-
- // Build response
- results := make([]map[string]interface{}, 0, len(discoveries))
- for _, d := range discoveries {
- result := map[string]interface{}{
- "id": d.ID,
- "resource_type": d.ResourceType,
- "resource_id": d.ResourceID,
- "host_id": d.HostID,
- "hostname": d.Hostname,
- "service_type": d.ServiceType,
- "service_name": d.ServiceName,
- "service_version": d.ServiceVersion,
- "category": d.Category,
- "cli_access": d.CLIAccess,
- "confidence": d.Confidence,
- "updated_at": d.UpdatedAt,
- }
-
- // Add key facts count
- if len(d.Facts) > 0 {
- result["facts_count"] = len(d.Facts)
- }
-
- // Add ports count
- if len(d.Ports) > 0 {
- result["ports_count"] = len(d.Ports)
- }
-
- results = append(results, result)
- }
-
- response := map[string]interface{}{
- "discoveries": results,
- "total": len(results),
- }
-
- if filterType != "" {
- response["filter_type"] = filterType
- }
- if filterHost != "" {
- response["filter_host"] = filterHost
- }
- if filterServiceType != "" {
- response["filter_service_type"] = filterServiceType
+// executeDiscovery routes to the appropriate discovery handler based on action
+// Handler functions are implemented in tools_discovery.go
+func (e *PulseToolExecutor) executeDiscovery(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
+ action, _ := args["action"].(string)
+ switch action {
+ case "get":
+ return e.executeGetDiscovery(ctx, args)
+ case "list":
+ return e.executeListDiscoveries(ctx, args)
+ default:
+ return NewErrorResult(fmt.Errorf("unknown action: %s. Use: get, list", action)), nil
}
-
- return NewJSONResult(response), nil
}
diff --git a/internal/ai/tools/tools_discovery_consolidated.go b/internal/ai/tools/tools_discovery_consolidated.go
deleted file mode 100644
index 325738712e..0000000000
--- a/internal/ai/tools/tools_discovery_consolidated.go
+++ /dev/null
@@ -1,87 +0,0 @@
-package tools
-
-import (
- "context"
- "fmt"
-)
-
-// registerDiscoveryToolsConsolidated registers the consolidated pulse_discovery tool
-func (e *PulseToolExecutor) registerDiscoveryToolsConsolidated() {
- e.registry.Register(RegisteredTool{
- Definition: Tool{
- Name: "pulse_discovery",
- Description: `Get deep AI-discovered information about services (log paths, config locations, service details).
-
-Actions:
-- get: Trigger discovery and get detailed info for a specific resource. Use this when you need deep context about a container/VM (where logs are, config paths, service details). Requires resource_type, resource_id, and host_id - use pulse_query action="search" first if you don't know these.
-- list: Search existing discoveries only. Will NOT find resources that haven't been discovered yet. Use action="get" to trigger discovery for new resources.
-
-Workflow for investigating applications:
-1. Use pulse_query action="search" to find the resource by name
-2. Use pulse_discovery action="get" with the resource details to get deep context (log paths, config locations)
-3. Use pulse_control type="command" to run commands (check logs, query app state, etc.)
-
-Examples:
-- Trigger discovery: action="get", resource_type="docker", resource_id="jellyfin", host_id="docker-host-1"
-- Search existing: action="list", service_type="postgresql"`,
- InputSchema: InputSchema{
- Type: "object",
- Properties: map[string]PropertySchema{
- "action": {
- Type: "string",
- Description: "Discovery action: get or list",
- Enum: []string{"get", "list"},
- },
- "resource_type": {
- Type: "string",
- Description: "For get: resource type (vm, lxc, docker, host)",
- Enum: []string{"vm", "lxc", "docker", "host"},
- },
- "resource_id": {
- Type: "string",
- Description: "For get: resource identifier (VMID, container name, hostname)",
- },
- "host_id": {
- Type: "string",
- Description: "For get: node/host where resource runs",
- },
- "type": {
- Type: "string",
- Description: "For list: filter by resource type",
- Enum: []string{"vm", "lxc", "docker", "host"},
- },
- "host": {
- Type: "string",
- Description: "For list: filter by host/node ID",
- },
- "service_type": {
- Type: "string",
- Description: "For list: filter by service type (e.g., frigate, postgresql)",
- },
- "limit": {
- Type: "integer",
- Description: "For list: maximum results (default: 50)",
- },
- },
- Required: []string{"action"},
- },
- },
- Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeDiscovery(ctx, args)
- },
- })
-}
-
-// executeDiscovery routes to the appropriate discovery handler based on action
-// Handler functions are implemented in tools_discovery.go
-func (e *PulseToolExecutor) executeDiscovery(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
- action, _ := args["action"].(string)
- switch action {
- case "get":
- return e.executeGetDiscovery(ctx, args)
- case "list":
- return e.executeListDiscoveries(ctx, args)
- default:
- return NewErrorResult(fmt.Errorf("unknown action: %s. Use: get, list", action)), nil
- }
-}
diff --git a/internal/ai/tools/tools_patrol_test.go b/internal/ai/tools/tools_metrics_alerts_test.go
similarity index 100%
rename from internal/ai/tools/tools_patrol_test.go
rename to internal/ai/tools/tools_metrics_alerts_test.go
diff --git a/internal/ai/tools/tools_pmg.go b/internal/ai/tools/tools_pmg.go
index 474d8ccb1b..6b9fd0d391 100644
--- a/internal/ai/tools/tools_pmg.go
+++ b/internal/ai/tools/tools_pmg.go
@@ -5,325 +5,60 @@ import (
"fmt"
)
-// registerPMGTools registers Proxmox Mail Gateway query tools
-func (e *PulseToolExecutor) registerPMGTools() {
+// registerPMGToolsConsolidated registers the consolidated pulse_pmg tool
+func (e *PulseToolExecutor) registerPMGToolsConsolidated() {
e.registry.Register(RegisteredTool{
Definition: Tool{
- Name: "pulse_get_pmg_status",
- Description: `Get Proxmox Mail Gateway instance status and health.
-
-Returns: JSON with instances array containing id, name, host, status, version, and nodes (with status, role, uptime, load).
-
-Use when: User asks about mail gateway status, PMG health, or mail server infrastructure.`,
+ Name: "pulse_pmg",
+ Description: `Query Proxmox Mail Gateway status and statistics.
+
+Types:
+- status: Instance status and health (nodes, uptime, load)
+- mail_stats: Mail flow statistics (counts, spam, virus, bounces)
+- queues: Mail queue status (active, deferred, hold)
+- spam: Spam quarantine statistics and score distribution
+
+Examples:
+- Get status: type="status"
+- Get specific instance: type="status", instance="pmg01"
+- Get mail stats: type="mail_stats"
+- Get queue status: type="queues"
+- Get spam stats: type="spam"`,
InputSchema: InputSchema{
Type: "object",
Properties: map[string]PropertySchema{
- "instance": {
+ "type": {
Type: "string",
- Description: "Optional: specific PMG instance name or ID",
+ Description: "PMG query type",
+ Enum: []string{"status", "mail_stats", "queues", "spam"},
},
- },
- },
- },
- Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeGetPMGStatus(ctx, args)
- },
- })
-
- e.registry.Register(RegisteredTool{
- Definition: Tool{
- Name: "pulse_get_mail_stats",
- Description: `Get mail flow statistics (counts, spam, virus, bounces).
-
-Returns: JSON with mail statistics including total in/out, spam in/out, virus counts, bounces, greylist count, and average processing time.
-
-Use when: User asks about mail flow, email statistics, spam counts, or virus detections.`,
- InputSchema: InputSchema{
- Type: "object",
- Properties: map[string]PropertySchema{
"instance": {
Type: "string",
Description: "Optional: specific PMG instance name or ID",
},
},
+ Required: []string{"type"},
},
},
Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeGetMailStats(ctx, args)
+ return exec.executePMG(ctx, args)
},
})
-
- e.registry.Register(RegisteredTool{
- Definition: Tool{
- Name: "pulse_get_mail_queues",
- Description: `Get mail queue status (active, deferred, hold).
-
-Returns: JSON with queue status for each node including active, deferred, hold, incoming counts and oldest message age.
-
-Use when: User asks about mail queues, deferred messages, mail delivery issues, or queue backlogs.`,
- InputSchema: InputSchema{
- Type: "object",
- Properties: map[string]PropertySchema{
- "instance": {
- Type: "string",
- Description: "Optional: specific PMG instance name or ID",
- },
- },
- },
- },
- Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeGetMailQueues(ctx, args)
- },
- })
-
- e.registry.Register(RegisteredTool{
- Definition: Tool{
- Name: "pulse_get_spam_stats",
- Description: `Get spam quarantine statistics and distribution.
-
-Returns: JSON with quarantine counts (spam, virus, attachment, blacklisted) and spam score distribution buckets.
-
-Use when: User asks about spam statistics, quarantine status, or spam score distribution.`,
- InputSchema: InputSchema{
- Type: "object",
- Properties: map[string]PropertySchema{
- "instance": {
- Type: "string",
- Description: "Optional: specific PMG instance name or ID",
- },
- },
- },
- },
- Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executeGetSpamStats(ctx, args)
- },
- })
-}
-
-func (e *PulseToolExecutor) executeGetPMGStatus(_ context.Context, args map[string]interface{}) (CallToolResult, error) {
- if e.stateProvider == nil {
- return NewTextResult("State provider not available."), nil
- }
-
- instanceFilter, _ := args["instance"].(string)
-
- state := e.stateProvider.GetState()
-
- if len(state.PMGInstances) == 0 {
- return NewTextResult("No Proxmox Mail Gateway instances found. PMG monitoring may not be configured."), nil
- }
-
- var instances []PMGInstanceSummary
- for _, pmg := range state.PMGInstances {
- if instanceFilter != "" && pmg.ID != instanceFilter && pmg.Name != instanceFilter {
- continue
- }
-
- var nodes []PMGNodeSummary
- for _, node := range pmg.Nodes {
- nodes = append(nodes, PMGNodeSummary{
- Name: node.Name,
- Status: node.Status,
- Role: node.Role,
- Uptime: node.Uptime,
- LoadAvg: node.LoadAvg,
- })
- }
-
- instances = append(instances, PMGInstanceSummary{
- ID: pmg.ID,
- Name: pmg.Name,
- Host: pmg.Host,
- Status: pmg.Status,
- Version: pmg.Version,
- Nodes: nodes,
- })
- }
-
- if len(instances) == 0 && instanceFilter != "" {
- return NewTextResult(fmt.Sprintf("PMG instance '%s' not found.", instanceFilter)), nil
- }
-
- // Ensure non-nil slices
- for i := range instances {
- if instances[i].Nodes == nil {
- instances[i].Nodes = []PMGNodeSummary{}
- }
- }
-
- response := PMGStatusResponse{
- Instances: instances,
- Total: len(instances),
- }
-
- return NewJSONResult(response), nil
-}
-
-func (e *PulseToolExecutor) executeGetMailStats(_ context.Context, args map[string]interface{}) (CallToolResult, error) {
- if e.stateProvider == nil {
- return NewTextResult("State provider not available."), nil
- }
-
- instanceFilter, _ := args["instance"].(string)
-
- state := e.stateProvider.GetState()
-
- if len(state.PMGInstances) == 0 {
- return NewTextResult("No Proxmox Mail Gateway instances found. PMG monitoring may not be configured."), nil
- }
-
- // If filtering, find that specific instance
- for _, pmg := range state.PMGInstances {
- if instanceFilter != "" && pmg.ID != instanceFilter && pmg.Name != instanceFilter {
- continue
- }
-
- if pmg.MailStats == nil {
- if instanceFilter != "" {
- return NewTextResult(fmt.Sprintf("No mail statistics available for PMG instance '%s'.", instanceFilter)), nil
- }
- continue
- }
-
- response := MailStatsResponse{
- Instance: pmg.Name,
- Stats: PMGMailStatsSummary{
- Timeframe: pmg.MailStats.Timeframe,
- TotalIn: pmg.MailStats.CountIn,
- TotalOut: pmg.MailStats.CountOut,
- SpamIn: pmg.MailStats.SpamIn,
- SpamOut: pmg.MailStats.SpamOut,
- VirusIn: pmg.MailStats.VirusIn,
- VirusOut: pmg.MailStats.VirusOut,
- BouncesIn: pmg.MailStats.BouncesIn,
- BouncesOut: pmg.MailStats.BouncesOut,
- BytesIn: pmg.MailStats.BytesIn,
- BytesOut: pmg.MailStats.BytesOut,
- GreylistCount: pmg.MailStats.GreylistCount,
- RBLRejects: pmg.MailStats.RBLRejects,
- AverageProcessTimeMs: pmg.MailStats.AverageProcessTimeMs,
- },
- }
-
- return NewJSONResult(response), nil
- }
-
- if instanceFilter != "" {
- return NewTextResult(fmt.Sprintf("PMG instance '%s' not found.", instanceFilter)), nil
- }
-
- return NewTextResult("No mail statistics available from any PMG instance."), nil
}
-func (e *PulseToolExecutor) executeGetMailQueues(_ context.Context, args map[string]interface{}) (CallToolResult, error) {
- if e.stateProvider == nil {
- return NewTextResult("State provider not available."), nil
+// executePMG routes to the appropriate PMG handler based on type
+func (e *PulseToolExecutor) executePMG(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
+ pmgType, _ := args["type"].(string)
+ switch pmgType {
+ case "status":
+ return e.executeGetPMGStatus(ctx, args)
+ case "mail_stats":
+ return e.executeGetMailStats(ctx, args)
+ case "queues":
+ return e.executeGetMailQueues(ctx, args)
+ case "spam":
+ return e.executeGetSpamStats(ctx, args)
+ default:
+ return NewErrorResult(fmt.Errorf("unknown type: %s. Use: status, mail_stats, queues, spam", pmgType)), nil
}
-
- instanceFilter, _ := args["instance"].(string)
-
- state := e.stateProvider.GetState()
-
- if len(state.PMGInstances) == 0 {
- return NewTextResult("No Proxmox Mail Gateway instances found. PMG monitoring may not be configured."), nil
- }
-
- // Collect queue data from all instances (or filtered instance)
- for _, pmg := range state.PMGInstances {
- if instanceFilter != "" && pmg.ID != instanceFilter && pmg.Name != instanceFilter {
- continue
- }
-
- var queues []PMGQueueSummary
- for _, node := range pmg.Nodes {
- if node.QueueStatus != nil {
- queues = append(queues, PMGQueueSummary{
- Node: node.Name,
- Active: node.QueueStatus.Active,
- Deferred: node.QueueStatus.Deferred,
- Hold: node.QueueStatus.Hold,
- Incoming: node.QueueStatus.Incoming,
- Total: node.QueueStatus.Total,
- OldestAgeSeconds: node.QueueStatus.OldestAge,
- })
- }
- }
-
- if len(queues) == 0 {
- if instanceFilter != "" {
- return NewTextResult(fmt.Sprintf("No queue data available for PMG instance '%s'.", instanceFilter)), nil
- }
- continue
- }
-
- response := MailQueuesResponse{
- Instance: pmg.Name,
- Queues: queues,
- }
-
- return NewJSONResult(response), nil
- }
-
- if instanceFilter != "" {
- return NewTextResult(fmt.Sprintf("PMG instance '%s' not found.", instanceFilter)), nil
- }
-
- return NewTextResult("No mail queue data available from any PMG instance."), nil
-}
-
-func (e *PulseToolExecutor) executeGetSpamStats(_ context.Context, args map[string]interface{}) (CallToolResult, error) {
- if e.stateProvider == nil {
- return NewTextResult("State provider not available."), nil
- }
-
- instanceFilter, _ := args["instance"].(string)
-
- state := e.stateProvider.GetState()
-
- if len(state.PMGInstances) == 0 {
- return NewTextResult("No Proxmox Mail Gateway instances found. PMG monitoring may not be configured."), nil
- }
-
- for _, pmg := range state.PMGInstances {
- if instanceFilter != "" && pmg.ID != instanceFilter && pmg.Name != instanceFilter {
- continue
- }
-
- quarantine := PMGQuarantineSummary{}
- if pmg.Quarantine != nil {
- quarantine = PMGQuarantineSummary{
- Spam: pmg.Quarantine.Spam,
- Virus: pmg.Quarantine.Virus,
- Attachment: pmg.Quarantine.Attachment,
- Blacklisted: pmg.Quarantine.Blacklisted,
- Total: pmg.Quarantine.Spam + pmg.Quarantine.Virus + pmg.Quarantine.Attachment + pmg.Quarantine.Blacklisted,
- }
- }
-
- var distribution []PMGSpamBucketSummary
- for _, bucket := range pmg.SpamDistribution {
- distribution = append(distribution, PMGSpamBucketSummary{
- Score: bucket.Score,
- Count: bucket.Count,
- })
- }
-
- response := SpamStatsResponse{
- Instance: pmg.Name,
- Quarantine: quarantine,
- Distribution: distribution,
- }
-
- if response.Distribution == nil {
- response.Distribution = []PMGSpamBucketSummary{}
- }
-
- return NewJSONResult(response), nil
- }
-
- if instanceFilter != "" {
- return NewTextResult(fmt.Sprintf("PMG instance '%s' not found.", instanceFilter)), nil
- }
-
- return NewTextResult("No spam statistics available from any PMG instance."), nil
}
diff --git a/internal/ai/tools/tools_pmg_consolidated.go b/internal/ai/tools/tools_pmg_consolidated.go
deleted file mode 100644
index 6b9fd0d391..0000000000
--- a/internal/ai/tools/tools_pmg_consolidated.go
+++ /dev/null
@@ -1,64 +0,0 @@
-package tools
-
-import (
- "context"
- "fmt"
-)
-
-// registerPMGToolsConsolidated registers the consolidated pulse_pmg tool
-func (e *PulseToolExecutor) registerPMGToolsConsolidated() {
- e.registry.Register(RegisteredTool{
- Definition: Tool{
- Name: "pulse_pmg",
- Description: `Query Proxmox Mail Gateway status and statistics.
-
-Types:
-- status: Instance status and health (nodes, uptime, load)
-- mail_stats: Mail flow statistics (counts, spam, virus, bounces)
-- queues: Mail queue status (active, deferred, hold)
-- spam: Spam quarantine statistics and score distribution
-
-Examples:
-- Get status: type="status"
-- Get specific instance: type="status", instance="pmg01"
-- Get mail stats: type="mail_stats"
-- Get queue status: type="queues"
-- Get spam stats: type="spam"`,
- InputSchema: InputSchema{
- Type: "object",
- Properties: map[string]PropertySchema{
- "type": {
- Type: "string",
- Description: "PMG query type",
- Enum: []string{"status", "mail_stats", "queues", "spam"},
- },
- "instance": {
- Type: "string",
- Description: "Optional: specific PMG instance name or ID",
- },
- },
- Required: []string{"type"},
- },
- },
- Handler: func(ctx context.Context, exec *PulseToolExecutor, args map[string]interface{}) (CallToolResult, error) {
- return exec.executePMG(ctx, args)
- },
- })
-}
-
-// executePMG routes to the appropriate PMG handler based on type
-func (e *PulseToolExecutor) executePMG(ctx context.Context, args map[string]interface{}) (CallToolResult, error) {
- pmgType, _ := args["type"].(string)
- switch pmgType {
- case "status":
- return e.executeGetPMGStatus(ctx, args)
- case "mail_stats":
- return e.executeGetMailStats(ctx, args)
- case "queues":
- return e.executeGetMailQueues(ctx, args)
- case "spam":
- return e.executeGetSpamStats(ctx, args)
- default:
- return NewErrorResult(fmt.Errorf("unknown type: %s. Use: status, mail_stats, queues, spam", pmgType)), nil
- }
-}
diff --git a/internal/ai/tools/tools_infrastructure_test.go b/internal/ai/tools/tools_storage_test.go
similarity index 100%
rename from internal/ai/tools/tools_infrastructure_test.go
rename to internal/ai/tools/tools_storage_test.go
diff --git a/mock.env b/mock.env
deleted file mode 100644
index 5d34edd807..0000000000
--- a/mock.env
+++ /dev/null
@@ -1,10 +0,0 @@
-# Mock Mode Configuration
-PULSE_MOCK_MODE=false
-PULSE_MOCK_NODES=7
-PULSE_MOCK_VMS_PER_NODE=5
-PULSE_MOCK_LXCS_PER_NODE=8
-PULSE_MOCK_DOCKER_HOSTS=3
-PULSE_MOCK_DOCKER_CONTAINERS=12
-PULSE_MOCK_RANDOM_METRICS=true
-PULSE_MOCK_STOPPED_PERCENT=20
-PULSE_LICENSE_PUBLIC_KEY="OzbVzmg+TaSGt0eWzDVpn0QkqhOzJqUbOFvSF3AmuRU="