- BacklogView: Sort current sprint tasks, backlog, and other sprint tasks by last updated
- SprintBoard: Sort sprint tasks by updatedAt descending
- Ensures latest updated tasks appear at top of each section
- Sprint end dates now treated as end-of-day (23:59:59) to handle timezone issues
where sprints appeared empty before local midnight
- Added auto-rollover: when a sprint ends, incomplete tasks automatically
move to the next sprint, ended sprint marked as completed
- Applied fix to both main page and BacklogView
Removed public CRUD for internal tables:
- Deleted /api/meta - internal key-value store
- Deleted /api/users - use auth endpoints instead
- Removed CLI commands: user admin and meta operations
Core app tables with CRUD:
✅ tasks - Full CRUD
✅ projects - Full CRUD (list, get, create, update, delete)
✅ sprints - Full CRUD (list, get, create, update, delete)
Auth tables (internal, no public CRUD):
- users - Managed via /api/auth/* endpoints
- sessions - Managed by auth system
- password_reset_tokens - Managed by forgot/reset flow
- meta - Internal use only
New API endpoints:
- GET /api/projects/[id] - Get single project
- GET /api/sprints/[id] - Get single sprint
New CLI commands:
- project get <id> - Get specific project
- sprint get <id> - Get specific sprint
Project and Sprint CRUD now complete:
✅ list, get, create, update, delete
New API endpoints:
- /api/meta (GET, POST, DELETE) - Meta key-value store CRUD
- /api/users (GET, PATCH, DELETE) - User admin CRUD
New CLI commands:
- user get/update/delete - Admin user management
- meta list/get/set/delete - Meta key-value management
Tables now with full CRUD:
✅ tasks - Full CRUD
✅ projects - Full CRUD
✅ sprints - Full CRUD
✅ users - Full CRUD (list, get, create via register, update, delete)
✅ meta - Full CRUD (list, get, set/create/update, delete)
Internal tables (no public CRUD needed):
- sessions - Managed by auth system
- password_reset_tokens - Managed by forgot/reset password flows
- New API endpoints:
- GET /api/projects - List projects
- POST /api/projects - Create project
- PATCH /api/projects - Update project
- DELETE /api/projects - Delete project
- GET /api/sprints - List sprints
- POST /api/sprints - Create sprint
- PATCH /api/sprints - Update sprint
- DELETE /api/sprints - Delete sprint
- Added CLI commands:
- project create/update/delete
- sprint create/update/delete
- Updated help text with new commands
Web UI can now do full CRUD on projects/sprints and CLI matches 1:1
- auth register - POST /api/auth/register
- auth forgot-password - POST /api/auth/forgot-password
- auth reset-password - POST /api/auth/reset-password
- auth account - PATCH /api/auth/account
- auth users - GET /api/auth/users
CLI now has 100% coverage of all API endpoints
- New audit-cli-coverage.sh to verify CLI matches API surface area
- Updated README with audit instructions
- Helps ensure Rule 2.5 compliance (CLI sync with web UI)
- New gantt.sh: Complete CLI covering all API operations
- Task CRUD (list, get, create, update, delete)
- Natural language task creation
- Comments and file attachments
- Projects, sprints, auth
- Updated README.md with comprehensive coverage matrix
- Documents when to use API vs Supabase direct scripts
- Added comprehensive README.md documenting all 3 CLI scripts
- Includes quick start, command reference, examples, workflows
- Documents troubleshooting and common patterns
- No code changes, docs only