mirror of
https://github.com/bitbaum/openclaw.git
synced 2026-12-04 12:08:03 +01:00
Adds an additive agent_provenance table (shared state DB, schema v8) owned by src/state/agent-provenance.ts. createAgent() records operator/agent provenance after commit, the system-agent create-agent operation passes its own id as creator, and Claw installs record created-via claw at their roster commit point. Agent deletion removes the agent's own row inside the deletion journal transaction; children keep dangling creator ids as historical fact. openclaw agents list gains --tree (provenance hierarchy) and JSON provenance fields.