Skip to content

YOU-45: Keep the chat language in every sub-command and across compaction - #40

Merged
JtheGunner merged 2 commits into
mainfrom
fix/YOU-45-chat-language-all-subcommands-and-compact
Nov 23, 2026
Merged

JtheGunner merged 2 commits into
mainfrom
fix/YOU-45-chat-language-all-subcommands-and-compact

Conversation

@JtheGunner

Copy link
Copy Markdown
Owner

Issue: YOU-45 (the tracker host is left out because this repository is public).

Only the primary flow printed the resolved chat language, so all and the other sub-commands depended on the model remembering the rule. Identical all --auto-merge starts came out German in one session and English in the next. After a compaction, the English summary pulled short replies to English.

  • read-config, which every invocation runs, now ends with a CHAT_LANGUAGE_TODO= reminder.
  • SKILL.md has a table for where the → Chat language: line is printed; all prints it first and names the language in the worker and reviewer briefing.
  • New stateless SessionStart hook (matcher compact): hooks/remind-chat-language.
  • Docs, SPEC, changelog and manual test rows updated; version 0.21.1; the SKILL.md line budget rises from 400 to 410.

Test plan:

  • Ran every tests/*.sh suite (all ok) and shellcheck -S warning on the hook and script.
  • Independent review: PASS on the final commit (2 rounds).
  • Manual rows 130-133 in tests/README.md (several fresh all --auto-merge runs, other sub-commands, a real /compact) are for the reviewer; the compaction behaviour is not covered by the automated tests.
  • Limit: text that claude-mem itself writes is not under the plugin's control (see docs/troubleshooting.md).

…n (YOU-45)

Only the primary flow printed the resolved chat language, so `all` and the other sub-commands depended on the model remembering the rule: identical `all --auto-merge` starts came out German in one session and English in the next. read-config, which every invocation runs, now ends with a CHAT_LANGUAGE_TODO reminder; `all` prints the line first and names the language in the worker and reviewer briefing. A stateless SessionStart hook (matcher compact) reminds the model of the last printed language after a compaction, whose summary is English and not a user message. The SKILL.md line budget rises 400 to 410 for the new Language table.
@JtheGunner
JtheGunner merged commit 9eabdf8 into main Nov 23, 2026
2 checks passed
@JtheGunner
JtheGunner deleted the fix/YOU-45-chat-language-all-subcommands-and-compact branch November 23, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant