0092: Extension-point register and freeze rule
Status: Accepted (default; pending owner confirmation)
Context
ADR-0004 requires three real plugins before an extension point freezes, but does not define real plugins or a readiness state. ADR-0088 defines plugin metadata and ADR-0091 provides plugin conformance checks. M9.10 records the extension points and their evidence for CP-9.4.
Decision
This refines ADR-0004: a real plugin is a package with
[plugin] metadata that passes
harness plugin check, ships in an edition or is
published, and was not written only to test the extension point.
Fixture and synthetic plugins, including the benchmark p10
fx_* packages, never count. The register records each
plugin's origin as in-tree or
outside.
An extension point starts provisional, becomes
eligible with three real plugins, and becomes
frozen only by a separate ADR for that point. Three
plugins are necessary, not sufficient, for freezing. At CP-9.4
generators reach eligible, not frozen:
all three plugins are in-tree and M12.5 schema projections remain
a further real test.
Alternatives considered
- Freeze generators at CP-9.4: three in-tree plugins alone do not establish sufficient experience for a permanent interface.
- Count synthetic fixtures: tests exercise a point but do not establish real independent uses of its interface.
Consequences
The register exposes versions, conformance suites, real plugins, origins and status. Eligibility requires judgment about real use; freezing requires an explicit decision and may happen later than the three-plugin threshold.