Fetching metadata from the HF Docker repository...
-
v8.4.4: Auth & Security Hardening — Sprint 43 P2
CRITICAL: JWT secret mismatch fixed (5 decoder files aligned)
- Token creator and decoders now use canonical jwt_secret_key
- Fixed: core/dependencies.py, core/helpers.py, ui/routes.py,
public_routes.py, apps/auth/services/token_service.py
Auth crash prevention (6 fixes):
- role.value AttributeError: safe accessor with hasattr (6+ locations)
- user.permissions: derived from role mapping, not model attribute
- HTTPException swallowed: wrong password now correctly returns 401
- Duplicate /api/auth/login route removed from routes.py
- core/auth/service.py: role.value + permissions consistency
Hybrid architecture audit (13 fixes):
- Column mismatches: password_hash, is_active, removed ghost columns
- Auth dependencies rewritten: in-memory mock → DB-backed
- Login form: email→username, sync auth, JWT cookie+redirect
- P2P: public GunDB relay removed, self-hosted only
- PHI encryption: AES-256-GCM for IndexedDB stores
- Sync indicator + real conflict detection
Verified: 15/15 endpoints …
-
feat(apps): Add standardized domain models for Movio, Stoka, Fabrica, Trena
- Created comprehensive domain models with SQLModel for 4 apps
- Added FDA/ISO/GS1 standards compliance documentation
- Implemented TenantMixin, TimestampMixin, SoftDeleteMixin patterns
- Added clinical context and performance targets to all models
- Movio: Inventory management (GS1, FDA UDI compliance)
- Stoka: Stock management (ISO 22095, FDA 21 CFR Part 11)
- Fabrica: Manufacturing operations (FDA 21 CFR Part 820, ISO 13485)
- Trena: Training coordination (Joint Commission, OSHA compliance)
Sprint 34 - App Standardization Phase
-
Sprint 34 Progress: Database Indexing & Documentation Complete