// m9_8_acceptance.rs --- T M9.8 AI-assistance package acceptance. //! Acceptance tests for T M9.8 (`spec/pmacs-tasks.tex:4022`): //! //! 1. Single-buffer context: command on a function selects the //! function as context, sends a prompt, displays response. //! 2. Multi-buffer context: command on a project selects relevant //! files, sends a combined prompt, displays response. //! 3. Configurable MCP server: changing the configured server //! changes the model without code changes. //! //! Plus the architectural-claim tests: //! //! * Server pluggability: configure to server A, invoke; re-configure //! to server B, invoke *same command*, verify the response now //! comes from B. No code changes between the two invocations. //! * Composition with M9.7: ai.* commands land their results in the //! M9.7 `*mcp: