- When the Korean rewrite errors, the stream ends before it arrives, or a
final must go out without a result event, append a Korean notice to the
English text instead of sending it bare (content is kept: dropping a
NEEDS_CONTEXT question would be worse than English).
- A still-English rewrite is sent unchanged: the nudge tells the model to
repeat only when the user explicitly asked for English.
- Intermediate progress text cannot be rewritten mid-turn, so English
progress (>= 20 Latin letters, Hangul < 10%) is dropped before it is
flushed by tool_progress / tool results / the result event.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A sketchup-app turn spent on English login pages (Trimble/Edge) ended
with an English NEEDS_CONTEXT answer. The Korean rule was only a prompt
line, the answer went straight to the user (no reviewer gate), and it was
carried forward into the next task, so the next turn answered in English
too.
- Claude runner: when a final answer is mostly English (Hangul < 10% of
Latin letters, >= 150 letters, code/links/boilerplate ignored), ask the
same session once to rewrite it in Korean and emit only the rewrite.
Falls back to the original on error or early stream end; disabled when
AGENT_LANGUAGE is set to a non-Korean language.
- Let handleResultMessage settle the buffered final text instead of
pre-flushing it as progress, so the English draft never surfaces.
- Platform prompt: explicit "Reply language" section; owner rule no longer
says "unless the user wrote in another language".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>