Move MVP operator reads onto Epiphany view

This commit is contained in:
Meta Vens 2026-05-12 04:50:51 +01:00
commit 7b1e79a765
15 changed files with 1138 additions and 78 deletions

View file

@ -4753,7 +4753,12 @@
"enum": [
"scene",
"jobs",
"pressure"
"roles",
"planning",
"pressure",
"reorient",
"crrc",
"coordinator"
],
"type": "string"
},

View file

@ -17833,14 +17833,278 @@
},
"type": "object"
},
"ThreadEpiphanyViewCoordinator": {
"properties": {
"action": {
"$ref": "#/definitions/v2/ThreadEpiphanyCoordinatorAction"
},
"canAutoRun": {
"type": "boolean"
},
"note": {
"type": "string"
},
"reason": {
"type": "string"
},
"recommendedSceneAction": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanySceneAction"
},
{
"type": "null"
}
]
},
"requiresReview": {
"type": "boolean"
},
"roles": {
"items": {
"$ref": "#/definitions/v2/ThreadEpiphanyRoleLane"
},
"type": "array"
},
"source": {
"$ref": "#/definitions/v2/ThreadEpiphanyRolesSource"
},
"sourceSignals": {
"$ref": "#/definitions/v2/ThreadEpiphanyCoordinatorSignals"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientStateStatus"
},
"targetRole": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanyRoleId"
},
{
"type": "null"
}
]
},
"threadId": {
"type": "string"
}
},
"required": [
"action",
"canAutoRun",
"note",
"reason",
"requiresReview",
"roles",
"source",
"sourceSignals",
"stateStatus",
"threadId"
],
"type": "object"
},
"ThreadEpiphanyViewCrrc": {
"properties": {
"availableActions": {
"items": {
"$ref": "#/definitions/v2/ThreadEpiphanySceneAction"
},
"type": "array"
},
"decision": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientDecision"
},
"note": {
"type": "string"
},
"pressure": {
"$ref": "#/definitions/v2/ThreadEpiphanyPressure"
},
"recommendation": {
"$ref": "#/definitions/v2/ThreadEpiphanyCrrcRecommendation"
},
"reorientBindingId": {
"type": "string"
},
"reorientFinding": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanyReorientFinding"
},
{
"type": "null"
}
]
},
"reorientJob": {
"anyOf": [
{
"$ref": "#/definitions/v2/ThreadEpiphanyJob"
},
{
"type": "null"
}
]
},
"reorientResultStatus": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientResultStatus"
},
"source": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientSource"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientStateStatus"
},
"threadId": {
"type": "string"
}
},
"required": [
"decision",
"note",
"pressure",
"recommendation",
"reorientBindingId",
"reorientResultStatus",
"source",
"stateStatus",
"threadId"
],
"type": "object"
},
"ThreadEpiphanyViewLens": {
"enum": [
"scene",
"jobs",
"pressure"
"roles",
"planning",
"pressure",
"reorient",
"crrc",
"coordinator"
],
"type": "string"
},
"ThreadEpiphanyViewPlanning": {
"properties": {
"planning": {
"$ref": "#/definitions/v2/EpiphanyPlanningState"
},
"source": {
"$ref": "#/definitions/v2/ThreadEpiphanyContextSource"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/v2/ThreadEpiphanyContextStateStatus"
},
"summary": {
"$ref": "#/definitions/v2/ThreadEpiphanyPlanningSummary"
},
"threadId": {
"type": "string"
}
},
"required": [
"planning",
"source",
"stateStatus",
"summary",
"threadId"
],
"type": "object"
},
"ThreadEpiphanyViewReorient": {
"properties": {
"decision": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientDecision"
},
"source": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientSource"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientStateStatus"
},
"threadId": {
"type": "string"
}
},
"required": [
"decision",
"source",
"stateStatus",
"threadId"
],
"type": "object"
},
"ThreadEpiphanyViewRoles": {
"properties": {
"note": {
"type": "string"
},
"roles": {
"items": {
"$ref": "#/definitions/v2/ThreadEpiphanyRoleLane"
},
"type": "array"
},
"source": {
"$ref": "#/definitions/v2/ThreadEpiphanyRolesSource"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientStateStatus"
},
"threadId": {
"type": "string"
}
},
"required": [
"note",
"roles",
"source",
"stateStatus",
"threadId"
],
"type": "object"
},
"ThreadForkParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.",

View file

@ -15720,14 +15720,278 @@
},
"type": "object"
},
"ThreadEpiphanyViewCoordinator": {
"properties": {
"action": {
"$ref": "#/definitions/ThreadEpiphanyCoordinatorAction"
},
"canAutoRun": {
"type": "boolean"
},
"note": {
"type": "string"
},
"reason": {
"type": "string"
},
"recommendedSceneAction": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanySceneAction"
},
{
"type": "null"
}
]
},
"requiresReview": {
"type": "boolean"
},
"roles": {
"items": {
"$ref": "#/definitions/ThreadEpiphanyRoleLane"
},
"type": "array"
},
"source": {
"$ref": "#/definitions/ThreadEpiphanyRolesSource"
},
"sourceSignals": {
"$ref": "#/definitions/ThreadEpiphanyCoordinatorSignals"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/ThreadEpiphanyReorientStateStatus"
},
"targetRole": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyRoleId"
},
{
"type": "null"
}
]
},
"threadId": {
"type": "string"
}
},
"required": [
"action",
"canAutoRun",
"note",
"reason",
"requiresReview",
"roles",
"source",
"sourceSignals",
"stateStatus",
"threadId"
],
"type": "object"
},
"ThreadEpiphanyViewCrrc": {
"properties": {
"availableActions": {
"items": {
"$ref": "#/definitions/ThreadEpiphanySceneAction"
},
"type": "array"
},
"decision": {
"$ref": "#/definitions/ThreadEpiphanyReorientDecision"
},
"note": {
"type": "string"
},
"pressure": {
"$ref": "#/definitions/ThreadEpiphanyPressure"
},
"recommendation": {
"$ref": "#/definitions/ThreadEpiphanyCrrcRecommendation"
},
"reorientBindingId": {
"type": "string"
},
"reorientFinding": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyReorientFinding"
},
{
"type": "null"
}
]
},
"reorientJob": {
"anyOf": [
{
"$ref": "#/definitions/ThreadEpiphanyJob"
},
{
"type": "null"
}
]
},
"reorientResultStatus": {
"$ref": "#/definitions/ThreadEpiphanyReorientResultStatus"
},
"source": {
"$ref": "#/definitions/ThreadEpiphanyReorientSource"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/ThreadEpiphanyReorientStateStatus"
},
"threadId": {
"type": "string"
}
},
"required": [
"decision",
"note",
"pressure",
"recommendation",
"reorientBindingId",
"reorientResultStatus",
"source",
"stateStatus",
"threadId"
],
"type": "object"
},
"ThreadEpiphanyViewLens": {
"enum": [
"scene",
"jobs",
"pressure"
"roles",
"planning",
"pressure",
"reorient",
"crrc",
"coordinator"
],
"type": "string"
},
"ThreadEpiphanyViewPlanning": {
"properties": {
"planning": {
"$ref": "#/definitions/EpiphanyPlanningState"
},
"source": {
"$ref": "#/definitions/ThreadEpiphanyContextSource"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/ThreadEpiphanyContextStateStatus"
},
"summary": {
"$ref": "#/definitions/ThreadEpiphanyPlanningSummary"
},
"threadId": {
"type": "string"
}
},
"required": [
"planning",
"source",
"stateStatus",
"summary",
"threadId"
],
"type": "object"
},
"ThreadEpiphanyViewReorient": {
"properties": {
"decision": {
"$ref": "#/definitions/ThreadEpiphanyReorientDecision"
},
"source": {
"$ref": "#/definitions/ThreadEpiphanyReorientSource"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/ThreadEpiphanyReorientStateStatus"
},
"threadId": {
"type": "string"
}
},
"required": [
"decision",
"source",
"stateStatus",
"threadId"
],
"type": "object"
},
"ThreadEpiphanyViewRoles": {
"properties": {
"note": {
"type": "string"
},
"roles": {
"items": {
"$ref": "#/definitions/ThreadEpiphanyRoleLane"
},
"type": "array"
},
"source": {
"$ref": "#/definitions/ThreadEpiphanyRolesSource"
},
"stateRevision": {
"format": "uint64",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"stateStatus": {
"$ref": "#/definitions/ThreadEpiphanyReorientStateStatus"
},
"threadId": {
"type": "string"
}
},
"required": [
"note",
"roles",
"source",
"stateStatus",
"threadId"
],
"type": "object"
},
"ThreadForkParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.",