fix(skill): 自检/文档同步到方案 C(SC3/SC4/SC5 + rustdocflags + description)

- check-scaffold.py: 三条判据从旧模型(sspf 必须声明为 Cargo 依赖)改为方案 C:
  SC3 应用不声明平台/框架件;SC4 业务包不声明外部依赖;
  SC5 Cargo.toml 不出现 sspf(平台由 .cargo/config.toml 的 --extern 提供)。
  _base_tree 与 VIOLATIONS 同步,反自证仍 6/6。
- fetch-platform.sh: 生成的 .cargo/config.toml 同时写 rustdocflags
  (cargo test 的 doctest 走 rustdoc,不吃 build.rustflags,之前 E0432)。
- SKILL.md frontmatter description 改为「预编译 rlib / Gitea Release 按 tag+平台取包 / 零重编」。
- Cargo.toml 头部、HOWTO_MODULE、docs/runbook、new-pack/pack-sync 注释同步。

验证:verify.sh 全量 7/7(静态 3 步 + cargo test + release 构建 + 面 A/面 B 各 18 断言)。
This commit is contained in:
admin committed 2026-11-05 13:54:52 +08:00
1 parent a9c6bd34a3
commit d8a8165dd7
8 files changed
+82 -62

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@
`--check` 在「改了包没跑生成」时**红**,不要让漂移活到运行时。
🔴 **真源**:
- 表 DDL / 列 / 菜单 / 面 B 路由 ⇒ `packs/<app>/`(业务包,只依赖 `sspf` 门面)
- 表 DDL / 列 / 菜单 / 面 B 路由 ⇒ `packs/<app>/`(业务包,不声明外部依赖,走 --extern)
- 面 A 适配器 / spec 转发 ⇒ `src/backend/src/modules/<app>.rs`
用法: