fix: persist orphaned user leaf repair#76969
Conversation
|
Codex review: needs real behavior proof before merge. Summary Reproducibility: yes. source-reproducible: a file-backed Real behavior proof Next step before merge Security Review detailsBest possible solution: Land this or an equivalent narrow persisted leaf-removal fix after redacted real behavior proof is added and focused embedded-runner validation stays green. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: a file-backed Is this the best way to solve the issue? Yes for the code direction, but not yet for merge readiness. Rewriting the file-backed What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 333f65fc8a12. |
3f0aa8e to
e42bcee
Compare
|
Maintenance sweep after
Not closing this as fixed-by-release. |
Summary
SessionManagerbranchunbound-methodfailure in the Discord draft preview callback path that CI surfaced on this branchFixes #76968.
Test plan
pnpm lint --threads=8pnpm exec vitest run src/agents/pi-embedded-runner/run/attempt.test.ts --config test/vitest/vitest.unit.config.tspnpm tsgo:test:src