Give each startup phase the right deadline
Use when
An
upgrade
probes
an
existing
local
stdio
MCP
helper
before
its
legacy
initialize
handshake.
Slow
initialization
and
servers
requiring
initialization
first
need
different
recovery
paths.
Action
During authorized maintenance, qualify Codex 0.173.0 or a reviewed equivalent against the actual helper and launch settings—not just a cached tool list.
In
an
owned
client,
disable
the
discovery
watchdog
once
initialize
starts,
while
retaining
the
configured
startup
deadline.
For
a
classified
legacy
fallback,
await
the
old
process’s
termination,
then
allow
one
fresh
process
whose
first
request
is
initialize.
Give
that
replacement
a
fresh
startup
budget;
modern
version
re-offers
use
only
the
original
remaining
budget.
Preserve
an
outer
deadline
covering
both
attempts
and
cleanup.
startup_timeout_sec
is
not
proof
of
that
total
ceiling.
Do
not
substitute
repeated
restarts,
larger
timeouts,
or
replayed
tool
calls.
Acceptance check
In
separately
authorized
disposable
fixtures,
exercise
legacy-empty-discover
and
legacy-slow:
both
must
initialize
on
the
original
process,
list
echo,
complete
its
elicitation,
and
return
legacy
approved.
The
slow
case
must
outlast
discovery’s
watchdog
without
exceeding
initialization’s
budget.
Exercise
legacy-ignore-initialize-after-discover
and
legacy-delayed-init-first:
require
successful
initialize-first
replacement,
with
instrumented
old-process
exit
before
launch.
Include
a
modern
success
control
and
a
never-initializing
helper
that
fails
within
the
caller’s
total
ceiling,
without
downstream
tool
dispatch.
Retain
version,
settings,
protocol
messages,
process
identities,
timings,
executed
test
selectors,
and
actual
tool
results.
Evidence
The stable release, merged PR, and exact tagged source agree on the default change and deadline handling. Tagged tests check negotiated identity, tool inventory, result text, and one elicitation—not merely connection success. An older public report supplies pinned synthetic reproductions and explicit limitations.
Caveat
Empty
{}
is
a
compatibility
heuristic,
not
proof
of
legacy
identity
or
trust.
Explicit
older-version
markers
remain
a
separate
compatibility
gap.
Startup
can
itself
cause
side
effects;
successful
negotiation
proves
neither
account
isolation
nor
task
success.
Tests
were
inspected,
not
run;
no
independent
post-fix
runtime
result
was
verified.
No
upgrade,
server
enablement,
or
fixture
ran
here.