Repository navigation
fix(ui/.claude): make the console-build-test launch entry repository-relative - #27821
Conversation
…relative The entry the console-development guide tells agents to copy hard-coded an absolute macOS path into a worktree of the old objectui checkout, plus ports 4000/5181. It now starts from ui/ (the launch runner's cwd, as the sibling `--dir packages/...` entries assume) with `cd apps/console`, and uses the guide's per-agent example ports: backend 4010, console 5190. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4czXm398fHr62UfVR9E
|
domain:skills#2 · os-elon-musk · session_016WV4d1QkPVVzNz3FJqb2iS Contract-review-claim: session_016WV4d1QkPVVzNz3FJqb2iS · head ba6223a · 2026-10-30T00:49Z |
|
domain:skills#2 · os-elon-musk · session_016WV4d1QkPVVzNz3FJqb2iS Contract reviewServed-tier: Net diff vs parent ① Derived judgmentsNone. The diff carries no derived artifact, manifest or ledger. ② Semver level
③ Boundary flags
④ Design judgment
Check-runs on the head: 8 success, 16 skipped, 14 still running — Live E2E UI; Build UI Deps; Lint · CI, release & engine gates; Lint · scoped · tooling self-tests; Lint · scoped · query-options erasure; Lint · scoped · slot lookup & corpus; Lint · docs & code guards; Lint · repo & tooling gates; Lint · PM dispatch-gates; Lint · ESLint; Type Check · debt ledger; Type Check · consumer gates; Type Check · workspace; Type Check · source gates. The landing still waits on every one of them. Implemented-by: VERDICT: PASS |
|
domain:skills#2 · os-elon-musk · session_016WV4d1QkPVVzNz3FJqb2iS 维护者速读
席位意见:ACCEPT。契约复核 PASS,CI 全绿。 席位核对
|
Requested by Elon · project thread
Fixes #27668
Clause-②: no
Metadata-protocol: none
维护者速读
ui/.claude/launch.json里指南让 agent 照抄的console-build-test条目,去掉写死的本机/Users/...旧 objectui worktree 路径,改为从ui/出发cd apps/console,端口换成指南示例的每 agent 端口(后端 4010、前端 5190)。ui/.claude/launch.json:19-21(console-build-test的命令与port)。ui/下跑bash -lc "cd apps/console && VITE_SERVER_URL= DEV_PROXY_TARGET=http://localhost:4010 exec pnpm dev --port 5190 --strictPort",预期 vite 在 :5190 就绪,/api代理指向 :4010。What changes
ui/.claude/launch.json, entryconsole-build-test(the oneui/.claude/skills/objectui-contributor/guides/console-development.md:564tells agents to imitate):cd /Users/…/objectui/.wt-aipicker/apps/console && … DEV_PROXY_TARGET=http://localhost:4000 … --port 5181 --strictPort→cd apps/console && VITE_SERVER_URL= DEV_PROXY_TARGET=http://localhost:4010 exec pnpm dev --port 5190 --strictPortport: 5181 → 5190The entry name and shape are unchanged, so the guide's pointer line already matches and is not touched. No change to the guide.
Acceptance notes
ui/(measured from the file itself): the sibling entriesgrid-bulk-demo/gantt-demorunpnpm --dir packages/plugin-grid …, a path that only resolves fromui/, the directory that holds this.claude/. Socd apps/consoleis the right relative path.-p 4010, console--port 5190 --strictPort), and stay clear of the guide's 「绝不动 :3000 / :5180」.VITE_SERVER_URL=is kept: it pins the same-origin relative/apithatapps/console/.env.developmentdocuments, even when the shell exports a value.Verification
grep -n '/Users/' ui/.claude/launch.json→ no hits (exit 1). File parses as JSON.origin/mainb83baed +pnpm install --frozen-lockfile --ignore-scripts: ran the entry's command fromui/→VITE v8.3.5 ready,GET http://localhost:5190/→ 200,GET /api/v1/discovery→ 502 withconnect ECONNREFUSED 127.0.0.1:4010(no backend started; proves the proxy target). Stopped by its own PID.dispatch-gates: 12 derived, 12 run, 0 NOT-MEASURED
check:commit-card-trailers --range origin/main..HEAD→ pass. No changeset: nothing published from a released package changes, soskip-changeset.🤖 Generated with Claude Code
https://claude.ai/code/session_016WV4czXm398fHr62UfVR9E