fix(workbench): remove synthetic check projections

This commit is contained in:
2026-09-24 12:01:01 +08:00
parent 1a6ff64bbe
commit e374b5b3cb
25 changed files with 953 additions and 935 deletions
+101 -196
View File
@@ -251,6 +251,15 @@
],
"title": "Assignee"
},
"feedback_requirements": {
"items": {
"maxLength": 4000,
"minLength": 1,
"type": "string"
},
"title": "Feedback Requirements",
"type": "array"
},
"location": {
"anyOf": [
{
@@ -318,22 +327,6 @@
"title": "Status",
"type": "string"
},
"subtasks": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/WorkbenchRuntimeWorkOrderSubtask"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"title": "Subtasks"
},
"summary": {
"maxLength": 4000,
"minLength": 1,
@@ -1654,16 +1647,27 @@
"title": "Clear Scheduled At",
"type": "boolean"
},
"clear_subtasks": {
"default": false,
"title": "Clear Subtasks",
"type": "boolean"
},
"expected_revision": {
"minimum": 1.0,
"title": "Expected Revision",
"type": "integer"
},
"feedback_requirements": {
"anyOf": [
{
"items": {
"maxLength": 4000,
"minLength": 1,
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Feedback Requirements"
},
"location": {
"anyOf": [
{
@@ -1694,6 +1698,19 @@
],
"title": "Priority"
},
"progress_note": {
"anyOf": [
{
"maxLength": 4000,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"title": "Progress Note"
},
"request_id": {
"format": "uuid",
"title": "Request Id",
@@ -1743,22 +1760,6 @@
],
"title": "Status"
},
"subtasks": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/WorkbenchRuntimeWorkOrderSubtask"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"title": "Subtasks"
},
"summary": {
"anyOf": [
{
@@ -1796,6 +1797,13 @@
"WorkOrder": {
"additionalProperties": false,
"properties": {
"activity": {
"items": {
"$ref": "#/components/schemas/WorkOrderActivity"
},
"title": "Activity",
"type": "array"
},
"assignee": {
"anyOf": [
{
@@ -1816,6 +1824,13 @@
"title": "Created By",
"type": "string"
},
"feedback_requirements": {
"items": {
"type": "string"
},
"title": "Feedback Requirements",
"type": "array"
},
"location": {
"anyOf": [
{
@@ -1887,22 +1902,6 @@
"title": "Status",
"type": "string"
},
"subtasks": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/WorkbenchRuntimeWorkOrderSubtask"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"title": "Subtasks"
},
"summary": {
"title": "Summary",
"type": "string"
@@ -1955,6 +1954,55 @@
"title": "WorkOrder",
"type": "object"
},
"WorkOrderActivity": {
"additionalProperties": false,
"properties": {
"actor": {
"minLength": 1,
"title": "Actor",
"type": "string"
},
"detail": {
"minLength": 1,
"title": "Detail",
"type": "string"
},
"kind": {
"enum": [
"created",
"updated",
"feedback"
],
"title": "Kind",
"type": "string"
},
"occurred_at": {
"format": "date-time",
"title": "Occurred At",
"type": "string"
},
"sequence": {
"minimum": 1.0,
"title": "Sequence",
"type": "integer"
},
"title": {
"minLength": 1,
"title": "Title",
"type": "string"
}
},
"required": [
"sequence",
"occurred_at",
"actor",
"kind",
"title",
"detail"
],
"title": "WorkOrderActivity",
"type": "object"
},
"WorkOrderPage": {
"additionalProperties": false,
"properties": {
@@ -1984,149 +2032,6 @@
],
"title": "WorkOrderPage",
"type": "object"
},
"WorkbenchRuntimeWorkOrderStage": {
"additionalProperties": false,
"properties": {
"description": {
"minLength": 1,
"title": "Description",
"type": "string"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"owner": {
"minLength": 1,
"title": "Owner",
"type": "string"
},
"sequence": {
"minimum": 1.0,
"title": "Sequence",
"type": "integer"
},
"status": {
"enum": [
"done",
"current",
"pending",
"blocked",
"skipped"
],
"title": "Status",
"type": "string"
},
"time_label": {
"minLength": 1,
"title": "Time Label",
"type": "string"
},
"title": {
"minLength": 1,
"title": "Title",
"type": "string"
}
},
"required": [
"id",
"sequence",
"title",
"status",
"owner",
"time_label",
"description"
],
"title": "WorkbenchRuntimeWorkOrderStage",
"type": "object"
},
"WorkbenchRuntimeWorkOrderSubtask": {
"additionalProperties": false,
"properties": {
"assignee": {
"minLength": 1,
"title": "Assignee",
"type": "string"
},
"duration_minutes": {
"minimum": 1.0,
"title": "Duration Minutes",
"type": "integer"
},
"id": {
"minLength": 1,
"title": "Id",
"type": "string"
},
"location": {
"minLength": 1,
"title": "Location",
"type": "string"
},
"reply_requirements": {
"items": {
"minLength": 1,
"type": "string"
},
"title": "Reply Requirements",
"type": "array"
},
"reply_window_minutes": {
"minimum": 1.0,
"title": "Reply Window Minutes",
"type": "integer"
},
"scheduled_at": {
"format": "date-time",
"title": "Scheduled At",
"type": "string"
},
"stages": {
"items": {
"$ref": "#/components/schemas/WorkbenchRuntimeWorkOrderStage"
},
"title": "Stages",
"type": "array"
},
"status": {
"enum": [
"pending",
"running",
"blocked",
"completed",
"cancelled"
],
"title": "Status",
"type": "string"
},
"summary": {
"minLength": 1,
"title": "Summary",
"type": "string"
},
"title": {
"minLength": 1,
"title": "Title",
"type": "string"
}
},
"required": [
"id",
"title",
"summary",
"status",
"scheduled_at",
"location",
"assignee",
"duration_minutes",
"reply_window_minutes",
"stages",
"reply_requirements"
],
"title": "WorkbenchRuntimeWorkOrderSubtask",
"type": "object"
}
}
},