You have clear requirements for 3 well-defined features. Let the AI run a full sprint with minimal human intervention.
โฑ ~15 min ยท Hands-on
You have 3 well-defined features for a user profile page: avatar upload, bio editing, and account deletion. The requirements are clear, the patterns are established, and the codebase is familiar. This is a perfect candidate for autonomous mode โ the AI handles the full sprint while you review at key checkpoints.
Autonomous mode requires unambiguous requirements. Vague inputs produce vague outputs.
Build the user profile management feature:
1. Profile Page โ display user info (name, email, bio, avatar)
2. Avatar Upload โ upload and crop profile picture (max 2MB, jpg/png)
3. Bio Editing โ inline edit bio text (max 500 chars, markdown supported)
4. Account Deletion โ soft-delete with 30-day recovery window
Tech stack: React frontend, Node/Express API, PostgreSQL
Patterns: follow existing UserService, use Zod validation
Auth: JWT, user can only edit their own profile
The AI writes user stories following INVEST criteria with clear acceptance criteria.
/agile-story-create
๐ PROF-001: User Profile Page
As a user, I want to view my profile page
so that I can see my account information.
AC:
โ
Displays name, email, bio, and avatar
โ
Shows "Edit" buttons for editable fields
โ
Responsive layout (mobile + desktop)
โ
Returns 404 for non-existent users
๐ PROF-002: Avatar Upload
As a user, I want to upload a profile picture
so that other users can recognize me.
AC:
โ
Accepts JPG and PNG only
โ
Rejects files over 2MB with clear error
โ
Provides crop interface before saving
โ
Stores in S3, serves via CDN
โ
Falls back to initials avatar if none set
๐ PROF-003: Account Deletion
As a user, I want to delete my account
so that I can remove my data from the platform.
AC:
โ
Requires password confirmation
โ
Soft-deletes (sets deleted_at timestamp)
โ
30-day recovery window before hard delete
โ
Sends confirmation email
โ
Immediately logs user out
/agile-story-estimate
Story Estimates:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
PROF-001 Profile Page 3 pts (display only, known patterns)
PROF-002 Avatar Upload 5 pts (file handling, S3, crop UI)
PROF-003 Account Deletion 3 pts (soft-delete, email, auth check)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Total: 11 story points
/agile-sprint-planning
Sprint Planning โ Sprint 4
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Goal: "Users can manage their profile"
Capacity: 11 story points
Duration: 1 week
Stories: PROF-001 (3pts), PROF-002 (5pts), PROF-003 (3pts)
Execution Order:
1. PROF-001 (Profile Page) โ foundation for other stories
2. PROF-002 (Avatar Upload) โ highest complexity
3. PROF-003 (Account Deletion) โ independent, last
โ
Sprint committed
The AI chains all commands for each story: plan, branch, TDD, CI, PR, DoD check. Here's how it handles PROF-001:
/agile-story-plan
Plan confidence: 9/10
Implementation plan:
1. Create ProfilePage component + route
2. Add GET /api/users/:id/profile endpoint
3. Add ProfileService with getProfile method
4. Write unit + integration tests
/agile-code-branch
โ Created branch: feature/PROF-001-profile-page from develop
/agile-code-tdd
RED: 6 tests written (API + component + service)
GREEN: 6 tests passing โ all AC covered
REFACTOR: Extracted ProfileCard sub-component
/agile-code-ci
Build โ
| Tests 162/162 โ
| Lint โ
| Coverage 85% โ
/agile-code-pr
PR #67: feat(profile): add user profile page
Files changed: 8 | +240 -12
/agile-code-pr-review
Review: โ
Approved
- Clean component structure
- Proper error handling for missing users
- Good test coverage
/agile-story-dod
Definition of Done โ PROF-001:
โ
All acceptance criteria met
โ
Tests passing (unit + integration)
โ
Code reviewed and approved
โ
CI pipeline green
โ
No security warnings
โ DONE
The AI repeats this cycle for PROF-002 and PROF-003:
/agile-story-plan โ confidence 9/10
/agile-code-branch โ Created branch: feature/PROF-002-avatar-upload from develop
/agile-code-tdd โ RED: 8 tests | GREEN: 8 passing | REFACTOR: done
/agile-code-ci โ all green
/agile-code-pr โ PR #68: feat(profile): avatar upload with crop
/agile-code-pr-review โ โ
Approved (1 minor suggestion applied)
/agile-story-dod โ โ
DONE
/agile-story-plan โ confidence 9/10
/agile-code-branch โ Created branch: feature/PROF-003-account-deletion from develop
/agile-code-tdd โ RED: 7 tests | GREEN: 7 passing | REFACTOR: done
/agile-code-ci โ all green
/agile-code-pr โ PR #69: feat(profile): soft-delete account
/agile-code-pr-review โ โ
Approved
/agile-story-dod โ โ
DONE
Autonomous does not mean unsupervised. The AI pauses here for you to review.
The AI presents its work. You review the code, PRs, and test coverage. Autonomous mode handles execution, but humans own the final approval.
Sprint 4 โ Autonomous Execution Complete
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Stories Completed: 3/3
Points Delivered: 11/11
PRs Ready for Merge:
PR #67: feat(profile): user profile page โ
reviewed
PR #68: feat(profile): avatar upload + crop โ
reviewed
PR #69: feat(profile): soft-delete account โ
reviewed
Test Summary:
New tests written: 21
Total tests passing: 177/177
Coverage: 86% (was 84%)
Awaiting: YOUR approval to merge all PRs to develop
After human approval, the AI runs the sprint review.
/agile-sprint-review
Sprint Review โ Sprint 4
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Goal: "Users can manage their profile"
Goal Met: โ
Yes
Stories Done: 3/3 (100%)
Points: 11/11 delivered
Velocity: 11 pts (team avg: 10 pts)
Demo:
โ
Profile page renders with user data
โ
Avatar uploads, crops, and displays via CDN
โ
Account deletion soft-deletes with recovery window
Stakeholder Feedback: Approved
/agile-sprint-retro
Sprint Retrospective โ Sprint 4
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
What went well:
+ Autonomous execution completed all 3 stories
+ TDD caught a file validation edge case early
+ Clear requirements = no re-planning needed
What to improve:
- Avatar crop library added as new dependency (should flag)
- Could parallelize PROF-001 and PROF-003 (independent)
Action items:
๐ Add dependency review to autonomous checklist
๐ Enable parallel story execution for independent stories
Autonomous mode is powerful but bounded. These safety rails prevent runaway execution.
The AI stops and waits for human approval before proceeding with:
The AI continues but flags these for human attention:
Hard limits prevent infinite retries:
/agile-story-create โ AI writes INVEST stories with acceptance criteria/agile-story-estimate + /agile-sprint-planning โ AI plans a full sprint/agile-story-plan โ /agile-code-branch โ /agile-code-tdd โ /agile-code-ci โ /agile-code-pr โ /agile-code-pr-review โ /agile-code-merge โ /agile-story-dod/agile-sprint-review โ reporting velocity and demo results/agile-sprint-retro โ capturing what worked and what to improveWhen does autonomous mode pause for human review?