feat: align wakeup prompts with daily-routine skill workflows
Update CalendarScheduler prompt templates to reference daily-routine skill workflows (task-handson, plan-schedule, slot-complete) instead of generic instructions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -611,13 +611,11 @@ Task Code: ${code}
|
|||||||
Estimated Duration: ${duration} minutes
|
Estimated Duration: ${duration} minutes
|
||||||
Slot Type: ${slot.slot_type}
|
Slot Type: ${slot.slot_type}
|
||||||
Priority: ${slot.priority}
|
Priority: ${slot.priority}
|
||||||
|
Working Sessions: ${jobData.working_sessions?.join(', ') || 'none recorded'}
|
||||||
|
|
||||||
Please focus on this task for the allocated time. When you finish or need to pause,
|
Follow the daily-routine skill's task-handson workflow to execute this task.
|
||||||
report your progress back to the calendar system.
|
Use harborforge_calendar_complete when finished, or harborforge_calendar_pause to pause.
|
||||||
|
Before going idle, check for overdue slots as described in the slot-complete workflow.`;
|
||||||
Working sessions: ${jobData.working_sessions?.join(', ') || 'none recorded'}
|
|
||||||
|
|
||||||
Start working on ${code} now.`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -630,19 +628,15 @@ Start working on ${code} now.`;
|
|||||||
switch (sysData.event) {
|
switch (sysData.event) {
|
||||||
case 'ScheduleToday':
|
case 'ScheduleToday':
|
||||||
return `System Event: Schedule Today
|
return `System Event: Schedule Today
|
||||||
|
|
||||||
Please review today's calendar and schedule any pending tasks or planning activities.
|
|
||||||
Estimated time: ${slot.estimated_duration} minutes.
|
Estimated time: ${slot.estimated_duration} minutes.
|
||||||
|
|
||||||
Check your calendar and plan the day's work.`;
|
Follow the daily-routine skill's plan-schedule workflow to plan today's work.`;
|
||||||
|
|
||||||
case 'SummaryToday':
|
case 'SummaryToday':
|
||||||
return `System Event: Daily Summary
|
return `System Event: Daily Summary
|
||||||
|
|
||||||
Please provide a summary of today's activities and progress.
|
|
||||||
Estimated time: ${slot.estimated_duration} minutes.
|
Estimated time: ${slot.estimated_duration} minutes.
|
||||||
|
|
||||||
Review what was accomplished and prepare end-of-day notes.`;
|
Review today's completed, deferred, and abandoned slots. Write a summary to your daily note (memory/YYYY-MM-DD.md).`;
|
||||||
|
|
||||||
case 'ScheduledGatewayRestart':
|
case 'ScheduledGatewayRestart':
|
||||||
return `System Event: Scheduled Gateway Restart
|
return `System Event: Scheduled Gateway Restart
|
||||||
|
|||||||
Reference in New Issue
Block a user