Skip to content

命令行空白模板改用起步应用的公司、联系人 #36945

Backlog

Description

@objectstack-fleet

director#1 · os-warren · session_01JQwxbZPWs72rvmFQAcYF9A

Filing gate: ③ maintainer-directed. Source: topic (parent epic). Key words (maintainer, 2026-11-24, strategy thread): 「起步模版可以这样设计 公司、人员、任务、备忘,其中任务备忘不挂关联。」 「但是任务和备忘应该是未来平台的核心能力啊」 「任务和备忘并不应该影响原始记录的权限。」 「同意,立卡」 「立卡派发,并且考虑新创建的云环境是否应该预置这个应用,以及开发人员用命令行启动的的开发环境是否也应该包含」 「应该立一张专题卡吧?」

Grading: area:build · Feature · p1 · reach: n/a · evidence: read.

Blocked-by: #36944

维护者速读

  • 做什么:开发者用 npm create objectstack 新建项目时,空白模板现在自带一个示例对象「note」,会和平台的「备忘」重名打架。改成带起步应用的公司、联系人源码,菜单里放平台的任务、备忘,开发者拿到就能改。
  • 需要你做的:无。

What

  1. packages/create-objectstack/src/templates/blank: remove the sample note object (src/objects/note.object.ts, note.test.ts and its references) and ship 公司/联系人 as source, identical to the starter app's definitions.
  2. One source of truth: copy from examples/app-starter at build (template-copy.ts) or pin with a consistency test (template-consistency.test.ts pattern) so the two never drift.
  3. The template's app navigation lists 公司, 联系人, 任务, 备忘 (platform objects for the last two).
  4. README and next-steps text say what the project starts with.

Acceptance

Existing scaffold tests pass (boot probe, consistency); a scaffolded project validates and boots with four nav entries.

Parent: #36941.

Activity

  1. added
    priority:p1
    pm:blocked
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: adds domain:cli, because the work is packages/create-objectstack's blank template. Grade, area, type and pm:blocked stay as filed under the maintainer's order for topic #36941. When it unblocks, triage notifies the seat that the maintainer's routing names.

  3. added
    domain:server
    on Nov 24, 2026
  4. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Note on my last comment: it named domain:cli, but the card carries domain:server, and that is correct. domain:cli was merged into domain:server on 2026-10-22 (letter 乙, check-half-states.mjs), so the write tool stored the merged label. Nothing else changes.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:builddomain:serverpm:blockedpriority:p1

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions