BMAD-METHOD/bmad-claude-integration/tests/golden/pm-user-story-oauth.json

59 lines
2.3 KiB
JSON

{
"id": "pm-user-story-oauth",
"name": "PM Agent - OAuth Login Story",
"agent": "pm",
"timestamp": "2025-07-26T14:24:25.843Z",
"execution": {
"request": "Create a user story for implementing OAuth login",
"responses": [],
"elicitation": [
{
"question": "📋 **PM Question**\n─────────────────────────────────\nOAuth providers?\n\n*Responding to PM in session session-golden-1753539865845*",
"response": "Google, GitHub, and Microsoft",
"timestamp": "2025-07-26T14:24:25.845Z"
},
{
"question": "📋 **PM Question**\n─────────────────────────────────\nSession management?\n\n*Responding to PM in session session-golden-1753539865845*",
"response": "JWT tokens with 7-day expiry",
"timestamp": "2025-07-26T14:24:25.845Z"
},
{
"question": "📋 **PM Question**\n─────────────────────────────────\nMFA support?\n\n*Responding to PM in session session-golden-1753539865845*",
"response": "Optional TOTP-based 2FA",
"timestamp": "2025-07-26T14:24:25.845Z"
}
],
"finalOutput": {
"type": "user_story",
"title": "User Authentication via OAuth",
"story": "As a user, I want to log in using Google, GitHub, and Microsoft so that I can access the application securely without creating a new password.",
"acceptanceCriteria": [
"User can select from available OAuth providers",
"Authentication tokens are securely stored",
"Session management follows security best practices",
"Failed login attempts are properly handled"
],
"estimates": {
"points": 5
},
"priority": "High"
},
"agent": {
"name": "John",
"id": "pm",
"title": "Product Manager",
"icon": "📋",
"whenToUse": "Use for creating PRDs, product strategy, feature prioritization, roadmap planning, and stakeholder communication"
}
},
"validation": {
"patternsFound": [
"As a user",
"OAuth",
"authentication",
"secure"
],
"contextPreserved": true,
"elicitationNatural": true
}
}