games.atplay.game.secrets

A player's private secrets for one game, stored in their own 'me only' permissioned space — never on the public network. Written with the same record key as the invitation it belongs to, so it can be found without a query.

Repository @atplay.games did:plc:xawtkr77srkxlwhxjf7whbml namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritygame.atplay.games
Indexed

Record

record · key tid

Properties

invitation

requiredref

The game this holds secrets for. Record keys are only unique within a collection, so this disambiguates same-key invitations from different repos.

secrets

requiredref

Replaces any previously stored secrets for this game in full; game logic replaces rather than merges this map on every resolve.

Reference

#secrets

object

Open-ended map of string keys to string values, opaque to everything but the game logic and middleware that produced it (committed cleartexts awaiting reveal, per-item decryption keys, and so on).

Properties

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A game's server secret. Lives in the publisher's own repo inside the game's private memberspace (at://<publisher>/space/games.cavu.secrets/<slug>), never in the public repo; only services that are members of that space (the game servers that run it) can read it. Games never see it: they get values mixed from it with ctx.seed(label). Replacing it changes everything mixed from it (e.g. a daily deal).

  • One player's secret moves for one round of a Tier Madness game (one space per round, keyed {game}-r{round}). Only the player can read it until the game server opens the round at its reveal.

  • A record kept hidden until a set time, e.g. a prediction or bracket nobody can read or copy before kickoff. Default scheme gameKey: encrypted to the lock key published in the game record; the game's publisher adds the unlock key at kickoff (the tombstone), so any viewer of the game can open it. tlock (drand) and commit (hash, owner reveals) need no trust in the game's publisher. Indexers count it from when they first saw it.