Harden Epiphany state update notifications
This commit is contained in:
parent
09a3a6f834
commit
366354d359
16 changed files with 286 additions and 32 deletions
30
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
30
vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json
generated
vendored
|
|
@ -3712,11 +3712,39 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyStateUpdatedField": {
|
||||
"enum": [
|
||||
"objective",
|
||||
"activeSubgoalId",
|
||||
"subgoals",
|
||||
"invariants",
|
||||
"graphs",
|
||||
"graphFrontier",
|
||||
"graphCheckpoint",
|
||||
"scratch",
|
||||
"observations",
|
||||
"evidence",
|
||||
"churn",
|
||||
"mode"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyStateUpdatedNotification": {
|
||||
"properties": {
|
||||
"changedFields": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyStateUpdatedField"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyStateUpdatedSource"
|
||||
},
|
||||
|
|
@ -3725,7 +3753,9 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"changedFields",
|
||||
"epiphanyState",
|
||||
"revision",
|
||||
"source",
|
||||
"threadId"
|
||||
],
|
||||
|
|
|
|||
|
|
@ -14966,12 +14966,40 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyStateUpdatedField": {
|
||||
"enum": [
|
||||
"objective",
|
||||
"activeSubgoalId",
|
||||
"subgoals",
|
||||
"invariants",
|
||||
"graphs",
|
||||
"graphFrontier",
|
||||
"graphCheckpoint",
|
||||
"scratch",
|
||||
"observations",
|
||||
"evidence",
|
||||
"churn",
|
||||
"mode"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyStateUpdatedNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"changedFields": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/v2/ThreadEpiphanyStateUpdatedField"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"$ref": "#/definitions/v2/EpiphanyThreadState"
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/v2/ThreadEpiphanyStateUpdatedSource"
|
||||
},
|
||||
|
|
@ -14980,7 +15008,9 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"changedFields",
|
||||
"epiphanyState",
|
||||
"revision",
|
||||
"source",
|
||||
"threadId"
|
||||
],
|
||||
|
|
|
|||
|
|
@ -12853,12 +12853,40 @@
|
|||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadEpiphanyStateUpdatedField": {
|
||||
"enum": [
|
||||
"objective",
|
||||
"activeSubgoalId",
|
||||
"subgoals",
|
||||
"invariants",
|
||||
"graphs",
|
||||
"graphFrontier",
|
||||
"graphCheckpoint",
|
||||
"scratch",
|
||||
"observations",
|
||||
"evidence",
|
||||
"churn",
|
||||
"mode"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyStateUpdatedNotification": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
"changedFields": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyStateUpdatedField"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyStateUpdatedSource"
|
||||
},
|
||||
|
|
@ -12867,7 +12895,9 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"changedFields",
|
||||
"epiphanyState",
|
||||
"revision",
|
||||
"source",
|
||||
"threadId"
|
||||
],
|
||||
|
|
|
|||
|
|
@ -705,6 +705,23 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyStateUpdatedField": {
|
||||
"enum": [
|
||||
"objective",
|
||||
"activeSubgoalId",
|
||||
"subgoals",
|
||||
"invariants",
|
||||
"graphs",
|
||||
"graphFrontier",
|
||||
"graphCheckpoint",
|
||||
"scratch",
|
||||
"observations",
|
||||
"evidence",
|
||||
"churn",
|
||||
"mode"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadEpiphanyStateUpdatedSource": {
|
||||
"enum": [
|
||||
"update",
|
||||
|
|
@ -714,9 +731,20 @@
|
|||
}
|
||||
},
|
||||
"properties": {
|
||||
"changedFields": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyStateUpdatedField"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"epiphanyState": {
|
||||
"$ref": "#/definitions/EpiphanyThreadState"
|
||||
},
|
||||
"revision": {
|
||||
"format": "uint64",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/ThreadEpiphanyStateUpdatedSource"
|
||||
},
|
||||
|
|
@ -725,7 +753,9 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"changedFields",
|
||||
"epiphanyState",
|
||||
"revision",
|
||||
"source",
|
||||
"threadId"
|
||||
],
|
||||
|
|
|
|||
Reference in a new issue