cold recovery: recovered=0 failed=1 skipped=11 on boot, plus sporadic DAG activity rejections after (commit 97497bc)
# Issue Draft v2 — homerail 7-20 升级后 cold recovery failed=1 + DAG activity rejected
> 状态: **v2 草稿** (v1 推测根因不准确,改成只描述现象)
> 仓库: xiaotianfotos/homerail
> 日期: 2026-07-21
> 提交者: scott (self-hosted homerail on Synology DSM)
---
## Title
`cold recovery: recovered=0 failed=1 skipped=11` on boot, plus sporadic DAG activity rejections after #80 (commit 97497bc)
---
## Body
### Environment
- homerail @ commit `97497bc` (PR #80 simplify local runtime setup)
- Worker image rebuilt via `node homerail_cli/dist/cli.js start --rebuild-worker-image`
- All local dists rebuilt in order: `homerail_plugin_sdk`, `homerail_protocol`, `homerail_manager`, `homerail_cli`, `homerail_node`
- Self-hosted on Synology DSM 7.2 (x86_64)
### Symptom 1 — Cold recovery reports `failed=1`
Boot banner:
```
homerail_manager listening on 0.0.0.0:19191
cold recovery: recovered=0 failed=1 skipped=11
live surface recovery: projected=1113 failed=0
actor surface recovery: applied=0 stale=0 failed=0
```
`failed=1` is consistent across cold restarts. `manager.log` does not surface which entity failed or why — only the aggregate count.
### Symptom 2 — Sporadic DAG activity rejections
Mid-DAG-run, a handful of draft + review activities get rejected with:
```
Cannot read properties of undefined (reading 'description')
```
DAG runs **still complete** (`status=completed`), so the impact is degraded — not a hard crash — but the rejection rate is non-zero and not predictable.
### What I tried
I tried to instrum...