Skip to content

Commit 8f8af36

Browse files
claude[bot]claude
andauthored
chore(claude): prune the dead launch.json entry, and the convention that left it (#14979)
`.claude/launch.json` carried a `pr3505-attach-3477` configuration whose `runtimeArgs` were rooted at `/home/user/objectstack-pr3505/examples/app-showcase` — a worktree that no longer exists. Delete it. The entry was not an author's slip: the dogfood skill's section 0 tells every session to add a named config pointing at its own working directory, and nothing told anyone to take it back out. So section 0 gains one line beside the existing add instruction: remove your entry when the worktree goes. Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox Co-authored-by: Claude <noreply@anthropic.com>
1 parent 99b4deb commit 8f8af36

2 files changed

Lines changed: 1 addition & 18 deletions

File tree

.claude/launch.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,6 @@
1818
"file:/tmp/showcase-dogfood-3777/data.db"
1919
],
2020
"port": 3777
21-
},
22-
{
23-
"name": "pr3505-attach-3477",
24-
"runtimeExecutable": "pnpm",
25-
"runtimeArgs": [
26-
"-C",
27-
"/home/user/objectstack-pr3505/examples/app-showcase",
28-
"exec",
29-
"objectstack",
30-
"dev",
31-
"--ui",
32-
"--seed-admin",
33-
"-p",
34-
"3477",
35-
"-d",
36-
"file:/tmp/pr3505-attach/data.db"
37-
],
38-
"port": 3477
3921
}
4022
]
4123
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ dev 工作树、dev-server 端口、preview 浏览器全是**共享的**:并行
3535
`lsof -nP -iTCP:<port> -sTCP:LISTEN`。在 `.claude/launch.json` 加一条指向****
3636
工作目录的具名配置,例如
3737
`pnpm -C <abs>/examples/app-showcase exec objectstack dev --ui --seed-admin -p <port> -d file:/tmp/<run>/data.db`
38+
工作树没了就**删掉自己那条** —— 死条目让 `preview_start` 挂在缺失的 `pnpm -C` 上。
3839
- [ ] **同时导出 `OS_PORT` —— 只给 `-p` 不够。** showcase 的自 ping 连接器读的是*
3940
*(`SHOWCASE_SELF_URL``OS_PORT``PORT`→3000),于是 `fetch failed` 冒充出口被封。
4041
- [ ] **自有数据**:`--seed-admin` 在空 DB 上给出 `admin@objectos.ai / admin123`。持

0 commit comments

Comments
 (0)