From 827bf8488b2a711310ee2c4357f457b82ca1f5ef Mon Sep 17 00:00:00 2001 From: "shumeiko.it" Date: Tue, 27 Oct 2026 14:27:19 +0100 Subject: [PATCH] fix: drop decorative emoji from UI text, chat steps and channel replies Bees, sparkle glyphs, fire, check and warning marks decorated buttons, toasts, activity steps and channel replies (anti-slop audit-002, item 18). Marks that carry state (key set, importance, the hive glyph) stay. --- .../src/components/os/apps/CapabilitiesApp.tsx | 2 +- .../os/overlays/onboarding/FirstTaskStep.tsx | 2 +- .../os/overlays/onboarding/ImportStep.tsx | 8 ++++---- .../os/overlays/onboarding/ReadyStep.tsx | 4 ++-- .../os/settings/TelegramDigestCard.tsx | 2 +- apps/web/src/components/os/warm/StreakChip.tsx | 3 +-- packages/server/src/local/channels/manager.ts | 4 ++-- .../server/src/local/held-action-executor.ts | 6 +++--- packages/server/src/local/index.ts | 4 ++-- packages/server/src/local/routes/chat-helpers.ts | 2 +- packages/server/src/local/routes/chat.ts | 16 ++++++++-------- packages/server/src/local/routes/telegram.ts | 4 ++-- 12 files changed, 28 insertions(+), 29 deletions(-) diff --git a/apps/web/src/components/os/apps/CapabilitiesApp.tsx b/apps/web/src/components/os/apps/CapabilitiesApp.tsx index 66696ce..c964380 100644 --- a/apps/web/src/components/os/apps/CapabilitiesApp.tsx +++ b/apps/web/src/components/os/apps/CapabilitiesApp.tsx @@ -206,7 +206,7 @@ const CapabilitiesApp = () => { try { const { report } = await adapter.auditSkills([skillName]); const verdict = report.verified.includes(skillName) - ? 'verified βœ“' + ? 'verified' : report.flagged.includes(skillName) ? 'flagged for review (injection)' : report.inconclusive.includes(skillName) ? 'inconclusive β€” try again' : 'did not pass verification'; diff --git a/apps/web/src/components/os/overlays/onboarding/FirstTaskStep.tsx b/apps/web/src/components/os/overlays/onboarding/FirstTaskStep.tsx index c271163..2191419 100644 --- a/apps/web/src/components/os/overlays/onboarding/FirstTaskStep.tsx +++ b/apps/web/src/components/os/overlays/onboarding/FirstTaskStep.tsx @@ -51,7 +51,7 @@ const FirstTaskStep = ({ message, onMessageChange, suggestions, onPickSuggestion onClick={onLetsGo} className="inline-flex items-center gap-2 px-8 py-3 rounded-xl bg-primary text-primary-foreground font-display text-sm font-semibold hover:bg-primary/80 transition-colors glow-primary focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background" > - 🐝 Let's go! + Let's go diff --git a/apps/web/src/components/os/overlays/onboarding/ImportStep.tsx b/apps/web/src/components/os/overlays/onboarding/ImportStep.tsx index 7db6c96..ed8f991 100644 --- a/apps/web/src/components/os/overlays/onboarding/ImportStep.tsx +++ b/apps/web/src/components/os/overlays/onboarding/ImportStep.tsx @@ -27,10 +27,10 @@ const SOURCE_TILES: ReadonlyArray<{ glyph: string; accent: string; }> = [ - { id: 'chatgpt', name: 'ChatGPT', desc: 'OpenAI export (.json)', hint: 'In ChatGPT: Settings β†’ Data controls β†’ Export data. You\'ll get an email with the file.', glyph: '✦', accent: 'text-emerald-400 bg-emerald-500/10 ring-emerald-500/30' }, - { id: 'claude', name: 'Claude', desc: 'Anthropic export (.json)', hint: 'In Claude: Settings β†’ Privacy β†’ Export data.', glyph: '✧', accent: 'text-orange-400 bg-orange-500/10 ring-orange-500/30' }, - { id: 'gemini', name: 'Gemini', desc: 'Google Takeout (.json)', hint: 'Go to takeout.google.com, select Gemini, download.', glyph: '✦', accent: 'text-sky-400 bg-sky-500/10 ring-sky-500/30' }, - { id: 'perplexity', name: 'Perplexity', desc: 'Threads export', hint: 'In Perplexity: Settings β†’ Account β†’ Export.', glyph: 'β—†', accent: 'text-teal-400 bg-teal-500/10 ring-teal-500/30' }, + { id: 'chatgpt', name: 'ChatGPT', desc: 'OpenAI export (.json)', hint: 'In ChatGPT: Settings β†’ Data controls β†’ Export data. You\'ll get an email with the file.', glyph: 'O', accent: 'text-emerald-400 bg-emerald-500/10 ring-emerald-500/30' }, + { id: 'claude', name: 'Claude', desc: 'Anthropic export (.json)', hint: 'In Claude: Settings β†’ Privacy β†’ Export data.', glyph: 'A', accent: 'text-orange-400 bg-orange-500/10 ring-orange-500/30' }, + { id: 'gemini', name: 'Gemini', desc: 'Google Takeout (.json)', hint: 'Go to takeout.google.com, select Gemini, download.', glyph: 'G', accent: 'text-sky-400 bg-sky-500/10 ring-sky-500/30' }, + { id: 'perplexity', name: 'Perplexity', desc: 'Threads export', hint: 'In Perplexity: Settings β†’ Account β†’ Export.', glyph: 'P', accent: 'text-teal-400 bg-teal-500/10 ring-teal-500/30' }, // C34: Cursor / Codex / Hermes have no export adapter yet β€” fold them into // the generic "Other" file picker rather than a dedicated tile. { id: 'unknown', name: 'Other', desc: 'Cursor, Codex, any text/JSON', hint: 'Any .txt, .md or .json conversation file works.', glyph: 'Β·', accent: 'text-muted-foreground bg-muted/30 ring-border/40' }, diff --git a/apps/web/src/components/os/overlays/onboarding/ReadyStep.tsx b/apps/web/src/components/os/overlays/onboarding/ReadyStep.tsx index b95bc8a..54427b4 100644 --- a/apps/web/src/components/os/overlays/onboarding/ReadyStep.tsx +++ b/apps/web/src/components/os/overlays/onboarding/ReadyStep.tsx @@ -29,7 +29,7 @@ const ReadyStep = ({ createError, onLetsGo }: ReadyStepProps) => {

{createError}

)}

- Your hive is ready ⬑ + Your hive is ready

Your workspace is ready. Let's get to work. @@ -38,7 +38,7 @@ const ReadyStep = ({ createError, onLetsGo }: ReadyStepProps) => { onClick={onLetsGo} className="inline-flex items-center gap-2 px-8 py-3 rounded-xl bg-primary text-primary-foreground font-display text-sm font-semibold hover:bg-primary/80 transition-colors glow-primary" > - 🐝 Let's go! + Let's go diff --git a/apps/web/src/components/os/settings/TelegramDigestCard.tsx b/apps/web/src/components/os/settings/TelegramDigestCard.tsx index 86f91af..5b3885d 100644 --- a/apps/web/src/components/os/settings/TelegramDigestCard.tsx +++ b/apps/web/src/components/os/settings/TelegramDigestCard.tsx @@ -84,7 +84,7 @@ const TelegramDigestCard = () => { variant: 'destructive', }); } else { - toast({ title: 'Sent βœ“', description: 'Check your Telegram for the test message.' }); + toast({ title: 'Sent', description: 'Check your Telegram for the test message.' }); } } catch (err) { toast({ title: 'Test failed', description: String(err), variant: 'destructive' }); diff --git a/apps/web/src/components/os/warm/StreakChip.tsx b/apps/web/src/components/os/warm/StreakChip.tsx index e77d689..5624015 100644 --- a/apps/web/src/components/os/warm/StreakChip.tsx +++ b/apps/web/src/components/os/warm/StreakChip.tsx @@ -6,7 +6,7 @@ interface StreakChipProps { } /** - * πŸ”₯ N-day streak chip (honey-wash fill / honey-line border) for the Home + * N-day streak chip (honey-wash fill / honey-line border) for the Home * greeting. The habit-loop mechanic lives on Home, not a standalone page * (SCREENS Β§15). `days` is currently a mock value β€” no backend streak field * exists yet (see PR3-BUILD-PLAN Β§5). @@ -19,7 +19,6 @@ export function StreakChip({ days, className }: StreakChipProps) { className, )} > - πŸ”₯ {days}-day streak ); diff --git a/packages/server/src/local/channels/manager.ts b/packages/server/src/local/channels/manager.ts index 2463c4c..7ea8de1 100644 --- a/packages/server/src/local/channels/manager.ts +++ b/packages/server/src/local/channels/manager.ts @@ -29,7 +29,7 @@ const MESSAGE_DEDUP_MAX = 2_000; export const APPROVAL_NEEDED_REPLY = 'This request needs a tool approval β€” open the Waggle app to review and approve it.'; -export const PAIR_OK_REPLY = 'Paired βœ“ β€” this device can now talk to Waggle. Try /status or just say hi.'; +export const PAIR_OK_REPLY = 'Paired. This device can now talk to Waggle. Try /status or just say hi.'; export const PAIR_FAIL_REPLY = 'Invalid or expired pairing code. Generate a fresh one in Waggle β†’ Settings β†’ Channels.'; /** Vault keys per platform (telegram reuses the FR-2 digest key on purpose). */ @@ -243,7 +243,7 @@ export class ChannelManager { if (/^\/status\b/i.test(text)) { const status = adapter?.getStatus(); const ws = this.resolveWorkspace(msg); - await reply(`Waggle connected βœ“\nWorkspace: ${this.workspaceLabel(ws)}\nTransport: ${status?.connected ? 'healthy' : 'degraded'}`); + await reply(`Waggle connected\nWorkspace: ${this.workspaceLabel(ws)}\nTransport: ${status?.connected ? 'healthy' : 'degraded'}`); return; } diff --git a/packages/server/src/local/held-action-executor.ts b/packages/server/src/local/held-action-executor.ts index 0059169..0945a97 100644 --- a/packages/server/src/local/held-action-executor.ts +++ b/packages/server/src/local/held-action-executor.ts @@ -128,14 +128,14 @@ export function decideReviewTurnTool(server: FastifyInstance, input: EnqueueInpu const enq = enqueueHeldAction(server, input); return { step: 'refused' in enq - ? `⚠ ${tool} proposal refused (${enq.refused})` - : `πŸ“‹ ${tool} held for your approval`, + ? `${tool} proposal refused (${enq.refused})` + : `${tool} held for your approval`, reason, enqueued: enq, }; } return { - step: `βœ– ${tool} not permitted for review turns`, + step: `${tool} not permitted for review turns`, reason, enqueued: null, }; diff --git a/packages/server/src/local/index.ts b/packages/server/src/local/index.ts index 1868666..5407b40 100644 --- a/packages/server/src/local/index.ts +++ b/packages/server/src/local/index.ts @@ -1757,8 +1757,8 @@ export async function buildLocalServer(config: Partial = {}) { const name = schedule.name || 'Scheduled task'; const expr = schedule.cron_expr ? ` (${schedule.cron_expr})` : ''; const text = result.success - ? `βœ“ Waggle: ${name}${expr} ran successfully.` - : `βœ— Waggle: ${name}${expr} failed β€” ${result.error ?? 'unknown error'}`; + ? `Waggle: ${name}${expr} ran successfully.` + : `Waggle: ${name}${expr} failed: ${result.error ?? 'unknown error'}`; pushTelegramMessage(server, text) .then(r => { if (!r.ok) log.warn(`[cronβ†’telegram] skipped: ${r.reason}`); }) .catch(err => log.warn(`[cronβ†’telegram] push failed: ${err}`)); diff --git a/packages/server/src/local/routes/chat-helpers.ts b/packages/server/src/local/routes/chat-helpers.ts index a8a52ca..5ad1f8f 100644 --- a/packages/server/src/local/routes/chat-helpers.ts +++ b/packages/server/src/local/routes/chat-helpers.ts @@ -1377,7 +1377,7 @@ export function shouldSuggestSchedule( return RECURRING_PATTERNS.test(responseText); } -export const SCHEDULE_SUGGESTION = '\n\nπŸ’‘ *Want this to run automatically? Use /schedule or ask me to set up a recurring task.*'; +export const SCHEDULE_SUGGESTION = '\n\n*Want this to run automatically? Use /schedule or ask me to set up a recurring task.*'; /** Shared precedence rule for optional first-turn prompt additions. */ export const USER_RESPONSE_FORMAT_PRECEDENCE = 'A user-specified response syntax or shape is authoritative for presentation. Follow that syntax or shape exactly; do not add greetings, questions, prose, wrappers, labels, or other content outside it. Requested facts, verdicts, fixed values, or claims are not presentation constraints and never override safety, evidence, attribution, read-only, anti-fabrication, tool/action, or confidentiality rules.'; diff --git a/packages/server/src/local/routes/chat.ts b/packages/server/src/local/routes/chat.ts index c105bd9..e6ffc05 100644 --- a/packages/server/src/local/routes/chat.ts +++ b/packages/server/src/local/routes/chat.ts @@ -1829,7 +1829,7 @@ ${wsConfig?.templateId ? `- Workspace template: ${wsConfig.templateId} β€” tailo if (wsBudgetConfig?.budget != null && wsBudgetConfig.budget > 0) { const wsUsage = costTracker.getWorkspaceCost(effectiveWorkspace); if (wsUsage >= wsBudgetConfig.budget) { - sendEvent('step', { content: `\u26a0\ufe0f Budget limit reached ($${wsUsage.toFixed(2)} / $${wsBudgetConfig.budget.toFixed(2)}). Responses may be limited.` }); + sendEvent('step', { content: `Budget limit reached ($${wsUsage.toFixed(2)} / $${wsBudgetConfig.budget.toFixed(2)}). Responses may be limited.` }); } } } @@ -2019,7 +2019,7 @@ ${wsConfig?.templateId ? `- Workspace template: ${wsConfig.templateId} β€” tailo // Surface an audit-visible step when elevated autonomy pre-approved // so users can see WHY the tool ran without a prompt. if (autonomyLevel !== 'normal' && requiresBaseConfirmation) { - sendEvent('step', { content: `\u26a1 ${ctx.toolName} auto-approved (${autonomyLevel})` }); + sendEvent('step', { content: `${ctx.toolName} auto-approved (${autonomyLevel})` }); // Tag the audit input with the autonomy level so forensics can // see WHY the tool was auto-approved. emitAuditEvent(server, { @@ -2071,7 +2071,7 @@ ${wsConfig?.templateId ? `- Workspace template: ${wsConfig.templateId} β€” tailo // H3: Auto-approve all tool requests when WAGGLE_AUTO_APPROVE=1 (testing only) if (autoApprove) { - sendEvent('step', { content: `\u2714 ${ctx.toolName} auto-approved (test mode)` }); + sendEvent('step', { content: `${ctx.toolName} auto-approved (test mode)` }); return { authorize: true }; } @@ -2087,7 +2087,7 @@ ${wsConfig?.templateId ? `- Workspace template: ${wsConfig.templateId} β€” tailo grantRiskLevel, ) ) { - sendEvent('step', { content: `\u2714 ${ctx.toolName} allowed by saved grant` }); + sendEvent('step', { content: `${ctx.toolName} allowed by saved grant` }); return { authorize: true }; } @@ -2208,7 +2208,7 @@ ${wsConfig?.templateId ? `- Workspace template: ${wsConfig.templateId} β€” tailo input: retainedTurnJson(input), sessionId, }); - sendEvent('step', { content: `\u23f8 ${toolName} moved to Approvals inbox`, expiresAt }); + sendEvent('step', { content: `${toolName} moved to Approvals inbox`, expiresAt }); }, }); @@ -2222,11 +2222,11 @@ ${wsConfig?.templateId ? `- Workspace template: ${wsConfig.templateId} β€” tailo if (timedOut) { log.warn(`[security] Approval timed out for ${toolName} (requestId: ${requestId}) β€” auto-denied for safety`); } - sendEvent('step', { content: `\u2716 ${toolName} denied by user` }); + sendEvent('step', { content: `${toolName} denied by user` }); emitAuditEvent(server, { workspaceId: executionScopeId, eventType: 'approval_denied', toolName, sessionId, approved: false }); return { cancel: true, reason: `User denied ${toolName}` }; } - sendEvent('step', { content: `\u2714 ${toolName} approved` }); + sendEvent('step', { content: `${toolName} approved` }); emitAuditEvent(server, { workspaceId: executionScopeId, eventType: 'approval_granted', toolName, sessionId, approved: true }); return { authorize: true }; }); @@ -3119,7 +3119,7 @@ ${wsConfig?.templateId ? `- Workspace template: ${wsConfig.templateId} β€” tailo // Notify client of model switch if (modelSwitchReason) { sendEvent('model_switch', { model: resolvedModel, reason: modelSwitchReason, primary: primaryModel }); - sendEvent('step', { content: `⬑ Switched to ${resolvedModel} β€” ${modelSwitchReason}` }); + sendEvent('step', { content: `Switched to ${resolvedModel}: ${modelSwitchReason}` }); } // Track iteration and inject budget pressure diff --git a/packages/server/src/local/routes/telegram.ts b/packages/server/src/local/routes/telegram.ts index 0e11e41..37606ce 100644 --- a/packages/server/src/local/routes/telegram.ts +++ b/packages/server/src/local/routes/telegram.ts @@ -9,7 +9,7 @@ * 2. DM the new bot any message; visit * https://api.telegram.org/bot/getUpdates to read the chat_id * 3. POST /api/telegram/config with {botToken, chatId} - * 4. POST /api/telegram/test β†’ user receives "Waggle is connected βœ“" + * 4. POST /api/telegram/test β†’ user receives "Waggle is connected to this chat." * * Endpoints * GET /api/telegram/status β†’ { configured, hasToken, hasChatId } @@ -152,7 +152,7 @@ export async function telegramRoutes(server: FastifyInstance) { const res = await sendToTelegram( token, chatId, - 'βœ“ Waggle is connected to this chat. Scheduled digests will appear here.', + 'Waggle is connected to this chat. Scheduled digests will appear here.', ); if (!res.ok) return reply.status(502).send({ ok: false, error: res.description }); return { ok: true, messageId: res.result?.message_id };