/home/techb158/cosmic.abdallabala.com/docs
Edit: /home/techb158/cosmic.abdallabala.com/docs/02-use-case-diagram.puml (3763B)
@startuml
left to right direction
skinparam shadowing false
skinparam packageStyle rectangle
title COSMIC AI-Risk Dashboard, Use Case Diagram
actor "Project Manager" as PM
actor "AI Engineer / Data Scientist" as DS
actor "Risk Owner" as RO
actor "Governance Reviewer" as GR
actor "Legal / Ethics Reviewer" as LR
actor "System Admin" as SA
actor "Trello User" as TU
actor "Jira User" as JU
actor "Asana User" as AU
actor "Microsoft Planner User" as MPU
actor "External PM Tool" as EPM
actor "Deployment Operator" as DO
rectangle "COSMIC AI-Risk Dashboard" {
usecase "Create AI project" as UC1
usecase "Select AI project type" as UC2
usecase "Define lifecycle phase" as UC3
usecase "Register AI risk" as UC4
usecase "Score risk" as UC5
usecase "Assign risk owner" as UC6
usecase "Add mitigation action" as UC7
usecase "Attach evidence" as UC8
usecase "Track mitigation progress" as UC9
usecase "Record indicator measurement" as UC10
usecase "Track experiment" as UC11
usecase "Record model metrics" as UC12
usecase "Evaluate deployment gate" as UC13
usecase "Approve or accept risk" as UC14
usecase "Generate dashboard report" as UC15
usecase "Export instructor report" as UC16
usecase "Manage users and roles" as UC17
usecase "Switch active actor role" as UC24
usecase "Enforce API permission" as UC25
usecase "Sync PM work item" as UC18
usecase "Receive project-management update" as UC19
usecase "View audit trail" as UC20
usecase "Export risk register CSV" as UC21
usecase "Export mitigation CSV" as UC22
usecase "Export full evidence package" as UC23
}
PM --> UC1
PM --> UC2
PM --> UC3
PM --> UC6
PM --> UC13
PM --> UC15
PM --> UC16
PM --> UC20
PM --> UC21
PM --> UC22
PM --> UC23
PM --> UC25
DS --> UC10
DS --> UC11
DS --> UC12
DS --> UC8
RO --> UC4
RO --> UC5
RO --> UC7
RO --> UC9
RO --> UC14
RO --> UC8
RO --> UC25
GR --> UC13
GR --> UC14
GR --> UC15
GR --> UC20
GR --> UC23
GR --> UC25
LR --> UC10
LR --> UC14
LR --> UC8
SA --> UC17
SA --> UC24
SA --> UC25
SA --> UC20
TU --> UC18
JU --> UC18
AU --> UC18
MPU --> UC18
EPM --> UC19
UC4 .> UC5 : include
UC4 .> UC6 : include
UC7 .> UC9 : include
UC10 .> UC8 : extend
UC11 .> UC12 : include
UC13 .> UC5 : include
UC13 .> UC10 : include
UC13 .> UC14 : extend
UC15 .> UC20 : include
UC16 .> UC21 : include
UC16 .> UC22 : include
UC16 .> UC23 : include
UC18 .> UC4 : include
UC19 .> UC18 : extend
note bottom of UC13
Deployment gate checks risk status,
mitigation completeness, approval state,
model metrics, data readiness,
ethical review, and legal review.
end note
' Step 7.1 extension, live integration use cases
usecase "Configure OAuth credentials" as UC_OAUTH_CONFIG
usecase "Generate provider authorization URL" as UC_OAUTH_URL
usecase "Store encrypted OAuth token" as UC_OAUTH_TOKEN
usecase "Test live PM connection" as UC_LIVE_TEST
usecase "Create or update external PM work items" as UC_LIVE_SYNC
usecase "Review connector credential status" as UC_CRED_STATUS
SA --> UC_OAUTH_CONFIG
PM --> UC_OAUTH_URL
PM --> UC_LIVE_TEST
PM --> UC_LIVE_SYNC
GR --> UC_CRED_STATUS
UC_OAUTH_URL --> UC_OAUTH_TOKEN
UC_LIVE_SYNC --> UC_CRED_STATUS
' Step 9 extension, production operations use cases
usecase "Check application readiness" as UC_READY
usecase "Review security configuration" as UC_SECURITY_STATUS
usecase "Create database backup" as UC_BACKUP_CREATE
usecase "List backup manifests" as UC_BACKUP_LIST
usecase "Deploy behind HTTPS reverse proxy" as UC_DEPLOY_PROXY
DO --> UC_READY
DO --> UC_SECURITY_STATUS
DO --> UC_BACKUP_CREATE
DO --> UC_BACKUP_LIST
DO --> UC_DEPLOY_PROXY
SA --> UC_SECURITY_STATUS
SA --> UC_BACKUP_CREATE
SA --> UC_BACKUP_LIST
UC_DEPLOY_PROXY .> UC_READY : include
UC_BACKUP_CREATE .> UC_BACKUP_LIST : extend
@enduml