TenantAtlas/app
ahmido 1142d283eb feat: Spec 178 — Operations Lifecycle Alignment & Cross-Surface Truth Consistency (#209)
## Spec 178 — Operations Lifecycle Alignment & Cross-Surface Truth Consistency

Härtet die Run-Lifecycle-Wahrheit und Cross-Surface-Konsistenz über alle zentralen Operator-Flächen hinweg.

### Kern-Änderungen

**Lifecycle Truth Alignment**
- Einheitliche stale/stuck-Semantik zwischen Tenant-, Workspace-, Admin- und System-Surfaces
- `OperationRunFreshnessState` wird konsistent über alle Widgets und Seiten propagiert
- Gemeinsame Problem-Klassen-Trennung: `terminal_follow_up` vs. `active_stale_attention`

**BulkOperationProgress Freshness**
- Overlay zeigt nur noch `healthyActive()` Runs statt alle aktiven Runs
- Likely-stale Runs halten das Polling nicht mehr künstlich aktiv
- Terminal Runs verschwinden zeitnah aus dem Progress-Overlay

**Decision Zone im Run Detail**
- Stale/reconciled Attention in der primären Decision-Hierarchie
- Klare Antworten: aktiv? stale? reconciled? nächster Schritt?
- Artifact-reiche Runs behalten Lifecycle-Truth vor Deep-Diagnostics

**Cross-Surface Link-Continuity**
- Dashboard → Operations Hub → Run Detail erzählen dieselbe Geschichte
- Notifications referenzieren korrekte Problem-Klasse
- Workspace/Tenant-Attention verlinken problemklassengerecht

**System-Plane Fixes**
- `/system/ops/failures` 500-Error behoben (panel-sichere Artifact-URLs)
- System-Stuck/Failures zeigen reconciled stale lineage

### Weitere Fixes
- Inventory auth guard bereinigt (Gate statt ad-hoc Facades)
- Browser-Smoke-Tests stabilisiert (DOM-Assertions statt fragile Klicks)
- Test-Assertion-Drift für Verification/Lifecycle-Texte korrigiert

### Test-Ergebnis
Full Suite: **3269 passed**, 8 skipped, 0 failed

### Spec-Artefakte
- `specs/178-ops-truth-alignment/spec.md`
- `specs/178-ops-truth-alignment/plan.md`
- `specs/178-ops-truth-alignment/tasks.md`
- `specs/178-ops-truth-alignment/research.md`
- `specs/178-ops-truth-alignment/data-model.md`
- `specs/178-ops-truth-alignment/quickstart.md`
- `specs/178-ops-truth-alignment/contracts/operations-truth-alignment.openapi.yaml`

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #209
2026-04-05 22:42:24 +00:00
..
Console/Commands feat: implement baseline subject resolution semantics (#193) 2026-03-25 12:40:45 +00:00
Contracts/Hardening feat: provider access hardening (RBAC write gate) (#132) 2026-02-23 00:49:37 +00:00
Exceptions feat: implement evidence domain foundation (#183) 2026-03-19 13:32:52 +00:00
Filament feat: Spec 178 — Operations Lifecycle Alignment & Cross-Surface Truth Consistency (#209) 2026-04-05 22:42:24 +00:00
Http feat: harden finding governance health surfaces (#197) 2026-03-28 10:11:12 +00:00
Jobs feat: implement inventory coverage truth (#208) 2026-04-05 12:35:20 +00:00
Listeners 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
Livewire feat: Spec 178 — Operations Lifecycle Alignment & Cross-Surface Truth Consistency (#209) 2026-04-05 22:42:24 +00:00
Models feat: Spec 178 — Operations Lifecycle Alignment & Cross-Surface Truth Consistency (#209) 2026-04-05 22:42:24 +00:00
Notifications feat: consolidate operation naming surfaces (#202) 2026-03-30 22:51:06 +00:00
Observers feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
Policies feat: harden operation lifecycle monitoring (#190) 2026-03-23 21:53:19 +00:00
Providers feat: consolidate operation naming surfaces (#202) 2026-03-30 22:51:06 +00:00
Rules feat/049-backup-restore-job-orchestration (#56) 2026-01-11 15:59:06 +00:00
Services feat: implement inventory coverage truth (#208) 2026-04-05 12:35:20 +00:00
Support feat: Spec 178 — Operations Lifecycle Alignment & Cross-Surface Truth Consistency (#209) 2026-04-05 22:42:24 +00:00