Repository navigation
fix: runtime messages and help text name the Setup paths Setup shows - #39330
Conversation
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CbFgiyGToVRBFwedwF
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CbFgiyGToVRBFwedwF
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CbFgiyGToVRBFwedwF
📓 Docs Drift CheckThis PR changes 9 package(s): 8 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 4 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 198 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin fac492992771f4560bea643779449d444ae47321 && git checkout fac492992771f4560bea643779449d444ae47321
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 6b2e596027c7d4f9b01efab0766e3cfd4f2ba7df 5dfd1fdd75bfce2c3dfd38ee4b1b8b2e85756daa && git checkout -B drift-repro 6b2e596027c7d4f9b01efab0766e3cfd4f2ba7df && git merge --no-ff 5dfd1fdd75bfce2c3dfd38ee4b1b8b2e85756daa
node scripts/docs-audit/affected-docs.mjs --json 6b2e596027c7d4f9b01efab0766e3cfd4f2ba7df
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CbFgiyGToVRBFwedwF 席位核对ACCEPT at 2026-12-03T13:26Z · head
|
Fixes #39305
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Each runtime message and help text the card lists now names the group and entry Setup shows on
main, derived fromsetup.app.ts, the contributing package's nav contribution (setup-nav.contributions.ts,connector-credentials-ui.tsthroughrenamedFrom) andtranslations/en.ts:stack.zod.tsstorage guidance,authoring-key-lint.ts, cliserve.tslocal-driver warning, docsvalidating-metadata.mdxquotestack.zod.tssmsdescribe, plugin-auth phone-code refusalTwo in-file comments that named a retired path were corrected in the same files (
sys-user.object.ts"People & Organization",serve.ts"Setup → Datasources").The API key lifetime path differs from the card's suggestion (
nav_api_keys): the Default/Maximum key lifetime settings are the "API keys" section of the auth settings page (auth.manifest.ts, groupapi_keys), which Setup shows as Sign-in Methods, not the API Keys object list.Tests
packages/spec/src/ui/setup-paths-in-runtime-text.pin.test.ts(specrepoproject; spec already readspackages/**andcontent/**as text, so no import edge and no new radius declaration). It lists every location, asserts each names its expectedSetup → group → entry(group resolved from the contributor throughrenamedFrom, labels fromen.ts), and asserts everySetup → …path in a location starts with a live group label and a live entry label. A control case proves it flags every retired group name (groupkeywords), every former entry name (entrykeywords), the retired settings hub and a dangling path.template-currency-tenant-default.test.ts,membership-policy-gate.test.ts.Acceptance notes
Further runtime and help-text hits outside the card's files were found by the sweep and are not changed here (named for a follow-up):
packages/spec/src/system/sms-config.zod.ts(refusal + describe, alsopackages/spec/docs/references/system/sms-config.md),packages/spec/src/integration/connector.zod.ts(two refusals),packages/spec/src/migrations/entries/semantic/18.*(three),packages/services/service-automation/src/connector-credentials.ts(runtime message),packages/services/service-storage/src/multi-replica-local-root.ts,packages/plugins/plugin-auth/src/auth-plugin.ts,auth-settings-declared-defaults.ts,organization-default-currency.ts,packages/platform-objectsorganization and business-unit timezone help ("Settings → Localization → Default timezone"),ui/packages/i18n/src/locales/en.ts(two-factor message),examples/app-showcase/.env,docs/HARDENING.md, and manycontent/docs/**andskills/**pages.Verification
Pin, ablation and package tests (head 5dfd1fd)
pnpm --filter @objectstack/spec exec vitest run --project repo src/ui/setup-paths-in-runtime-text.pin.test.ts→ 14 passed.pnpm --filtertest: formula 2289 passed, organizations 356 passed, lint 10355 passed, platform-objects 2352 passed; focused: objectqlsrc/validation1615 passed, plugin-auth phone-SMS 18 passed, specsrc/stack+authoring-key-lint1157 passed.pnpm --filter @objectstack/spec check:generated→ all 14 artifacts up to date;node scripts/check-i18n-bundles.mjs --writeregenerated the en objects bundle.dispatch-gates --ran: 131 derived, 124 run green, 7 NOT MEASURED (exit 3 prerequisite: plugin-teardown-shape self-test needs a deeper clone, spec check:skill-examples, check:dual-build-cjs-loads and check:i18n-coverage need unbuilt dists; local timeout: check:query-options-erasure, check:slot-lookup, check:type-check-debt). CI runs them.Read first: the pin (its location table and the two rules), then
membership-policy-gate.ts(reflowed banner lines).Two-minute check: run the pin command above; expect 14 passed.
Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CbFgiyGToVRBFwedwF