openclaw/docs/automation
Peter Steinberger cc5a7467f9
fix(tasks): record execution ownership and settle orphaned records at restore (#147585)
* fix(tasks): settle orphaned execution records at restore

Record nullable process ownership for Gateway runs and local native harness
processes. Settle confirmed dead owners through the existing restart outcome
normalizer before restored tasks can block another drain. Preserve live,
foreign-host, unknown, and legacy ownership.

Add compatible nullable SQLite columns without changing the schema version.
Reported by @gregbond (#143420).

* fix(tasks): keep unchanged restores read-only

Request write admission only when restored state contains a confirmed orphan,
then reread and revalidate ownership before persisting settlement. Preserve
existing create/delete admission-failure semantics and cover a concurrent
owner rebind.

List the three approved nullable ownership columns in the canonical additive
schema contract test without relaxing its declaration checks.

* fix(tasks): preserve newer flow results during restore

Synchronize a restored orphan's mirrored flow only when that task is the
latest linked record. Keep newer live and completed successors' status,
goal, and terminal timestamps while still settling the orphaned task.

Cover both mixed-owner cases through the registry restore boundary.
2026-09-13 19:08:26 -07:00
..
cron-jobs fix: preserve automation management after subagent waits (#147499) 2026-09-13 17:10:40 -07:00
hooks docs(automation): split the hooks page by reader job (#143041) 2026-09-09 19:53:43 +09:00
cron-jobs.md docs: close the reciprocal-link gaps that need zh-CN glossary sources (#143040) 2026-09-09 19:54:46 +09:00
hooks.md docs: close the remaining ia and ste findings (#144089) 2026-09-10 22:28:26 +08:00
imap.md fix: skip official setup approvals and default to Astra (#145646) 2026-09-12 00:34:25 -07:00
index.md fix(docs): restore anchor ids dropped by heading renames (#143586) 2026-09-10 11:23:48 +09:00
standing-orders.md docs: fix one-way and absolute links across cli, tools, gateway, and channels (#143157) 2026-09-10 07:40:16 +09:00
taskflow.md refactor(tasks): move managed child linkage to shared worker (#146678) 2026-09-12 22:49:31 -07:00
tasks.md fix(tasks): record execution ownership and settle orphaned records at restore (#147585) 2026-09-13 19:08:26 -07:00