[dev] [Marfuen] mariano/cs-316-bug-progress-tracking-issues-and-missing-documents-link-in
Merged
GI
6mo ago+748+748+012345678901234567890123456789-89-89-01234567890123456789
This is an automated pull request to merge mariano/cs-316-bug-progress-tracking-issues-and-missing-documents-link-in into dev.
It was created by the [Auto Pull Request] action.
Summary by cubic
Fixes progress mismatches and restores document evidence in the Framework tab (CS-316). Compliance now reflects policies, tasks, and recent document submissions across overview, requirements, and controls.
-
Bug Fixes
- Compute control/requirement/framework status from policies, tasks, and fresh documents; use
submittedAtfor the 6‑month check. - Derive requirement status from all control statuses to fix overview vs detail mismatches.
- Use a shared artifact aggregator for Policies/Tasks/Documents so per-control and per-requirement counts exclude stale documents.
- Compute control/requirement/framework status from policies, tasks, and fresh documents; use
-
New Features
- Add compliance bars and status badges on requirements and controls, plus a Documents column on the requirement page.
- Compute requirement compliance % from the average of per-control progress; show a framework-wide % across deduplicated artifacts.
- Paginate requirements and controls tables (10/25/50/100) and add a progress header on the requirement page; add unit tests for the new logic.