Repository navigation
refactor(example-starter): rename the Starter namespace from starter to biz - #38405
Conversation
…r to biz The two objects, the app, the dashboard, the two datasets and their translation keys move from starter_* to biz_*; every reference (lookup, related list, view data.object, menu, dashboard widgets, both locales) follows. The manifest id com.example.starter, the package name, the file names and the display name are unchanged. The blank-template parity test's namespace guard now reads 'biz'; the publish script's self-test fixture spells the same namespace. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oQLfL8thb6wtUHnTb
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oQLfL8thb6wtUHnTb
📓 Docs Drift CheckNothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 0 changed package(s)), so this run has no opinion about the docs. What this run could not see
Coarse fallback — 0 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb Final green head for L1: d11655c — 40 success, 17 skipped, 0 failed; mergeable clean. 15 files, +64 −54. Not governed; Clause-②: no, Metadata-protocol: none, so no contract review is owed. Dev report: card #38371 comment 7247818029. L1 requested from thread L1-a. Time-bound: must merge before the next Version Packages PR (#38192, still open). |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, for area o5-ai37000) · read 2026-11-29T00:30Z · Head-sha: This is the first L1 record on this PR, a full review. Checklist (l1-face
Acceptance, line by line (read at this head)
Accepted (nit, no action): the publish script's fixture keeps Landing: non-governed; the area lands it ( |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb ACCEPT → PR #38405 comment 7248164169 (L1, thread L1-a, head d11655c). |
Requested by Leehom · project thread
Fixes #38371
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
The Starter app (
examples/app-starter) now declaresnamespace: 'biz', and every API name that carriedstarter_carriesbiz_:starter_companybiz_companystarter_contactbiz_contactstarter_appbiz_appstarter_overview_dashboardbiz_overview_dashboardstarter_company_metricsbiz_company_metricsstarter_contact_metricsbiz_contact_metricsEvery reference follows: the contact's company lookup, the company's related list, the views'
data.object, the menu, the dashboard widgets' datasets, the translation keys in both locales, the README listing text and the boot test. Unchanged, per the ruling:manifest.id(com.example.starter), the package name, file names and the display name. No alias and no retirement window (the Starter installs unmanaged, ADR-0131 D6).The blank-template parity test (
packages/create-objectstack/src/blank-template-starter-parity.test.ts) now guards the Starter's namespace as'biz'; the blank template itself keepsblank_*andnamespace: 'blank'. The publish script's self-test fixture spells the same namespace. One patch changeset for@objectstack/example-starter.The cloud half is carried by objectstack-ai/cloud#5282; the knowledge-article card #38372 starts from this branch.
First read (by risk):
examples/app-starter/src/translations/starter.translation.ts: the nested object, app, dataset and dashboard keys in both locales; a missed key would surface as an untranslated label.packages/create-objectstack/src/blank-template-starter-parity.test.ts: the namespace guard is the one assertion that changed value.examples/app-starter/test/boot.test.ts: the install, menu and uninstall paths now readbiz_*.Tests
pnpm --filter @objectstack/example-starter validate: Validation passed.pnpm --filter @objectstack/example-starter test: Test Files 1 passed (1), Tests 5 passed (5) (installs unmanaged, reads the menu, uninstalls).pnpm --filter @objectstack/example-starter typecheck: exit 0.pnpm --filter create-objectstack exec vitest run --maxWorkers=2 src/blank-template-starter-parity.test.ts: Tests 9 passed (9);pnpm --filter create-objectstack typecheck: exit 0.node scripts/ci/publish-starter-marketplace.mjs --self-test: 20 cases pass.--dry-runprints"namespace": "biz"and"manifest_id": "com.example.starter"; the builtdist/objectstack.jsonholds 0starter_names.All readings at head d11655c.
Acceptance notes
git grep -n "starter_" -- examples/app-starter ':!examples/app-starter/CHANGELOG.md'prints nothing at d11655c.examples/app-starter, the only remainingstarter_companyspellings are the two standalone fixtures the card puts out of scope (packages/spec/src/stack-nav-platform-object-requires-object.test.ts,packages/lint/src/validate-object-references.test.ts); neither reads the Starter.Verification
Two-minute check:
pnpm --filter @objectstack/example-starter testshows 5 passed, and the menu assertion listsbiz_company,biz_contact,sys_task,sys_note.Derived local gate subset (dispatch-gates --commands at d11655c)
81 derived; 78 run with exit 0 (
check-plugin-teardown-shape --self-testfirst exited 3 on the shallow clone, then 0 after fetching its pinned fixture commit;check:i18n-coveragefirst refused on missing builds, then OK after building its prerequisite closure: 15 configs, none new). NOT MEASURED, left to CI:check:dual-build-cjs-loads(needs a whole-workspace build),check:type-check-debt(whole-workspace sweep) andcheck:pm-dispatch-gates(beyond the foreground cap). Dogfood: not owed (no!title, no narrowing arm).Generated by Claude Code
🤖 Generated with Claude Code