feat(HAI-001): handle optional title in engine components

This commit is contained in:
Dustin Byrne
2026-03-25 19:15:35 -04:00
parent 62dc06b2f1
commit f57b87f7d3
3 changed files with 6 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ export class TaskExecutor {
if (this.executing.has(task.id)) return;
this.executing.add(task.id);
console.log(`[executor] Starting ${task.id}: ${task.title}`);
console.log(`[executor] Starting ${task.id}: ${task.title || task.id}`);
try {
// Check dependencies
@@ -210,7 +210,7 @@ function buildExecutionPrompt(task: TaskDetail): string {
## Task Info
- **ID:** ${task.id}
- **Title:** ${task.title}
- **Title:** ${task.title || task.id}
${task.dependencies.length > 0 ? `- **Dependencies:** ${task.dependencies.join(", ")}` : ""}
## PROMPT.md