mirror of
https://github.com/bmad-code-org/BMAD-METHOD.git
synced 2026-01-30 04:32:02 +00:00
Add an optional also_consider parameter that allows callers to pass domain-specific areas to keep in mind during review. This gently nudges the reviewer toward specific concerns without overriding normal analysis. Testing showed: - Specific items steer strongly (questions get directly answered) - Domain-focused items shift the lens (e.g., security focus = deeper security findings) - Vague items have minimal effect (similar to baseline) - Single items nudge without dominating - Contradictory items handled gracefully Includes test cases with sample content and 10 configurations to validate the parameter behavior across different use cases. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Brian <bmadcode@gmail.com>
47 lines
664 B
Markdown
47 lines
664 B
Markdown
# User Authentication API
|
|
|
|
## Overview
|
|
|
|
This API provides endpoints for user authentication and session management.
|
|
|
|
## Endpoints
|
|
|
|
### POST /api/auth/login
|
|
|
|
Authenticates a user and returns a token.
|
|
|
|
**Request Body:**
|
|
```json
|
|
{
|
|
"email": "user@example.com",
|
|
"password": "password123"
|
|
}
|
|
```
|
|
|
|
**Response:**
|
|
```json
|
|
{
|
|
"token": "eyJhbGciOiJIUzI1NiIs...",
|
|
"user": {
|
|
"id": 1,
|
|
"email": "user@example.com"
|
|
}
|
|
}
|
|
```
|
|
|
|
### POST /api/auth/logout
|
|
|
|
Logs out the current user.
|
|
|
|
### GET /api/auth/me
|
|
|
|
Returns the current user's profile.
|
|
|
|
## Error Handling
|
|
|
|
Errors return appropriate HTTP status codes.
|
|
|
|
## Rate Limiting
|
|
|
|
Rate limiting is applied to prevent abuse.
|