1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! MCP server-mode `PhaseDriver` implementation.
//!
//! `McpServerDriver` listens for JSON-RPC requests from an AI agent
//! client, dispatches responses based on the current OATF phase's
//! effective state, applies behavioral modifiers (delayed, `slow_stream`,
//! `notification_flood`, etc.), supports elicitation interleaving, and
//! emits protocol events for the `PhaseLoop` to process.
//!
//! `McpTransportEntryActionSender` implements `EntryActionSender` to
//! deliver phase-transition notifications and elicitations over the
//! transport.
//!
//! See TJ-SPEC-013 ยง8.2 for the MCP server driver specification.
// pub(crate): context.rs uses a2a_skill_array/a2a_skill_name for the
// context-mode A2A shim. pub for fuzzing.
pub
pub use ;