Skip to content

Write session summary entries in the same language as the conversation - #594

Merged
fdaviddpt merged 1 commit into
Digital-Process-Tools:mainfrom
liu20829:fix/593
Sep 6, 2026
Merged

fdaviddpt merged 1 commit into
Digital-Process-Tools:mainfrom
liu20829:fix/593

Conversation

@liu20829

@liu20829 liu20829 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

What

Adds one rule to prompts/save-session.prompt.txt so the daily-memory summarizer writes each entry in the same language as the conversation being summarized, keeping file names, identifiers, and technical terms in their original form.

Why

The template contained English-only instructions and never asked the summarizer to follow the conversation language, so non-English sessions produced English log entries (observed with Chinese conversations).

How verified

Applied the rule to a local template and re-ran a save over a Chinese conversation: the resulting entry was Chinese while file names and technical terms stayed unchanged. compress-ndc.prompt.txt intentionally needs no change — its non-destructive compression contract (zero information loss) already preserves the source language.

Closes #593

…gital-Process-Tools#593)

Save-session summaries were produced in English for non-English
conversations because the prompt template never told the summarizer
to follow the conversation language. Add one rule to
prompts/save-session.prompt.txt asking for the entry to be written in
the same language as the conversation, keeping file names,
identifiers, and technical terms in their original form.

Verified locally: a Chinese conversation now yields a Chinese entry.
compress-ndc.prompt.txt needs no change: its non-destructive
compression contract (zero information loss) already preserves the
source language.

Co-Authored-By: Claude Code <[email protected]>
@fdaviddpt
fdaviddpt merged commit c6262eb into Digital-Process-Tools:main Sep 6, 2026
13 checks passed
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.

Write session summary entries in the same language as the conversation

2 participants