# Trust Algebra Panel Angular Components ## Module Web ## Status VERIFIED ## Description Angular component suite for visualizing the VEX trust lattice: TrustAlgebraComponent (main panel), ConfidenceMeterComponent, ClaimTableComponent, PolicyChipsComponent, plus models and service. Distinct from existing features like "Proof Studio UX" or "Evidence Panel UI" -- this is specifically the trust algebra visualization with claim table and policy chip views. ## Implementation Details - **Feature directory**: `src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/` - **Components**: - `claim-table` (`src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/claim-table.component.ts`) - `confidence-meter` (`src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/confidence-meter.component.ts`) - `policy-chips` (`src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/policy-chips.component.ts`) - `replay-button` (`src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/replay-button.component.ts`) - `trust-algebra` (`src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/trust-algebra.component.ts`) - `trust-algebra-workbench` (`src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/trust-algebra-workbench.component.ts`) - `trust-vector-bars` (`src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/trust-vector-bars.component.ts`) - **Services**: - `trust-algebra` (`src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/trust-algebra.service.ts`) - **Models**: - `src/Web/StellaOps.Web/src/app/features/vulnerabilities/components/trust-algebra/trust-algebra.models.ts` - **Route surface**: - `/policy/trust-algebra` (`src/Web/StellaOps.Web/src/app/features/policy/policy.routes.ts`) - **Behavior coverage**: - `src/Web/StellaOps.Web/src/tests/vulnerabilities/trust-algebra-panel-angular-components.behavior.spec.ts` - **Source**: SPRINT_7100_0003_0001_ui_trust_algebra.md ## E2E Test Plan - **Setup**: - [ ] Log in with a user that has appropriate permissions - [ ] Navigate to `/policy/trust-algebra` - [ ] Ensure trust-manifest fixture data is available to the panel - **Core verification**: - [ ] Verify trust algebra workbench renders panel and replay mode toggle - [ ] Verify accepted claim drives trust-vector summary and section toggles remain deterministic - [ ] Verify policy chips are read-only when replay mode is active and interactive otherwise - **Edge cases**: - [ ] Verify claim table tie ordering remains deterministic when scores are equal - [ ] Verify row interaction emits claim selection events - [ ] Verify route declaration remains present in policy routes ## Verification - Run ID: `docs/qa/feature-checks/runs/web/trust-algebra-panel-angular-components/run-001/` - Date (UTC): 2026-02-11 - Tier 0: PASS (source/symbol verification for trust algebra components, route wiring, and behavior harness). - Tier 1: PASS (`npm run test` focused suite: 23 files / 114 tests; `npm run build` passed with known baseline warnings). - Tier 2: PASS (route/workbench exposure, deterministic trust-vector + claim ordering semantics, replay-mode read-only policy actions, and claim selection interactions).