Update nexus wiki content

This commit is contained in:
2026-05-03 05:42:06 +08:00
parent 90f3811b83
commit 111bc65b7b
707 changed files with 32306 additions and 7289 deletions

View File

@@ -0,0 +1,43 @@
---
title: "Zero Data Loss Guarantee"
type: concept
tags: []
last_updated: 2026-05-01
---
## Definition
通过数学约束强制执行 `Source_Rows == Success_Rows + Quarantine_Rows` 的数据修复保证机制。任何不匹配立即触发 Sev-1 告警与系统异常。
## Invariant
```
Source_Rows == Success_Rows + Quarantine_Rows
```
## Row Lifecycle
| State | Description | Destination |
|-------|-------------|-------------|
| `AI_FIXED` | SLM 置信度 ≥ 0.75lambda 验证通过 | Staging → Production |
| `HUMAN_REVIEW` | 置信度 < 0.75,或无法自动修复 | Human Quarantine Dashboard |
## Guarantees
- **Mathematical constraint, not a goal**: 不满足等式时系统立即失败,不允许静默通过
- **Full tracking**: 每条异常行在修复生命周期中始终被追踪
- **No silent corruption**: 修复后的数据先到 staging确认后才写生产
## Alert Conditions
```python
if source != success + quarantine:
trigger_alert(severity="SEV1", message=f"DATA LOSS DETECTED: {missing} rows")
raise DataLossException(...)
```
## Related
- [[Semantic Anomaly Compression]]
- [[Air-Gapped SLM Fix Generation]]
- [[Lambda Safety Gate]]