fix(sessions): include subagent metadata in json#83629
Conversation
|
Codex review: needs real behavior proof before merge. Workflow note: Future ClawSweeper reviews update this same comment in place. How this review workflow works
Summary Reproducibility: yes. Source inspection gives a high-confidence path: put a store row with PR rating Rank-up moves:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. PR egg Where did the egg go?
Real behavior proof Risk before merge
Maintainer options:
Next step before merge Security Review detailsBest possible solution: Merge the single projection-path fix after redacted real CLI output proves the fields and maintainers accept the additive default JSON shape, or switch to an explicit opt-in flag if they want the default row to stay thin. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection gives a high-confidence path: put a store row with Is this the best way to solve the issue? Yes, if maintainers accept the default JSON expansion. Adding the existing optional store fields to the single row adapter is the narrowest implementation; the safer alternative is an opt-in flag if path-bearing metadata should not appear by default. Label justifications:
What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 13deea2a9d65. |
Summary
Fixes #80286
Real behavior proof
openclaw sessions --jsonnow includes the stored spawned-session lineage fields instead of dropping them from the JSON projection.node scripts/run-vitest.mjs, then rangit diff --check.Testing