openclaw/docs/plugins/sdk-runtime
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
..
agent.md fix(session-share): hide subagents and tool activity (#146598) 2026-09-12 18:19:41 -07:00
background-work.md fix(tasks): record execution ownership and settle orphaned records at restore (#147585) 2026-09-13 19:08:26 -07:00
channel.md docs(plugins): fix accuracy findings across the plugin docs (#143857) 2026-09-10 16:54:53 +08:00
config-and-utilities.md fix(qa): isolate gateway child supervisor state (#146397) 2026-09-12 14:48:45 -07:00
gateway-and-nodes.md fix(plugins): recover reloads and release retired resources (#145816) 2026-09-12 03:27:47 -07:00
media.md fix: skip official setup approvals and default to Astra (#145646) 2026-09-12 00:34:25 -07:00
models.md fix: skip official setup approvals and default to Astra (#145646) 2026-09-12 00:34:25 -07:00
state-and-system.md fix: admit borrowed memory writes through the agent database owner (#146760) 2026-09-13 04:12:26 -07:00