fix: drop the em dash from user-facing copy

Anti-slop audit-002, item 13 (R-02). Every em dash in text the user sees
(web UI labels, toasts, tooltips, empty and error states, chat steps,
API messages, notifications and channel replies) became a period, comma,
colon or parentheses. Model prompts, logs, comments, regexes and the lone
dash that marks an empty value are unchanged. Text the client matches
against server copy (the default workspace summary, the quiet-night dream
summary) accepts the old wording too, so cached and saved data still match.
This commit is contained in:
shumeiko.it
2026-10-27 14:53:12 +01:00
parent 3ae3cc81fc
commit 25ad379e38
149 changed files with 449 additions and 412 deletions

View File

@@ -34,7 +34,7 @@ describe('buildProfilePreview', () => {
it('greets by name with the memory promise when only the name is set', () => {
expect(buildProfilePreview({ name: 'Marko' }, at(20)))
.toBe('Good evening, Marko — your work will be remembered here.');
.toBe('Good evening, Marko. Your work will be remembered here.');
});
it('varies the salutation with the time of day', () => {
@@ -45,12 +45,12 @@ describe('buildProfilePreview', () => {
it('adds a role-aware clause from the selected work type', () => {
expect(buildProfilePreview({ name: 'Marko', workType: 'consulting' }, at(20)))
.toBe('Good evening, Marko — ready to pick up your consulting work?');
.toBe('Good evening, Marko. Ready to pick up your consulting work?');
});
it('falls back to the free-text role when no work type is selected', () => {
expect(buildProfilePreview({ name: 'Marko', role: 'Strategy Consultant' }, at(9)))
.toBe('Good morning, Marko — ready to pick up your strategy consultant work?');
.toBe('Good morning, Marko. Ready to pick up your strategy consultant work?');
});
it('falls back to the raw id for an unknown work-type id', () => {