Skip to content

docs(adr-0006): Phase 1 — mark framework cloud-plugin duplicates @deprecated#1717

Merged
os-zhuang merged 1 commit into
mainfrom
adr-0006-phase1-deprecate-cloud-dupes
Jun 11, 2026
Merged

docs(adr-0006): Phase 1 — mark framework cloud-plugin duplicates @deprecated#1717
os-zhuang merged 1 commit into
mainfrom
adr-0006-phase1-deprecate-cloud-dupes

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

ADR-0006 Phase 1 — 去重声明 (also ADR-0007 ⑤ "宣告 canonical")

Low-risk, declaration-only step of the multi-tenant runtime boundary refactor (cloud ADR-0006). The cloud repo's @objectstack/objectos-runtime is the canonical source for these plugins — apps/objectos already uses it, and its marketplace-install-local copy is ahead of this one (ADR-0036 seeds: rename). This marks the framework's duplicate copies @deprecated and points consumers at the canonical cloud copies.

Scope (ADR D5 delete-set only)

@deprecated on: MarketplaceProxyPlugin, MarketplaceInstallLocalPlugin, RuntimeConfigPlugin, cloud-url (DEFAULT_CLOUD_URL / resolveCloudUrl) — file-level (above each export) and on the packages/runtime/src/index.ts re-exports.

Deliberately NOT deprecated: EnvironmentDriverRegistry / KernelManager — those are retained generic contracts (ADR D3), converged later in Phase 3/5.

These copies are STILL load-bearing — do not delete yet

The framework CLI serve.ts dynamically imports these for cloud-dev serve mode, and the cloud app itself boots via the framework CLI. Each banner says explicitly: DO NOT DELETE until ADR-0006 Phase 4 decouples the CLI. Phase 1 is a declaration only; deletion is Phase 4.

Safety

JSDoc tags only — no behavior change, no API removed. pnpm --filter @objectstack/runtime build (incl. DTS) succeeds; @objectstack/runtime tests 381 passed.

Pairs with cloud-repo ADR-0006 Phase 0 safety-net PR (objectstack-ai/cloud#206). Merge order is not constrained — this PR removes nothing.

🤖 Generated with Claude Code

…recated

ADR-0006 Phase 1 (去重声明) + ADR-0007 ⑤ "宣告 canonical". The cloud repo's
`@objectstack/objectos-runtime` is the canonical source for these plugins;
`apps/objectos` already uses it, and its marketplace-install-local copy is
AHEAD of this one (ADR-0036 `seeds:` rename). This marks the framework's
DUPLICATE copies @deprecated and points to the canonical cloud copies.

Scope (ADR D5 delete-set only): MarketplaceProxyPlugin,
MarketplaceInstallLocalPlugin, RuntimeConfigPlugin, cloud-url.
NOT EnvironmentDriverRegistry / KernelManager — those are retained
contracts (D3), handled in Phase 3/5.

These copies are STILL load-bearing: the framework CLI `serve.ts`
dynamically imports them for cloud-dev serve mode. The banners explicitly
say DO NOT DELETE until ADR-0006 Phase 4 decouples the CLI — Phase 1 is a
declaration only.

No behavior change: JSDoc @deprecated tags only. Runtime build (incl. DTS)
and `@objectstack/runtime` tests (381) stay green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 11, 2026 9:10am

Request Review

@os-zhuang
os-zhuang merged commit d752eba into main Jun 11, 2026
12 checks passed
@os-zhuang
os-zhuang deleted the adr-0006-phase1-deprecate-cloud-dupes branch June 11, 2026 09:44
xuyushun441-sys pushed a commit that referenced this pull request Jun 14, 2026
fix(home): link into apps by package-id route segment (ADR-0048) (#1717)

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant