Implement the lint-owned part of the AI-readable documentation architecture
(marqdo-lint#13 / marqdo#55 §13) without adding document language or a second
parser. All rules read one public `check --emit` Analysis 3 projection.
New rules (25 total):
- MQD-ENTRY-001 (info): a manifest-backed or multi-module project entry is not
`index.mq.md`; standalone single-file documents are never warned.
- MQD-STRUCT-001 (info): the same canonical heading name appears under several
parents (valid, but bare anchors get numbered suffixes); points at
units[].name/path/heading_span.
- MQD-REL-001 (info): a link resolves to a loaded module that the document did
not import; states that links are static references, not imports/execution.
Also records the release/platform contract for marqdo-lint#9/#14: Linux x86_64
is the only supported platform (real v0.2.0 assets + local gates); macOS/Windows
stay UNVERIFIED/unsupported. Release assets and same-SHA CI requirements are
frozen in docs/RELEASE.md; publication remains a maintainer action (this repo's
CI only notifies the root reconcile). PROTOCOL_BASELINE now records the rc.6
candidate while keeping the rc.4+ accepted protocol floor for the still-rc.5 CI
image (tracked by #11).
No cross-repo dependency, no parser copy, no document syntax change.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
概述
实现
marqdo#55§13 /marqdo#56§4·§7 在 Lint 责任仓的子工单,不新增文档语言、不复制解析器、不新增跨仓依赖。交付
1. 文档结构规则(#13 / #12)
新增 3 条严格基于一次公开
check --emitAnalysis 3 的规则(目录共 25 条),全部info,不影响默认--fail-on warning:MQD-ENTRY-001:manifest 项目或多模块项目的入口不是index.mq.md(单文件文稿不提示)。MQD-STRUCT-001:同名标题出现在多个作用域(合法但裸锚点会编号),给出units[].path与新建议。MQD-REL-001:链接目标已加载但未被 import(链接是静态引用,不加载/不执行)。配套:
src/rules/structure.rs(规则+单测)、docs/RULES.md、catalog 计数与 CLI 测试更新。规则只读units[]/anchors[]/references[]/imports[]/project稳定字段,引用 CLI 候选spec/document-structure.md。2. 发行/平台合同(#9 / #14)
docs/RELEASE.md:Linux x86_64 为唯一 supported(v0.2.0 真实资产 + 本地门禁),macOS/Windows UNVERIFIED/unsupported;冻结资产名/SHA256/release-manifest.json/同 SHA CI/不可变发布与人工批准;明确.woodpecker/release.yml仅通知根对账、仓库 CI 不持有发布密钥。docs/PROTOCOL_BASELINE.md记录 rc.6 候选(源码63776735…、归档8dc0b006…),同时保留 rc.4–rc.6 同一 Analysis 3 的兼容门槛(CI 镜像仍 rc.5,由 #11 跟踪)。验证(真实,Linux x86_64 / glibc 2.43)
docs/evidence/2026-11-30-doc-structure-rules.md。v0.3.0发布(需维护者批准);本次不创建 tag/release。边界
{api_revision: 1, analysis: 3},CI 入口不变。refs #13 #14 #12 #11 #9