From b0d8829070ce200359a273d147345d2b17012ef8 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 10 Sep 2026 09:56:28 +0000 Subject: [PATCH] docs(agents): name the missing tool, not an absent sibling `scripts/pm/` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The gate-derivation rules in `.claude/agents/os-dev.md` stated that sibling repos have no `scripts/pm/`. Measured on objectui `origin/main` (`a646262`): `scripts/pm/check-half-states.mjs` is there, with a live standing caller (`.github/workflows/half-state-patrol.yml`); only `dispatch-gates.mjs` is absent (control, same tree, same channel). The operative half is unchanged — a sibling without `dispatch-gates.mjs` still derives its gate families by hand from its own `package.json` and `.github/workflows/`. Rewritten in place, net-zero (403 lines before and after), 71 -> 114 bytes, under the 120-byte line cap. The sentence no longer claims anything about cloud, which is attached to no seat here and was never measured. Claude-Session: https://claude.ai/code/session_01YKEjmbYNvYWJvWGSWx26zK Co-authored-by: Claude --- .claude/agents/os-dev.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/agents/os-dev.md b/.claude/agents/os-dev.md index 178963a15d6..8460c9ea799 100644 --- a/.claude/agents/os-dev.md +++ b/.claude/agents/os-dev.md @@ -146,7 +146,7 @@ model: opus - 派生答哪些门禁读你改的文件,不答哪些测试测这个脚本。 - 跑同目录点名它的 `*.test.ts`,加同包 tests 下 `git grep` 该脚本文件名的全部命中。 - 该脚本只住在 objectstack,答案只关于它所在的树:每次推导第一行(stderr)点名仓与 commit。 -- 读之前先核对;姊妹仓(objectui / cloud)没有 `scripts/pm/`。 +- 读之前先核对;姊妹仓未必有 `scripts/pm/dispatch-gates.mjs`:objectui 只有 `check-half-states.mjs`。 - 把它们的路径喂进 objectstack 检出,得到的是 objectstack 的门禁族:形态完整、退出 0、全错。 - 那边的清单从该仓自己的 `package.json` 与 `.github/workflows/` 手工推导。 - 加 `--repo /` 申报本次答案该属于哪个仓,不匹配即拒绝并同时点名两个仓。