Regenerate the response wire schema for PersonaStatus; lock serde_path_to_error

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-10 08:38:42 +02:00
commit b759addf3e
2 changed files with 48 additions and 6 deletions

12
Cargo.lock generated
View file

@ -820,6 +820,7 @@ dependencies = [
"schemars",
"serde",
"serde_json",
"serde_path_to_error",
"sha2",
"tempfile",
]
@ -1628,6 +1629,17 @@ dependencies = [
"zmij",
]
[[package]]
name = "serde_path_to_error"
version = "0.1.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457"
dependencies = [
"itoa",
"serde",
"serde_core",
]
[[package]]
name = "sha2"
version = "0.10.9"

View file

@ -1608,11 +1608,8 @@
"$ref": "#/$defs/Slug"
},
"persona": {
"description": "The stored persona document's `updatedAt`; none until the first put.",
"type": [
"string",
"null"
]
"description": "The persona door as `PersonaGet` would find it.",
"$ref": "#/$defs/PersonaStatus"
},
"receipts": {
"type": "integer",
@ -1628,7 +1625,8 @@
"schema_epoch",
"documents",
"receipts",
"index"
"index",
"persona"
]
},
"MutationRecord": {
@ -1747,6 +1745,38 @@
"receipt_id"
]
},
"PersonaStatus": {
"description": "What the persona door holds, in the one vocabulary the door itself answers\nin: nothing yet, a document with this `updatedAt`, or a stored document the\ndoor cannot read (`PersonaGet` and every put answer `Unavailable`).",
"oneOf": [
{
"type": "string",
"enum": [
"Absent",
"Unreadable"
]
},
{
"type": "object",
"properties": {
"Stored": {
"type": "object",
"properties": {
"updated_at": {
"type": "string"
}
},
"required": [
"updated_at"
]
}
},
"additionalProperties": false,
"required": [
"Stored"
]
}
]
},
"PipelineAdmissionOutcome": {
"description": "How admission ended. `Committed.writes` names every document the batch\nlanded, derived writes included; Cut 11 indexes from it after `admit`\nreturns, and never inside it.",
"oneOf": [