feat(flowguard): 阶段状态迁移矩阵 + 项目级文档校验 + 模块栈覆盖对照 - #3
Merged
loong10k merged 1 commit intoSep 23, 2026
Merged
Conversation
- stage_docs 增 LEGAL 迁移矩阵(单一事实源 + 全矩阵测试):满足态互跳/ 重复写拒绝,回改走 in_progress;invalidated(正文已变)允许直接重新验收; pending/invalidated 不可作为写入目标 - 项目级文档验收补内容校验:02 ADR 追加式格式、07 规范集覆盖全部已注册 模块栈(detect.detect 接线)、10 发布内容功能引用须已知 task-id - validate 命令同步校验 02/07/10 - ARTIFACT_STAGE 映射单源 registry.ARTIFACTS - state_lock 跨平台:fcntl/msvcrt 自适应 - 新增 test_stage_transitions/test_state_tools 与校验器单测;219 测试全绿 - README quick start 4→6 命令(双语)
loong10k
deleted the
feat/stage-transition-matrix-and-project-validation
branch
September 23, 2026 17:11
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.
摘要
按 codegraph 深析的优化清单落地 P0/P1/P2 改进,一个 PR 闭环。
变更
stage_docs.LEGAL(单一事实源 + 全矩阵测试)——满足态互跳/重复写拒绝(封accepted→accepted洗白、skipped↔accepted直跳);回改走in_progress;正文变更派生的invalidated允许直接重新验收;pending/invalidated不可写入stage advance --status accepted与validate命令detect.detect从孤儿变为 07 模块栈覆盖对照的数据源(废物利用)ARTIFACT_STAGE映射单源registry.ARTIFACTSstate_lockfcntl/msvcrt 跨平台自适应;新增test_state_tools直接单测(锁互斥/原子写失败保旧文/原子创建不覆盖)验证
python3 -m unittest discover -s tests219 全绿(+20 新测试:迁移矩阵 8、state 工具 5、校验器 5、其他);parity + 链接审计通过pending→accepted合法流)