ContractSpec docs

OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

Cross-vertical gamification

Define portable campaigns with @lssm-tech/lib.gamification-spec, then use

@lssm-tech/lib.gamification-runtime to evaluate cadence slots, outcomes,

streaks, capped XP, conditions, leaderboards, leagues, wallet actions, and replay.

field.key.label
Cross-vertical gamification
field.version.label
field.type.label
field.title.label
Cross-vertical gamification
field.description.label

Define portable campaigns with @lssm-tech/lib.gamification-spec, then use

@lssm-tech/lib.gamification-runtime to evaluate cadence slots, outcomes,

streaks, capped XP, conditions, leaderboards, leagues, wallet actions, and replay.

field.tags.label
field.owners.label
field.stability.label

Define portable campaigns with `@lssm-tech/lib.gamification-spec`, then use `@lssm-tech/lib.gamification-runtime` to evaluate cadence slots, outcomes, streaks, capped XP, conditions, leaderboards, leagues, wallet actions, and replay.

The spec and runtime are headless and storage-neutral. Hosts retain ownership of authorization, participant discovery, persistence, fraud controls, notification delivery, and provider integration.

Determinism

•

Supply timestamps, timezones, seeds, and entropy receipts explicitly.

•

Incremental event reduction rejects duplicate or out-of-order activity.

•

Canonical replay sorts by timestamp and event ID.

•

Every XP and leaderboard result includes a transparent scoring breakdown.