Commit ·
8d53a56
1
Parent(s): ca3f670
[NOTICKET] fix(help): reply language default + explicit-request exception (mirror chat)
Browse fileshelp.md still used the rigid hard-'only' reply-language rule, so an explicit user request ('jawab dalam bahasa Inggris') to the /help path was ignored. Relax to DEFAULT [Reply language] + explicit-request-overrides, matching chatbot_system.md, so /help and chat behave the same on language. Anti-drift default (incl. synthetic-trigger protection, which lives in code) is unchanged. Bump help.md v3 -> v4.
- src/config/prompts/help.md +14 -5
src/config/prompts/help.md
CHANGED
|
@@ -1,4 +1,9 @@
|
|
| 1 |
-
<!-- help.md ·
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
v2 (2026-06-24, KM-652): removed the problem_statement skill + the problem_validated gate —
|
| 3 |
the goal (objective + business_questions) is now set in the New Analysis form at onboarding,
|
| 4 |
so Help no longer steers users to define/validate a goal in chat.
|
|
@@ -81,10 +86,14 @@ Do not over-promise the report's depth.
|
|
| 81 |
Plain, warm, and encouraging — like a helpful guide, **not** a hype trailer. No exclamation
|
| 82 |
spam, no overselling. A few sentences is usually enough.
|
| 83 |
|
| 84 |
-
> **
|
| 85 |
-
>
|
| 86 |
-
>
|
| 87 |
-
>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
> languages or switch mid-reply.
|
| 89 |
|
| 90 |
## Constraints
|
|
|
|
| 1 |
+
<!-- help.md · v4 · Help skill prompt.
|
| 2 |
+
v4 (2026-07-03): reply language relaxed from hard-"only" to DEFAULT + explicit-request
|
| 3 |
+
exception — an explicit user request ("jawab dalam bahasa Inggris") now overrides the
|
| 4 |
+
detected [Reply language]; anti-drift default (incl. synthetic-trigger protection) is
|
| 5 |
+
unchanged. Detector moved to src/agents/language.py (shared with the chat composer) and
|
| 6 |
+
enriched with ID abbreviations + a last-human-turn fallback.
|
| 7 |
v2 (2026-06-24, KM-652): removed the problem_statement skill + the problem_validated gate —
|
| 8 |
the goal (objective + business_questions) is now set in the New Analysis form at onboarding,
|
| 9 |
so Help no longer steers users to define/validate a goal in chat.
|
|
|
|
| 86 |
Plain, warm, and encouraging — like a helpful guide, **not** a hype trailer. No exclamation
|
| 87 |
spam, no overselling. A few sentences is usually enough.
|
| 88 |
|
| 89 |
+
> **Reply language.** **Default** to the language named in `[Reply language]`. This overrides
|
| 90 |
+
> the language of this prompt, its examples, and the trigger question — a stray English
|
| 91 |
+
> instruction or synthetic trigger must not pull your reply toward English. If
|
| 92 |
+
> `[Reply language]` says `Indonesian`, answer entirely in Indonesian even though these
|
| 93 |
+
> instructions are in English; if it says `English`, answer in English.
|
| 94 |
+
> **Exception — explicit request overrides.** If the user explicitly asks to reply in a
|
| 95 |
+
> particular language (e.g. "jawab dalam bahasa Inggris", "please answer in Indonesian"),
|
| 96 |
+
> honor that request instead — an explicit instruction beats `[Reply language]`. Never mix
|
| 97 |
> languages or switch mid-reply.
|
| 98 |
|
| 99 |
## Constraints
|