Remove graph cargo from worker launch documents

This commit is contained in:
Meta Vens 2026-05-18 06:27:08 +01:00
commit 6c66fab894
13 changed files with 5 additions and 94 deletions

View file

@ -6822,16 +6822,6 @@
}
]
},
"graphs": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyGraphs"
},
{
"type": "null"
}
]
},
"invariants": {
"type": "array",
"items": {
@ -6994,16 +6984,6 @@
"graphStatus": {
"type": "string"
},
"graphs": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyGraphs"
},
{
"type": "null"
}
]
},
"linkedGraphNodeIds": {
"type": "array",
"items": {

View file

@ -8515,16 +8515,6 @@
}
]
},
"graphs": {
"anyOf": [
{
"$ref": "#/definitions/v2/EpiphanyGraphs"
},
{
"type": "null"
}
]
},
"invariants": {
"type": "array",
"items": {
@ -8687,16 +8677,6 @@
"graphStatus": {
"type": "string"
},
"graphs": {
"anyOf": [
{
"$ref": "#/definitions/v2/EpiphanyGraphs"
},
{
"type": "null"
}
]
},
"linkedGraphNodeIds": {
"type": "array",
"items": {

View file

@ -3941,16 +3941,6 @@
}
]
},
"graphs": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyGraphs"
},
{
"type": "null"
}
]
},
"invariants": {
"type": "array",
"items": {
@ -4113,16 +4103,6 @@
"graphStatus": {
"type": "string"
},
"graphs": {
"anyOf": [
{
"$ref": "#/definitions/EpiphanyGraphs"
},
{
"type": "null"
}
]
},
"linkedGraphNodeIds": {
"type": "array",
"items": {

View file

@ -3,8 +3,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { EpiphanyCodeRef } from "../EpiphanyCodeRef";
import type { EpiphanyEvidenceRecord } from "../EpiphanyEvidenceRecord";
import type { EpiphanyGraphs } from "../EpiphanyGraphs";
import type { EpiphanyObservation } from "../EpiphanyObservation";
import type { EpiphanyScratchPad } from "../EpiphanyScratchPad";
export type ThreadEpiphanyReorientWorkerLaunchDocument = { threadId: string, mode: string, checkpointId: string, checkpointKind: string, checkpointDisposition: string, checkpointFocus?: string | null, checkpointSummary?: string | null, checkpointNextAction: string, checkpointOpenQuestions?: Array<string>, checkpointEvidenceIds?: Array<string>, checkpointCodeRefs?: Array<EpiphanyCodeRef>, decisionReasons?: Array<string>, decisionNote: string, pressureLevel: string, retrievalStatus: string, graphStatus: string, watcherStatus: string, checkpointDirtyPaths?: Array<string>, checkpointChangedPaths?: Array<string>, scratch?: EpiphanyScratchPad | null, graphs?: EpiphanyGraphs | null, recentEvidence?: Array<EpiphanyEvidenceRecord>, recentObservations?: Array<EpiphanyObservation>, activeFrontierNodeIds?: Array<string>, linkedSubgoalIds?: Array<string>, linkedGraphNodeIds?: Array<string>, };
export type ThreadEpiphanyReorientWorkerLaunchDocument = { threadId: string, mode: string, checkpointId: string, checkpointKind: string, checkpointDisposition: string, checkpointFocus?: string | null, checkpointSummary?: string | null, checkpointNextAction: string, checkpointOpenQuestions?: Array<string>, checkpointEvidenceIds?: Array<string>, checkpointCodeRefs?: Array<EpiphanyCodeRef>, decisionReasons?: Array<string>, decisionNote: string, pressureLevel: string, retrievalStatus: string, graphStatus: string, watcherStatus: string, checkpointDirtyPaths?: Array<string>, checkpointChangedPaths?: Array<string>, scratch?: EpiphanyScratchPad | null, recentEvidence?: Array<EpiphanyEvidenceRecord>, recentObservations?: Array<EpiphanyObservation>, activeFrontierNodeIds?: Array<string>, linkedSubgoalIds?: Array<string>, linkedGraphNodeIds?: Array<string>, };

View file

@ -5,7 +5,6 @@ import type { EpiphanyChurnState } from "../EpiphanyChurnState";
import type { EpiphanyEvidenceRecord } from "../EpiphanyEvidenceRecord";
import type { EpiphanyGraphCheckpoint } from "../EpiphanyGraphCheckpoint";
import type { EpiphanyGraphFrontier } from "../EpiphanyGraphFrontier";
import type { EpiphanyGraphs } from "../EpiphanyGraphs";
import type { EpiphanyInvariant } from "../EpiphanyInvariant";
import type { EpiphanyInvestigationCheckpoint } from "../EpiphanyInvestigationCheckpoint";
import type { EpiphanyObservation } from "../EpiphanyObservation";
@ -13,4 +12,4 @@ import type { EpiphanyPlanningState } from "../EpiphanyPlanningState";
import type { EpiphanyScratchPad } from "../EpiphanyScratchPad";
import type { EpiphanySubgoal } from "../EpiphanySubgoal";
export type ThreadEpiphanyRoleWorkerLaunchDocument = { threadId: string, roleId: string, stateRevision: bigint, objective?: string | null, activeSubgoalId?: string | null, activeSubgoals?: Array<EpiphanySubgoal>, activeGraphNodeIds?: Array<string>, investigationCheckpoint?: EpiphanyInvestigationCheckpoint | null, scratch?: EpiphanyScratchPad | null, invariants?: Array<EpiphanyInvariant>, graphs?: EpiphanyGraphs | null, recentEvidence?: Array<EpiphanyEvidenceRecord>, recentObservations?: Array<EpiphanyObservation>, graphFrontier?: EpiphanyGraphFrontier | null, graphCheckpoint?: EpiphanyGraphCheckpoint | null, planning?: EpiphanyPlanningState | null, churn?: EpiphanyChurnState | null, };
export type ThreadEpiphanyRoleWorkerLaunchDocument = { threadId: string, roleId: string, stateRevision: bigint, objective?: string | null, activeSubgoalId?: string | null, activeSubgoals?: Array<EpiphanySubgoal>, activeGraphNodeIds?: Array<string>, investigationCheckpoint?: EpiphanyInvestigationCheckpoint | null, scratch?: EpiphanyScratchPad | null, invariants?: Array<EpiphanyInvariant>, recentEvidence?: Array<EpiphanyEvidenceRecord>, recentObservations?: Array<EpiphanyObservation>, graphFrontier?: EpiphanyGraphFrontier | null, graphCheckpoint?: EpiphanyGraphCheckpoint | null, planning?: EpiphanyPlanningState | null, churn?: EpiphanyChurnState | null, };

View file

@ -66,7 +66,6 @@ use codex_protocol::protocol::EpiphanyGraphEdge as CoreEpiphanyGraphEdge;
use codex_protocol::protocol::EpiphanyGraphFrontier as CoreEpiphanyGraphFrontier;
use codex_protocol::protocol::EpiphanyGraphLink as CoreEpiphanyGraphLink;
use codex_protocol::protocol::EpiphanyGraphNode as CoreEpiphanyGraphNode;
use codex_protocol::protocol::EpiphanyGraphs as CoreEpiphanyGraphs;
use codex_protocol::protocol::EpiphanyInvariant as CoreEpiphanyInvariant;
use codex_protocol::protocol::EpiphanyInvestigationCheckpoint as CoreEpiphanyInvestigationCheckpoint;
use codex_protocol::protocol::EpiphanyInvestigationDisposition as CoreEpiphanyInvestigationDisposition;
@ -5241,9 +5240,6 @@ pub struct ThreadEpiphanyRoleWorkerLaunchDocument {
pub scratch: Option<CoreEpiphanyScratchPad>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub invariants: Vec<CoreEpiphanyInvariant>,
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(optional = nullable)]
pub graphs: Option<CoreEpiphanyGraphs>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub recent_evidence: Vec<CoreEpiphanyEvidenceRecord>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
@ -5301,9 +5297,6 @@ pub struct ThreadEpiphanyReorientWorkerLaunchDocument {
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(optional = nullable, type = "CoreEpiphanyMemoryContextPacket | null")]
pub memory_context: Option<CoreEpiphanyMemoryContextPacket>,
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(optional = nullable)]
pub graphs: Option<CoreEpiphanyGraphs>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub recent_evidence: Vec<CoreEpiphanyEvidenceRecord>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]