/home/techb158/cosmic-risk.abdallabala.com/docs
NameSizeModeActions
00-design-study.md36780644editdlrm
01-uml-class-diagram.puml118690644editdlrm
02-use-case-diagram.puml37630644editdlrm
03-sequence-diagrams.puml97320644editdlrm
04-database-entity-model.mmd70510644editdlrm
05-database-schema.sql133720644editdlrm
06-diagram-preview.html50210644editdlrm
07-design-checklist.md32560644editdlrm
08-step-2-storage-layer.md53250644editdlrm
09-step-3-risk-crud-ui.md33800644editdlrm
10-step-4-mitigation-workflow.md39960644editdlrm
11-step-5-deployment-gate-workflow.md22920644editdlrm
12-step-6-multi-pm-integration.md37700644editdlrm
13-step-6-1-microsoft-planner-integration.md23350644editdlrm
14-step-7-reporting-export.md41580644editdlrm
15-step-7-1-oauth-live-connectors.md45450644editdlrm
16-step-8-user-roles-access-control.md32970644editdlrm
17-step-9-production-deployment-security.md42280644editdlrm
18-step-10-final-academic-submission.md31990644editdlrm
19-final-report-draft.md68140644editdlrm
20-instructor-submission-checklist.md36390644editdlrm
21-demo-script.md39480644editdlrm
22-traceability-matrix.md48470644editdlrm
23-testing-evidence.md29610644editdlrm
24-evaluation-rubric-mapping.md29100644editdlrm
25-final-deployment-runbook.md32140644editdlrm
26-known-limitations-and-future-work.md26320644editdlrm
27-final-qa-checklist.md28930644editdlrm
28-demo-rehearsal-script.md36180644editdlrm
29-submission-freeze-report.md27690644editdlrm
30-final-known-issues.md18760644editdlrm
31-saas-rebuild-implementation.md25730644editdlrm
application-documentation.md275150644editdlrm
conversation-log.md185030644editdlrm
dashboard-spec.md36910644editdlrm
database-guide.md378260644editdlrm
development-summary.md70700644editdlrm
github-architecture.svg62880644editdlrm
integration-pull-push-plan.md73840644editdlrm
Edit: /home/techb158/cosmic-risk.abdallabala.com/docs/00-design-study.md (3678B)
# COSMIC AI-Risk Dashboard, Design Study Before Development Version: 0.2 Date: 2026-07-03 ## 1. Purpose This document defines the design layer that must be studied before continuing application development. It covers: 1. UML Class Diagram 2. Use Case Diagram 3. Sequence Diagrams 4. Database Entity Model 5. Database schema draft 6. Traceability from source framework to software implementation The source framework provides the conceptual foundation. The dashboard, classes, entities, APIs, scoring logic, and multi-project-management integration are software design extensions that operationalize that foundation. ## 2. Source-derived concepts The source deck supports the following core concepts: | Source concept | Dashboard design implication | |---|---| | AI risks must be quantified through organizational, technical, and human dimensions | Store risk dimension and calculate dimension-level scores | | Existing frameworks are mostly qualitative and lack ISO 15939-aligned indicators | Create indicator entities with measurand, unit, threshold, and interpretation rule | | COSMIC-Risk includes a software prototype and REST API | Design API-facing classes, service layer, and persistent database entities | | The methodology includes API architecture, risk engine implementation, and PM tool integration | Include Trello, Jira, Asana, and Microsoft Planner mapping entities and sync sequences | | AI Governance Triangle uses organizational, technical, and human dimensions | Use these as first-class dimensions across UI, database, and risk scoring | | COSMIC-Risk adapts to project profiles | Store project type and apply future weighting by project profile | ## 3. Implementation extensions The following items are proposed software design decisions, not direct thesis or source-deck claims: | Extension | Reason | |---|---| | Normalized risk score from 0 to 100 | Makes risks comparable in dashboard widgets and gate rules | | Residual risk calculation after mitigation | Shows whether mitigation actions reduce deployment risk | | Deployment gate criteria | Converts measurement outputs into a project governance decision | | Trello, Jira, Asana, and Microsoft Planner mapping | Integrates the framework into project-management workflows | | Audit events | Provides traceability for instructor review and future governance use | | JSON first storage, then SQL migration | Allows fast prototype development while preserving a database-ready model | ## 4. Target architecture The dashboard should use a layered structure: ```text Browser UI calls REST API API controllers validate requests and return JSON Application services risk scoring, mitigation workflow, gate evaluation, PM tool sync Domain model project, risk, indicator, mitigation, experiment, gate, user, audit Persistence layer JSON storage in MVP, SQL database in later version External integrations Trello, Jira, Asana, and external project management tools ``` ## 5. Diagram inventory | File | Purpose | |---|---| | `01-uml-class-diagram.puml` | Domain and service class structure | | `02-use-case-diagram.puml` | Actors and functional scope | | `03-sequence-diagrams.puml` | Main interaction flows | | `04-database-entity-model.mmd` | Mermaid ER model | | `05-database-schema.sql` | SQL schema draft | | `06-diagram-preview.html` | Browser preview for Mermaid database model | | `07-design-checklist.md` | Instructor-facing design checklist | ## 6. Development rule from this study Do not add more dashboard features until each feature maps to: 1. A use case 2. A domain class 3. A database entity or storage object 4. A service method 5. An API endpoint 6. A test case