full diff

net.anisota.fieldwork.state

anisota.net +10 −1
From
bafyreiatdiklohynjddmdaerhzu7bv3yvnd2gogjzr3uofackvhynw66oe indexed 2026-07-26 20:11 UTC View this version
To
bafyreihus7xrvv4wtuoz7f66k4lpggaxcgteojx32243of4mm5l43otelu indexed 2026-11-21 20:07 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "net.anisota.fieldwork.state:body.baselines" }
  • AddedVertex AddedVertex { vertex_id: "net.anisota.fieldwork.state:body.season" }
  • AddedEdge AddedEdge { src: "net.anisota.fieldwork.state:body", tgt: "net.anisota.fieldwork.state:body.baselines", kind: "prop", name: Some("baselines") }
  • AddedEdge AddedEdge { src: "net.anisota.fieldwork.state:body", tgt: "net.anisota.fieldwork.state:body.season", kind: "prop", name: Some("season") }

Migration guidance

Added

  • AddedVertex { vertex_id: "net.anisota.fieldwork.state:body.baselines" }
  • AddedVertex { vertex_id: "net.anisota.fieldwork.state:body.season" }

Notes

  • Non-breaking: AddedEdge { src: "net.anisota.fieldwork.state:body", tgt: "net.anisota.fieldwork.state:body.baselines", kind: "prop", name: Some("baselines") }
  • Non-breaking: AddedEdge { src: "net.anisota.fieldwork.state:body", tgt: "net.anisota.fieldwork.state:body.season", kind: "prop", name: Some("season") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Quest system state for cross-device sync (dismissals, nudge timing, visited routes). Singleton record (rkey: self), overwritten via putRecord. Client-written (no backend signing). Distinct from net.anisota.chronicle.fieldwork (immutable, backend-signed completion records).",
5 "description": "Quest system state for cross-device sync (dismissals, nudge timing, visited routes). One record per game season (rkey: self before the 2027 season, and the season id, e.g. 2027, from then on), overwritten via putRecord. Client-written (no backend signing). Distinct from net.anisota.chronicle.fieldwork (immutable, backend-signed completion records).",
66 "key": "any",
77 "record": {
88 "properties": {
9 "baselines": {
10 "description": "Object mapping quest ids to the canonical JSON of the setting each one reads, taken on the season's first pass. Such a quest counts as done only once the setting differs from it, so settings made last season don't complete it. Season records only.",
11 "type": "unknown"
12 },
913 "counters": {
1014 "description": "Reserved for future quest progress counters. Object mapping counter ids to values.",
1115 "type": "unknown"
1216 },
1317 "dismissed": {
1418 "description": "Object mapping dismissed quest ids to the ISO datetime they were dismissed. Dismissed quests are excluded from recommendations and nudges until undismissed.",
1519 "type": "unknown"
1620 },
1721 "lastNudgeAt": {
1822 "description": "When a quest nudge was last shown (nudges are spaced at least a day apart)",
1923 "format": "datetime",
2024 "type": "string"
2125 },
2226 "lastNudgeQuestId": {
2327 "description": "Which quest the most recent nudge was about",
2428 "type": "string"
2529 },
2630 "pinnedQuestId": {
2731 "description": "Quest the player has pinned to keep in view",
2832 "type": "string"
2933 },
3034 "retroSweepAt": {
3135 "description": "When the retroactive completion sweep last ran (throttles the sweep to once per day)",
3236 "format": "datetime",
3337 "type": "string"
3438 },
3539 "retroSweepVersion": {
3640 "description": "Version of the retroactive sweep that armed retroSweepAt. When it doesn't match the client's current sweep version the throttle is treated as stale and the sweep runs once more, so a throttle armed by an earlier (buggy) sweep can't lock out backfill.",
3741 "type": "integer"
3842 },
43 "season": {
44 "description": "The game season this record counts toward, e.g. 2027. Absent: before the 2027 season.",
45 "maxLength": 8,
46 "type": "string"
47 },
3948 "snoozedUntil": {
4049 "description": "Suppress quest nudges until this time",
4150 "format": "datetime",
4251 "type": "string"
4352 },
4453 "updatedAt": {
4554 "description": "When this state snapshot was taken",
4655 "format": "datetime",
4756 "type": "string"
4857 },
4958 "visitedRoutes": {
5059 "description": "Object mapping visited app routes (e.g. '/chronicle') to the ISO datetime of the first tracked visit. Drives route-based quest detection.",
5160 "type": "unknown"
5261 }
5362 },
5463 "required": [
5564 "updatedAt"
5665 ],
5766 "type": "object"
5867 },
5968 "type": "record"
6069 }
6170 },
6271 "id": "net.anisota.fieldwork.state",
6372 "lexicon": 1
6473}

Compare other versions