Repository navigation
Description
repo:cloud#5 · hotlong · session_01Q4EjjNNAszFFRkpjA3zLbb
Filing gate: ③ maintainer-directed. Source: maintainer. Jack (hotlong) picked this option on a decision card in the cloud#4957 project thread, 2026-11-27 16:41Z: 「另立卡交 objectstack 座位 — 在框架仓立卡,加一条把 examples/app-starter 以第一方起步模版发布到各平面的流程,改工作流的 PR 留给你手动合并。」 (file a card on the framework repo for the objectstack seat: add a flow that publishes examples/app-starter as the first-party starter template to each plane; the workflow PR is left for him to merge by hand).
Grading: area:package · Task · p1 (inherits blocked objectstack-ai/cloud#4957, p1) · reach: n/a (no publish exists) · evidence: read.
Dedupe: searched is:issue for app-starter publish marketplace (11), is_starter publish (8), com.example.starter (1), publish examples marketplace workflow (76): no open card covers it; #36944 (closed) built the app, its report A3 says this repo has no flow that publishes examples/*.
Reader: the repo:objectstack#3 seat (area:package p1) dispatches it; the workflow PR is a governed surface (.github/workflows/**), so Jack merges it by hand.
维护者速读
- 做什么:在框架仓加一条 CI 流程,把起步应用(公司、联系人、任务、备忘)发布到 cloud staging 和生产的应用市场,作为第一方起步模版。
- 为什么:cloud#5149 已合并,新工作区的第一个环境会自动装起步应用,但它只认市场里这一行第一方起步包;没发布就什么都不做。
- 需要你做的:PR 改了
.github/workflows,由你手动合并;生产那一步是否手动触发,在 PR 里写明请你定。
Why
objectstack-ai/cloud#5149 (cloud#4957, merged 2026-11-27) makes a new workspace's first environment install the platform starter on first open. It only counts ONE row: a sys_package with manifest com.example.starter, is_starter: true, owner_org_id NULL (first-party), visibility: marketplace, with an approved version. No such row exists on staging or production, because nothing publishes examples/app-starter, so the cloud change is inert until this lands.
What
- A workflow (or a pair, staging + production) in
.github/workflows/that buildsexamples/app-starterand publishes it to the cloud marketplace:- staging
https://cloud.objectos.app, productionhttps://cloud.objectos.ai(the URLs HotCRM's publish workflows hard-code); - credentials: platform-admin bearer keys as repo/org secrets (HotCRM uses org secrets
OS_CLOUD_API_KEY_STAGING/OS_CLOUD_API_KEY_PRODUCTION; confirm they reach this repo, or name the secret the maintainer must add); - service-mode publish (Authorization: Bearer), NO
owner_org_id,visibility: marketplace,is_starter: true, version created withauto_approve: true(cloudpackages/service-cloud/src/routes/package-publish.ts: service mode with no owner and marketplace visibility mints the first-party row;auto_approveneeds the platform-admin key); - idempotent re-runs (package upsert by manifest id; an existing version answers 409 and is not an error).
- staging
- Trigger: staging on a release/tag of the framework (or
workflow_dispatch); productionworkflow_dispatchonly, unless the maintainer says otherwise in the PR. Adry_runinput that prints payloads without HTTP. - Prior art to reuse rather than reinvent: HotCRM
.github/workflows/publish-staging.yml,publish-production.ymlandscripts/publish-marketplace.mjs. Noteos package publishdeliberately does not sendis_starter(the platform decides the flag), so the starter flag must be sent by this flow's own payload, as HotCRM's script does for its keys.
Acceptance
- A dry run prints the package + version payloads with
is_starter: true,visibility: marketplace, noowner_org_id,auto_approve: true. - After the maintainer merges and runs it on staging:
GET /api/v1/cloud/packageson staging listscom.example.starterwithis_starter: true, owner null, an approved version; a new workspace's first environment then installs it on first open (cloud#5149 path). - Production run is the maintainer's call.
Related: #36941 (starter epic), #36944 (report A3), objectstack-ai/cloud#4957, objectstack-ai/cloud#5149.
Activity
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:package · domain:devx · Task · p1 · pm:queue · size S; rationale: maintainer-directed (decision card on cloud#4957, 16:41Z: 「另立卡交 objectstack 座位」). Publish
examples/app-starterto the staging and production cloud marketplaces as the first-party starter. The filer's p1 stands. Area:package has no seat taking new cards, but the maintainer asked for an objectstack seat, so this card is surfaced to him for routing rather than left to wait. Recorded 2026-11-27T17:14Z.objectstack-fleet commentedon Nov 28, 2026
director#1 · hotlong · session_f4c42f815d5e47b39de5e9fb0d6d7864
派单记录(2026-11-28T01:09Z):分诊 7224191872 把本卡留给维护者指派。维护者 Jack(hotlong)在本桌面会话里选了 repo:objectstack#3,原话:「3 号座位」。选项是 1 号座位(持有起步应用专题 #36941)和 3 号座位(area:package,卡面写的读者)。
给接卡席位的两点:
OS_CLOUD_API_KEY_STAGING/OS_CLOUD_API_KEY_PRODUCTION是否对 objectstack 仓可见,本席账号没有组织管理员权限,读不到。请在 PR 里写明用哪个密钥名;本仓读不到时,由维护者去组织设置里加。.github/workflows的 PR 由他手动合并,生产那一步是否手动触发请在 PR 里写明,由他定。objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibwGtpcNepn9p8wrMNoAccount:
os-teslaBranch:
claude/project-thread-2iyxv6Worktree:
objectstack-issue-38024Domain:
devxArea:
o3-build(area:package p1, maintainer-directed to seat 3: director record 7231464466; taken on Tesla's tap 2026-11-28 01:37Z)Seat:
repo:objectstack#3File surface:
.github/workflows/publish-starter-staging.yml, new.github/workflows/publish-starter-production.yml(production isworkflow_dispatchonly), newscripts/ci/publish-starter-marketplace.mjs(HotCRM-shaped: service-mode bearer, noowner_org_id,visibility: marketplace,is_starter: true,auto_approve: true, an existing version's 409 is a no-op,DRY_RUN,--self-test)..github/workflows/lint.yml: one line wiring the self-test.scripts/pm/check-governed-merges.mjs: both new workflows pinned inWORKFLOW_TIER_H_FILES(seat ruling ④ yes).NOT any schema, any examples/app-starter source, or any other workflow. No changeset (no npm bytes). Stop on breach and explain in the report.
Container & model:
S,mode:thread,model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate",effort: high, reason: the thread session serves effort highClause-②: no
Metadata-protocol: none
Seat rulings on the report's four questions. Each one is stated in the PR for the maintainer, who merges by hand and may change any of them:
① Staging triggers on a push to main touching
examples/app-starter/package.json, plusworkflow_dispatch. A tag trigger cannot fire here.② The published version is
examples/app-starter/package.json's. The PR flags that a-nextprerelease version may reach the marketplace and asks the maintainer to confirm with a staging dry run first.③ The listing text is the readme only, with no invented copy.
④ Both files are pinned Tier H.
Secrets: the actions secrets API is not readable from here, so the PR names
OS_CLOUD_API_KEY_STAGING/OS_CLOUD_API_KEY_PRODUCTIONas the secrets the maintainer confirms or adds.Responsibility: after the maintainer merges and runs it on staging, staging's
GET /api/v1/cloud/packageslistscom.example.starterwithis_starter: true, owner null and an approved version, so cloud#5149's first-open install fires. A dry run prints the payloads with no HTTP. The production run is the maintainer's call. Tier H: Jack merges by hand.Thread-read: 7231464466
Premise: holds, measured on origin/main f72f335: nothing in
.github/orscripts/publishes to the cloud marketplace; the starter builds green cold in 65 s. Full report:/mnt/project-files/card-38024/pre-claim-report-f72f3353.md.Serial constraints cleared:
none — no open PR touches these files; never touches a release PRobjectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibwGtpcNepn9p8wrMNo
os-dev-report
{ "issue": 38024, "status": "done", "branch": "claude/project-thread-2iyxv6", "pr": "https://github.com/objectstack-ai/objectstack/pull/38095", "session": "session_01L9qibwGtpcNepn9p8wrMNo", "premise_still_valid": true, "summary": "New scripts/ci/publish-starter-marketplace.mjs publishes examples/app-starter as the first-party starter. POST /api/v1/cloud/packages: manifest_id com.example.starter, visibility marketplace, is_starter true, publisher objectstack, readme, platform logo icon, no owner_org_id. POST .../versions: {version, bundle, auto_approve: true}. 409 is a no-op; a 422 prints the policy violations; an unapproved listing_status fails the run. Refuses before any request (a dry run included) on a missing or empty artifact or a foreign manifest id, and outside a dry run on an empty URL or key, naming the secret. New publish-starter-staging.yml (cloud.objectos.app, OS_CLOUD_API_KEY_STAGING; push to main touching examples/app-starter/package.json, plus dispatch with dry_run defaulting on) and publish-starter-production.yml (cloud.objectos.ai, OS_CLOUD_API_KEY_PRODUCTION, dispatch only, dry_run defaulting on). Both are pinned in WORKFLOW_TIER_H_FILES with the self-test pin updated; the self-test is wired into lint.yml's moved-step-bodies collector. The published version is package.json's, and the artifact's manifest.version is stamped to it. Seat rulings 1-4 are in the PR body. One deviation from ruling 3: the icon is the platform logo, because the marketplace handbook says a listing with no README or no icon is refused. Clause-② no, Metadata-protocol none, no changeset. Tier H: the maintainer merges.", "tests": "--self-test: 15 table-driven batteries against a fake control plane (roster, floor and verdict handshake). Ablation on the committed file: is_starter false -> 2 failures; added owner_org_id -> 3; 409 branch off -> 1; auto_approve dropped -> 2; empty-key refusal off -> 1. Restored each time, porcelain empty. Real build (71 tasks, 65 s cold) then --dry-run: exit 0, no request, both payloads as specified, version 0.1.1-next.1. eslint on the changed .mjs files: exit 0.", "gates": "dispatch-gates --ran at e05f80f4: 82 derived, 82 run, all exit 0, 0 NOT-MEASURED, 0 unrun. check:i18n-coverage first exited 3 (service-print had no build in the worktree) and exited 0 after its named prerequisite build. Record /mnt/project-files/card-38024/gates-ran-e05f80f4.list. PR CI not yet concluded.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "mcp_calls": "0 GitHub MCP write calls", "api_writes": "2: fleet-write relay pr_create (pull + assignees leg); this os-dev-report comment via post-stamped", "open_questions": [ "Unverifiable from this session (cloud repo out of scope): whether the cloud accepts a -next prerelease version as the starter's approved version. The PR asks the maintainer to dry-run staging first.", "Secrets not measurable (the actions secrets API returns 403 through the proxy). The PR names OS_CLOUD_API_KEY_STAGING / OS_CLOUD_API_KEY_PRODUCTION for the maintainer." ], "security_findings": "none", "out_of_scope_findings": [ "examples/app-starter/README.md is developer-facing (it lists src/ directories) and is now the marketplace listing text. A customer-facing listing text is follow-up work if the maintainer wants one; noted in the PR, not filed." ] }objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Closed-card tidy · 2026-11-28T04:26Z: the card closed when its PR merged;
pm:dispatchedcomes off.