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(pillars-20-24): Skill, Department, ScopeGuard, PrivatePractice, Innovation — v6.8.0
Pillars 20-24: Visceral Surgery Chief Toolkit for peripheral hospital context
Pillar 20 — Skill System (/api/v1/skill)
- ProcedureStandard with versioned technique cards (plan A/B, critical points)
- ImprovementEntry 5-min post-op debrief with confidence tracking
- SimulationSession gamification: streak days, personal bests
- 6 core visceral templates: Lichtenstein, McBurney, Kocher, Adhesiolysis, Peritonitis, Rives-Stoppa
Pillar 21 — Department Engine (/api/v1/department)
- AdmissionDecision rule-based triage (admit/optimize/transfer)
- RapidProtocol step tracking with overdue detection
- ScannerRequest delay KPI monitoring
- BlocSafetyCheck 6 critical items with failure detection
- 4 rapid protocols: Peritonitis, Bowel Obstruction, GI Bleeding, Incarcerated Hernia
Pillar 22 — Scope Guard (/api/v1/scopeguard)
- OperativePerimeter (allowed/restricted/forbidden procedure rules)
- PlanDecision engine: ASA/ICU/anesthesia → Plan A, B, or Transfer
- TransferRecord…