@@ -397,7 +397,11 @@ The branch already has a real shared SQLite base:
397397 tables are rebuilt under their canonical names.
398398- Subagent run recovery state now lives in typed shared ` subagent_runs ` rows
399399 with indexed child, requester, and controller session keys. The old
400- ` subagents/runs.json ` file is doctor migration input only.
400+ ` subagents/runs.json ` file is Doctor cleanup input only. Its run entries are
401+ transient recovery state, so Doctor records the retirement receipt and
402+ discards the file without importing it. Because a file cannot prove whether
403+ its entries are live or stale after SQLite rows have been pruned, operators
404+ must let file-era active runs settle before upgrading across this boundary.
401405- Current conversation bindings now live in typed shared
402406 ` current_conversation_bindings ` rows keyed by normalized conversation id, with
403407 target agent/session columns, conversation kind, status, expiry, and metadata
@@ -1367,8 +1371,11 @@ sessionId})`; create, branch, continue, list, and fork flows live in their
13671371 OpenClaw temp root. They are recreated as needed and are not backup or
13681372 migration inputs.
13691373- Subagent run registry persistence uses typed shared ` subagent_runs ` rows. The
1370- old ` subagents/runs.json ` path is now only a doctor migration input, and
1371- runtime helper names no longer describe the state layer as disk-backed.
1374+ old ` subagents/runs.json ` path is now only a Doctor cleanup input. Doctor
1375+ claims it under the state maintenance lock, records the discard decision in
1376+ SQLite, and removes it without importing transient run state. No runtime JSON
1377+ reader, writer, cache, or fallback remains; cross-version recovery of file-only
1378+ in-flight runs is intentionally unsupported at this retirement boundary.
13721379 Runtime tests no longer create invalid or empty ` runs.json ` fixtures to prove
13731380 registry behavior; they seed/read SQLite rows directly.
13741381- Backup stages the state directory before archiving, copies non-database files,
0 commit comments