Skip to content

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

Done
3 of 3 issues completed
Done

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.

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues

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.

  5. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:build · domain:server · priority:p1 · pm:queue; rationale: the CLI blank template switches to the starter app's companies and contacts (epic #36941). Its blocker #36944 closed (PR #37399).

    Triage: unblocked. pm:blocked → pm:queue. Route: seat 4 is winding down, so this p1 goes to seat 5, which built #36944 and whose zone o5-A takes every area's p1. #37404 (the sys_task menu-entry refusal, seat 7) is on the same path.

  6. added
    pm:queue
    and removed
    pm:blocked
    on Nov 26, 2026
  7. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    Claim: PM loop round 3
    Session: session_01Utp6CY2uhJ1AYNPw5TUSVS
    Account: os-bill
    Branch: pending — the card thread's own branch; amended on this card when the thread reports it
    Worktree: objectstack-issue-36945
    Domain: domain:server
    Seat: repo:objectstack#5
    Area: o5-P
    File surface: packages/create-objectstack/src/templates/blank/**, packages/create-objectstack/src/*.test.ts and the copy/consistency helpers in packages/create-objectstack/src/, one .changeset/36945-blank-template-starter.md; read-only: examples/app-starter/** (stop on breach; explain in the report)
    Container & model: L, mode:thread, model: default tier — dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)", effort: high (L: template object swap across objects/views/app/tests/README plus a no-drift pin to the starter app and the scaffold boot probe)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7181879981
    Premise: holds — read at origin/main da7c559 2026-11-26T03:45Z: blank template still ships src/objects/note.object.ts, src/views/note.view.ts, note.test.ts and note references in src/apps/main.app.ts, README, vitest.config.ts, template .github/workflows/ci.yml; examples/app-starter landed with PR #37399 (#36944). Same path as #37404 (validate refuses a sys_task/sys_note menu entry without requiresObject, open, unclaimed): the template uses requiresObject like the starter until that lands.
    Serial constraints cleared: no open PR touches packages/create-objectstack/** (all open PRs' file lists read 2026-11-26T03:45Z); #37404 is packages/spec only.
    Pre-claim lane: domain:server (packages/create-objectstack, triage 7128693249); zone o5-P (area:build p1; triage routed to seat 5 at 7181879981).
    Pre-claim deps: Blocked-by: #36944 closed (PR #37399 merged ecbe854).
    Prior rulings read: starter,template,blank,scaffold,note → 43 hits; ADR-0131 D13, ADR-0019 D3, ADR-0022 Decision §5, ADR-0032 Decision §2–§5, ADR-0036 Decision §2; thread: none; repo: objectstack-ai/objectstack — surface grep zero hits; the dev reads the named decisions before writing.

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  9. 8 remaining items

  10. removed
    pm:dispatched
    on Nov 26, 2026
  11. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    Claim: PM loop round 5 (re-claim from pm:on-hold)
    Session: session_01Utp6CY2uhJ1AYNPw5TUSVS
    Account: os-bill
    Branch: claude/project-thread-d9kjuz
    Worktree: card thread cmsg_016iMXWSZDzqWRWvWzdNo8wgSsAHX9Ukuyz7NLhw4ncpC7 (session_01Utp6Cb7GD4hWCpfZKAZgDD)
    Domain: domain:server
    Seat: repo:objectstack#5
    Area: o5-P
    File surface: as claim 7182007820 with its amendments 7182121876 and 7182284580 (create-objectstack blank template, its tests and helpers, the two packages/platform-objects SCAFFOLDING_TEMPLATES test lines, cli wiring-parity, two docs pages, cross-package-test-inputs.mjs, turbo.json); .github/workflows/scaffold-e2e.yml NOT edited (stop on breach; explain in the report)
    Container & model: L, mode:thread, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7183516548
    Premise: changed by the maintainer — ruling 7183516548 (A with D: PR #37428 waits for the first 19.0.0-next cut) is superseded for the wait half. Authority: Bill in the card thread, 2026-11-26T08:58Z: 「仓库中的对象为什么要等发版本」, 「你可以落地啊」, and 「改」 for the platform-objects two-line edit. D card #37441 (scaffold-e2e installs packed tarballs) stands. Head 973207c carries the two-line edit.
    Serial constraints cleared: as at release 7183536185; re-read 2026-11-26T09:02Z: no open PR other than #37428 and the Version PR #35129 (release bookkeeping) touches packages/create-objectstack/**.
    Pre-claim lane: domain:server; zone o5-P (area:build p1).
    Pre-claim deps: Blocked-by: none; Restart-when of 7183536185 is overridden by the maintainer's word above.
    Prior rulings read: 7183516548 (this card's own ruling, wait half superseded as above); otherwise as claim 7182007820.
    Known cost, stated: the non-required check "Scaffold with repo dist" is red on this head and stays red on main runs that touch the template until #37441 lands.

  12. added
    pm:dispatched
    and removed
    pm:on-hold
    on Nov 26, 2026
  13. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    Claim amendment to comment 7187337406 (zone o5-P) · 2026-11-26T09:16Z
    File surface addition: scripts/publish-smoke.sh, the pack-mode REST CRUD probe only (its starter-object read and POST body), so it finds the template's starter object in both modes. Reason: contract review 7187700473 M1 (the probe reads src/objects/note.object.ts, gone after this PR). Not a governed path.

  14. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    Claim amendment to comment 7187337406 (zone o5-P) · 2026-11-26T09:20Z
    File surface addition: packages/cli/test/create-objectstack-stack-reach.test.ts (its object-count expectation only). Reason: required context Test Core (6/10) red on 973207c, job 139800234846: L171 expects Data: 2 Objects, the blank template now yields 3 (company, contact, the generated control).

  15. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    ACCEPT → PR #37428 comment 7188671773 (seat repo:objectstack#5 L1, head 4bf5626c); delta contract record 7188511101 PASS. Landing by zone o5-P · 2026-11-26T09:56Z. Follow-ups: #37502, #37503 (sub-issues); #37441 carries the expected "Scaffold with repo dist" red.

  16. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    Close-out (zone o5-P) · 2026-11-26T10:28Z
    Delivered: PR #37428 merged (54ea3c8): the create-objectstack blank template scaffolds the Starter's company and contact (Starter-identical source, namespace-rewritten), menus 任务/备忘 point at platform sys_task/sys_note with requiresObject; platform-objects sweeps list both template objects; publish-smoke.sh probes company/name, else note/title. Seat contract PASS 7188511101, ACCEPT 7188671773. Wait lifted by the maintainer 2026-11-26T08:58Z (「你可以落地啊」).
    State: pm:dispatched removed with the close. Remaining: #37441 (scaffold-e2e installs packed tarballs; "Scaffold with repo dist" stays red on template-touching PRs until it lands; no CI runs the template's own starter.test.ts meanwhile), #37502, #37503. Watch: publish-smoke / packed-tarballs on the next Release run.

  17. removed
    pm:dispatched
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:builddomain:serverpriority:p1

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions