mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
The "Hire an agent" and "monitor" wording oversold the feature: it is just a prompt you give an agent to check health, security, performance, or resources, optionally on a schedule. Rename the group to "Agent prompts", drop "monitor" from the four child pages (Health, Security, Performance, Resources), and use plainer framing across the landing page and observability hub. URL slugs are unchanged. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Renamed the Observability section to “Agent prompts” and updated its page titles and descriptions to describe project checks. * Clarified that prompts read project data without changing it, and that findings can be sent through existing harness connections. * Updated setup guidance to refer to running prompts and using “checks” in task names. * Renamed the Health, Security, Performance, and Resources entries. The related links, schedules, and reporting details remain unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
53 lines
1.6 KiB
TypeScript
53 lines
1.6 KiB
TypeScript
import type { AiPromptId } from './ai-prompts.data'
|
|
|
|
export const monitoringAgents = {
|
|
health: {
|
|
id: 'health',
|
|
name: 'Health',
|
|
promptId: 'monitoring-agent-health' as AiPromptId,
|
|
schedule: {
|
|
cadence: 'once per hour',
|
|
intervalMinutes: 60,
|
|
scheduled: 'Run it once per hour on a schedule.',
|
|
onDemand:
|
|
'Run it on demand after a deployment, or whenever you need a health check outside that interval.',
|
|
},
|
|
},
|
|
security: {
|
|
id: 'security',
|
|
name: 'Security',
|
|
promptId: 'monitoring-agent-security' as AiPromptId,
|
|
schedule: {
|
|
cadence: 'once per day',
|
|
intervalMinutes: 1440,
|
|
scheduled: 'Run it once per day on a schedule.',
|
|
onDemand: 'Run it on demand after you change Auth, RLS, or other access controls.',
|
|
},
|
|
},
|
|
performance: {
|
|
id: 'performance',
|
|
name: 'Performance',
|
|
promptId: 'monitoring-agent-performance' as AiPromptId,
|
|
schedule: {
|
|
cadence: 'once per hour',
|
|
intervalMinutes: 60,
|
|
scheduled: 'Run it once per hour on a schedule.',
|
|
onDemand: 'Run it on demand after a latency regression or a schema change.',
|
|
},
|
|
},
|
|
usage: {
|
|
id: 'usage',
|
|
name: 'Resources',
|
|
promptId: 'monitoring-agent-usage' as AiPromptId,
|
|
schedule: {
|
|
cadence: 'once each morning',
|
|
intervalMinutes: 1440,
|
|
scheduled: 'Run it once per day on a schedule.',
|
|
onDemand: 'Run it on demand after an unexpected traffic change.',
|
|
},
|
|
},
|
|
} as const
|
|
|
|
export type MonitoringAgentId = keyof typeof monitoringAgents
|
|
export type MonitoringAgent = (typeof monitoringAgents)[MonitoringAgentId]
|