Skip to content

session-end hook fork-bomb: handler isDetached recheck false after readArgvInput unlink #500

Description

@libz-renlab-ai

bin-session-end.ts handler 中 isDetachedPipelineInvocation 在 readArgvInput unlink tmp 后必然返回 false,handler 误走 foreground 分支无限 spawn detached child。缺 per-cwd 单例锁放大问题。详见 docs/debugging/session-end-hook-cpu-storm.md(失效点 E)+ docs/debugging/unlink-then-recheck-antipattern.md。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions