Add Epiphany MVP coordinator

This commit is contained in:
Meta Vens 2026-04-28 18:43:46 +01:00
commit b7f4a03ff8
16 changed files with 1773 additions and 31 deletions

View file

@ -15105,6 +15105,57 @@
],
"type": "string"
},
"ThreadEpiphanyCoordinatorAction": {
"enum": [
"prepareCheckpoint",
"compactRehydrateReorient",
"launchReorientWorker",
"waitForReorientWorker",
"reviewReorientResult",
"regatherManually",
"launchModeling",
"reviewModelingResult",
"launchVerification",
"reviewVerificationResult",
"continueImplementation"
],
"type": "string"
},
"ThreadEpiphanyCoordinatorSignals": {
"properties": {
"crrcAction": {
"$ref": "#/definitions/v2/ThreadEpiphanyCrrcAction"
},
"modelingResultStatus": {
"$ref": "#/definitions/v2/ThreadEpiphanyRoleResultStatus"
},
"pressureLevel": {
"$ref": "#/definitions/v2/ThreadEpiphanyPressureLevel"
},
"reorientAction": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientAction"
},
"reorientResultStatus": {
"$ref": "#/definitions/v2/ThreadEpiphanyReorientResultStatus"
},
"shouldPrepareCompaction": {
"type": "boolean"
},
"verificationResultStatus": {
"$ref": "#/definitions/v2/ThreadEpiphanyRoleResultStatus"
}
},
"required": [
"crrcAction",
"modelingResultStatus",
"pressureLevel",
"reorientAction",
"reorientResultStatus",
"shouldPrepareCompaction",
"verificationResultStatus"
],
"type": "object"
},
"ThreadEpiphanyCrrcAction": {
"enum": [
"continue",
@ -16260,6 +16311,7 @@
"context",
"jobs",
"roles",
"coordinator",
"roleLaunch",
"roleResult",
"jobLaunch",

View file

@ -12992,6 +12992,57 @@
],
"type": "string"
},
"ThreadEpiphanyCoordinatorAction": {
"enum": [
"prepareCheckpoint",
"compactRehydrateReorient",
"launchReorientWorker",
"waitForReorientWorker",
"reviewReorientResult",
"regatherManually",
"launchModeling",
"reviewModelingResult",
"launchVerification",
"reviewVerificationResult",
"continueImplementation"
],
"type": "string"
},
"ThreadEpiphanyCoordinatorSignals": {
"properties": {
"crrcAction": {
"$ref": "#/definitions/ThreadEpiphanyCrrcAction"
},
"modelingResultStatus": {
"$ref": "#/definitions/ThreadEpiphanyRoleResultStatus"
},
"pressureLevel": {
"$ref": "#/definitions/ThreadEpiphanyPressureLevel"
},
"reorientAction": {
"$ref": "#/definitions/ThreadEpiphanyReorientAction"
},
"reorientResultStatus": {
"$ref": "#/definitions/ThreadEpiphanyReorientResultStatus"
},
"shouldPrepareCompaction": {
"type": "boolean"
},
"verificationResultStatus": {
"$ref": "#/definitions/ThreadEpiphanyRoleResultStatus"
}
},
"required": [
"crrcAction",
"modelingResultStatus",
"pressureLevel",
"reorientAction",
"reorientResultStatus",
"shouldPrepareCompaction",
"verificationResultStatus"
],
"type": "object"
},
"ThreadEpiphanyCrrcAction": {
"enum": [
"continue",
@ -14147,6 +14198,7 @@
"context",
"jobs",
"roles",
"coordinator",
"roleLaunch",
"roleResult",
"jobLaunch",

View file

@ -0,0 +1,5 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ThreadEpiphanyCoordinatorAction = "prepareCheckpoint" | "compactRehydrateReorient" | "launchReorientWorker" | "waitForReorientWorker" | "reviewReorientResult" | "regatherManually" | "launchModeling" | "reviewModelingResult" | "launchVerification" | "reviewVerificationResult" | "continueImplementation";

View file

@ -0,0 +1,10 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ThreadEpiphanyCrrcAction } from "./ThreadEpiphanyCrrcAction";
import type { ThreadEpiphanyPressureLevel } from "./ThreadEpiphanyPressureLevel";
import type { ThreadEpiphanyReorientAction } from "./ThreadEpiphanyReorientAction";
import type { ThreadEpiphanyReorientResultStatus } from "./ThreadEpiphanyReorientResultStatus";
import type { ThreadEpiphanyRoleResultStatus } from "./ThreadEpiphanyRoleResultStatus";
export type ThreadEpiphanyCoordinatorSignals = { pressureLevel: ThreadEpiphanyPressureLevel, shouldPrepareCompaction: boolean, reorientAction: ThreadEpiphanyReorientAction, crrcAction: ThreadEpiphanyCrrcAction, modelingResultStatus: ThreadEpiphanyRoleResultStatus, verificationResultStatus: ThreadEpiphanyRoleResultStatus, reorientResultStatus: ThreadEpiphanyReorientResultStatus, };

View file

@ -2,4 +2,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type ThreadEpiphanySceneAction = "index" | "retrieve" | "distill" | "context" | "jobs" | "roles" | "roleLaunch" | "roleResult" | "jobLaunch" | "jobInterrupt" | "freshness" | "pressure" | "reorient" | "crrc" | "reorientLaunch" | "reorientResult" | "reorientAccept" | "propose" | "promote" | "update";
export type ThreadEpiphanySceneAction = "index" | "retrieve" | "distill" | "context" | "jobs" | "roles" | "coordinator" | "roleLaunch" | "roleResult" | "jobLaunch" | "jobInterrupt" | "freshness" | "pressure" | "reorient" | "crrc" | "reorientLaunch" | "reorientResult" | "reorientAccept" | "propose" | "promote" | "update";

View file

@ -321,6 +321,8 @@ export type { ThreadEpiphanyContext } from "./ThreadEpiphanyContext";
export type { ThreadEpiphanyContextMissing } from "./ThreadEpiphanyContextMissing";
export type { ThreadEpiphanyContextSource } from "./ThreadEpiphanyContextSource";
export type { ThreadEpiphanyContextStateStatus } from "./ThreadEpiphanyContextStateStatus";
export type { ThreadEpiphanyCoordinatorAction } from "./ThreadEpiphanyCoordinatorAction";
export type { ThreadEpiphanyCoordinatorSignals } from "./ThreadEpiphanyCoordinatorSignals";
export type { ThreadEpiphanyCrrcAction } from "./ThreadEpiphanyCrrcAction";
export type { ThreadEpiphanyCrrcRecommendation } from "./ThreadEpiphanyCrrcRecommendation";
export type { ThreadEpiphanyFreshnessSource } from "./ThreadEpiphanyFreshnessSource";