On this page

0089. Editions are explicit embedded dependency sources

Context

Packages, manifests and explicit fetching are established by ADR-0070 and ADR-0072. M9.8 adds curated editions as a convenient, reproducible set of core plugins and measures their effect on authoring prompts. These design defaults are adopted pending owner confirmation.

Decision

Edition data is embedded in the compiler. A dependency may explicitly name an edition with { edition = "2026" }; harness fetch materializes its packages offline. The lockfile records source = "edition:2026" and a tree hash, making the resolved content reproducible without a registry lookup.

Edition 2026 originally shipped codec, show and args, generator plugins with capabilities = []. It now also ships the html and http libraries and the pure encoding library (ADR-0272).

Measure plugin prompt overhead with Tier A free replay on a 10-task subset of T1. A composed context file passed through the existing --idioms PATH option compares a control set b0 (nothing appended) with p0, p3 and p10 (0, 3 and 10 imported plugins), so run_t1.py does not change. Fixtures prefixed fx_* never count as real plugins. Paid Tier B remains OFF unless the owner approves it.

The 6,000-token budget applies to LANGUAGE.md only; the edition index has a separate cap of 150 tokens. This amends design-review.md, line 106 and its statement that the edition's core plugins share the prompt budget.

Alternatives

Consequences

Edition dependencies are explicit and lockable, and fetching their embedded content works offline. Prompt-overhead results use a bounded free replay and exclude fixtures from real-plugin counts. Implementation proceeds on these defaults; an owner change gets a superseding ADR.