better-monitor-61654
07/11/2026, 11:53 AMbetter-monitor-61654
07/11/2026, 1:52 PMparent_id attribute in the events.
Will there be backward compatibility?calm-artist-7206
07/11/2026, 2:10 PMcalm-artist-7206
07/11/2026, 2:10 PMcalm-artist-7206
07/11/2026, 2:10 PMbetter-monitor-61654
07/11/2026, 2:10 PMbetter-monitor-61654
07/11/2026, 2:11 PMcalm-artist-7206
07/11/2026, 2:12 PMcalm-artist-7206
07/11/2026, 2:14 PMbetter-monitor-61654
07/11/2026, 2:15 PMcalm-artist-7206
07/11/2026, 2:16 PMcalm-artist-7206
07/11/2026, 2:16 PMbetter-monitor-61654
07/11/2026, 2:17 PMcalm-artist-7206
07/11/2026, 2:19 PMcalm-artist-7206
07/11/2026, 2:20 PMcalm-artist-7206
07/11/2026, 2:24 PMI'm using git repos for all componentsI think there's an env var for the agent-server to run, so it picks it up from the repo
better-monitor-61654
07/11/2026, 2:29 PMcommit cf6c2a3a4ace65b651ea29032ab6b4a74d7bb41a (HEAD -> upstream, origin/main, origin/HEAD)
Author: Graham Neubig <neubig@gmail.com>
Date: Sat Jul 11 13:05:37 2026 +0200
[codex] fix ACP prompt argument order (#3996)
Co-authored-by: Graham Neubig <gneubig@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: neubig <neubig@users.noreply.github.com>better-monitor-61654
07/11/2026, 2:30 PMbetter-monitor-61654
07/11/2026, 2:31 PMcalm-artist-7206
07/11/2026, 2:40 PMPrevious events are not sent to the LLMIs this with the same conversation you tried before already, or a different conversation from the past, which you just restored on the new version?
calm-artist-7206
07/11/2026, 2:40 PMbetter-monitor-61654
07/11/2026, 2:40 PMbetter-monitor-61654
07/11/2026, 2:41 PMcalm-artist-7206
07/11/2026, 2:42 PMroot eventbetter-monitor-61654
07/11/2026, 2:42 PMcalm-artist-7206
07/11/2026, 2:42 PMbetter-monitor-61654
07/11/2026, 2:44 PM"parent_id":"__root__"calm-artist-7206
07/11/2026, 2:45 PMbetter-monitor-61654
07/11/2026, 2:46 PMcalm-artist-7206
07/11/2026, 2:46 PMbetter-monitor-61654
07/11/2026, 2:47 PMbetter-monitor-61654
07/11/2026, 2:48 PMcalm-artist-7206
07/11/2026, 2:49 PM__root__ and it shouldn't, it should be linked to the previous non-system event
But first answer Christopher's latest question please.bland-bear-604
07/11/2026, 2:53 PMparent_id, and the fix isn't to strip them all — it's to fix the one event that has the wrong value.
How the walk works (event_store.py::_effective_parent_id): to rebuild context the agent walks child→parent from the newest event. For each event:
• parent_id == "__root__" → hard stop (this is the reserved ROOT_PARENT_ID sentinel — "I am a root, walk ends here")
• parent_id set to a real id → follow it (new tree events)
• no parent_id at all → fall back to the previous file (idx-1). This is the legacy back-compat path, so old flat-log events with no field load fine, unbranched.
So your orphaning isn't caused by missing parent_ids — it's caused by one event at the tail (the first one written after you resumed across the 1.29.3→1.33.x boundary) getting stamped parent_id: "__root__". That sentinel cuts the walk off from all the older events, even though they're all still on disk.
To answer directly:
• "Must all events have a parent_id?" — No. Legacy events without it are correct; leave them alone.
• "Can we just remove the parent_id?" — Only on that one offending event. If you clear "__root__" from it, it falls back to the previous file (idx-1) and the history reconnects; the precise fix is to re-link it to the id of the previous non-system event. Don't bulk-remove parent_ids from the whole log — that would break any genuine tree links.
Worked trace + recovery steps here: https://enyst.github.io/arch/eventlog-resume-orphaned-history.html
On the corrupted meta.json on every restart — that's a separate issue; I'll look at it too. And Engel's asked me to open a one-time migration PR for the __root__-at-the-tail case so this heals automatically instead of by hand. 🐾better-monitor-61654
07/11/2026, 2:55 PMbetter-monitor-61654
07/11/2026, 2:55 PMcalm-artist-7206
07/11/2026, 2:56 PMcalm-artist-7206
07/11/2026, 2:56 PMbetter-monitor-61654
07/11/2026, 2:57 PMcalm-artist-7206
07/11/2026, 2:57 PMbetter-monitor-61654
07/11/2026, 2:58 PMcalm-artist-7206
07/11/2026, 3:01 PMbetter-monitor-61654
07/11/2026, 3:14 PMbetter-monitor-61654
07/11/2026, 3:14 PMbetter-monitor-61654
07/11/2026, 3:21 PMroot parent_id issue, I think you already got it covered.better-monitor-61654
07/11/2026, 3:50 PMbetter-monitor-61654
07/11/2026, 3:51 PMcalm-artist-7206
07/11/2026, 4:50 PMbetter-monitor-61654
07/11/2026, 4:51 PMbetter-monitor-61654
07/11/2026, 4:53 PMbetter-monitor-61654
07/11/2026, 4:53 PMbetter-monitor-61654
07/11/2026, 4:54 PMcalm-artist-7206
07/11/2026, 4:54 PMbetter-monitor-61654
07/11/2026, 4:54 PMcalm-artist-7206
07/11/2026, 4:54 PMbetter-monitor-61654
07/11/2026, 4:55 PMbetter-monitor-61654
07/11/2026, 4:55 PMcalm-artist-7206
07/11/2026, 4:55 PMcalm-artist-7206
07/11/2026, 4:56 PMcalm-artist-7206
07/11/2026, 4:56 PMbetter-monitor-61654
07/11/2026, 4:57 PMcalm-artist-7206
07/11/2026, 4:58 PMbetter-monitor-61654
07/11/2026, 4:58 PMbetter-monitor-61654
07/11/2026, 4:58 PMcalm-artist-7206
07/11/2026, 4:58 PMbetter-monitor-61654
07/11/2026, 4:59 PMcalm-artist-7206
07/11/2026, 5:01 PMcalm-artist-7206
07/11/2026, 5:01 PMbetter-monitor-61654
07/11/2026, 5:01 PMcalm-artist-7206
07/11/2026, 5:05 PMcalm-artist-7206
07/11/2026, 5:05 PMcalm-artist-7206
07/11/2026, 5:05 PMbland-bear-604
07/11/2026, 5:22 PM