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.

Make alert investigation route to Patrol

rcourtman6d9fe4e17cd6
diff --git a/docs/release-control/v6/internal/records/protection-posture-attention-queue-strong-version-2026-06-25.md b/docs/release-control/v6/internal/records/protection-posture-attention-queue-strong-version-2026-06-25.md
index 47c3b7c470..a664165a26 100644
--- a/docs/release-control/v6/internal/records/protection-posture-attention-queue-strong-version-2026-06-25.md
+++ b/docs/release-control/v6/internal/records/protection-posture-attention-queue-strong-version-2026-06-25.md
@@ -112,6 +112,10 @@ loop, and routes the operator from real findings/evidence to safe action.
navigation. The visible destination remains `Patrol`; the count is secondary
current-work signaling driven by active Patrol findings and live Patrol
approvals, not a renamed `Needs Attention` route or a generic Home queue.
+- 2026-06-25: Made resource-backed alert investigation action-first. Active
+ alert cards now lead with `Have Patrol investigate`, which starts the scoped
+ manual Patrol check, while Assistant stays available as the secondary
+ read-only explanation path with the alert context attached.
## Evidence
diff --git a/docs/release-control/v6/internal/subsystems/alerts.md b/docs/release-control/v6/internal/subsystems/alerts.md
index df892bda7e..e0c1e9c1c6 100644
--- a/docs/release-control/v6/internal/subsystems/alerts.md
+++ b/docs/release-control/v6/internal/subsystems/alerts.md
@@ -123,19 +123,20 @@ inline SVG shells in alert-owned runtime components.
`frontend-modern/src/stores/alertsActivation.ts` so browser display colors
consume the same configured alert thresholds and override identity chain as
the alert runtime instead of hard-coded per-surface thresholds.
-7. Add or change unlocked Pulse Assistant alert investigation handoffs through
+7. Add or change alert investigation handoffs through
`frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx` and
- `frontend-modern/src/components/Alerts/alertAssistantHandoffModel.ts`;
- these handoffs must preserve alert context, force request-scoped approval
- mode, send bounded model-only handoff context plus structured resource
- references through the shared Assistant chat transport, and render a compact
- Alerts-owned briefing in the Assistant drawer without transferring raw
- command payloads or synthesizing, pre-filling, or auto-submitting a chat
- prompt. The same button may additionally offer a manual scoped Patrol
- trigger (for example a "Have Patrol investigate" menu action); that option is
- a Patrol trigger governed by the `ai-runtime` manual Patrol route contract,
- not an Assistant handoff, and must stay distinct from the context-only
- Assistant open path above.
+ `frontend-modern/src/components/Alerts/alertAssistantHandoffModel.ts`.
+ On resource-backed active alert cards, Patrol is the primary doer: the
+ visible primary action must run a manual scoped Patrol trigger such as
+ "Have Patrol investigate" through the `ai-runtime` manual Patrol route
+ contract. Pulse Assistant remains a secondary context-only explanation path:
+ Assistant handoffs must preserve alert context, force request-scoped
+ approval mode, send bounded model-only handoff context plus structured
+ resource references through the shared Assistant chat transport, and render a
+ compact Alerts-owned briefing in the Assistant drawer without transferring
+ raw command payloads or synthesizing, pre-filling, or auto-submitting a chat
+ prompt. The Patrol trigger and the context-only Assistant open path must stay
+ distinct.
8. Add or change Pulse Assistant incident timeline handoffs through
`frontend-modern/src/components/Alerts/IncidentAssistantHandoffButton.tsx`
and `frontend-modern/src/components/Alerts/incidentAssistantHandoffModel.ts`;
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index 781a437d2e..f2db08f16b 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -204,8 +204,9 @@ Settings > General; individual surfaces must consume that shared preference
instead of creating local language toggles. Customer-facing shell, navigation,
settings, first-run, empty-state, and alert copy may be localized through this
catalog — including the alert-to-Patrol action surface ("Have Patrol
-investigate" and its targeted-check menu hint) that sits alongside the
-Assistant handoff strings — but
+investigate" and its targeted-check menu hint) that is primary on
+resource-backed active alert cards, plus the secondary Assistant explanation
+handoff strings — but
machine-facing values must remain stable: commands, environment variables, API
fields, config keys, log lines, error codes, hostnames, resource names, product
identifiers, and vendor object names stay untranslated unless the owning
diff --git a/docs/release-control/v6/internal/subsystems/security-privacy.md b/docs/release-control/v6/internal/subsystems/security-privacy.md
index e97ab7ac5e..c750fb711d 100644
--- a/docs/release-control/v6/internal/subsystems/security-privacy.md
+++ b/docs/release-control/v6/internal/subsystems/security-privacy.md
@@ -150,13 +150,13 @@ controls as normal product settings.
17. `internal/cloudcp/auth/magiclink_store.go` shared with `cloud-paid`: control-plane magic-link persistence is both a Pulse Cloud account-access boundary and a security/privacy storage-hardening boundary.
## Extension Points
-Catalog edits in `frontend-modern/src/i18n/` that add Patrol-trigger copy (such
-as an alert's "Have Patrol investigate" action) must stay non-disclosing: the
-manual Patrol trigger carries resource identity only — resource ids plus alert
-identifier/type — and injects no operator briefing, command, prompt, or
-remediation payload into the model beyond the existing scoped-investigation
-context, so it adds no new disclosure surface and the existing resource-policy
-redaction still governs any model-bound context.
+Catalog edits in `frontend-modern/src/i18n/` that add or promote Patrol-trigger
+copy (such as an alert's primary "Have Patrol investigate" action) must stay
+non-disclosing: the manual Patrol trigger carries resource identity only —
+resource ids plus alert identifier/type — and injects no operator briefing,
+command, prompt, or remediation payload into the model beyond the existing
+scoped-investigation context, so it adds no new disclosure surface and the
+existing resource-policy redaction still governs any model-bound context.
1. Change privacy disclosures, usage-data vocabulary, or outbound-data guarantees through `docs/PRIVACY.md`, `frontend-modern/public/docs/PRIVACY.md`, `internal/telemetry/telemetry.go`, and `pkg/server/telemetry_pulse_intelligence.go` together.
Pulse Intelligence external-agent/MCP telemetry may expose only content-free
diff --git a/frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx b/frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx
index 071a6471d1..ab1365aeae 100644
--- a/frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx
+++ b/frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx
@@ -1,6 +1,7 @@
import { Show, createEffect, createSignal, onCleanup } from 'solid-js';
import ChevronDownIcon from 'lucide-solid/icons/chevron-down';
import ShieldCheckIcon from 'lucide-solid/icons/shield-check';
+import SparklesIcon from 'lucide-solid/icons/sparkles';
import { aiChatStore } from '@/stores/aiChat';
import { notificationStore } from '@/stores/notifications';
import { triggerPatrolRun } from '@/api/patrol';
@@ -21,19 +22,19 @@ interface InvestigateAlertButtonProps {
licenseLocked?: boolean;
/**
* When true (and the alert has a resource), the text/full variants render as
- * a split AI button: the primary action still opens Pulse Assistant (the
- * context-only explanation surface), and a small menu offers to run a manual
- * targeted Patrol check scoped to this alert's resource. The icon variant is
+ * a split investigation button: the primary action runs a manual targeted
+ * Patrol check scoped to this alert's resource, while a small menu keeps
+ * Pulse Assistant available for context-only explanation. The icon variant is
* single-purpose regardless.
*/
patrolOption?: boolean;
}
/**
- * "Ask AI" button for one-click alert investigation.
- * The primary action opens Pulse Assistant with alert context attached
- * (context-only, per the alerts Assistant handoff contract). When patrolOption
- * is set, a split menu also offers a manual targeted Patrol check.
+ * Investigation button for one-click alert follow-up.
+ * Plain Assistant opens remain context-only. On alert cards that opt into
+ * Patrol routing, resource-backed alerts make Patrol the primary doer and keep
+ * Assistant as the secondary explanation path.
* Hidden entirely when AI is not configured.
*/
export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
@@ -47,7 +48,6 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
canShowUpgradePrompt()
? t('alerts.assistant.locked.proRequired')
: t('alerts.assistant.locked.unavailable');
- const buttonTitle = () => (isLocked() ? lockedTitle() : t('alerts.assistant.unlockedTitle'));
// Don't render if AI is not enabled
if (aiChatStore.enabled !== true) {
return null;
@@ -57,6 +57,13 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
props.patrolOption === true &&
!isLocked() &&
!!(props.alert.resourceId || '').trim();
+ const usesPatrolPrimary = () => showPatrolOption() && props.variant !== 'icon';
+ const buttonTitle = () =>
+ isLocked()
+ ? lockedTitle()
+ : usesPatrolPrimary()
+ ? t('alerts.assistant.patrol.title')
+ : t('alerts.assistant.unlockedTitle');
const closeMenu = () => setMenuOpen(false);
@@ -80,18 +87,7 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
});
});
- const handleClick = (e: MouseEvent) => {
- e.stopPropagation();
- e.preventDefault();
- closeMenu();
- if (isLocked()) {
- if (!canShowUpgradePrompt()) {
- return;
- }
- openUpgradeDestination(getUpgradeActionDestination('ai_alerts'));
- return;
- }
-
+ const openAssistant = () => {
const handoff = buildAlertAssistantHandoff({
alert: props.alert,
resourceType: props.resourceType,
@@ -101,16 +97,7 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
aiChatStore.open(handoff.context);
};
- const handleToggleMenu = (e: MouseEvent) => {
- e.stopPropagation();
- e.preventDefault();
- setMenuOpen((value) => !value);
- };
-
- const handleTriggerPatrol = async (e: MouseEvent) => {
- e.stopPropagation();
- e.preventDefault();
- closeMenu();
+ const startPatrolInvestigation = async () => {
const resourceId = (props.alert.resourceId || '').trim();
if (!resourceId) {
notificationStore.warning(t('alerts.assistant.patrol.noResource'));
@@ -138,6 +125,39 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
}
};
+ const handleClick = (e: MouseEvent) => {
+ e.stopPropagation();
+ e.preventDefault();
+ closeMenu();
+ if (isLocked()) {
+ if (!canShowUpgradePrompt()) {
+ return;
+ }
+ openUpgradeDestination(getUpgradeActionDestination('ai_alerts'));
+ return;
+ }
+
+ if (usesPatrolPrimary()) {
+ void startPatrolInvestigation();
+ return;
+ }
+
+ openAssistant();
+ };
+
+ const handleToggleMenu = (e: MouseEvent) => {
+ e.stopPropagation();
+ e.preventDefault();
+ setMenuOpen((value) => !value);
+ };
+
+ const handleOpenAssistant = (e: MouseEvent) => {
+ e.stopPropagation();
+ e.preventDefault();
+ closeMenu();
+ openAssistant();
+ };
+
const sizeClasses = {
sm: 'w-6 h-6 text-xs',
md: 'w-8 h-8 text-sm',
@@ -150,10 +170,7 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
disabled:opacity-50 disabled:cursor-not-allowed
`;
- // Shared split-menu affordance rendered alongside the primary button when
- // patrolOption is active. The primary action stays "open Assistant"; this
- // only exposes the manual targeted Patrol alternative.
- const PatrolSplit = (splitClass: string, iconClass: string) => (
+ const SecondaryActionMenu = (splitClass: string, iconClass: string) => (
<Show when={showPatrolOption()}>
<button
type="button"
@@ -174,13 +191,13 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
<button
type="button"
role="menuitem"
- onClick={handleTriggerPatrol}
+ onClick={handleOpenAssistant}
class="flex w-full items-center gap-2 px-3 py-2 text-left text-xs text-base-content hover:bg-surface-hover"
>
- <ShieldCheckIcon class="h-4 w-4 flex-shrink-0 text-blue-600 dark:text-blue-400" />
+ <SparklesIcon class="h-4 w-4 flex-shrink-0 text-blue-600 dark:text-blue-400" />
<span class="flex flex-col">
- <span class="font-medium">{t('alerts.assistant.patrol.menuLabel')}</span>
- <span class="text-[10px] text-muted">{t('alerts.assistant.patrol.menuHint')}</span>
+ <span class="font-medium">{t('alerts.assistant.explain.menuLabel')}</span>
+ <span class="text-[10px] text-muted">{t('alerts.assistant.explain.menuHint')}</span>
</span>
</button>
</div>
@@ -247,17 +264,28 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
title={buttonTitle()}
aria-disabled={isLocked()}
>
- <svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"
- />
- </svg>
- <span class="text-xs font-medium">{t('alerts.assistant.button.text')}</span>
+ <Show
+ when={usesPatrolPrimary()}
+ fallback={
+ <svg class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
+ <path
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"
+ />
+ </svg>
+ }
+ >
+ <ShieldCheckIcon class="h-3.5 w-3.5 flex-shrink-0" />
+ </Show>
+ <span class="text-xs font-medium">
+ {usesPatrolPrimary()
+ ? t('alerts.assistant.patrol.menuLabel')
+ : t('alerts.assistant.button.text')}
+ </span>
</button>
- {PatrolSplit(
+ {SecondaryActionMenu(
`px-1.5 py-1 rounded-l-none border border-border border-l-0 bg-surface hover:bg-surface-hover text-blue-600 dark:text-blue-400 ${
isLocked() ? 'opacity-60 cursor-not-allowed' : ''
}`,
@@ -287,20 +315,31 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {
title={buttonTitle()}
aria-disabled={isLocked()}
>
- <svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"
- />
- </svg>
- <span>{t('alerts.assistant.button.full')}</span>
+ <Show
+ when={usesPatrolPrimary()}
+ fallback={
+ <svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
+ <path
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"
+ />
+ </svg>
+ }
+ >
+ <ShieldCheckIcon class="h-4 w-4 flex-shrink-0" />
+ </Show>
+ <span>
+ {usesPatrolPrimary()
+ ? t('alerts.assistant.patrol.menuLabel')
+ : t('alerts.assistant.button.full')}
+ </span>
<Show when={isHovered() && !showPatrolOption()}>
<span class="text-xs opacity-80">→</span>
</Show>
</button>
- {PatrolSplit(
+ {SecondaryActionMenu(
`px-2 py-1.5 rounded-l-none bg-blue-600 hover:bg-blue-700 text-white border-l border-blue-500/60 ${
isLocked() ? 'opacity-60 cursor-not-allowed hover:bg-blue-600' : ''
}`,
diff --git a/frontend-modern/src/components/Alerts/__tests__/InvestigateAlertButton.test.tsx b/frontend-modern/src/components/Alerts/__tests__/InvestigateAlertButton.test.tsx
index 69fab0e324..e4a885e5d8 100644
--- a/frontend-modern/src/components/Alerts/__tests__/InvestigateAlertButton.test.tsx
+++ b/frontend-modern/src/components/Alerts/__tests__/InvestigateAlertButton.test.tsx
@@ -717,10 +717,11 @@ describe('InvestigateAlertButton', () => {
});
describe('InvestigateAlertButton patrolOption', () => {
- it('renders a split menu toggle alongside the primary action (text variant)', () => {
+ it('renders Patrol as the primary action with an Assistant explanation menu', () => {
render(() => <InvestigateAlertButton alert={makeAlert()} variant="text" patrolOption />);
expect(screen.getAllByRole('button')).toHaveLength(2);
- const toggle = screen.getByRole('button', { name: 'More AI actions for this alert' });
+ expect(screen.getByRole('button', { name: /Have Patrol investigate/i })).toBeInTheDocument();
+ const toggle = screen.getByRole('button', { name: 'More alert actions' });
expect(toggle).toHaveAttribute('aria-expanded', 'false');
});
@@ -742,7 +743,7 @@ describe('InvestigateAlertButton patrolOption', () => {
expect(screen.getAllByRole('button')).toHaveLength(1);
});
- it('triggers a scoped patrol run from the menu item', async () => {
+ it('triggers a scoped Patrol run from the primary action', async () => {
const alert = makeAlert({
id: 'alert-9',
type: 'cpu',
@@ -751,11 +752,7 @@ describe('InvestigateAlertButton patrolOption', () => {
});
render(() => <InvestigateAlertButton alert={alert} variant="text" patrolOption />);
- const toggle = screen.getByRole('button', { name: 'More AI actions for this alert' });
- await fireEvent.click(toggle);
-
- const item = await screen.findByRole('menuitem', { name: /Have Patrol investigate/i });
- await fireEvent.click(item);
+ await fireEvent.click(screen.getByRole('button', { name: /Have Patrol investigate/i }));
await waitFor(() => {
expect(triggerPatrolRunMock).toHaveBeenCalledWith({
@@ -770,14 +767,24 @@ describe('InvestigateAlertButton patrolOption', () => {
});
});
- it('does not open the Assistant when the Patrol item is chosen', async () => {
+ it('does not open the Assistant when the Patrol primary action is chosen', async () => {
const alert = makeAlert({ resourceId: 'vm-101' });
render(() => <InvestigateAlertButton alert={alert} variant="text" patrolOption />);
- await fireEvent.click(screen.getByRole('button', { name: 'More AI actions for this alert' }));
- await fireEvent.click(await screen.findByRole('menuitem'));
+ await fireEvent.click(screen.getByRole('button', { name: /Have Patrol investigate/i }));
await waitFor(() => expect(triggerPatrolRunMock).toHaveBeenCalled());
expect(openMock).not.toHaveBeenCalled();
});
+
+ it('opens the Assistant only from the secondary explanation item', async () => {
+ const alert = makeAlert({ resourceId: 'vm-101' });
+ render(() => <InvestigateAlertButton alert={alert} variant="text" patrolOption />);
+
+ await fireEvent.click(screen.getByRole('button', { name: 'More alert actions' }));
+ await fireEvent.click(await screen.findByRole('menuitem', { name: /Explain with Assistant/i }));
+
+ expect(openMock).toHaveBeenCalledTimes(1);
+ expect(triggerPatrolRunMock).not.toHaveBeenCalled();
+ });
});
diff --git a/frontend-modern/src/features/alerts/__tests__/alertsLocalization.guardrails.test.ts b/frontend-modern/src/features/alerts/__tests__/alertsLocalization.guardrails.test.ts
index 908d31a751..8ca70d0fb9 100644
--- a/frontend-modern/src/features/alerts/__tests__/alertsLocalization.guardrails.test.ts
+++ b/frontend-modern/src/features/alerts/__tests__/alertsLocalization.guardrails.test.ts
@@ -44,8 +44,12 @@ const migratedAlertsOverviewCopy = [
'Ask Pulse Assistant',
'Pro required to ask Pulse Assistant about alerts',
'More AI actions for this alert',
+ 'More alert actions',
+ 'Explain with Assistant',
+ 'Use this alert as read-only context',
'Have Patrol investigate',
'Run a targeted Patrol check on this resource',
+ 'Have Patrol investigate this alert',
'Alert investigation attached',
'Diagnostics and remediation require operator approval',
'No incident timeline available',
@@ -68,6 +72,8 @@ describe('alerts overview localization guardrails', () => {
expect(statsCardsSource).toContain('getAlertOverviewStatsLabels');
expect(acknowledgementStateSource).toContain('getAlertOverviewAcknowledgedNotification');
expect(investigateButtonSource).toContain('alerts.assistant.button.full');
+ expect(investigateButtonSource).toContain('alerts.assistant.explain.menuLabel');
+ expect(investigateButtonSource).toContain('alerts.assistant.patrol.title');
expect(assistantHandoffSource).toContain('alerts.assistant.subject');
expect(incidentTimelineSource).toContain('getAlertTimelineNotePlaceholder');
expect(incidentFiltersSource).toContain('getAlertTimelineEventTypeLabel');
diff --git a/frontend-modern/src/i18n/__tests__/i18n.test.ts b/frontend-modern/src/i18n/__tests__/i18n.test.ts
index 1e200b7587..0663d6dc57 100644
--- a/frontend-modern/src/i18n/__tests__/i18n.test.ts
+++ b/frontend-modern/src/i18n/__tests__/i18n.test.ts
@@ -269,6 +269,8 @@ describe('i18n foundation', () => {
expect(I18N_MESSAGES[locale]['alerts.assistant.locked.proRequired']).toContain('Pro');
expect(I18N_MESSAGES[locale]['alerts.assistant.patrol.menuLabel']).toBeTruthy();
expect(I18N_MESSAGES[locale]['alerts.assistant.patrol.menuLabel']).toContain('Patrol');
+ expect(I18N_MESSAGES[locale]['alerts.assistant.patrol.title']).toContain('Patrol');
+ expect(I18N_MESSAGES[locale]['alerts.assistant.explain.menuLabel']).toContain('Assistant');
expect(
t(
'alerts.assistant.action.investigate',
diff --git a/frontend-modern/src/i18n/messages.de.ts b/frontend-modern/src/i18n/messages.de.ts
index 7c15fddeeb..139265c03f 100644
--- a/frontend-modern/src/i18n/messages.de.ts
+++ b/frontend-modern/src/i18n/messages.de.ts
@@ -36,9 +36,12 @@ export const DE_MESSAGE_OVERRIDES = {
'alerts.assistant.subject': '{level} {alertType} auf {resourceName}',
'alerts.assistant.title': 'Warnungsanalyse angehaengt',
'alerts.assistant.unlockedTitle': 'Pulse Assistant zu dieser Warnmeldung fragen',
- 'alerts.assistant.patrol.chevron': 'Weitere KI-Aktionen fuer diese Warnmeldung',
+ 'alerts.assistant.explain.menuLabel': 'Mit Assistant erklaeren',
+ 'alerts.assistant.explain.menuHint': 'Diese Warnmeldung als reinen Kontext verwenden',
+ 'alerts.assistant.patrol.chevron': 'Weitere Aktionen fuer diese Warnmeldung',
'alerts.assistant.patrol.menuLabel': 'Patrol ermitteln lassen',
'alerts.assistant.patrol.menuHint': 'Eine gezielte Patrol-Pruefung fuer diese Ressource ausfuehren',
+ 'alerts.assistant.patrol.title': 'Patrol diese Warnmeldung untersuchen lassen',
'alerts.assistant.patrol.triggered': 'Patrol untersucht {resourceName}',
'alerts.assistant.patrol.noResource': 'Diese Warnmeldung hat keine zu untersuchende Ressource',
'alerts.assistant.patrol.failed': 'Patrol-Pruefung konnte nicht gestartet werden',
diff --git a/frontend-modern/src/i18n/messages.es.ts b/frontend-modern/src/i18n/messages.es.ts
index 44c969e446..97b357a054 100644
--- a/frontend-modern/src/i18n/messages.es.ts
+++ b/frontend-modern/src/i18n/messages.es.ts
@@ -35,9 +35,12 @@ export const ES_MESSAGE_OVERRIDES = {
'alerts.assistant.subject': '{level} {alertType} en {resourceName}',
'alerts.assistant.title': 'Investigacion de alerta adjunta',
'alerts.assistant.unlockedTitle': 'Preguntar a Pulse Assistant sobre esta alerta',
- 'alerts.assistant.patrol.chevron': 'Mas acciones de IA para esta alerta',
+ 'alerts.assistant.explain.menuLabel': 'Explicar con Assistant',
+ 'alerts.assistant.explain.menuHint': 'Usar esta alerta como contexto de solo lectura',
+ 'alerts.assistant.patrol.chevron': 'Mas acciones para esta alerta',
'alerts.assistant.patrol.menuLabel': 'Pedir a Patrol que investigue',
'alerts.assistant.patrol.menuHint': 'Ejecutar una verificacion dirigida de Patrol en este recurso',
+ 'alerts.assistant.patrol.title': 'Pedir a Patrol que investigue esta alerta',
'alerts.assistant.patrol.triggered': 'Patrol esta investigando {resourceName}',
'alerts.assistant.patrol.noResource': 'Esta alerta no tiene un recurso para investigar',
'alerts.assistant.patrol.failed': 'No se pudo iniciar la verificacion de Patrol',
diff --git a/frontend-modern/src/i18n/messages.ts b/frontend-modern/src/i18n/messages.ts
index f884e81045..3390fde242 100644
--- a/frontend-modern/src/i18n/messages.ts
+++ b/frontend-modern/src/i18n/messages.ts
@@ -123,9 +123,12 @@ export const EN_MESSAGES = {
'alerts.assistant.subject': '{level} {alertType} on {resourceName}',
'alerts.assistant.title': 'Alert investigation attached',
'alerts.assistant.unlockedTitle': 'Ask Pulse Assistant about this alert',
- 'alerts.assistant.patrol.chevron': 'More AI actions for this alert',
+ 'alerts.assistant.explain.menuLabel': 'Explain with Assistant',
+ 'alerts.assistant.explain.menuHint': 'Use this alert as read-only context',
+ 'alerts.assistant.patrol.chevron': 'More alert actions',
'alerts.assistant.patrol.menuLabel': 'Have Patrol investigate',
'alerts.assistant.patrol.menuHint': 'Run a targeted Patrol check on this resource',
+ 'alerts.assistant.patrol.title': 'Have Patrol investigate this alert',
'alerts.assistant.patrol.triggered': 'Patrol is investigating {resourceName}',
'alerts.assistant.patrol.noResource': 'This alert has no resource to investigate',
'alerts.assistant.patrol.failed': "Couldn't start the Patrol check",
@@ -647,9 +650,12 @@ export const ALERTS_OVERVIEW_MIGRATED_MESSAGE_KEYS = [
'alerts.assistant.subject',
'alerts.assistant.title',
'alerts.assistant.unlockedTitle',
+ 'alerts.assistant.explain.menuLabel',
+ 'alerts.assistant.explain.menuHint',
'alerts.assistant.patrol.chevron',
'alerts.assistant.patrol.menuLabel',
'alerts.assistant.patrol.menuHint',
+ 'alerts.assistant.patrol.title',
'alerts.assistant.patrol.triggered',
'alerts.assistant.patrol.noResource',
'alerts.assistant.patrol.failed',