Skip to content

Commit dbfb0ac

Browse files
committed
docs(dogfood-verification): name the port-shift line as the shift signal; lower the ratchet row
The `server bound to port` line prints only when the requested port was taken, so the step reads it as the shift signal rather than a line every boot prints. The file shrank from 9525 to 9522 bytes; its ceiling follows. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
1 parent 04fbfb9 commit dbfb0ac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.claude/skills/dogfood-verification/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dev 工作树、dev-server 端口、preview 浏览器全是**共享的**:并行
3232
几条,⛔ 不留第二份拷贝。
3333

3434
- [ ] **自有端口**:挑一个空闲端口 —— 不要 3000(`os dev` 的缺省端口、Console 开发代理的缺省目标),也不要 `.claude/launch.json` 入库条目已占的端口。先查:`lsof -nP -iTCP:<port> -sTCP:LISTEN`。在 `.claude/launch.json` 加一条指向**本**工作目录的具名配置(该文件入库、`.claude/**` 受治理:⛔ 不提交你的条目),例如 `pnpm -C <abs>/examples/app-showcase exec objectstack dev --ui --seed-admin -p <port> -d file:/tmp/<run>/data.db`。工作树没了就**删掉自己那条** —— 死条目让 `preview_start` 挂在缺失的 `pnpm -C` 上。
35-
- [ ] **`-p` 由 `os dev` 自己导出给编译**,缺省启动的自 ping 连接器拨的就是本端口;坑在 `--no-compile`(拨上次编译看到的端口,导出 `OS_PORT` 不是修复)与端口被占时的顺移 —— 两条都住 RUNNER 的连接器条;先读日志的 `server bound to port` 行,再发第一个请求。
35+
- [ ] **`-p` 由 `os dev` 自己导出给编译**,缺省启动的自 ping 连接器拨的就是本端口;坑在 `--no-compile`(拨上次编译看到的端口,导出 `OS_PORT` 不是修复)与端口被占时的顺移 —— 两条都住 RUNNER 的连接器条;日志有 `server bound to port` 行即已顺移,照它发请求。
3636
- [ ] **自有数据**:`--seed-admin` 在空 DB 上给出 `admin@objectos.ai / admin123`。持久化 `-d file:/tmp/<run>/data.db` 重启后仍在(适合多步配置的运行);`--fresh` 给全新首跑(退出即清)。
3737
- [ ] **确认独占控制**:`preview_start` 后检查 `location.origin` === 你的 `http://localhost:<port>`。标签页不断漂到你没导航过的应用/路由、或出现你没写过的草稿 → **有并行会话占着浏览器**。别跟它抢;把所有检查钉到你的绝对 origin,靠 API + 源码(支柱 3)。
3838
- [ ] 要开 PR 就照 §5 在独立工作树里做 —— 永不从共享的脏分支提交。

‎scripts/pm/check-skill-line-ratchet.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const CEILINGS = new Map([
141141
['.claude/skills/checklist-test/references/closure.md', 4553], // new row, landed size, headroom 0
142142
['.claude/skills/checklist-test/references/standing-regression.md', 1261], // new row, landed size, headroom 0
143143
['.claude/skills/checklist-author/SKILL.md', 3574],
144-
['.claude/skills/dogfood-verification/SKILL.md', 9526],
144+
['.claude/skills/dogfood-verification/SKILL.md', 9522],
145145
['.claude/skills/spec-property-retirement/SKILL.md', 26922],
146146
['AGENTS.md', 78712], // raised 78401 → 78712 (+311 B, the volatile-counts rule less the counts it deleted) by ruling records 7233980615 「没用的统计数字直接删,不同步」 and 7234354812 (option A 「上调上限并删无用计数」) under ruling record 6184799323, letter B; raised 78106 → 78401 (+295 B, the merge-queue speed-budget sentence; 1050 → 1053 lines) by ruling record 7044162186 「抬到 1053,整句写进去」 under ruling record 6184799323, letter B
147147
['CLAUDE.md', 273],

0 commit comments

Comments
 (0)