From 4ae5035f3902cc7db6c3bf07fe7bf07489946cf3 Mon Sep 17 00:00:00 2001 From: soryu Date: Mon, 26 Jan 2026 18:19:03 +0000 Subject: [WIP] Heartbeat checkpoint - 2026-01-26 18:19:03 UTC --- makima/src/db/models.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'makima/src/db/models.rs') diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs index 0c1d9f2..d6cc42a 100644 --- a/makima/src/db/models.rs +++ b/makima/src/db/models.rs @@ -1321,6 +1321,10 @@ pub struct Contract { /// phase outputs (like plans, requirements, etc.) before continuing. #[serde(default)] pub phase_guard: bool, + /// When true, tasks do not auto-execute completion actions and work stays in worktrees. + /// Used for local-only workflows where changes are managed manually. + #[serde(default)] + pub local_only: bool, pub version: i32, pub created_at: DateTime, pub updated_at: DateTime, @@ -1417,6 +1421,9 @@ pub struct ContractSummary { pub status: String, /// Supervisor task ID for contract orchestration pub supervisor_task_id: Option, + /// When true, tasks do not auto-execute completion actions and work stays in worktrees. + #[serde(default)] + pub local_only: bool, pub file_count: i64, pub task_count: i64, pub repository_count: i64, @@ -1471,6 +1478,10 @@ pub struct CreateContractRequest { /// phase outputs before progressing to the next phase. #[serde(default)] pub phase_guard: Option, + /// Enable local-only mode for this contract. + /// When true, tasks do not auto-execute completion actions and work stays in worktrees. + #[serde(default)] + pub local_only: Option, } /// Request payload for updating a contract @@ -1492,6 +1503,10 @@ pub struct UpdateContractRequest { /// phase outputs before progressing to the next phase. #[serde(default)] pub phase_guard: Option, + /// Enable or disable local-only mode for this contract. + /// When true, tasks do not auto-execute completion actions and work stays in worktrees. + #[serde(default)] + pub local_only: Option, /// Version for optimistic locking pub version: Option, } -- cgit v1.2.3