Wild · Live "Rewrite to De-Escalate" Coach · 110.30 MB WASM q8 · Apache-2.0

Live "Rewrite to De-Escalate" Coach — Real-Time Tone Gauge

Start with an abrasive PR review or angry outage email and soften it word-by-word. Every keystroke triggers a debounced (180 ms) off-main-thread Intel/polite-guard (Apache-2.0) pass so you can watch the live meter climb from Impolite → Neutral → Somewhat Polite → Polite alongside a live before/after delta and word-level diff.

1. Live Tone-Coached Editor (180 ms Debounced Worker)

Pick a harsh starting draft, then edit it directly (or apply a suggested constructive rewrite to test the full swing live):

Insert courtesy phrase:
Baseline (Harsh)–
Live Current Tier–
Politeness Delta–
Live P(impolite)–
Live Latency–
NaN check–

Real-Time Tone Meter

– Waiting
0 · Impolite 42 · Neutral 68 · Somewhat 100 · Polite

Initialize Intel Polite Guard to start live typing feedback.

Live Word-Level Diff (Baseline → Current Draft)

Removed abrasive words appear struck through; newly added collaborative phrasing appears underlined.

Edit the draft above to inspect word-level changes.

2. Inspect Live Diff & FIFO Worker Client

Show the code · polite-core.mjs — computeWordDiff() (word-level LCS diff)
Show the code · polite.js — PoliteGuardEngine (coalesced FIFO worker client)