auth - User signup, email verification workflow using Auth0
backup - Manual and scheduled database/document backups with retention policies
notifications - Email and toast notifications for maintenance due/overdue and expiring documents
onboarding - User onboarding flow after email verification
terms-agreement - Legal audit trail for Terms & Conditions acceptance at signup
user-export - GDPR-compliant user data export
user-preferences - User preference management (unit system, currency, timezone)
user-profile - User profile management (email, display name, notification email)
Also updated:
feature_dependencies.sequence - now includes all 15 features in dependency order
external_services.external_apis - added Resend
Status: context.json now documents all 15 features with correct paths, types, database tables, and descriptions.
## M1 Complete: Updated `.ai/context.json`
Added 8 missing features to `application_features`:
- `auth` - User signup, email verification workflow using Auth0
- `backup` - Manual and scheduled database/document backups with retention policies
- `notifications` - Email and toast notifications for maintenance due/overdue and expiring documents
- `onboarding` - User onboarding flow after email verification
- `terms-agreement` - Legal audit trail for Terms & Conditions acceptance at signup
- `user-export` - GDPR-compliant user data export
- `user-preferences` - User preference management (unit system, currency, timezone)
- `user-profile` - User profile management (email, display name, notification email)
Also updated:
- `feature_dependencies.sequence` - now includes all 15 features in dependency order
- `external_services.external_apis` - added Resend
**Status**: context.json now documents all 15 features with correct paths, types, database tables, and descriptions.
Removed dead link to docs/ADMIN.md (feature removed)
Added 8 missing feature README links to navigation
Updated feature count from 7 to 15
Alphabetized feature list for consistency
All 15 features now have navigation links in the documentation hub.
## M2 Complete: Updated `docs/README.md`
Changes:
- Removed dead link to `docs/ADMIN.md` (feature removed)
- Added 8 missing feature README links to navigation
- Updated feature count from 7 to 15
- Alphabetized feature list for consistency
All 15 features now have navigation links in the documentation hub.
Updated Feature Capsule Architecture section to list all 15 features
Rewrote Current Features section with all 15 features including tables, integrations, and endpoints
Fixed table names (maintenance_logs, maintenance_schedules instead of maintenance_records)
Added community_stations to stations feature
M5: Updated docs/TESTING.md
Updated Coverage and Availability section to list all 15 features
Noted which features have unit-only vs unit+integration tests
Next: M6 - Complete rewrite of VEHICLES-API.md
## M4 & M5 Complete
### M4: Updated `docs/ARCHITECTURE-OVERVIEW.md`
- Updated Feature Capsule Architecture section to list all 15 features
- Rewrote Current Features section with all 15 features including tables, integrations, and endpoints
- Fixed table names (`maintenance_logs`, `maintenance_schedules` instead of `maintenance_records`)
- Added community_stations to stations feature
### M5: Updated `docs/TESTING.md`
- Updated Coverage and Availability section to list all 15 features
- Noted which features have unit-only vs unit+integration tests
Next: M6 - Complete rewrite of VEHICLES-API.md
Document now accurately reflects the current implementation.
## M6 Complete: Rewrote `docs/VEHICLES-API.md`
Complete rewrite of the Vehicles API documentation:
**Removed outdated content:**
- Wrong database schema (fake tables like `make`, `model`, `model_year`, `trim`)
- Wrong API parameters (`make_id`, `model_id`, `trim_id` - actual API uses string names)
- Reference to `.github/workflows/ci.yml` (we use `.gitea/workflows/`)
- References to non-existent migration files
- Complex operational information that was outdated
**Added accurate content:**
- All actual vehicle CRUD endpoints from `vehicles.routes.ts`
- Image upload/download/delete endpoints
- Complete dropdown cascade API with correct parameters
- Platform API endpoints
- Correct database schema references (engines, transmissions, vehicle_options)
- Accurate migration file location
- Frontend integration section
Document now accurately reflects the current implementation.
M7: Created backend/src/features/user-preferences/README.md
Summary of changes:
8 previously undocumented features are now in all high-level docs
Dead link to docs/ADMIN.md removed
All database tables documented
VEHICLES-API.md rewritten with correct API parameters and file paths
All 15 features now documented with correct table names and descriptions
## M7 Complete: Created `backend/src/features/user-preferences/README.md`
Created missing documentation for the user-preferences feature:
- Overview and architecture
- GET and PUT endpoint documentation with request/response examples
- Validation rules
- Default values
- Integration points
- Database table reference
---
## All Milestones Complete
All 7 milestones have been completed:
- [x] M1: Updated `.ai/context.json` - added 8 missing features
- [x] M2: Updated `docs/README.md` - added features, removed ADMIN.md dead link
- [x] M3: Updated `docs/DATABASE-SCHEMA.md` - documented all 25+ tables
- [x] M4: Updated `docs/ARCHITECTURE-OVERVIEW.md` - added all 15 features
- [x] M5: Updated `docs/TESTING.md` - added all 15 features
- [x] M6: Rewrote `docs/VEHICLES-API.md` - complete rewrite
- [x] M7: Created `backend/src/features/user-preferences/README.md`
**Summary of changes:**
- 8 previously undocumented features are now in all high-level docs
- Dead link to `docs/ADMIN.md` removed
- All database tables documented
- VEHICLES-API.md rewritten with correct API parameters and file paths
- All 15 features now documented with correct table names and descriptions
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem Statement
Significant documentation drift discovered across MotoVaultPro's documentation:
docs/ADMIN.md(feature removed)VEHICLES-API.mdhas multiple incorrect file paths, wrong CI system referencesDATABASE-SCHEMA.mdmissing tables from 8+ featurescontext.jsonmissing 8 feature entriesScope
In Scope:
.ai/context.json- add 8 missing featuresdocs/README.md- add features, remove dead ADMIN.md linkdocs/DATABASE-SCHEMA.md- document all tablesdocs/ARCHITECTURE-OVERVIEW.md- add 9 missing featuresdocs/TESTING.md- add 8 missing featuresdocs/VEHICLES-API.md- complete rewritebackend/src/features/user-preferences/README.md- create missing docOut of Scope:
Missing Features (8)
These features exist in code but are missing from high-level documentation:
auth- Authentication endpointsbackup- Database backup/restorenotifications- Email/push notificationsonboarding- User onboarding flowterms-agreement- Terms & Conditions acceptanceuser-export- GDPR data exportuser-preferences- User settingsuser-profile- Profile managementMilestones
.ai/context.json- add 8 missing featuresdocs/README.md- add features, remove ADMIN.md dead linkdocs/DATABASE-SCHEMA.md- document all tablesdocs/ARCHITECTURE-OVERVIEW.md- add 9 missing featuresdocs/TESTING.md- add 8 missing featuresdocs/VEHICLES-API.md- complete rewritebackend/src/features/user-preferences/README.mdKey Decisions
Acceptance Criteria
context.jsonVEHICLES-API.mdmatches current implementationM1 Complete: Updated
.ai/context.jsonAdded 8 missing features to
application_features:auth- User signup, email verification workflow using Auth0backup- Manual and scheduled database/document backups with retention policiesnotifications- Email and toast notifications for maintenance due/overdue and expiring documentsonboarding- User onboarding flow after email verificationterms-agreement- Legal audit trail for Terms & Conditions acceptance at signupuser-export- GDPR-compliant user data exportuser-preferences- User preference management (unit system, currency, timezone)user-profile- User profile management (email, display name, notification email)Also updated:
feature_dependencies.sequence- now includes all 15 features in dependency orderexternal_services.external_apis- added ResendStatus: context.json now documents all 15 features with correct paths, types, database tables, and descriptions.
M2 Complete: Updated
docs/README.mdChanges:
docs/ADMIN.md(feature removed)All 15 features now have navigation links in the documentation hub.
M3 Complete: Updated
docs/DATABASE-SCHEMA.mdMajor rewrite documenting all database tables:
Added sections:
admin_users,admin_audit_logsuser_profiles,user_preferences,terms_agreementscommunity_stationsengines,transmissions,vehicle_optionsemail_templates,notification_logsbackup_schedules,backup_history,backup_settingsFixed:
maintenance->maintenance_logsandmaintenance_schedules(split tables)Database schema documentation now covers all 25+ tables.
M4 & M5 Complete
M4: Updated
docs/ARCHITECTURE-OVERVIEW.mdmaintenance_logs,maintenance_schedulesinstead ofmaintenance_records)M5: Updated
docs/TESTING.mdNext: M6 - Complete rewrite of VEHICLES-API.md
M6 Complete: Rewrote
docs/VEHICLES-API.mdComplete rewrite of the Vehicles API documentation:
Removed outdated content:
make,model,model_year,trim)make_id,model_id,trim_id- actual API uses string names).github/workflows/ci.yml(we use.gitea/workflows/)Added accurate content:
vehicles.routes.tsDocument now accurately reflects the current implementation.
M7 Complete: Created
backend/src/features/user-preferences/README.mdCreated missing documentation for the user-preferences feature:
All Milestones Complete
All 7 milestones have been completed:
.ai/context.json- added 8 missing featuresdocs/README.md- added features, removed ADMIN.md dead linkdocs/DATABASE-SCHEMA.md- documented all 25+ tablesdocs/ARCHITECTURE-OVERVIEW.md- added all 15 featuresdocs/TESTING.md- added all 15 featuresdocs/VEHICLES-API.md- complete rewritebackend/src/features/user-preferences/README.mdSummary of changes:
docs/ADMIN.mdremoved