feat: Korean language-aware compression#462
Open
gruming wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Caveman's compression rules are English-specific (drop articles, English short synonyms), so when it responds in Korean the output breaks — garbled fragments, forced/awkward translation of technical terms, unnatural phrasing. This PR makes caveman respond in the user's language and compress it natively.
When responding in Korean it now:
한글(English), single form after;ultradrops the glossDesign
lite/full/ultraare unchanged; the new rules just describe how each intensity manifests in Korean. No new mode names (nokorean-*).wenyan-*stays an explicit Classical Chinese override and wins over the auto-detected language (wenyan = chosen style; Korean = following the user's actual language).Changes
skills/caveman/SKILL.md— new## Language+## Koreansections, Korean lite/full/ultra examples, description note. (Single source of truth; theplugins/mirror +dist/are left for CI sync per CONTRIBUTING.)src/rules/caveman-activate.md— language-aware line for the always-on rule body.README.md— short Korean section + What You Get row.Test plan
Ran the edited
SKILL.mdas a system prompt throughclaude -p(mirrors the eval harness setup):DROP COLUMN) -> auto-clarity drops to plain prose for the warning, SQL preservedultra-> max compression, English terms only, no 병기 gloss