Skip to content

Gate ① is not passed by the template's unfilled 定了:{…} - #116

Merged
ZLHad merged 2 commits into
mainfrom
claude/gatecheck-placeholder
Oct 19, 2026
Merged

ZLHad merged 2 commits into
mainfrom
claude/gatecheck-placeholder

Conversation

@ZLHad

@ZLHad ZLHad commented Oct 18, 2026

Copy link
Copy Markdown
Owner

What and why · 改了什么、为什么

关卡是底线。tools/gatecheck.py 在"定了:"一行后面找列在它下面的决定,结果模板里原样留着的 - 定了:{…},只要后面跟着任意一条记录(比如 - 改了:…),关卡 ① 就算定了(#114 的代理报出的)。

  • 定了: 后面还是模板占位 {…} 的,不算决定,下面列的也不算。
  • 列在 定了: 下面的决定,碰到记录里的下一个字段(改了、原话、页面、理解、下一步)就停。

English summary. A 定了 line still holding the template's {…} placeholder no longer counts as gate ①'s decision, and decisions listed under 定了 stop at the record's next field.

How it was verified · 怎么验证的

  • 新的 CI 用例:原话写了、立意那一行已定,定了:{…} 没填、下面跟一条 - 改了:…:main 上通过(错),这里退出 1。原有的通过、跳过、quick 用例照旧。
  • tools/ci.sh --committed(shellcheck、pyflakes 真的跑了)通过。

Checklist · 自查

  • tools/ci.sh --committed passes · 通过
  • User-visible change noted in CHANGELOG.md → Unreleased · 已记进 CHANGELOG
  • Changed CLAUDE.md → ran bin/vh sync-agents · 没改 CLAUDE.md

@ZLHad
ZLHad marked this pull request as ready for review October 19, 2026 01:15
@ZLHad
ZLHad enabled auto-merge (squash) October 19, 2026 01:15
@ZLHad
ZLHad merged commit 2090c41 into main Oct 19, 2026
2 checks passed
@ZLHad
ZLHad deleted the claude/gatecheck-placeholder branch October 19, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant