summaryrefslogtreecommitdiff
path: root/makima/src/orchestration/directive.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/orchestration/directive.rs')
-rw-r--r--makima/src/orchestration/directive.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/makima/src/orchestration/directive.rs b/makima/src/orchestration/directive.rs
index 384fa23..7f90bcd 100644
--- a/makima/src/orchestration/directive.rs
+++ b/makima/src/orchestration/directive.rs
@@ -97,7 +97,7 @@ impl DirectiveOrchestrator {
.spawn_orchestrator_task(
directive.id,
directive.owner_id,
- format!("Plan: {}", directive.title),
+ "orchestrator".to_string(),
plan,
directive.repository_url.as_deref(),
directive.base_branch.as_deref(),
@@ -517,7 +517,7 @@ impl DirectiveOrchestrator {
.spawn_orchestrator_task(
directive.id,
directive.owner_id,
- format!("Re-plan: {}", directive.title),
+ "orchestrator (re-plan)".to_string(),
plan,
directive.repository_url.as_deref(),
directive.base_branch.as_deref(),
@@ -844,7 +844,7 @@ impl DirectiveOrchestrator {
.spawn_completion_task(
directive.id,
directive.owner_id,
- format!("PR: {}", directive.title),
+ "completion".to_string(),
prompt,
directive.repository_url.as_deref(),
directive.base_branch.as_deref(),
@@ -1367,9 +1367,9 @@ pub async fn trigger_completion_task(
let prompt = build_completion_prompt(&directive, &contract_body, &step_tasks, &step_branches, &directive_branch, base_branch);
let task_name = if directive.pr_url.is_some() {
- format!("Update PR: {}", directive.title)
+ "completion (update)".to_string()
} else {
- format!("PR: {}", directive.title)
+ "completion".to_string()
};
// Create the completion task FIRST so we have a real task ID for the FK