Fix SCUM companion trajectory storage

This commit is contained in:
npc0-hue
2026-08-31 15:42:16 +08:00
parent bc927a5144
commit ea4e780562
26 changed files with 1028 additions and 112 deletions
@@ -86,6 +86,19 @@
"properties": {
"policy": { "const": "verify-system-roots" }
}
},
"trajectory": {
"type": "object",
"additionalProperties": false,
"required": ["enabled", "source", "store", "fileEnv", "intervalSeconds", "maxRows"],
"properties": {
"enabled": { "type": "boolean" },
"source": { "const": "scum-sqlite" },
"store": { "const": "shared-platform-mysql" },
"fileEnv": { "const": "SCUM_DB_FILE" },
"intervalSeconds": { "type": "integer", "minimum": 1, "maximum": 3600 },
"maxRows": { "type": "integer", "minimum": 1, "maximum": 5000 }
}
}
},
"$defs": {