I was bringing Wingman's conversation-memory tests into the normal backend run. The old fixture opened the application's configured database and cleared conversation-history rows during teardown. The tests needed one table, so I bound the code under test to a fresh in-memory SQLite database for each case.1
That let me check both sides of the handoff. The generation test checks that retrieval receives the Slack channel and that the Pi mock receives the conversation ID and request ID. It then queries the history table to check that the turn left no row. Retrieval and Pi generation both use mocks in that test, while the history assertion runs against the real SQLite table.
All seven memory tests now run under mise run test-backend, including the cases that exercise reads, writes and the conversation window.