Skip to content

起步应用:公司、联系人(菜单含平台任务、备忘),作为起步模版发布 #36944

Done
1 of 1 issue completed

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:package · Feature · p1 · reach: n/a · evidence: read.

Blocked-by: #36942

维护者速读

  • 做什么:一个起步应用,含「公司」「联系人」两个对象,菜单里同时放平台的「任务」「备忘」。做得完整:视图、公司下的联系人列表、样例数据、一个仪表盘。
  • 发布到应用市场的「应用模版」里,客户装上后可以改、可以卸载;卸载不影响任务和备忘的数据。
  • 需要你做的:无。

What

  1. New examples/app-starter (the dev may pick the name; examples/app-* is what CI promotes with is_starter, see cloud sys-package.object.ts is_starter).
  2. Objects: 公司 (name, industry, website, phone, address, owner …) and 联系人 (name, title, email, phone, lookup → 公司). 联系人 means external people; do not reuse the platform's employee objects.
  3. Views: list + kanban + form for both; 公司's record page lists its 联系人 (related list).
  4. Navigation: 公司, 联系人, 任务 (sys_task), 备忘 (sys_note) — the last two point at the platform objects, never package copies.
  5. Sample data (a handful of companies and contacts) and one dashboard.
  6. Names must not collide with HotCRM (客户/联系人 there use their own API names); a tenant may install both.
  7. Publish as an unmanaged starter (is_starter: true) on the same path as the other examples/app-* starters.

Acceptance

  • Container run; os validate clean; a boot test installs the package and finds four nav entries; uninstall removes 公司/联系人 and leaves sys_task/sys_note rows intact.

Parent: #36941.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 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:devx, because the work is a new examples/app-starter package published as a starter, like the other examples/app-*. 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:devx
    on Nov 24, 2026
  4. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: unblocked 2026-11-24T21:30Z

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    Claim: PM loop round 1
    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-36944
    Domain: domain:devx
    Seat: repo:objectstack#5
    Area: o5-P
    File surface: examples/app-starter/** (new package), pnpm-lock.yaml, pnpm-workspace.yaml only if examples/* is not already globbed, one .changeset/*.md (stop on breach; explain in the report)
    Container & model: L, mode:thread, model: default tier — dispatch-gates --tier on the declared surface: "no path-derived mandate: the surface hits none of the 4 declared glob(s)", effort: high (L card, new package with views, sample data, dashboard and a boot test)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7145031141
    Premise: holds — read at origin/main b8c8c88 2026-11-26T00:39Z: no examples/app-starter; sys_task/sys_note live in packages/platform-objects/src/work/ (PR #36965, Blocked-by #36942 closed); no open starter PR. Note for the dev: TemplateManifest.isStarter is retired (migration 18, platform decides starters on a first-party seed), so item 7 is not a manifest key here; the dev verifies how the other examples/app-* reach the starter path and reports it.
    Serial constraints cleared: none — new directory; no in-flight claim touches examples/app-starter/**; #36945 (CLI blank template) and cloud#4957 wait on this card, not the reverse.
    Pre-claim lane: domain:devx — examples/** new example package (triage 7128657105); repo:objectstack lane, zone o5-P (seat 5 split 2026-11-25T23:34Z: p1 of every area except ai/ux/data).
    Pre-claim deps: Blocked-by: #36942 closed (PR #36965 merged); parent epic #36941 has no zone owner in another seat; knock-hour passed with no record from seat 4 (#36810 comment 7177745337) or seat 2 (#37006 comment 7177756399).
    Prior rulings read: starter,template,sys_task,sys_note,examples → 17 hits; ADR-0022 Decision §5, ADR-0032 Decision §2–§5, ADR-0059 Decision §1/§5, ADR-0062 D2/D8, ADR-0076 D4/D5/D6/D8; thread: none; repo: objectstack-ai/objectstack — no ruling hit on the examples/app-starter/** surface (zero files yet); the dev reads the named ADR decisions before writing.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    Claim amendment to comment 7178992618 (zone o5-P) · 2026-11-26T00:45Z
    Branch: claude/project-thread-b88ii8 (mode:thread: the platform-assigned branch of the card thread for #36944; replaces the claim's pending line)
    Thread session: session_01Utp6CXBHh9ERPJk1eK25kS
    Worktree: the card thread's own checkout
    Container & model: served tier confirmed by the thread's first report — default (opus), effort high; matches the claim.

  9. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CXBHh9ERPJk1eK25kS
    os-dev-report

    {
      "issue": 36944,
      "status": "done",
      "branch": "claude/project-thread-b88ii8",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37399",
      "session": "session_01Utp6CXBHh9ERPJk1eK25kS",
      "premise_still_valid": true,
      "summary": "New private example package @objectstack/example-starter (examples/app-starter): starter_company and starter_contact with grid and kanban views, fieldGroups forms, the company's contacts as a related list, a menu of four object entries (starter_company, starter_contact, platform sys_task, platform sys_note) plus an overview dashboard, 5+6 sample rows, en+zh-CN bundle, installModes managed+unmanaged. The boot test installs it through POST /marketplace/install-local as an unmanaged copy with sample data, reads the menu over HTTP, uninstalls the copy (DELETE /packages/com.example.starter-copy) and reads the task and note back by id. A1: precedent and npm name @objectstack/example-NAME confirmed, pnpm-workspace.yaml unchanged (examples/* globbed). A2: an app lists a platform object with a type object nav entry naming it, but defineStack refuses it unless the entry carries requiresObject (finding below). A3: nothing to carry here: isStarter is retired, no workflow here publishes examples to the marketplace; the repo carries the package and installModes, cloud#4957 promotes it. A4: ADR-0022 s5, ADR-0032 s2-5, ADR-0059 s1/s5, ADR-0062 D2/D8, ADR-0076 D4-D8 read, no conflict.",
      "tests": "head 8e0de7bb (package code final; e391123a adds only the baseline line): validate exit 0 (Validation passed); typecheck exit 0; os lint --i18n-strict exit 0; vitest under os-verify-lock VERDICT command-exit 0, Test Files 1 passed (1), Tests 5 passed (5). Ablation via ablation-replace --delete of the nav_notes entry: anchor 1->0, blob 767c9f15e9b6->f6021a9ed9eb, menu test red (Tests 1 failed | 4 passed), restored blob == HEAD, git diff HEAD empty. Config resolves from source (exports point at objectstack.config.ts), so no dist rebuild was involved.",
      "gates": "dispatch-gates --commands on the final change set: 74 families, all run, every exit 0 (67 at 8e0de7bb, check:i18n-coverage and the 7 families the baseline path added re-run at e391123a). dispatch-gates --ran: 74 derived, 74 run, 0 NOT-MEASURED, 0 UNRUN. Before the extra build, check:dual-build-cjs-loads and check:published-readme-exports exited 3 (no dist) and check:i18n-coverage exited 3 then 1 (new config not baselined); all re-measured green after the approved baseline line. CI check runs: in_progress at report time (PR just opened).",
      "dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm",
      "line_budget": "1047 added / 0 removed, 25 files (threshold 3000)",
      "files_changed": [
        "examples/app-starter/** (21 files)",
        ".changeset/36944-app-starter.md",
        "pnpm-lock.yaml",
        "scripts/i18n-coverage-baseline.json (+1 line, fence addition approved by o5-P 01:52Z)"
      ],
      "deviations": [
        "scripts/i18n-coverage-baseline.json is outside the declared surface: one line written by the gate's --update, approved by o5-P at 01:52Z.",
        "Worked in the card thread's own checkout on the harness branch, no separate worktree (mode:thread).",
        "Commit trailer pair written model-free (Co-Authored-By: Claude), against the harness reminder that names the model, per os-dev.",
        "Reviewer request on the PR not made: the order forbids MCP writes and pr_create carries assignees only; left to the seat."
      ],
      "mcp_calls": "3 GitHub MCP reads (issue_read x2, pull_request_read x1) plus 1 get_session; no write tool",
      "api_writes": "2 relay writes - pr_create (run 45739266015; PR #37399 + assignee os-bill) and this report comment via post-stamped (run 45739387557)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: b · Seam: spec:stack.zod.ts app navigation cross-reference (type object, objectName) -> consumer: defineStack / os validate / os build · reach: os validate on examples/app-starter without requiresObject answered `App 'starter_app' navigation references object 'sys_task' which is not defined in objects.` (and sys_note) · contract: packages/platform-objects/src/work/sys-task.object.ts says an app puts tasks in its menu with a type object navigation entry naming sys_task; stack.zod.ts isPlatformObjectName says cross-reference checks must not demand platform objects in config.objects, and every other cross-ref honours it, the navigation check does not · also hits #36945 (CLI blank template) · filed #37404"
      ]
    }

    Report taken 2026-11-26T01:59Z.


    Generated by Claude Code

  10. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    ACCEPT → PR #37399 comment 7180785482 (seat repo:objectstack#5 L1, head e391123a). Landing by zone o5-P · 2026-11-26T02:26Z. Follow-up filed: #37404.

  11. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CY2uhJ1AYNPw5TUSVS

    Close-out (zone o5-P) · 2026-11-26T02:49Z
    Delivered: PR #37399 merged (ecbe854): new examples/app-starter (公司 + 联系人 with list/kanban/form views, related list, sample data, one dashboard; menu also names platform sys_task/sys_note via requiresObject); boot test installs, finds four nav entries, uninstalls and keeps sys_task/sys_note rows.
    State: pm:dispatched removed with the close. Remaining: #37404 (validate refuses the platform nav entry without requiresObject, Bug p2, awaiting triage first touch); #36945 (CLI blank template) and cloud#4957 were waiting on this card.

  12. 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:packagedomain:devxpriority:p1

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions