Skip to content

specode 6.1.2: plugin language unification (specode only)#78

Merged
qxbyte merged 7 commits into
mainfrom
feat/specode-6.1.2-language-unify
Jul 5, 2026
Merged

specode 6.1.2: plugin language unification (specode only)#78
qxbyte merged 7 commits into
mainfrom
feat/specode-6.1.2-language-unify

Conversation

@qxbyte

@qxbyte qxbyte commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Summary

统一 specode 的插件语言(零行为变化)。边界按用户确认:

  • 面向 agent 的指令/说明 prose → 地道英文(按中文语义转写,非直译):skills/*/SKILL.md(specode / intake / distill)、skills/specode/references/*.md(retrieval / obsidian / superpowers-wiring / knowledge-flow)、commands/*.md、三个脚本的 docstring + 行内注释。
  • 用户可见的固定输出与选择保持中文(明确不动):执行方式 selector 选项文案(references/selectors.md 未动)、assets/templates/*.md、注入用户文档的段(## 项目级约束 / ## 参考定位(非事实来源))、脚本 stderr/stdout 用户消息、SessionStart DISCIPLINE 提示、MEMORY.md 输出说明、_COLS / frontmatter 键标识符。
  • CHANGELOG 永远中文(本次及以后)。

范围仅 specode;task-swarm / obsidian-wiki / ragkit 未动。

Test plan

  • .venv/bin/python -m pytest plugins/specode/tests/ -q — 90 passed(零回归)
  • 契约锁步门禁通过:MEMORY 列 | 标题 | 类型 | 描述 | 来源 | 路径 | tags | 与 frontmatter 键标识符未受语言改动影响
  • python3 scripts/check_marketplace_versions.py — 同步于 6.1.2
  • 残余中文核查:脚本内仅剩 stderr/stdout 用户消息 + DISCIPLINE + MEMORY 输出说明 + 契约标识符(全部按边界保留)

🤖 Generated with Claude Code

qxbyte and others added 7 commits July 5, 2026 18:20
…nese output/injected)

Language unification (specode only): the agent-facing instruction prose is
now idiomatic English. Protected Chinese kept verbatim — the injected
`## 项目级约束` section template, the `参考定位(非事实来源)` label, and the
requirements-template section headings (背景/范围/验收标准/开放问题).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: qxbyte <126648675+qxbyte@users.noreply.github.com>
…tract row + injection block)

Kept verbatim: the `| 标题 | 类型 | 描述 | 来源 | 路径 | tags |` contract row
(the lockstep test extracts it), the `## 参考定位(非事实来源)` injection
format block, and all Chinese field-name identifiers used as keys.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: qxbyte <126648675+qxbyte@users.noreply.github.com>
…ompts/output Chinese)

doc-template.md is left untouched (it's the produced KB-doc template = fixed
output, stays Chinese). Kept verbatim in the SKILL: the AskUserQuestion user
prompts (是否进入 distill…/继续沉淀 / 中止/复制一份到 Obsidian 库?) and the
Chinese frontmatter field identifiers (标题/类型/来源/tags/描述).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: qxbyte <126648675+qxbyte@users.noreply.github.com>
…rose → English

Converted the residual Chinese instruction prose to English. Kept verbatim
Chinese: the 执行方式 selector option labels (user-facing selections), the
"请验收"/"继续"/distill-prompt user phrases, the injected-section labels
(## 项目级约束, 参考定位(非事实来源)), the design-template section names
(背景与目标/…/测试策略), and MEMORY column identifiers. Also dropped two
pure-history v4.0.0 blockquotes. selectors.md untouched (stays Chinese).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: qxbyte <126648675+qxbyte@users.noreply.github.com>
…ord Chinese)

distill.md fully translated to match the other commands' English descriptions;
spec.md 传统设计文档 → traditional design doc. continue.md keeps "继续" (the
Chinese word the user says to resume). selectors.md untouched.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: qxbyte <126648675+qxbyte@users.noreply.github.com>
…strings Chinese)

resolve_root.py / knowledge.py / spec_hooks.py module + function docstrings and
inline comments are now English. Kept Chinese (user-facing / contract): all
stderr/stdout user messages, the MEMORY.md output note, the SessionStart
DISCIPLINE reminder + cache-drift hint, and the _COLS / frontmatter key
identifiers (标题/类型/描述/来源/路径/tags).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: qxbyte <126648675+qxbyte@users.noreply.github.com>
Bump manifests to 6.1.2, date both CHANGELOGs (kept Chinese per standing
rule), refresh README version rows + badge.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: qxbyte <126648675+qxbyte@users.noreply.github.com>
@qxbyte qxbyte merged commit bdb8efc into main Jul 5, 2026
1 check 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.

1 participant