mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-17 08:02:12 -06:00
0e280f2d33
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.