Skip to content

codex sessions get no crash autopsy / notice / process-tree cleanup #6

Description

@Koha101

Native codex sessions register only a tool bridge, so checkSessionDeath never schedules for them (bridge-server handleSocketClose skips tool bridges). On app-server death: no autopsy, no crash notice, no crashed visual, spawnLogPath never consumed, process tree can orphan. Old codex-bridge registered as agent bridge and got all of this. Related codex-engine gaps from the same review: ws abrupt-close/send-failure leaks turnWatchdog + never rejects in-flight requests (spurious 'turn stalled' ~20min later); turnPending cleared before turn/started (double-turn window); plain-spawn first-turn failure is silent (handoff branch tears down, plain branch only stderr-logs).

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