Skip to content

docs(ui): console guide names only the developer routes and pages the tree serves - #38707

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-38621-item7-console-guide
Nov 30, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
claude/issue-38621-item7-console-guide

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread
Fixes #38621

Clause-②: no
Metadata-protocol: none
Rule-change: none

维护者速读

  • 用户无感:只改了界面贡献者指南里的一段说明,把已不存在的开发者首页和裸路由改成控制台实际提供的三个开发者页面。
  • 为什么做:清理指南里过期的页面与路由名称,替贡献者避免照着不存在的入口去改代码。
  • 出错会怎样:最坏是贡献者读到一句不准确的说明,不影响任何运行中的功能,可直接撤回。
  • 要你做什么:批准这份受管指南的改动。

What changes

Item 7 of #38621 only (items 1-6 and 8 landed in #38678). One file, ui/.claude/skills/objectui-contributor/guides/console-development.md:

  • Page tree (around line 87): developer/ listed DeveloperHubPage, which is not in ui/apps/console/src/pages/developer/ on origin/main 1311136. It now lists the three pages there (ApiConsolePage, FlowRunsPage, IntegrationsPage) and names AgentConnectSection as the section IntegrationsPage renders.
  • Route fragment (around line 353): developer[/api-console | flow-runs | integrations] offered a bare developer route. AppContent.tsx declares no bare developer route; its comment says a /developer bookmark falls through to app-shell's generic :objectName route, and __tests__/AppContent.systemHubRoutes.test.tsx ("the retired Developer Hub URL") pins that. The line now lists the three served sub-routes and says the bare segment is unrouted.
  • The existing developer/public-forms -> RetiredPublicFormsRedirect line is unchanged and still matches AppContent.tsx (developer/public-forms is routed to that redirect).

No rule is added, removed or reworded; only names were corrected to what the tree serves.

Read first: the one hunk at line 353, which is the only place the guide's instruction to a contributor changes wording.

Two-minute check: grep -n "path=\"developer" ui/apps/console/src/AppContent.tsx shows four routes (api-console, flow-runs, public-forms, integrations) and no bare developer; ls ui/apps/console/src/pages/developer/*Page.tsx shows three pages and no DeveloperHubPage.

Tests

Docs-only change in a governed contributor guide; no code or test behaviour changed, so nothing was ablated.

Acceptance notes

  • No changeset: ui/.claude/** ships in no package's files[] (fast path), so this PR carries skip-changeset.
  • Local pnpm --dir ui exec vitest run scripts/ ran red in 22 files on this unbuilt worktree: 20 fail importing the built @objectstack/spec dist, and console-optimize-deps / date-only-zone-pins-10183 fail on unresolvable built packages and nested suites that ran no case. None of the 22 reads this guide, so this is NOT MEASURED locally, not a verdict on the diff. The two suites that do read it (check-skills-paths, check-shell-escape-residue) passed, and their scripts exit 0 run directly. Test UI in CI is the reading of record.

Verification

Local derived gates at d64ec57

node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 16 commands; the 15 non-vitest ones each exited 0, including pnpm check:nul-bytes ("no raw ASCII control bytes"), check-closing-keyword-parity and its --self-test, and pnpm check:pm-governed-merges. --ran reconciliation: 16 of 16 accounted for. node scripts/pm/overlap-check.mjs --branch=HEAD: VERDICT clean exit 0.


Generated by Claude Code

The page tree listed DeveloperHubPage under pages/developer/, and the
route fragment offered a bare `developer` route; neither exists on main.
List the three pages present and mark the bare segment as unrouted (it
falls through to app-shell's generic :objectName route).

Claude-Session: https://claude.ai/code/session_01ADHkmQu29PQequUrXXHYMn
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 30, 2026
@github-actions github-actions Bot added size/xs documentation Improvements or additions to documentation labels Nov 30, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmQm8PTU4AkVU5kdwEv
L1-a, the seat's L1 thread · 2026-11-30T06:39Z · first review

席位核对

ACCEPT @ d64ec57 (card #38621 item 7; one governed file, ui/.claude/skills/objectui-contributor/guides/console-development.md, +5/−3; Tier H)

Each changed sentence checked against the tree at this head

  • Page tree. ui/apps/console/src/pages/developer/ holds ApiConsolePage.tsx, FlowRunsPage.tsx and IntegrationsPage.tsx, and there is no DeveloperHubPage. AgentConnectSection is imported and rendered by IntegrationsPage.tsx:33. The new line says exactly that.
  • Route fragment. AppContent.tsx:268-272 declares developer/api-console, flow-runs, public-forms and integrations, and no bare developer route. Its comment at :261-267 says a /developer bookmark falls through to app-shell's generic :objectName route, and __tests__/AppContent.systemHubRoutes.test.tsx:536 ("the retired Developer Hub URL") pins it. The new fragment and its note match. The existing developer/public-forms -> RetiredPublicFormsRedirect line still matches :271.
  • No rule is added or reworded. Only names move to what the tree serves. Rule-change: none therefore reads right.
  • Fixes #38621 is correct to close the card. Items 1–6 and 8 landed in fix(app-shell): Studio form follow-ups: form menu icon, clash messages name forms by title (#38621) #38678 (merged 2026-11-30T05:48Z), so this PR carries the last item.
  • skip-changeset is correct, because ui/.claude/** ships in no package. Clause-②: no and Metadata-protocol: none hold.

Not measured, and not owed by this diff: the dev's local ui scripts/ vitest run was red on an unbuilt worktree, and none of those suites reads this guide. The two that do (check-skills-paths, check-shell-escape-residue) passed. CI's Test UI is the reading of record.

Checks at this head (read before writing): 30 success, 18 skipped, 0 failure, 0 pending; mergeable clean.
L2: owed at CONTRACT_REVIEW_TIER (face rules, per check-owed-reviews); no claim yet. Landing: Tier H by the maintainer, after L2.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract-review-claim: session_01ADHkmSAjFEZHRpRq3WCj6z · head d64ec57 · 2026-11-30T06:41Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d64ec57b7cb6974a572ad45adb9f1210a8050d4b
Local-runs: none
Scope: ui/.claude/skills/objectui-contributor/guides/console-development.md + none
Security-touching: no
Rule-change-verified: none

PR #38707, card #38621 item 7 (N2 of contract review 7258340131). Face: rules (governed agent guide under ui/.claude/**). The diff is one file, +5/−3, two hunks; its merge base is 1311136b2, and neither the guide, ui/apps/console/src/AppContent.tsx nor ui/apps/console/src/pages/developer/ moved on main between that base and origin/main 5a77a706, where the cited code was read.

① Derived judgments

  • Accept sets: none changed. The diff is prose inside two fenced blocks of a contributor guide; no schema, validator, route table or gate is edited. Right.
  • Public surface: none. ui/.claude/** ships in no package. Right.
  • Gate verdicts, read off the check-runs on this head: every concluded run is success or skipped, none failed. That includes Governed Surface Queue Guard, PR-body guards, Lint · docs & code guards, Lint · repo & tooling gates, Test UI, Check Changeset and Check PR Size.

② Semver level

Clause-②: no holds: no accept set and no export changes. No changeset and the skip-changeset label match what the diff publishes, which is nothing; Check Changeset is green on the head.

③ Boundary flags

  • The os-dev report for item 7 (card comment of 2026-11-30T06:13Z) has open_questions: [], security_findings: none and out_of_scope_findings: [].
  • Its one deviation that touches the contract: the hunk at :353 adds a two-line comment saying the bare developer segment is unrouted, and the dev holds that this keeps Rule-change: none. Answered: agreed. The comment restates the route comment at AppContent.tsx:261-267; it tells an agent nothing about what it may do, in what order, or what goes to the maintainer.
  • Its other deviation, the local vitest run scripts/ red on an unbuilt worktree, is declared NOT MEASURED and left to CI. Test UI is success on this head, so the reading of record is green.
  • SQL push-down: not applicable, the diff has no query or data-access code.
  • Rule change: neither hunk alters what an agent may do without the maintainer, what gets done and in what order, or what must go to him. Both correct names to what the tree serves. Rule-change-verified: none equals the PR body's Rule-change: none.
  • Security: the page-tree hunk names AgentConnectSection, the component that mints agent API keys, but only as a file under pages/developer/ and as rendered by IntegrationsPage. No hunk teaches permission, sharing, credential, token or authentication behaviour.

④ Design judgment

ui/.claude/skills/objectui-contributor/guides/console-development.md, each changed sentence against origin/main:

  • :87 developer/ # ApiConsolePage, FlowRunsPage, IntegrationsPage. ui/apps/console/src/pages/developer/ holds exactly these three *Page.tsx components and no DeveloperHubPage; AppContent.tsx:34-36 lazy-loads those three. Holds.
  • :88 (+ AgentConnectSection, rendered by IntegrationsPage). AgentConnectSection.tsx is in that directory, and IntegrationsPage.tsx:33 imports it and :180 renders it. Holds.
  • :353 developer/api-console | flow-runs | integrations. AppContent.tsx:268, :269 and :272 declare these three routes, and no route with the bare path developer exists. Holds.
  • :354-355 no bare developer route: it falls through to app-shell's generic :objectName route. This is the statement of the comment at AppContent.tsx:261-267; the route is { path: ':objectName', chunk: ObjectView } at ui/packages/app-shell/src/console/AppContent.tsx:187, and __tests__/AppContent.systemHubRoutes.test.tsx ("the retired Developer Hub URL") pins a /apps/setup/developer bookmark landing on the object view. Holds.
  • Unchanged, and read for agreement with the new lines: :361 developer/public-forms to RetiredPublicFormsRedirect matches AppContent.tsx:271. The fourth developer/* route is therefore still accounted for, under the legacy block where it belongs.

Rest of the same guide at this head: no line names DeveloperHubPage, "Developer Hub" or a bare developer route any more. The only developer lines are :87-88, :353-355 and :361. The remaining "hub" lines (:91, :351, :377, :434-435) are about SystemHubPage, which main still routes at system. Across ui/.claude/** on main, :87 of this guide was the only mention of DeveloperHubPage.

Tried to break it: the fall-through sentence is true with an active app; on a zero-app deployment the same test file measures the bookmark reaching the no-apps empty state, as it did before the retirement. The guide's fragment is headed "abbreviated — read the file for the full list and its rationale comments", so the sentence is not wrong for leaving that out, and no contributor action depends on it.

Card acceptance for item 7 (the guide no longer offers a bare developer route the tree does not serve, nor lists DeveloperHubPage): met.

No must-fix, no should-fix.

Implemented-by: claude/issue-38621-item7-console-guide
Reviewed-by: session_01ADHkmSAjFEZHRpRq3WCj6z

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

维护者速读

  • 用户能看到什么变化:用户无感;只改给开发 agent 看的控制台开发指南,把已经不存在的「开发者中心」页面和路由换成现在实际的三个页面和路由。
  • 为什么做:指南还在教 agent 去找一个早已删掉的页面,照着做会找不到;这是表单编辑器后续卡 Studio form editor follow-ups: menu icon, stale comments, clash message #38621 的最后一项。
  • 出错会怎样:只影响 agent 读的文字、不影响产品,写错了撤回这次合并即恢复。
  • 要你做什么:这是受管面(ui/.claude/**,Rule-change: none),需要你审批。契约复审 PASS 在评论 7270946138,Head-sha d64ec57b7cb6974a572ad45adb9f1210a8050d4b;批准后由席位落地。

Seat opinion: land as is. Both hunks name what ui/apps/console serves on main (pages/developer/ holds ApiConsolePage, FlowRunsPage, IntegrationsPage; AppContent.tsx declares the three sub-routes and no bare developer route), and no hunk changes what an agent may do.

席位核对

ACCEPT at head d64ec57b7cb6974a572ad45adb9f1210a8050d4b · Tier H (ui/.claude/**, Rule-change: none) · Fixes #38621

  1. Shape: one guide file, ui/.claude/skills/objectui-contributor/guides/console-development.md (+5/−3), item 7 of Studio form editor follow-ups: menu icon, stale comments, clash message #38621 (items 1–6 and 8 merged as PR fix(app-shell): Studio form follow-ups: form menu icon, clash messages name forms by title (#38621) #38678).
  2. Premise measured: the guide's ~:87 and ~:353 named the removed DeveloperHubPage and bare developer route; read against main by L1 and L2.
  3. Gates: check-runs on this head all success or expected skip, 0 failed; skip-changeset (nothing published).
  4. Accepted deviations: none.
  5. Out of scope and where it went: nothing left on Studio form editor follow-ups: menu icon, stale comments, clash message #38621.
  6. Landing: L1 ACCEPT 7270880358 on this head; L2 contract review PASS 7270946138 on this head, Rule-change-verified: none. Lands after os-zhuang approves.

ACCEPT → PR #38707 comment 7270880358 · Contract review → comment 7270946138

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 30, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 30, 2026 07:24
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 46373461795 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Dogfood Regression Gate (3/3) — 失败步骤: Boot example apps and exercise real user flows

    @objectstack/dogfood:test:  FAIL   isolated  test/package-move-in.dogfood.test.ts > dogfood: POST /packages/:id/move-in, the move door (#38150) > A3 (#37468) and the set rule: flow, dataset and report
      ↳ 失败原因: @objectstack/dogfood:test: AssertionError: expected 404 to be 200 // Object.is equality
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 3 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Queue ejection · 2026-11-30T07:45Z · head d64ec57b7cb6974a572ad45adb9f1210a8050d4b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Studio form editor follow-ups: menu icon, stale comments, clash message

3 participants