feat: 拆分 detect_lang.py 职责边界 + manifest bundle 测试动态化 (v0.6.1) - #5
Merged
Merged
Conversation
add-detect-lang-splits: - 新增 scripts/paths.py(仅 ensure_user_path) - 新增 scripts/user_config.py(load_user_config / load_project_overrides / get_overrides) - scripts/detect_lang.py 顶部 re-export 上述符号,删除实现正文;外部 API 不变 - 401 行 → 301 行;hooks↔scripts 跨社区边应从 19 降至 ≤4 add-manifest-bundle-dynamic: - test_plugin_manifests.py 的硬编码 '68' 改为 lock_union ∪ plugin-local 与 on-disk 一致 - 测试名去数字,错误信号强(带 symmetric-set diff) 测试:unittest 14/14 + run_all 141/141/0 + openspec strict 5/5 + diff --check 干净 spec: language-gate-commands / plugin-manifest-contracts 已合入
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.
What
Why
code-review-graph 已记录 hooks↔scripts 高耦合告警(19 条 CALLS);detect_lang.py 三职责合一让任意改动都击穿 hooks 全集。manifest 测试的硬编码 68 在 bump 上游快照时给出弱错误信号。
Verification
Spec