discord: simplify ConversationLedger to offsets + in-memory dedup
Replace the full inbox state machine (admit/start/setTarget/setPrompt/ setResponse/complete/retry/prune/replayPending) with three methods: dedup (bounded in-memory Set), getOffset, and setOffset. Discord is already the durable inbox — on startup we just resume from persisted offsets per source. Within a session, in-memory dedup prevents double-processing. This removes ~565 lines of inbox lifecycle code, the conversation_inbox SQLite table, MessageState, ReliabilityError, and the prune schedule.
K
Kit Langton committed
1885db3d8b27265631a83d3d3fe6b3f40f29f395
Parent: 3c22e16