inti project
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Dependency Map
|
||||
|
||||
Generate the live map with:
|
||||
|
||||
```bash
|
||||
php artisan app:dependency-map --markdown
|
||||
```
|
||||
|
||||
Acceptable examples:
|
||||
|
||||
```text
|
||||
Http\Controllers\Api\V2\Finance -> SchoolCore\Finance\Contracts
|
||||
IslamicSundaySchool\Reporting -> SchoolCore\Reporting\Contracts
|
||||
```
|
||||
|
||||
Unacceptable example:
|
||||
|
||||
```text
|
||||
SchoolCore\Students -> IslamicSundaySchool\Students
|
||||
```
|
||||
@@ -0,0 +1,19 @@
|
||||
# Module Boundaries
|
||||
|
||||
Allowed dependency direction:
|
||||
|
||||
```text
|
||||
App\Domain\IslamicSundaySchool
|
||||
-> App\Domain\SchoolCore contracts
|
||||
-> App\Domain\SchoolCore\Shared / Context
|
||||
```
|
||||
|
||||
Forbidden dependency direction:
|
||||
|
||||
```text
|
||||
App\Domain\SchoolCore -> App\Domain\IslamicSundaySchool
|
||||
App\Domain\SchoolCore -> Http\Request
|
||||
App\Domain\SchoolCore -> controllers
|
||||
```
|
||||
|
||||
SchoolCore uses neutral vocabulary. Islamic Sunday School vocabulary belongs in `app/Domain/IslamicSundaySchool`, extension controllers, extension resources, extension requests, and extension migrations.
|
||||
@@ -0,0 +1,16 @@
|
||||
# Module Ownership
|
||||
|
||||
| Module | Owner | Required reviewers |
|
||||
|---|---|---|
|
||||
| SchoolContext | Platform owner | Platform |
|
||||
| Core Contracts | Platform owner | Platform |
|
||||
| Finance | Finance domain owner | Finance, Platform, Security |
|
||||
| Attendance | Attendance domain owner | Attendance, Platform |
|
||||
| Students | Student lifecycle owner | Students, Platform, Security |
|
||||
| Communication | Communication owner | Communication, Platform, Security |
|
||||
| Reporting | Reporting owner | Reporting, Data/Security |
|
||||
| IslamicSundaySchool | Islamic Sunday School domain owner | Islamic Sunday School, Platform |
|
||||
| API/Controllers | API owner | API, affected module owner |
|
||||
| Security/Auth | Security owner | Security |
|
||||
|
||||
Replace placeholder owners with actual GitHub teams in `.github/CODEOWNERS`. Placeholder governance is still better than vibes, but only barely.
|
||||
Reference in New Issue
Block a user