You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cloud-connection): LocalManifestSource — local desired-state ledger as a first-class seam (cloud ADR-0007 ⑤) (#1761)
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>
`LocalManifestSource` — the install-local disk ledger promoted to a first-class, exported desired-state owner for self-hosted runtimes (cloud ADR-0007 step ⑤). `MarketplaceInstallLocalPlugin` now delegates all ledger reads/writes to it; behavior unchanged. Also exports `InstalledManifestEntry` and `DEFAULT_INSTALLED_PACKAGES_DIR`.
Copy file name to clipboardExpand all lines: docs/adr/0003-package-as-first-class-citizen.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# ADR-0003: Package as First-Class Citizen with Versioned Releases
2
2
3
-
**Status**: Accepted
3
+
**Status**: Accepted — **revised by cloud ADR-0007 (2026-06-12)**: `sys_package_installation` is hereby redefined as **desired state owned by the management plane**, never read as "what is actually installed" on any runtime path. Runtime truth lives with the environment itself (env-local artifact cache for cloud-managed environments; the `LocalManifestSource` ledger in `@objectstack/cloud-connection` for self-hosted runtimes). `observed_status` / `last_reconciled_at` on the installation row are a reported projection for drift visibility, not truth. The original "installation state lives only in the control plane, environment DBs hold zero system tables" framing of ADR-0002/0003 is superseded to that extent — driven by the hard constraint that environments must boot and serve with the cloud down.
4
4
**Date**: 2026-04-20
5
5
**Deciders**: ObjectStack Protocol Architects
6
6
**Supersedes**: The flat `sys_package_installation (package_id + version string)` model introduced alongside ADR-0002
0 commit comments