Pin marqdo-lint C2 a9c48ed (PR #16/issue #13 P2) in the root gitlink tree. The component adds heading-jump and unused-import Analysis-3 rules (catalog 27, info only); root catalog/entries are unchanged. Evidence: docs/evidence/2026-11-30-lint-p2-promotion.md.
This commit is contained in:
1 parent
681cc70808
commit
4fa340f7e5
2 files changed
+43
-1
No files matched your search
@@ -0,0 +1,42 @@
|
||||
# Lint P2 规则晋升(A2 候选)
|
||||
|
||||
Date: 2026-11-30.
|
||||
Root candidate: `codex/promote-lint-p2`.
|
||||
Component: `marqdo-lint` C2 `a9c48ed65776343b55c4ef6acab9fff5d0f6dff2`
|
||||
(PR #16, issue #13 P2).
|
||||
|
||||
## 1. 晋升内容
|
||||
|
||||
| 组件 | 旧 gitlink | 新 gitlink |
|
||||
|---|---|---|
|
||||
| lint | `cd01607fea2d89752f58afc8a4cbaa77a02759ff` | `a9c48ed65776343b55c4ef6acab9fff5d0f6dff2` |
|
||||
|
||||
C2 证据:
|
||||
|
||||
- 新增 `MQD-STRUCT-002`(父单元非 root 时标题层级跳级)与
|
||||
`MQD-REL-002`(import 未被 calls/references 使用),catalog 27 条,均
|
||||
`info`,默认门槛不变。
|
||||
- 规则只读公开 Analysis 3;单测覆盖跳级/未使用 import;真实 CLI Tool
|
||||
install→lint→remove 验证 0 误报(inventory 示例)。
|
||||
- 本地:fmt/clippy、66 tests、check-no-legacy、package-tool PASS。
|
||||
- 平台 Woodpecker:push #22 / PR #23 success。
|
||||
- 组件证据:`docs/evidence/2026-11-30-doc-rules-p2.md`。
|
||||
|
||||
## 2. 根候选校验
|
||||
|
||||
```text
|
||||
python3 scripts/check-layout.py
|
||||
python3 scripts/check-layout.py --checkouts
|
||||
python3 scripts/check-repo-conventions.py
|
||||
bash scripts/integration.sh
|
||||
```
|
||||
|
||||
本候选树执行;平台 CI 以根 PR 为准。集成必须显示
|
||||
`PASS: ecosystem candidate (single CLI/Worker/Bundle artifact, consumers green)`
|
||||
且 lint gate 使用同一 CLI/Bundle 通过。
|
||||
|
||||
## 3. 边界
|
||||
|
||||
- 只更新 lint gitlink + 本文档;catalog/entry/其他组件不变;未创建 release。
|
||||
- 两条规则为 info,不改变现有失败门槛;跨文档导航/验证类规则仍属 #13 后续。
|
||||
- macOS/Windows、rc.6 官方归档消费仍 UNVERIFIED。
|
||||
+1
-1
Submodule tools/lint updated: cd01607fea...a9c48ed657.
Reference in new issue
Block a user