From 612cecc5bd5dbfc73d4a3a9d38626378eaf39041 Mon Sep 17 00:00:00 2001 From: soryu Date: Wed, 4 Feb 2026 01:59:40 +0000 Subject: Remove chain supervisor capability Chains no longer spawn a supervisor task. Checkpoint contracts will be automatically run as part of the DAG execution when dependencies complete. - Remove supervisor task creation from start_chain handler - Remove chain supervisor CLI commands - Remove supervisor_task_id from StartChainResponse - Remove withSupervisor option from frontend Co-Authored-By: Claude Opus 4.5 --- makima/src/db/models.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'makima/src/db/models.rs') diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs index 0b8ef43..4e569ec 100644 --- a/makima/src/db/models.rs +++ b/makima/src/db/models.rs @@ -3064,14 +3064,11 @@ pub struct UpdateContractDefinitionRequest { pub editor_y: Option, } -/// Request to start a chain +/// Request to start a chain (kept for backwards compatibility) #[derive(Debug, Clone, Deserialize, ToSchema)] #[serde(rename_all = "camelCase")] pub struct StartChainRequest { - /// Whether to create a supervisor task that monitors chain progress - #[serde(default)] - pub with_supervisor: bool, - /// Repository URL for the supervisor task to work with + /// Repository URL (reserved for future use) pub repository_url: Option, } @@ -3080,7 +3077,6 @@ pub struct StartChainRequest { #[serde(rename_all = "camelCase")] pub struct StartChainResponse { pub chain_id: Uuid, - pub supervisor_task_id: Option, /// Root contracts created (those with no dependencies) pub contracts_created: Vec, pub status: String, -- cgit v1.2.3