What's new
P1 Foundation Refactor
Complete rewrite of the MCP server internals:
- MCP three-primitive idiom: tools, resources, and prompts correctly categorised per MCP spec
- Configurable wait times: , , env vars
- Timeout-then-poll semantics:
hitl_pollendpoint for async answer retrieval after timeout - HITLQueue: async-safe queue with late-answer caching and stale-future cleanup
- OS desktop notifications: non-blocking notifications via
asyncio.to_thread - Urgency field: morning-batch deferral support on collect/ask/choose
- 387 tests passing (up from ~200 in v1.0.0)
- All CodeRabbit Critical/Major issues resolved across 4 review rounds
Breaking changes
timeout_seconds=0legacy infinite-wait semantics preserved (not routed to new timeout path)- Env key names changed: use
HITL_DEFAULT_WAIT_MINnotHITL_DEFAULT_WAIT