Skip to content

v0.11.1 — Rewrite pronoun preservation

Choose a tag to compare

@hoangperry hoangperry released this 26 May 21:54

Rewrite pronoun-preservation hotfix

User-reported bug: a draft addressed with "em" was coming back as "anh/chị" (or vice versa) after a rewrite, inverting the entire social relationship between speaker and addressee. In Vietnamese pronouns ARE the relationship — switching them is a correctness failure, not a style choice.

Root cause

The pronoun-preservation rule was a single buried line in a bullet list AND two of the few-shot examples in the prompt itself silently switched "tôi" → "em", actively teaching the model the opposite of what the rule said. The Supabase server prompt didn't mention Vietnamese pronouns at all.

Fixed — Mac app PromptBuilder.rewriteSystemPrompt

  • Pronoun-preservation rule promoted from a bullet to an ABSOLUTE rule — PRONOUNS: top-level section with explicit per-pronoun guarantees: "em" stays "em", "tôi" stays "tôi", "mình" stays "mình", every addressing pronoun (anh / chị / em / cháu / bạn / mình / quý khách / ông / bà / thầy / cô) preserved verbatim.
  • Example #2 fixed: input uses "tôi" → output now keeps "tôi" (was wrongly outputting "em").
  • Example #3 fixed: input uses "tôi" → output now keeps "tôi" (was wrongly outputting "em").
  • New example #4 demonstrates "em → anh" fidelity across a friendly tone shift.
  • Other-language formality markers ("tu"/"vous", "tú"/"usted", "你"/"您", "ты"/"вы") added so the fix isn't VN-only.

Fixed — Supabase REWRITE_SYSTEM_PROMPT (already deployed)

  • Server-side prompt was about a third the size of the Mac-side prompt and had no pronoun rule at all. Now mirrors PromptBuilder verbatim so SaaS users get the same pronoun-preserving quality as direct-API users.

Tests

  • rewriteSystemPromptHasFewShot updated to pin the ABSOLUTE pronoun-rule heading + per-pronoun guarantee strings so a future prompt refactor cannot quietly drop the protection. 400 tests pass.

Risk-free upgrade

UserDefaults + Keychain layout unchanged from v0.11.0.

Install

  • Recommended: download the DMG below — open, drag the app into Applications, launch.
  • Sparkle auto-updates from v0.10.3+ work.

Both DMG and ZIP are signed (Developer ID JP4XV8A9JF), notarized by Apple, and stapled. Apple Silicon only. macOS 14 or later.