Skip to content

fix(service-automation): connector credentials Setup entry names group_integrations_dev - #39775

Draft
objectstack-fleet[bot] wants to merge 5 commits into
mainfrom
claude/issue-39335-wip
Draft

objectstack-fleet[bot] wants to merge 5 commits into
mainfrom
claude/issue-39335-wip

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Elon · project thread
Fixes #39335

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户无感:设置应用里「连接器凭据」「连接器连接」两个入口位置不变,只是每次启动不再打印一条针对平台自身导航的过期分组告警。
  • 归属设置导航分组改名的收尾,补上上一轮同类改名漏掉的最后一个平台入口。
  • 出错时最坏是这两个入口落不进集成与开发者分组;改动只有一个分组标识,可直接撤回。
  • 无。

What changes

packages/services/service-automation/src/connector-credentials-ui.ts: the bundle's Setup navigation contribution names the Integrations & Developer group by its live id, group_integrations_dev, instead of the retired group_integrations. The retired id still landed there through the group's renamedFrom, which is why the entries rendered correctly while every boot logged nav_contribution_group_renamed. The doc comment's sibling-priority list is corrected to what the other contributors declare today (Datasources 105, Cloud Connection 110, Webhooks 115).

The sibling contributions (service-datasource, service-messaging, plugin-webhooks, cloud-connection) already name group_integrations_dev; this was the last platform contribution on the retired id (git grep "group: 'group_integrations'" under packages/, non-test: zero hits after this change).

Patch changeset for @objectstack/service-automation.

Tests

Pin test beside the file, packages/services/service-automation/src/connector-credentials-ui.test.ts:

  • the existing bundle-shape assertion now expects group_integrations_dev;
  • new block "the connector credentials UI bundle names a live Setup group": the contribution's group is a group SETUP_APP declares and not one listed under any renamedFrom (read off SETUP_APP, not spelled in the test); checkNavContributionGroupRenames reports nothing for the bundle and does report the retired spelling (non-vacuity); a SchemaRegistry merge lands both items in that group.

Ablation: reverting the one line to group_integrations on disk turns 4 of the 9 tests in the file red; restoring it returns 9/9 green.

Acceptance notes

  • The card's other half ("a boot logs no nav_contribution_group_renamed") is covered by the diagnostic-level assertion above, not by a showcase boot; no full boot was run locally.

Verification

Read first: connector-credentials-ui.ts (the one-line re-point, line 67), then the new describe block in connector-credentials-ui.test.ts.

Two-minute check: pnpm --filter @objectstack/service-automation exec vitest run --maxWorkers=2 src/connector-credentials-ui.test.ts — expect 9 passed.

Local gate readings at d8739ec
  • pnpm --filter @objectstack/service-automation test: 307 files / 4568 tests passed (at 5c86edf, under the verify lock, VERDICT command-exit 0); typecheck (tsc + test-typecheck) exit 0 at d8739ec.
  • Pin test file alone at d8739ec: 9 passed; ablated (retired id on disk): 4 failed / 5 passed; restored: 9 passed.
  • dispatch-gates --commands derived 65 families; all 65 run, --ran reconciliation 65/65. Exit 0: 59, plus check:test-source-alias (red on the first run: the test imported the platform-objects/apps subpath through dist; fixed in d8739ec by importing the aliased package root, re-run exit 0).
  • NOT MEASURED locally, left to CI: check:dual-build-cjs-loads (exit 3, PREREQUISITE NOT MET: needs a full pnpm build); check:query-options-erasure, check:slot-lookup, check:type-check-debt (each hit the 250 s local cap on a shared box, exit 124).
  • node scripts/ci/snapshot-next.mjs --self-test exits 1 (one stable-lane case); the script is byte-identical to origin/main and the diff touches nothing it reads; reported, not fixed here.
  • Re-run on d8739ec: test-source-alias, cross-package-test-inputs, undeclared-dep-imports, issue-citations, empty-changeset, changeset-no-major, nul-bytes: all exit 0. eslint on the two touched files: exit 0.

🤖 Generated with Claude Code

https://claude.ai/code/session_016WV4cwiNRyb9B38wT2fjYj

…p_integrations_dev

The contribution still spelled the retired group_integrations, so it landed
only through the successor group's renamedFrom and every boot logged a
nav_contribution_group_renamed warning. Pin the group against SETUP_APP's
live ids.

Claude-Session: https://claude.ai/code/session_01Utp6Cb7xdFx3kJYWTmyntt
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6Cb7xdFx3kJYWTmyntt
Co-authored-by: Claude <noreply@anthropic.com>
…root

The subpath import resolved through dist/ (check:test-source-alias); the
root entry re-exports SETUP_APP and is already aliased to source.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4cwiNRyb9B38wT2fjYj
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Dec 5, 2026
@github-actions

github-actions Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/service-automation, touching 3 documentable anchor(s).

6 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/deployment/install-modes.mdx (via navigationContributions (symbol, a field of const object CONNECTOR_CREDENTIALS_UI_BUNDLE))
  • content/docs/deployment/marketplace-handbook.mdx (via navigationContributions (symbol, a field of const object CONNECTOR_CREDENTIALS_UI_BUNDLE))
  • content/docs/getting-started/examples.mdx (via navigationContributions (symbol, a field of const object CONNECTOR_CREDENTIALS_UI_BUNDLE))
  • content/docs/protocol/kernel/i18n-standard.mdx (via navigationContributions (symbol, a field of const object CONNECTOR_CREDENTIALS_UI_BUNDLE))
  • content/docs/protocol/kernel/plugin-spec.mdx (via navigationContributions (symbol, a field of const object CONNECTOR_CREDENTIALS_UI_BUNDLE))
  • content/docs/ui/apps.mdx (via navigationContributions (symbol, a field of const object CONNECTOR_CREDENTIALS_UI_BUNDLE), group_integrations (literal, a string literal in navigationContributions), group_integrations_dev (literal, a string literal in navigationContributions))

⛔ 1 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/v18/18-4.mdx (via navigationContributions (symbol, a field of const object CONNECTOR_CREDENTIALS_UI_BUNDLE))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • the SDK route bridge reached 71 of 255 client-bound route-ledger rows — the other 184 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 184: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 60 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 11 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 64b295cdd75b8fe0aafe158bdb0d7aa54d737b79 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 7343eb5cc862817e49267328102c161e89c2dbd7 — the merge of head a5bebdbca94cea8908ed4301334d8f5071c23957 into base 64b295cdd75b8fe0aafe158bdb0d7aa54d737b79, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 7343eb5cc862817e49267328102c161e89c2dbd7 && git checkout 7343eb5cc862817e49267328102c161e89c2dbd7
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 64b295cdd75b8fe0aafe158bdb0d7aa54d737b79 a5bebdbca94cea8908ed4301334d8f5071c23957 && git checkout -B drift-repro 64b295cdd75b8fe0aafe158bdb0d7aa54d737b79 && git merge --no-ff a5bebdbca94cea8908ed4301334d8f5071c23957

node scripts/docs-audit/affected-docs.mjs --json 64b295cdd75b8fe0aafe158bdb0d7aa54d737b79

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 64b295cdd75b8fe0aafe158bdb0d7aa54d737b79 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cwiNRyb9B38wT2fjYj

CI note: 2026-12-05T02:05Z · Lint · CI, release & engine gates is red at head d8739ec3 on one gate, Snapshot lane guard self-test (scripts/ci/snapshot-next.mjs --self-test). It is not this PR's. scripts/ci/ is byte-identical to origin/main here, the same job is red on main 56bed066 (runs 47454493981 and 47452564684), and #39756 tracks it: the self-test fixture's 30-day waiting window expired. The PR waits for that fix on main. Zone em-bill.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4czzaKz49WLAvKtdyiY

席位核对

L1 verdict (L1-b): ACCEPT at head d8739ec3e8 (Fixes #39335, p3). Read at 2026-12-05T02:23Z.

Face: l1-face --pr 39775: 13 ok, 2 flags (floor-checks, all-checks). The red is the same single one: snapshot-next self-test FAILED (1) in Lint · CI, release & engine gates (job 145497454134), with Lint & Repo Gates as its aggregate. That is the main-wide #39756, fixed on main by #39763. Everything else: 37 success · 17 expected skip. No job is pending at this head.

Against the card. Done-when has two parts: "names group_integrations_dev" and "a boot logs no nav_contribution_group_renamed". The first is the one-line change. The second is pinned at the diagnostic level: checkNavContributionGroupRenames returns [] for the bundle and does report the retired spelling (non-vacuity), and a SchemaRegistry merge lands both items in the live group. I accept this in place of a showcase boot, because that function is where the warning comes from. On main, git grep "group: 'group_integrations'" under packages/, excluding tests, finds nothing at this head. Fixes is right.

Doc comment: the corrected sibling priorities are true on main: datasource 105 (datasource-admin-plugin.ts:711), cloud-connection 110 (cloud-connection-ui.ts:109), webhooks 115 (webhook-outbox-plugin.ts:285). So 120 still sorts last of the connection surfaces.

Changeset: a patch on @objectstack/service-automation. Both sentences are true of the diff. The test imports @objectstack/objectql and @objectstack/platform-objects through their package roots, and the report has check:test-source-alias and undeclared-dep-imports green at this head.

Landing: not governed, Clause-②: no, +59/−6. Merge main and re-run, then land once Lint is green. A merge-only head keeps this L1. Per em-bill, landing goes through the seat.


Generated by Claude Code

This branch has not been deployed

No deployments
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/s tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

1 participant