0209. Registry transition from git dependencies and curated editions
- Status: Superseded by ADR-0242 (accepted 2026-11-15)
- Date: 2026-11-08
- Plan: M15.5; R5–R8
- Review: Scope and sequencing
Context
M9 currently supports path, pinned git and embedded edition dependencies. Git acquisition is an explicit escape hatch, not the VC store or registry format. ADR-0089 embeds edition 2026 codec/show/args for offline materialization. M15.5 must replace git as the normal distribution source without pretending the existing escape hatch was already removed or silently changing curated packages.
Decision
Recommended default, not adopted: registry dependencies use native signed release documents and content-addressed hvc payloads exclusively. Registry fetch, publish, index serving and hosting never run git or consume git object/wire data. Test with a git tripwire executable to prove this independence.
Retain explicit pinned git dependencies for existing local projects initially; no implicit conversion, fallback or git-based registry backend. Published packages must replace runtime git/path dependencies with registry or edition dependencies. Migration is explicit: publish provider, review signed identity/version, edit consumer source declaration, fetch/review new lock, compare offline outputs.
Keep embedded edition 2026 byte-identical and offline. A release may carry curation evidence, but upload and passing conformance do not grant edition membership. Future editions may curate signed registry releases into embedded bundles after review; any change to existing edition-source semantics needs another decision. Keep plugin index compact and docs on demand, not full registry metadata in prompts.
Git-dependency deprecation/removal is a separate owner decision after registry acceptance and migration evidence. This ADR, if accepted with this default, would not remove the escape hatch, migrate this repository from Git, or authorize tags. M17.14 remains the human VC migration decision, independent of package distribution.
Alternatives considered
- Deprecate git immediately with a deadline — accelerates migration but needs owner-selected notice/support policy and inventory of remaining consumers.
- Remove git when registry ships — fewer dependencies in normal installation, but breaks explicit existing source declarations before migration is proven.
- Keep git as a registry implementation detail — faster infrastructure but defeats native content addressing and leaves every client dependent on git.
- Make editions remote-only now — reduces embedded bytes but loses offline curated bootstrap and changes ADR-0089 without a demonstrated need.
Consequences
Registry plan separates native artifact acceptance
from the legacy escape hatch. R7 tests old edition lock/source
bytes. Maintainer chooses retain, deprecate or remove and the
future edition publication path.