63 lines
2.1 KiB
JSON
63 lines
2.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"architecture": "modified-feature-capsule",
|
|
"ai_optimization": {
|
|
"context_efficiency": "95%",
|
|
"single_load_completeness": "100%",
|
|
"feature_independence": "100%"
|
|
},
|
|
"loading_strategy": {
|
|
"project_overview": {
|
|
"instruction": "Start with AI_PROJECT_GUIDE.md for complete project context",
|
|
"example": "AI_PROJECT_GUIDE.md",
|
|
"completeness": "100% - all navigation and architecture information"
|
|
},
|
|
"feature_work": {
|
|
"instruction": "Load entire feature directory",
|
|
"example": "backend/src/features/vehicles/",
|
|
"completeness": "100% - everything needed is in one directory"
|
|
},
|
|
"cross_feature_work": {
|
|
"instruction": "Load index.ts and README.md from each feature",
|
|
"example": [
|
|
"backend/src/features/vehicles/index.ts",
|
|
"backend/src/features/vehicles/README.md"
|
|
]
|
|
},
|
|
"debugging": {
|
|
"instruction": "Start with feature README, expand to tests and docs",
|
|
"example": [
|
|
"backend/src/features/[feature]/README.md",
|
|
"backend/src/features/[feature]/tests/",
|
|
"backend/src/features/[feature]/docs/TROUBLESHOOTING.md"
|
|
]
|
|
},
|
|
"documentation": {
|
|
"instruction": "Use docs/README.md for complete documentation index",
|
|
"example": "docs/README.md",
|
|
"completeness": "All documentation links and navigation"
|
|
}
|
|
},
|
|
"feature_capsules": {
|
|
"vehicles": {
|
|
"path": "backend/src/features/vehicles/",
|
|
"type": "primary_entity",
|
|
"self_contained": true,
|
|
"external_apis": ["NHTSA vPIC"],
|
|
"database_tables": ["vehicles", "vin_cache"],
|
|
"cache_strategy": "VIN lookups: 30 days"
|
|
},
|
|
"fuel-logs": {
|
|
"path": "backend/src/features/fuel-logs/",
|
|
"type": "dependent_feature",
|
|
"self_contained": true,
|
|
"depends_on": ["vehicles"],
|
|
"database_tables": ["fuel_logs"],
|
|
"cache_strategy": "User logs: 5 minutes"
|
|
}
|
|
},
|
|
"migration_order": {
|
|
"explanation": "Order determined by foreign key dependencies",
|
|
"sequence": ["vehicles", "fuel-logs", "maintenance", "stations"]
|
|
}
|
|
} |