Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(event): stop the leaderboard's | 0 coercion from zeroing epoch-ms timestamps

nirholas7998e5057d08
diff --git a/public/guards.json b/public/guards.json
index bd107a8f0..6546ec3ef 100644
--- a/public/guards.json
+++ b/public/guards.json
@@ -837,6 +837,34 @@
"expect": "guard-proof"
}
},
+ {
+ "id": "check-event-window",
+ "script": "scripts/check-event-window.mjs",
+ "npm": "check:event",
+ "title": "Live event window",
+ "protects": "public/event.json describes an event that will actually happen, on every surface that reads it.",
+ "why": "One file drives the /play lobby banner, the in-world countdown and meetup layer, the game server's quest gate, the leaderboard endpoints and the souvenir grant. Every one of them treats a bad or expired window as 'there is no event' and mounts nothing, so the failure is silent and total: the page loads, the world runs, and the entire event is simply absent with no error to say why. That has already happened once, when a rehearsal window was left in the file.",
+ "stages": [
+ "manual"
+ ],
+ "needs": "none",
+ "proof": {
+ "summary": "An event window whose end has already passed, which every surface reads as 'no event' and mounts nothing.",
+ "violation": {
+ "json": [
+ {
+ "file": "public/event.json",
+ "pointer": "",
+ "set": {
+ "startsAt": "2020-01-01T00:00:00.000Z",
+ "endsAt": "2020-01-01T02:00:00.000Z"
+ }
+ }
+ ]
+ },
+ "expect": "event.json"
+ }
+ },
{
"id": "audit-tour-atlas",
"script": "scripts/build-tour-atlas.mjs",