Public: anyone can read this; the crew can change it.
The crew's one-line reasons are cut with `clip`: a parked reason ending in an emoji keeps it whole #6628
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: the crew page's hand-over reasons and the crew's quoted lines use src/text/clip.ts instead of their own
slice(0, n - 1)cut.Done:
oneLinein src/crew/handed.ts, the cut in src/crew/sentinel.ts, the one in src/crew/vision.ts and the one in src/crew/plan.ts each callclip, and their own cut code leaves.oneLinea 200-character reason with an emoji at characters 139–140 and finds no lone surrogate. It fails on main.bun test test/crew-handed*.test.tsor whichever files import them.Files: src/crew/handed.ts, src/crew/sentinel.ts, src/crew/vision.ts, src/crew/plan.ts, test/text-clip-crew.test.ts