This directory contains detailed specifications for features in the Sentry MCP
server. Each spec should live in a single Markdown file under docs/specs/.
- Agent Conversations
- Alert Inspection and Editing
- Embedded Agent OpenAI Routing
- External Issue Linking
- Project Management Tools
- Remembered OAuth Skill Defaults
- Search Events
- Sentry-Bearer Cloudflare Auth
- Subpath Constraints
Feature specifications serve to:
- Document Design Decisions: Capture the reasoning behind architectural choices
- Define Interfaces: Specify tool inputs, outputs, and behavior
- Guide Implementation: Provide clear direction for developers
- Enable Review: Allow stakeholders to review and provide feedback
- Preserve Knowledge: Maintain historical context for future reference
When adding a new feature specification:
- Create a new Markdown file under
specs/with a descriptive name - Keep the spec in a single, concise
.mdfile that covers:- Problem statement and motivation
- High-level design approach
- Interface definitions (with code examples)
- Key constraints and requirements
- Migration/compatibility concerns
- Link to the spec from relevant documentation when there is a natural place to reference it
Important Guidelines:
- Keep specs in a single file under
docs/specs/ - Focus on WHAT and WHY, not HOW
- Include code examples for interfaces and usage
- Document constraints and meta concerns
- Avoid implementation details (no function internals, prompts, etc.)
- Think "contract" not "blueprint"
For consistency, new specifications should include:
- Overview: Problem statement and proposed solution
- Motivation: Why this feature is needed
- Design: Technical architecture and approach
- Interface: API/tool definitions
- Examples: Usage scenarios and expected behavior
- Implementation: Step-by-step plan (NO time estimates)
- Testing: Validation strategy
- Migration: If replacing existing functionality
- Future Work: Potential enhancements
Important: Do NOT include time windows, deadlines, or duration estimates in specifications. Implementation timing is determined by agents and project priorities, not by the spec.
- Create specification documents in a feature branch
- Open PR for review by team members
- Address feedback and iterate
- Merge once consensus is reached
- Update status as implementation progresses