diff options
Diffstat (limited to 'makima/src/daemon')
| -rw-r--r-- | makima/src/daemon/api/directive.rs | 16 | ||||
| -rw-r--r-- | makima/src/daemon/cli/directive.rs | 10 | ||||
| -rw-r--r-- | makima/src/daemon/cli/mod.rs | 3 |
3 files changed, 1 insertions, 28 deletions
diff --git a/makima/src/daemon/api/directive.rs b/makima/src/daemon/api/directive.rs index 1088eb7..bf5db09 100644 --- a/makima/src/daemon/api/directive.rs +++ b/makima/src/daemon/api/directive.rs @@ -20,12 +20,6 @@ pub struct CreateStepRequest { #[derive(Serialize)] #[serde(rename_all = "camelCase")] -pub struct UpdateGoalRequest { - pub goal: String, -} - -#[derive(Serialize)] -#[serde(rename_all = "camelCase")] pub struct UpdateStepDepsRequest { pub depends_on: Vec<Uuid>, } @@ -125,16 +119,6 @@ impl ApiClient { .await } - /// Update the directive's goal. - pub async fn directive_update_goal( - &self, - directive_id: Uuid, - goal: &str, - ) -> Result<JsonValue, ApiError> { - let req = UpdateGoalRequest { goal: goal.to_string() }; - self.put(&format!("/api/v1/directives/{}/goal", directive_id), &req).await - } - /// Update directive metadata (PR URL, PR branch, status, etc.) pub async fn directive_update( &self, diff --git a/makima/src/daemon/cli/directive.rs b/makima/src/daemon/cli/directive.rs index 0f04720..a27b94e 100644 --- a/makima/src/daemon/cli/directive.rs +++ b/makima/src/daemon/cli/directive.rs @@ -90,15 +90,7 @@ pub struct StepActionArgs { pub step_id: Uuid, } -/// Arguments for update-goal command. -#[derive(Args, Debug)] -pub struct UpdateGoalArgs { - #[command(flatten)] - pub common: DirectiveArgs, - - /// New goal text - pub goal: String, -} +// (UpdateGoalArgs removed — spec edits flow through the contracts API now.) /// Arguments for batch-add-steps command. #[derive(Args, Debug)] diff --git a/makima/src/daemon/cli/mod.rs b/makima/src/daemon/cli/mod.rs index b01c161..acad9ad 100644 --- a/makima/src/daemon/cli/mod.rs +++ b/makima/src/daemon/cli/mod.rs @@ -107,9 +107,6 @@ pub enum DirectiveCommand { /// Mark a step as skipped SkipStep(directive::StepActionArgs), - /// Update the directive's goal (triggers re-planning) - UpdateGoal(directive::UpdateGoalArgs), - /// Batch add multiple steps from JSON BatchAddSteps(directive::BatchAddStepsArgs), |
