MC/docs/operations/ENTITY-STATE-KEYS.md
2026-11-27 23:43:05 +00:00

32 lines
2.3 KiB
Markdown

# Entity State Keys — backend batch
Owner scope: ESK keys and website/backend consumers only. No Minecraft event producer,
plugin deployment, ban migration or succession-rule changes are included.
- Existing organisation key policy registers `entity-state` / ESK as a system record.
- `createEntityStateKeys` requires explicit event/read/evidence authority adapters.
There is no public arbitrary-event issuance endpoint. Future verified services use
`record(actor, payload)`; bank routes cannot fabricate death evidence.
- Typed dossiers cover player/mob death, respawn, ban and unban. Event IDs are unique
per verified source. A changed replay is rejected. References and scalar attributes
carry verified mission/contract/deed facts, not executable code or a replacement
inventory. Current inventory remains in its existing store.
- Independent consumer receipts permit one event to support multiple legitimate
quests/deeds/contracts. The same consumer/reference executes once in the central
transaction. Recording an ESK does not itself pay a reward or transfer ownership.
- The existing JARVIS management page has an Entity state tab, without secret codes.
- The existing bank Operations Dashboard gains an ESK estates tab. Bank managers can
apply an existing verified player lore-death key and Unlock it with a reason and
current revision. Ordinary in-game deaths and mob deaths cannot freeze accounts.
- The bank uses its existing `blocked` account state and existing audit. ESK estate
metadata records only affected previously active personal accounts. Existing
collateral/closed/dormant restrictions are not removed. Unlock rejects changed
account/package states. Balances and reservations are never edited.
- Bank state and its audit commit together. Deterministic bank receipts make retry
safe if the central evidence-receipt commit fails after the bank commit. The death
event remains unchanged; the bank-specific effect advances frozen -> unlocked.
- Production event creation and real freezes are not tests. Only isolated fixtures
are used in this batch. The approved icon is `website/web/assets/esk-key-v1.png`.
Related owner XP ticket: DR_DEV-000009H / support ticket 412. Full XP/POL work stays
open; this foundation does not claim completed quests, live NPC links or game events.