diff --git a/docs/superpowers/plans/2026-08-02-community-post-bilingual-phrase-pairing.md b/docs/superpowers/plans/2026-08-02-community-post-bilingual-phrase-pairing.md new file mode 100644 index 0000000..a22ddbd --- /dev/null +++ b/docs/superpowers/plans/2026-08-02-community-post-bilingual-phrase-pairing.md @@ -0,0 +1,214 @@ +# Community Post Bilingual Phrase Pairing Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** Split community post originals and translations at comma, semicolon, period, exclamation, and question punctuation, then render exact one-to-one groups by merging adjacent short fragments when counts differ. + +**Architecture:** Keep the implementation local to `post_detail.vue`. Replace sentence-only splitting with punctuation phrase splitting, protect numeric and English abbreviation punctuation, normalize both sides to the same count with a deterministic shortest-fragment merge, and reuse the existing bilingual rendering computed property. + +**Tech Stack:** uni-app, Vue 3 `