Repository navigation
fix: remaining runtime, help and locale strings name the Setup path Setup shows - #39373
Conversation
…credentials, storage, auth, localization) 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 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>
📓 Docs Drift CheckThis PR changes 6 package(s): 19 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 8 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. What this run could not see
Coarse fallback — 196 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 d06c365b38e8a2a2674b19a97b9b40549425b6c4 && git checkout d06c365b38e8a2a2674b19a97b9b40549425b6c4
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 8157fd7127a659e2147524f3f8e4bd3bccd6eeee c03fabbf177f9407f19886d12d4c51d262ed84f2 && git checkout -B drift-repro 8157fd7127a659e2147524f3f8e4bd3bccd6eeee && git merge --no-ff c03fabbf177f9407f19886d12d4c51d262ed84f2
node scripts/docs-audit/affected-docs.mjs --json 8157fd7127a659e2147524f3f8e4bd3bccd6eeee
|
|
repo:objectstack@os-bill · os-bill · session_01Utp6CbFgiyGToVRBFwedwF 席位核对ACCEPT at 2026-12-03T15:19Z · head
|
… two-factor Claude-Session: https://claude.ai/code/session_01Utp6CbFgiyGToVRBFwedwF Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack@os-bill · os-bill · session_01Utp6CbFgiyGToVRBFwedwF 席位核对ACCEPT (delta) at 2026-12-03T15:29Z · head
|
…arrow path The de pack's quote-pairing census reads a „…“ span only over letters, marks, digits, punctuation and spaces; the arrow inside the quoted Setup path left one opener unpaired. The path now sits in parentheses. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CbFgiyGToVRBFwedwF
|
repo:objectstack@os-bill · os-bill · session_01Utp6CbFgiyGToVRBFwedwF 席位核对ACCEPT (delta) at 2026-12-03T15:53Z · head
|
Fixes #39332
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Every remaining location the card lists (plus the scope addition) now names the group and entry Setup shows on
main. Each target was derived the way the precedent PR derived it: the entry's contributing package (setup-nav.contributions.ts,connector-credentials-ui.ts, throughrenamedFrominsetup.app.ts) and the labels of thesetup:block oftranslations/en.ts.sms-config.zod.ts(both refusals,retriesdescribe, header) + regenerateddocs/references/system/sms-config.mdstack.zod.tssmsdescribe)connector.zod.ts(entry credential guidance, URL-credential refusal), service-automationmissingCredentialReasonsys_organization/sys_business_unittimezone help,sys_work_calendartimezone helpsys_organizationname help, retiredrequire_mfahelp (same file, same defect class)en.objects.generated.tscheck-i18n-bundles --write*.objects.generated.ts(ar, de, es-ES, fr, ja-JP, ko, pt-BR, ru, zh-CN, zh-Hant)translations/LOCALE.tssetup:block (no label invented; Arabic keeps its left arrow)auth.remediation.mfa.unavailable(en, zh-Hans, zh-Hant viagen:zh-hant)The extract tool does not retranslate: merge mode keeps every translated value, so the translated path segments were edited by hand as values, with structure untouched (
check:i18ngreen).Pin (
packages/spec/src/ui/setup-paths-in-runtime-text.pin.test.ts):liveLabels()reads only thesetup:app block, so Account and Studio groups ("Developer", "AI") no longer count as Setup groups; a new case asserts that.startsWithLabelnow documents its rule (whole label, then end or punctuation; scripts without word spaces only get the prefix check).LOCATIONSgains 24 rows: the 11 runtime/help source files, the 10 translated bundles (locale-aware: that bundle's own Setup app label, group and entry labels and arrow), and the three ui packs (onlyrestricts a row to the marked line, because uien.tsstill names other paths; see Acceptance notes). The en bundle row now requires the localization and access-policy entries too.Tests
Pin, ablation (head 1c0e8df)
Tests 40 passed (40).850d240b8text (git restore --source; old phrases landed in 10 files bygit grep -c), pin rerun:Tests 25 failed | 15 passed (40): every new row plus the en-bundle row fails, the 12 untouched precedent rows and 3 non-row cases pass. Restored withgit checkout HEAD;git diff HEADandgit status --porcelainempty afterwards.Package suites and typecheck
turbo run typecheck --onlyfor spec, core, platform-objects, plugin-auth, service-automation, service-storage:6 successful.test: 132 files / 2352 passed. coretest: 163 / 3855 passed. service-storagetest: 88 / 1746 passed, 1 skipped.connector-credential-source.test.ts: 24 passed. plugin-authauth-settings-live-status.test.ts+organization-created-default-currency.test.ts: 48 passed.src/stack-email-sms.test.ts src/integration src/system src/stack.test.ts: 101 files / 3859 passed (one staletoContain('Settings')assertion in stack-email-sms updated to the new path).packages/app-shell/.../RemediationOverlay.enrollUnavailable-30295.test.tsx packages/i18n/: 111 files / 1878 passed, 13 skipped.build+check:generated: all 14 artifacts up to date aftergen:docs.Derived gates
dispatch-gates --ran: 111 derived, 103 run with exit 0, 8 NOT MEASURED (whole-repo eslint/tsc ratchets past the local timeout, a shallow-clone prerequisite of a self-test, and two build-state prerequisites of this worktree), 0 unrun.check:i18n,check:i18n-stale-fill,check:cross-package-test-inputs,check:doc-authoring,check:nul-bytes,check:published-files, speccheck:api-surfaceexit 0. CI runs the full set.Acceptance notes
setup-paths-in-runtime-text.pin.test.ts(theliveLabelsblock slice and the locale rows); (2)core/src/security/api-key.ts(a refusal message reworded around a substring another test pins); (3) one translated bundle, e.g.zh-CN.objects.generated.ts.sys_organizationname and retired multi-factor help (same file, same defect class) and the plugin-authSetup → Sessionscomment.startsWithLabelrequires.en.tsstill namesSetup → Permission Set Assignment,Setup → AI & Embedder,Setup → Usersand aSettings → Localizationtimezone notice;service-smscapability-arg.tssays "Settings → SMS Delivery → Provider";sys-exchange-rate.object.tssays "Localization → Default currency"; the es-ES and ja-JP business-unit timezone help is an old translation that names no path.content/docs/**prose,skills/**,docs/HARDENING.md,examples/app-showcase/.env.Verification
Two minutes:
pnpm --filter @objectstack/spec exec vitest run --project repo src/ui/setup-paths-in-runtime-text.pin.test.tsshould printTests 40 passed (40).Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CbFgiyGToVRBFwedwF