docs(teams): queue the integration kit as phase 11, last before the cutover #160
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/teams-phase11-queue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan-only, one file. Into
edge. Follows docs#159 — this commit was pushed just after you merged that one, so it did not ride along.Adds Phase 11 — the integration kit, on your call to queue it as the last phase before the
edge→maincutover.Why it belongs in the plan rather than an issue
The kit is the instruction book for putting a different game on this platform, written for an audience outside this org. Teams expands the contract that book teaches against, so the book is the last thing this bet owes before the cutover.
One sentence in it is already wrong
book/02-website-module.mdtells the reader that core declares a slot and a module may only fill one. Phase 3 inverted exactly that — withdeclareModuleSlota module declares a place on its own page and core fills it — and by phase 6module-uodeclares three. A new game's module cannot implement Teams at all without the inverted direction, so this is not a stale detail; it is the shape the reader needs and does not have.Two shapes worth teaching, and only two
registerTeamProvider— the first registration where core calls the module and waits. Every other one is the module claiming a mount or core notifying it. The envelope, the 10-second budget, and the asymmetry that matters: every call fails stale exceptprojectRoster, which fails closed, because for a visibility question "keep what you have" means serving the roster unprojected.pageUrlTemplateis a footnote beside those — one optional string the reader meets while reading the provider.What the phase explicitly does not do
Enumerate the contract. The kit already teaches four members and has never mentioned
registerNotificationStreams,registerAnnounceLegorregisterPostHook, all of which predate Teams. That is the design:MODULE_API.mdis normative, and the kit teaches one path end to end and links out. The question this phase answers is "did the teaching path change" — yes in two places, no everywhere else.The ordering is awkward, and the phase says so
Written before the cutover, merged after it.
scripts/checkCoreApi.jsasserts the template'scoreApibase equals the pinned core'sMODULE_API_VERSION; CI clones that sha. 1.6.0 does not reachmainuntil the cutover lands, so there is no sha to pin and no core for the template to build against until then. The pin move (ci/core-ref.json→ the cutover sha,template/module.json→^1.6.0) goes in the same PR, opened once that sha exists.That check going red on a contract bump is the mechanism, not a bug — moving the pin is someone saying they have re-read the chapters.
AI-assisted: written with Claude Code.
🤖 Generated with Claude Code