Conversation
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The shared truncation helper now avoids splitting Indic conjuncts and refines joiner handling. The effects are limited to shortened text, with no change to default length, permissions or operational behavior. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…e dead Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dismissing prior approval to re-evaluate 945f9f2
EvidenceOn each fresh app database, seed a demo project, open the new-thread composer, select Replay (dev) → Showcase, send “Please review the changes we made in the module क्षमा before publishing the release notes”, and capture the automatic heading during the first turn. Environment: real web app, headless Chromium 156, Linux, 1280×800, light theme, Noto Sans Devanagari loaded on both sides. Scenario: Automatic title keeps the Indic conjunct wholeProven: the scenario fails on base 7f08ea65b3 and passes on head 945f9f20cf.
|



Automatic thread titles could cut a Devanagari (and other Indic) conjunct such as
क्षin half, so the title ended on a dangling virama likeक्.... Truncation now moves the cut back to the start of a virama-linked conjunct, never cuts directly before a zero-width joiner, and treats a zero-width non-joiner as an explicit break between consonants, following the Unicode Indic_Conjunct_Break rules.Reproduction on main
Commit 8fc71a2eec (main). The title ends in
क्..., splittingक्षin the middle. Expected: The title ends beforeक्षbecause the whole conjunct does not fit.Please review the changes we made in the module क्षमा before publishing the release notesas the first message.The cause is at
packages/shared/src/String.ts:41. Ranpnpm scenarios:prove scripts/scenarios/thread-title-keeps-devanagari-conjunct.e2e.ts --target webwith the repro scenario added: it failed in 2 of 2 runs on a clean boat.dev VM, withexpected "Please review the changes we made in the module क्..." to be "Please review the changes we made in the module..."in the output.Evidence
Environment: The web app in Chromium on Linux x64, a fresh checkout on a boat.dev VM reset before each run.
Proven: the repro fails at the test commit 4427f7cb35 and passes on the head bbf64e5a62, both on main c5651d74d6.
The title ends in
क्..., splittingक्षin the middle.The title ends before
क्षbecause the whole conjunct does not fit.Tests
pnpm exec vp run check:changed c5651d74d6d200a7e51341c707fae5adcd058bd4passed on head.Not in this change
Who did the work
Made in T3 Code by GPT 6.2 Sol and Claude Opus 5.5