[2/3] fix: protect background sessions and record resource history - #435
slashdevcorpse wants to merge 5 commits into
Conversation
Model: gpt-6
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2afce75259
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Closing to replace the cumulative main-targeted PR with the second layer of a native three-PR GitHub stack in slashdevcorpse/Lody. The implementation is preserved on fix/background-session-resource-history; replacement links will follow. #429 remains open. |
|
Native GitHub stack #5 in slashdevcorpse/Lody, created with gh stack link:
Replaces the closed cross-fork #430 and #435. Each PR has an incremental diff against its predecessor. GitHub native stacks require all branches in the same repository, so this stack is in the contributor fork. It has not merged or landed upstream; #429 remains open. |
Related issue
Refs #429
Problem / pressure
Idle and memory-pressure eviction can discard a session after its parent turn finishes even when a background task or ACP terminal watch remains active. Current resource snapshots also disappear without a bounded record of process identity, resource use, or cleanup outcome.
Summary
Replacement native stack
Native GitHub stack #6 in slashdevcorpse/Lody, created with gh stack link:
Replaces the closed cross-fork #430 and #435. Each PR has an incremental diff against its predecessor. GitHub native stacks require all branches in the same repository, so this stack is in the contributor fork. It has not merged or landed upstream; #429 remains open.
Test plan
Context handoff
Instructions for reviewing agents
Authoring context