docs(modules): a site runs one module (decision 35)
MODULE_SYSTEM.md §2.5 and Part 3 record the org lead's rule from 2026-09-23: core's installer refuses a module whose id differs from the one installed, with 409, and accepts only upgrades. MODULE_API.md's registerTeamProvider section says why: a second provider fails that module's whole load. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
This commit is contained in:
@@ -867,7 +867,9 @@ module becomes the authoritative source of Teams for this deployment. Two furthe
|
||||
**One provider per deployment.** Unlike every other registry, this holds a single value: Teams have
|
||||
one authoritative source by construction, and two modules answering "what Teams exist" would produce
|
||||
two disjoint sets under one table with no rule for merging them. A second registration is a
|
||||
collision, reported against the module that holds it. Three methods are required — a provider
|
||||
collision, reported against the module that holds it — and it fails that module's whole load, which
|
||||
is why core's installer admits **one module per site** (`MODULE_SYSTEM.md` §2.5, decision 35) rather
|
||||
than leaving the collision to be discovered on the next restart. Three methods are required — a provider
|
||||
that could list Teams but not their members would leave core holding Teams it can never populate,
|
||||
which is not the same as a call that fails. The fourth is optional; see below.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user