Repository navigation
docs(profile): 主页手写重复熵减 + 护栏上收——双清单收敛、结构测试与 CI 强制门 - #9
Merged
Merged
Conversation
- coding-proxy 九厂商清单曾两处全文手写且已实际漂移过一次(PR #7 仅单侧补 Xiaomi):项目卡定为唯一权威清单,深潜块收敛为回指,消除双清单结构; - 故障转移 doctrine 句去掉第三处 no Redis/no queue 点名(权威位保留项目卡与总栈行),因果链改由 SQLite-WAL 本地性直接引出; - 中英两份 README 逐行镜像同步;13 FIG + 75 DATA 标记流、锚点三方契约、全部冻结面零触碰,31 用例与 --lint 全绿。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- knowledge-map.md:文档索引 + 双语镜像编辑契约卡(机器领地/标记即契约/锚点三方同名同序/冻结面绕行/编辑后验证/重复收敛原则); - issue.md:登记 I-001 九厂商清单单侧漂移(本次结构性收敛)与 I-002 语义级镜像漂移、锚点死链无机器门(lab gate 护航,上收 tests 为后续路径)。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- 新增 tests/test_readme_structure.py:锚点序 == FIG 簇序、导航链接集 == 锚点集(两份 README 各查)、marker 与结构骨架行号镜像、行数相等、cur_year/cur_total 单调性状态源存续; - 此前三项承重面仅靠人工契约(破坏即 GitHub 静默死链),现并入零依赖特征化套件(31 → 35 用例)。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- refresh-profile-data.yml 的 lint job 新增静态步骤 python -m unittest discover tests; - 35 用例(Golden Master、结构守卫、SVG 闸门金样)由本地自觉变 PR 强制门,零网络、亚秒级。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- 原嵌套于 refresh() 内(唯一非模块级的 *_alt),闭包变量 rel_total 改为显式参数穿入; - 函数体除缩进与签名外逐 token 不变(独立 Verifier 经 AST 比对确认),EN/ZH 合成输入行为冒烟一致; - 附带收益:tests/_bps.py 按名加载器现可直接加载 cadence_alt,为后续可测铺路。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- knowledge-map:锚点三方契约标注机器强制、编辑后验证命令更新为 35 用例双命令(与 CI 同款); - issue:I-002 根治闭环(结构测试上收 + CI 接入),状态置已完成。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- docstring 去掉「Section B2」——全仓仅存在 Section A/C/C/D/A/C/E 的非正式引用,B/B2 无出处; - 簇导航链接断言由 sorted 集合比较强化为「文档序 == FIG 簇序」,与 knowledge-map 契约卡第 4 条「集合与顺序一致」宣称同口径;变异自证换序可判红。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
- 此前仅改 tests/ 的 PR 会整体跳过 lint job,新接入的 unittest 步骤对其不生效,与 issue.md I-002「全套护栏变 PR 强制门」宣称相悖; - 坏测试可无 CI 合入的缺口闭合。 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
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.
摘要
对主页两份 README(英/中逐行镜像)执行 preening-substrate 结构性熵减,并在同 PR 落地三项 Next Best Action:README 手写重复收敛、承重面护栏上收为测试并接入 CI、生成器结构不对称修复。PR #7/#8 已定稿的分层布局与双簇页签零改动。
一、手写重复收敛(2 行 ×2 文件)
二、护栏上收(原 NBA 1+2)
tests/test_readme_structure.py(31 → 35 用例):锚点三方同名同序(<a name>序 == FIG 簇序、导航#user-content-链接集 == 锚点集)、双文件行级镜像(marker/骨架行号、行数)、cur_year/cur_total单调性状态源存续——此前为纯人工契约,破坏即 GitHub 静默死链。python -m unittest discover tests:全套特征化护栏(Golden Master + 结构守卫 + SVG 金样)由本地自觉变 PR 强制门,零网络亚秒级(I-002 闭环)。三、生成器对称性修复(原 NBA 3)
cadence_alt移出refresh()嵌套至模块级(原为 13 个*_alt中唯一嵌套者),闭包变量rel_total改显式穿参;函数体经独立 Verifier AST 逐 token 比对零差异,EN/ZH 合成输入行为冒烟一致。四、知识结晶
docs/.agents/knowledge-map.md:文档索引 + 双语镜像编辑契约卡(机器领地/标记即契约/锚点三方/冻结面绕行/编辑后验证)。docs/.agents/issue.md:I-001 漂移事故台账;I-002 护栏上收闭环。验证
python3 -m unittest discover tests:35 用例全绿(既有断言零弱化,tests/ 既有文件零改动);python3 scripts/build_profile_svgs.py --lint:75 DATA + 13 FIG 双语一致;后续建议(未含在本 PR)
🤖 Generated with Claude Code