mirror of
https://github.com/tradecatlabs/vibe-coding-cn.git
synced 2026-11-02 13:06:13 +00:00
refactor: gongfa - 建立版本登记与单一总表并统一正文 (#105)
* feat: gongfa - 建立版本登记、初评历史与统一总表 新增功法 JSON 登记、固定来源、十二级词表及限定初评历史。 统一全部410条记录的Markdown/Excel生成视图,不把331候选自动登记或重评。 复用既有JSON Schema、BeautifulSoup和openpyxl,增加离线检查与相关行为契约。 同步本体、README/AGENTS、metadata、AI入口、Makefile及脚本说明。 79登记,408初评、2不可判,正式评级0;规约仍为未校准草案。 冻结网页快照保留原始空白,以SHA核对而不修剪来源字节。 本地完整make test退出2,历史Mathing镜像文件数与摘要不符;不宣称全仓通过。 * refactor: gongfa - 统一正文并退役旧目录 33篇旧正文与首页3篇文集统一到docs/gongfa,按任务功能导航。 退役concepts/philosophy/references/workflow及额外旧正文位置,不留永久兼容页壳。 同步README/AGENTS、taxonomy、redirects、AI入口、研究消费者和路径检查器。 仅更新12个来源当前导航与62个Excel导航格;身份、版本、冻结来源和历史意见保持。 36篇文集不自动产生新功法身份或品级。 4项迁移契约、7组登记协议与4组总表维护测试通过,完整门禁保留历史Mathing失败。 最终产品tree对齐重构后冻结版本;未执行来源命令、远端发布或保护规则变更。
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Makefile for Vibe Coding Guide
|
||||
|
||||
.PHONY: help lint check-links check-details check-doc-structure check-directory-docs check-metadata check-ai-citation check-external-resources check-research-raw check-source-facts check-wiki fetch-research-raw sync-doc-toc build test clean clean-deps
|
||||
.PHONY: help lint check-links check-details check-doc-structure check-directory-docs check-metadata check-gongfa test-gongfa check-ai-citation check-external-resources check-research-raw check-source-facts check-wiki fetch-research-raw sync-doc-toc build test clean clean-deps
|
||||
|
||||
.PHONY: sync-gongfa-catalog check-gongfa-catalog test-gongfa-catalog
|
||||
|
||||
MARKDOWNLINT = npx --yes markdownlint-cli@0.48.0
|
||||
|
||||
@@ -15,6 +17,11 @@ help:
|
||||
@echo " check-doc-structure - Check docs README anchors, order and duplicate anchors"
|
||||
@echo " check-directory-docs - Check required README/AGENTS pairs"
|
||||
@echo " check-metadata - Check metadata paths and anchors"
|
||||
@echo " check-gongfa - 校验功法JSON、冻结来源与评级协议"
|
||||
@echo " test-gongfa - 执行功法JSON的隔离CLI集成测试并保留工件"
|
||||
@echo " sync-gongfa-catalog - 从当前登记与仓内候选快照重建唯一总表"
|
||||
@echo " check-gongfa-catalog - 只读校验总表覆盖、源摘要与Markdown/Excel一致性"
|
||||
@echo " test-gongfa-catalog - 验证总表维护行为并保留隔离工件"
|
||||
@echo " check-ai-citation - Check AI citation paths, anchors, and repository identity"
|
||||
@echo " check-external-resources - Check local external resources registry"
|
||||
@echo " check-research-raw - Check research raw fact snapshots and repository clones"
|
||||
@@ -52,6 +59,23 @@ check-metadata:
|
||||
@echo "Checking metadata paths and anchors..."
|
||||
@python3 scripts/check-metadata.py
|
||||
|
||||
check-gongfa:
|
||||
@echo "校验功法JSON、冻结来源与评级引用..."
|
||||
@python3 scripts/check-gongfa.py
|
||||
|
||||
test-gongfa:
|
||||
@echo "执行功法JSON CLI集成测试..."
|
||||
@python3 scripts/test-gongfa.py
|
||||
|
||||
sync-gongfa-catalog:
|
||||
@python3 scripts/sync-gongfa-catalog.py --write
|
||||
|
||||
check-gongfa-catalog:
|
||||
@python3 scripts/sync-gongfa-catalog.py --check
|
||||
|
||||
test-gongfa-catalog:
|
||||
@python3 scripts/test-gongfa-catalog.py
|
||||
|
||||
check-ai-citation:
|
||||
@echo "Checking AI citation paths, anchors, and repository identity..."
|
||||
@python3 scripts/check-ai-citation.py
|
||||
@@ -84,7 +108,7 @@ sync-doc-toc:
|
||||
build:
|
||||
@echo "No build step: this repository is a documentation and knowledge-base project."
|
||||
|
||||
test: lint check-links check-details check-doc-structure check-directory-docs check-metadata check-ai-citation check-external-resources check-research-raw check-source-facts
|
||||
test: lint check-links check-details check-doc-structure check-directory-docs check-metadata check-gongfa test-gongfa check-gongfa-catalog test-gongfa-catalog check-ai-citation check-external-resources check-research-raw check-source-facts
|
||||
@echo "Quality gates complete."
|
||||
|
||||
clean: clean-deps
|
||||
|
||||
Reference in New Issue
Block a user