Repository navigation
chore: 清理治理噪音并支持 evidence 取代关系 - #12
Merged
Merged
Conversation
- Add `superseded_by` support: a historical evidence file can point at a newer record; the target must exist, and only freshness warnings are suppressed. - Mark the four phase-01 records as superseded by the delivery and metadata evidence that re-verified the same concerns at later commits. - Add two governance regression scenarios (21 -> 23). - Remove the stale machine-local feature pointer and document the field.
10 of 16 tasks
YanZhiwei
added a commit
that referenced
this pull request
Oct 29, 2026
- Record the installed state at the PR #12 merge commit: Bundle 0.1.2, 13 components, 33 native commands. - Note the two deliberate config changes since the upgrade and confirm the other configs, core skill, and tasks template are unchanged. - Cite the full quality gate and main Quality run 40802098059 (14/14).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
给历史 evidence 增加显式的“被取代”关系,并把 4 条长期存在的 freshness warning 降为 0 噪音;
保留唯一一条描述当前安装状态的 warning。
动机
phase-01-*evidence 落后 6 个提交,材料路径变化后持续告警变更类型
当前设计(改前)
scripts/check-governance.ps1扫描harness/evidence/*.mdhead_revision与 HEAD 的差异判断,没有“已被取代”的表达本次改动
scripts/check-governance.ps1superseded_by;目标必须存在,仅抑制 freshnessscripts/test-governance.ps1harness/evidence/phase-01-*.mddocs/development/quality-gates.md.specify/feature.json(本地)影响范围
check-governance.ps1设计
N/A:治理元数据与检查逻辑,不涉及运行时结构。
架构决策
行为与验收
phase-01-*已标记superseded_by target does not exist验证
scripts/test-governance.ps1-Check governance-Check staticscripts/test-static.ps1-Check docsgit diff --check文档
docs/development/quality-gates.md已说明字段与场景数。回滚
回滚本 PR 会恢复 5 条 warning;旧 evidence 文件本身不受影响。
superseded_by是可选字段,移除后检查器行为回到原状。
AI 使用披露
评审重点
Checklist