Repository navigation
Conversation
…与命名口径 Closes #35 - 扫描面扩第三址 docs/audits/task-review/(址B · 下游双址规约上游根治) - 址B 命名口径 YYYYMMDD_<slug>_r<n>.md:normalizeSlug 归一(dash↔underscore)+ 去 task_ 前缀 + _v<n> 后缀剥离 - 命名口径按址绑定不串址(址A 只认 task_*_audit_R<n>_* · 址B 只认 YYYYMMDD_<slug>_r<n>) - 跨址合并沿用最高 R 轮取最新语义;址B 目录不存在零噪音(existsSync continue) - findReview 布尔投影同源同治;spec 扫描面不扩(址B 语义为 task-review · 登记 follow-up) - 单测 +4:址B 单落 PASS / 不串址反向钉死 / 跨址取最高 R / _v<n> 后缀剥离(红绿对照在案)
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.
概要
findLatestReview(src/checks/review-gates.ts)扫描面扩第三址docs/audits/task-review/(址B),并支持址B 命名口径YYYYMMDD_<slug>_r<n>.md——下游仓(ops-desk-api)双址规约CONVENTION_review_gate_dual_address_v1_zh.md的上游根治。Closes #35
改动
src/checks/review-gates.tsfindLatestReview:docs/harness/reviews·reviews·docs/audits/task-review),址B 不存在时 existsSync continue 零噪音(同址A 口径)task_<slug>_audit_R<n>_*.md;址B 只认YYYYMMDD_<slug>_r<n>.mdnormalizeSlug归一(dash ↔ underscore)+ 去task_前缀 +_v<n>后缀剥离(同址A 口径)findReview布尔投影同源同治(status / dry-run / verify 消费面自动获益 · 零调用点改动)test/cli-verify-review.test.ts:+4 用例(址B 单落 PASS · 址A 式命名落址B 不认反向钉死 · 跨址取最高 R 轮 ·_v<n>后缀剥离)非范围(登记 follow-up)
findSpecReview·spec_reviews_retention· 同文件 :46)不扩址:址B 目录语义为 task-review,spec 审查暂无址B 落档实证(issue findLatestReview 支持址B docs/audits/task-review/ 扫描与命名口径(双址规约上游根治) #35 锚点节已登记)红绿对照证据
RED(实现前 · 本分支测试先行):
GREEN(实现后):
下游实证背景(issue #35 详录)
误报两起在案:
task_hitl_auto_resume_claim_race(审查文落址B → verify BLOCKED 误报)· B1/B2 两 task 同型。下游过渡纪律「必须落址A + 可双落」待本 PR 发版后收口(钉版 bump + 「址B 单落即绿」实证 + 解除双址复制强制)。