Complete the Codex host initialization handshake once

This commit is contained in:
2026-11-05 15:49:44 +00:00
parent 46f85556af
commit 1e886faa41
6 changed files with 62 additions and 9 deletions
@@ -47,3 +47,9 @@ The initial deployment cannot rescue callbacks already owned by the old direct
connection; pending interactions must settle before that first replacement.
A helper crash, upstream App Server restart, or expiry breaks callback identity
and remains an explicit limitation. No disk reconstruction is claimed.
Handshake follow-up: the bridge now sends the upstream `initialized` notification
once after a successful initialize response and before declaring readiness.
Downstream initialized notifications remain suppressed on every attach. A real
socket fixture verifies initialize -> initialized ordering and exactly one of
each across client replacement, and the adapter integration checks both counts.