openvibers/openvibe.games Commits

T8 READY NOW: docs and one test comment only, no behaviour change (#2)

OP OpenVibers committed 3 Oct 2026 · d3d45b23a6 · 2 files, +5 −1

local checks ✓ 7/7 · CI ✓ 3/3 · review SHIP by DeepSeek harness

https://github.com/OpenVibers/OpenVibe.Games/pull/2

Changes

ddiff --git a/apps/client/src/input/inputSource.test.ts b/apps/client/src/input/inputSource.test.ts
iindex 8135d0d..21b68f5 100644
---- a/apps/client/src/input/inputSource.test.ts
++++ b/apps/client/src/input/inputSource.test.ts
@@@ -17,7 +17,7 @@ class FakeKeyboard implements KeyboardState {
}
}
--/** A synthetic touch pad: M2 ships the real one; this models the same stream. */
++/** A synthetic touch pad: M2 ships the real one; this models the same stream, the M2.4 acceptance target. */
class TouchSource implements InputSource {
yaw = 0
pitch = 0
ddiff --git a/docs/adr/0007-rewrite-the-moddable-base.md b/docs/adr/0007-rewrite-the-moddable-base.md
iindex 8ac2053..e2af54f 100644
---- a/docs/adr/0007-rewrite-the-moddable-base.md
++++ b/docs/adr/0007-rewrite-the-moddable-base.md
@@@ -116,6 +116,10 @@ The Live legacy import (`platform/liveLegacyImport.ts`, `scripts/importLiveLegac
- **M1: same game, new foundation.** Deletions above; `gameServer.ts` split into systems; PostgreSQL + Valkey
persistence with the write-behind flusher; Rapier; intent input; authenticated upgrade; pins current.
- **M2: moddable content.** Pack loader, `games-content@2`, def-set handshake, Scraplandia as a pack, touch controls.
++ - **M2.1 pack format and loader (`games-content@2`).** A pack declares definitions (items, recipes, crops, NPCs, zones, maps), not only placements, and the runtime loader merges them into the content registry.
++ - **M2.2 def-set handshake.** Client and server agree on the loaded def set (and its content version) before play.
++ - **M2.3 Scraplandia as a pack.** Scraplandia (survival, crafting, farming, extraction) becomes the content pack the base loads by default, and its gameplay modules become systems the pack enables.
++ - **M2.4 touch controls.** Touch maps intents (move vector, look delta, named actions) to the same input stream as the keyboard.
- **M3: scripted mods.** QuickJS runtime, capability API v2, budgets enforced, hot reload, escape tests.
- **M4: instances and scale.** Several instances per place, registry and leases, transfer, region interest, load tests.
- **M5: platform game services.** OpenVibe.Play with Games as first consumer; the second game on the same base.