Files
supabase/apps/docs/data/monitoring-agents.data.ts
T
Steven EubankandClaude Sonnet 4.6 4730e3a640 docs: remove Generalist monitoring agent (#50784)
The Generalist is too broad and doesn't do any one thing well. Removing
it to focus on dogfooding the four targeted agents (Health, Security,
Performance, Capacity) before revisiting a combined agent.

https://github.com/supabase/supabase/pull/50396 new PR since this one
became messy with many upstream changes

## Problem

I don't like the generalist

## Solution

I am removing the generalist

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

Simply removing generalist:

https://supabase.com/docs/guides/observability/automate-with-agents

<img width="305" height="339" alt="image"
src="https://github.com/user-attachments/assets/bb537038-799f-4ec6-a357-c4cb3c552cba"
/>

So generalist will be no mas

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which references
[WORD_LIST](https://github.com/supabase/supabase/blob/master/apps/docs/WORD_LIST.md)
and the docs
[CONTRIBUTING](https://github.com/supabase/supabase/blob/master/apps/docs/CONTRIBUTING.md)
guide


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Removed the combined Generalist monitoring guide and its navigation
entry. Separate guides for health, security, performance, and usage
monitoring remain.
* The Generalist agent card and combined monitoring prompt are no longer
available.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-23 15:31:35 +02:00

53 lines
1.6 KiB
TypeScript

import type { AiPromptId } from './ai-prompts.data'
export const monitoringAgents = {
health: {
id: 'health',
name: 'Health monitor',
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 monitor',
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 monitor',
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: 'Capacity monitor',
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]