Skip to content

Commit ae47456

Browse files
committed
agents(os-dev): the authorable-surface anchor is written only by gen:authorable-surface-base, never by a plain build
Two lines rewritten in place (net 0 at 403); the prohibition line between them is untouched: - The causal claim narrows to what build-schemas.ts does: the deletion gate's in-tree anchor is written only in `--update-base` mode (`gen:authorable-surface-base`), never on a plain build — measured here by a plain `gen:schema` run that left `git status` empty. - Consequence stated where the old clause pointed the other way: on a plain build a move of that file is a finding, not an artifact. The "never revert it, never hand-edit it, `check:authorable-surface` green is the assertion" line survives verbatim. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018dxq7YqsLDMeZDZ5AzsgJX
1 parent 1a1e984 commit ae47456

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.claude/agents/os-dev.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ model: opus
190190
- 退役键的清扫默认走退役 playbook 的 tree-scoped 缺席 pin,不为一次缺席检查重建消费者闭包。
191191
- 跨包类型改动需要一次反向验证:贴进一个新类型会拒绝的键,确认转红,再恢复。
192192
- 这证明你读的是重建后的 `.d.ts`,不是缓存。
193-
- `packages/spec`:`gen:schema` 会重写 `authorable-surface.base.json`,这是预期产物
193+
- `packages/spec`:`authorable-surface.base.json` 只由 `gen:authorable-surface-base` 写,普通构建从不写
194194
- ⛔ 永不回退它、永不为凑某个相等手改它;作数的断言是 `check:authorable-surface` 绿。
195-
- `baseRev` 允许滞后,一行信息不是错误。
195+
- `baseRev` 允许滞后,一行信息不是错误;普通构建下该文件动了是 finding,不是产物
196196
- ⛔ 永不在 MERGE 态跑 `gen:schema`:HEAD 还是 merge 前的 tip,锚点会静默回滚到旧分叉点。
197197
- 那样门禁全绿而已落地的推进被吞掉;先 commit merge 再重生成:`bash scripts/pm/os-regen-merge.sh`
198198
- `git worktree` 只隔离工作树与 HEAD;`.git/` 下其余一切全 worktree 共享。

0 commit comments

Comments
 (0)