docs(01): complete Foundation phase

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
kevin-asprec
2026-03-04 19:22:00 +08:00
parent 9d8c45ce10
commit 0cb9a483bf
4 changed files with 194 additions and 26 deletions

View File

@@ -7,13 +7,13 @@
### Multi-Tenancy & Auth
- [ ] **TENANT-01**: Each ISP tenant has fully isolated data via PostgreSQL Row-Level Security
- [ ] **TENANT-02**: New ISP can sign up and onboard with their own tenant space
- [ ] **TENANT-03**: Platform super-admin can manage all ISP tenants (create, suspend, view usage)
- [ ] **AUTH-01**: User can log in with email and password
- [ ] **AUTH-02**: Role-based access control for 5 roles: Admin, Office Staff, Collector, Technician, Client
- [ ] **AUTH-03**: Each role has scoped permissions (e.g., Collector sees only their assigned clients)
- [ ] **AUTH-04**: User session persists across browser refresh
- [x] **TENANT-01**: Each ISP tenant has fully isolated data via PostgreSQL Row-Level Security
- [x] **TENANT-02**: New ISP can sign up and onboard with their own tenant space
- [x] **TENANT-03**: Platform super-admin can manage all ISP tenants (create, suspend, view usage)
- [x] **AUTH-01**: User can log in with email and password
- [x] **AUTH-02**: Role-based access control for 5 roles: Admin, Office Staff, Collector, Technician, Client
- [x] **AUTH-03**: Each role has scoped permissions (e.g., Collector sees only their assigned clients)
- [x] **AUTH-04**: User session persists across browser refresh
### Subscriber Management
@@ -102,8 +102,8 @@
### Testing & Infrastructure
- [ ] **INFRA-01**: Docker-based local development environment (database, services)
- [ ] **INFRA-02**: Automated unit tests for core business logic (billing, accounting, inventory)
- [x] **INFRA-01**: Docker-based local development environment (database, services)
- [x] **INFRA-02**: Automated unit tests for core business logic (billing, accounting, inventory)
- [ ] **INFRA-03**: Integration tests for API endpoints
- [ ] **INFRA-04**: End-to-end tests for critical user workflows
@@ -152,15 +152,15 @@
| Requirement | Phase | Status |
|-------------|-------|--------|
| TENANT-01 | Phase 1 | Pending |
| TENANT-02 | Phase 1 | Pending |
| TENANT-03 | Phase 1 | Pending |
| AUTH-01 | Phase 1 | Pending |
| AUTH-02 | Phase 1 | Pending |
| AUTH-03 | Phase 1 | Pending |
| AUTH-04 | Phase 1 | Pending |
| INFRA-01 | Phase 1 | Pending |
| INFRA-02 | Phase 1 | Pending |
| TENANT-01 | Phase 1 | Complete |
| TENANT-02 | Phase 1 | Complete |
| TENANT-03 | Phase 1 | Complete |
| AUTH-01 | Phase 1 | Complete |
| AUTH-02 | Phase 1 | Complete |
| AUTH-03 | Phase 1 | Complete |
| AUTH-04 | Phase 1 | Complete |
| INFRA-01 | Phase 1 | Complete |
| INFRA-02 | Phase 1 | Complete |
| SUB-01 | Phase 2 | Pending |
| SUB-02 | Phase 2 | Pending |
| SUB-03 | Phase 2 | Pending |