Add pytest covering post text assembly, description trimming, i18n prompts, flags mapping, OpenAI fallback.