/home/techb158/balavpn.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.md25710644editdlrm
application-documentation.md275150644editdlrm
conversation-log.md185030644editdlrm
dashboard-spec.md36910644editdlrm
database-guide.md378260644editdlrm
development-summary.md70700644editdlrm
github-architecture.svg62880644editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/docs/19-final-report-draft.md (6814B)
# COSMIC AI-Risk Dashboard: Final Report Draft ## 1. Project title COSMIC AI-Risk Dashboard: A Software Prototype for Measuring, Tracking, and Governing AI Project Risks ## 2. Project context AI projects are difficult to manage with traditional project management tools because they involve uncertainty in data quality, model behavior, performance stability, deployment readiness, ethical review, legal review, and organizational adoption. The COSMIC AI-Risk Dashboard transforms the COSMIC AI-Risk conceptual direction into a working software prototype. The prototype supports risk registration, risk scoring, mitigation tracking, deployment gate decisions, reporting, role-based access control, and integration with multiple project management applications. ## 3. Source-derived foundation The source framework provides the conceptual basis for the dashboard. It identifies the need for a measurable AI project risk framework and emphasizes: 1. Organizational, technical, and human risk dimensions. 2. ISO-style measurement logic. 3. Explicit indicators and interpretation rules. 4. A software prototype and REST API. 5. Integration with project management tools. 6. Validation and transfer to practical usage. ## 4. Software implementation extension The software architecture is an operational extension of the source framework. The thesis and COSMIC presentation provide the conceptual direction. The dashboard adds implementation-specific details such as: 1. JSON storage layer for prototype persistence. 2. Domain repositories for projects, risks, mitigations, gates, indicators, users, roles, and integrations. 3. Risk scoring service. 4. Deployment gate service. 5. Reporting service. 6. OAuth and live connector service. 7. Role-based access control service. 8. Production configuration and backup service. ## 5. Research and engineering problem The main problem is that AI project risks are often tracked qualitatively, inconsistently, and separately from project execution tools. The dashboard addresses this by turning risk information into measurable indicators, workflow controls, and exportable evidence. ## 6. Project objectives | Objective | Implementation evidence | |---|---| | Quantify AI project risk | Risk scoring engine and normalized risk values | | Track risk dimensions | Organizational, technical, and human risk categories | | Manage mitigations | Mitigation workflow with evidence and residual risk impact | | Support deployment decisions | Deployment gate evaluation and reviewer decision workflow | | Integrate with PM tools | Trello, Jira, Asana, and Microsoft Planner adapter layer | | Provide audit evidence | Reports, audit trail, gate history, and exports | | Support governance roles | Role-based access control and permission matrix | | Prepare deployment | Docker, Nginx, systemd, security headers, and readiness checks | ## 7. Application architecture The prototype uses a dependency-light Node.js backend and a browser-based frontend. The system is divided into: 1. Public dashboard UI. 2. HTTP API layer. 3. Domain services. 4. Repository layer. 5. JSON storage engine. 6. Security and access control layer. 7. Integration adapter layer. 8. Operations layer. ## 8. Main modules ### 8.1 Risk management Users can create, edit, delete, and classify AI risks. Each risk belongs to a lifecycle phase and governance dimension. Risks have probability, impact, detectability, status, owner, and approval state. ### 8.2 Risk scoring The scoring model calculates raw and normalized risk values. It also supports residual risk after mitigation progress and effectiveness are considered. ### 8.3 Mitigation workflow Mitigation actions are linked to risks. They include owner, status, progress, effectiveness, due date, and evidence references. ### 8.4 Deployment gate The gate evaluates deployment readiness based on risk score, critical risks, mitigation completion, data readiness, model metrics, legal review, ethical review, and approval state. ### 8.5 Reporting and export The system produces executive reports, risk register exports, mitigation exports, gate reports, indicator reports, integration reports, and audit reports. ### 8.6 Project management integrations The system supports an integration adapter layer for Trello, Jira, Asana, and Microsoft Planner. The current implementation includes simulated synchronization and live client boundaries for OAuth-enabled production integration. ### 8.7 Role-based access control The system includes roles such as System Admin, Project Manager, Risk Owner, AI Engineer, Governance Reviewer, Legal/Ethics Reviewer, Integration Admin, and Read-only Viewer. ### 8.8 Production hardening The app includes security headers, content security policy, environment checks, readiness checks, backup support, Docker deployment, Nginx reverse proxy guidance, and systemd guidance. ## 9. Design artifacts | Design artifact | File | |---|---| | Design study | `docs/00-design-study.md` | | UML class diagram | `docs/01-uml-class-diagram.puml` | | Use case diagram | `docs/02-use-case-diagram.puml` | | Sequence diagrams | `docs/03-sequence-diagrams.puml` | | Database entity model | `docs/04-database-entity-model.mmd` | | SQL schema draft | `docs/05-database-schema.sql` | ## 10. Testing summary The prototype includes automated tests for: 1. Risk engine. 2. Storage layer. 3. API workflow. 4. Mitigation workflow. 5. Gate workflow. 6. PM integration workflow. 7. OAuth and live connector boundaries. 8. Reporting workflow. 9. Access control. 10. Production hardening. ## 11. Evaluation result The prototype demonstrates a complete academic software engineering path: 1. Conceptual framework interpretation. 2. UML and database design. 3. Backend service implementation. 4. Frontend dashboard implementation. 5. API development. 6. Integration design. 7. Security and access control. 8. Reporting and deployment documentation. ## 12. Limitations The current prototype uses JSON storage instead of a production database. OAuth live integrations require real credentials and provider app registration. The scoring model is an implementation proposal and should be calibrated through empirical validation. ## 13. Future work 1. Replace JSON storage with PostgreSQL or SQLite. 2. Add full user authentication. 3. Complete live production connectors. 4. Add PDF server-side report generation. 5. Add real-time notifications. 6. Validate the scoring model with industrial case data. 7. Prepare final defense presentation. ## 14. Conclusion The COSMIC AI-Risk Dashboard converts the source framework into a working software prototype. It demonstrates how AI project risk can be measured, governed, mitigated, reviewed, integrated into project management tools, and exported as evaluation evidence.