🏛 架构平台 Arch.Platform

SKILL.md frontmatter runtime_dependency 语义边界与 arch-platform 校验规则

d72194e4
✏️ 编辑
优先级 P1
类型 合规
状态 已验证
负责人 @arch-platform-owner(小敏)

📝 描述

【scheduled】SKILL.md frontmatter runtime_dependency 语义边界与 arch-platform 校验规则。 ## 背景 SKILL.md frontmatter runtime_dependency 字段(2026-06-22 arch-platform-backend v0.2.0 加)的语义边界不清晰:(a) L1 vs L2 区分;(b) 同层之间是否允许;(c) 跨层引用是否禁止;(d) 缺失时是否报错。arch-platform 当前仅做 PATCH 字段透传,不校验语义。 ## 用户故事 作为 SKILL 作者,我希望 frontmatter runtime_dependency 语义边界明确且被 arch-platform 硬校验,这样可以避免循环引用、同层互依、缺失告警等隐性问题。 ## 验收标准 1. 文档化 4 类边界:L_n 引用 L_{n-1} 必须 / 同层 optional / 跨层禁止 / 缺失告警 2. arch-platform component create/update PATCH 校验这 4 类 3. audit scope=arch(REQ-8221cc84)能扫出 runtime_dependency 语义违规 4. 给出至少 3 个 SKILL.md 修复示例(本机 18 个 skill 中至少 3 个需改) ## 依赖 - 父 REQ-8221cc84(audit scope=arch 必须先做) ## 关联 - 复用 component:arch-platform v0.4.0、arch-platform-cli

👤 用户故事

作为 arch-platform owner,我希望决定 SKILL.md frontmatter runtime_dependency 字段的语义边界,以便 audit check 不再产生 false-positive blocker。

✅ 验收标准 (1 项)

  1. Given audit 跑 arch scope
    When 扫到 SKILL.md frontmatter runtime_dependency 引用非 arch-platform name
    Then 有明确规则判定 blocker / warn / info,不再 20 个 false-positive

🏷️ 标签

audit arch-platform REQ-8221cc84 runtime-dependency-semantics

🔄 推进状态

新状态
负责人
描述(rejected/cancelled 必填)

创建于 2026-06-27 01:44 · 决策于 2026-06-28 14:20 · 关闭于 2026-06-28 19:42