Skip to content

A-3: Unbounded readline() wait -- no timeout on MCP calls #2

Description

@tcconnally

lines 237-252

_mcp_send blocks indefinitely waiting for matching response id. A wedged Mimir (e.g. via A-1, or long FTS query) blocks Anna's entire plugin loop with no deadline.

Impact: MEDIUM -- one slow/stuck call freezes all memory tools.

Fix: Read with deadline (selectors on POSIX, reader thread + queue timeout for portability).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions