feat(cloud-connection): LocalManifestSource — local desired-state ledger (cloud ADR-0007 ⑤)#1761
Merged
Merged
Conversation
…ger as a first-class seam (cloud ADR-0007 ⑤) The install-local disk ledger (.objectstack/installed-packages/) is promoted to a named, exported LocalManifestSource: the desired-state owner for self-hosted runtimes, isomorphic to what the cloud control plane's sys_package_installation does for managed environments. MarketplaceInstallLocalPlugin delegates all ledger I/O to it — behavior identical (404/500 semantics preserved). ADR-0003 gains the cloud ADR-0007 revision note: installation rows are desired state, never read as runtime truth; observed_* is a reported projection. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| /** Create or replace an entry (upsert by manifestId). */ | ||
| write(entry: InstalledManifestEntry): void { | ||
| mkdirSync(this.dir, { recursive: true }); | ||
| writeFileSync(this.fileFor(entry.manifestId), JSON.stringify(entry, null, 2), 'utf8'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cloud ADR-0007 step ⑤(framework 侧:install-local 升格)
LocalManifestSource:install-local 的盘账本(.objectstack/installed-packages/)提名为一等、可导出的本地期望态拥有者——与云控制面的sys_package_installation(管理面期望态)同构;宿主/将来的调谐器可不经 HTTP 直接读同一账本MarketplaceInstallLocalPlugin全部账本 I/O 委托给它,行为逐点等价(404/500 语义保留;恶意 manifest id 的文件名消毒在账本内,新增穿越测试)🤖 Generated with Claude Code