2.6 KiB
2.6 KiB
Orphan Revival Regression Remediation
Sprint: SPRINT_20260308_024_FE_orphan_revival_regression_remediation.md
Status: Shipped
What changed
This remediation sprint closed the concrete regressions introduced by the orphan-revival batch and kept mounted behavior truthful where the revived shared components did not fit the live hosts.
- Revived shared policy widgets build again: broken
policy-interop.modelsimports were corrected in the shared policy components, and the glossary tooltip directive was fixed for strict-null and typing compliance. - Evidence-thread navigation now stays inside the canonical Evidence shell. Row click and back navigation both use
/evidence/threadsinstead of dead/evidence-threadpaths. - Audit and trust filtering capabilities were restored on mounted pages.
audit-log-tableandtrust-audit-logwere intentionally rolled back to page-local controls so actor filters, multi-select filters, and start/end date filters remain usable. - Fabricated finding evidence was removed from mounted consumers.
FindingsContainerComponentand theReleaseDetailComponentsecurity tab no longer synthesizelast_seen,risk_score, or fake package identities just to satisfy the sharedFindingListComponentcontract.
Bounded rollback decisions
FilterBarComponentremains valid, but not for every list page. Audit-log and trust-audit hosts keep their bespoke filter controls until the shared bar can support their real semantics without loss.FindingListComponentremains available for future truthful adopters, but it is no longer mounted on findings and release-security hosts that would require invented data.
Verification
npm run build- Result: passed
- Notes: only the existing Angular bundle-budget warnings remained
npm test -- --watch=false --include src/tests/orphan_revival/orphan-revival-regression-remediation.spec.ts --include src/tests/evidence/evidence-thread-browser.component.spec.ts --include src/tests/releases/release-detail.live-refresh.spec.ts --include src/app/routes/evidence.routes.spec.ts- Result: passed
- Coverage: policy host rendering, evidence-thread canonical routes, audit/trust filter semantics, truthful findings rendering, release-security rendering, and evidence route declarations
Current shipped state
- Canonical evidence-thread routes are usable and internally consistent.
- Shared policy widgets stay mounted on the active policy surfaces without breaking the app build.
- Audit and trust pages retain their full filtering workflows.
- Findings and release-security views favor truthful bespoke rendering over forced shared-component reuse.