feat: add daily-routine skill and role definitions
daily-routine skill: - plan-schedule: daily planning workflow (review workload, create slots, coordinate with other agents) - task-handson: task execution workflow (acknowledge slot, find right skill workflow, execute) - slot-complete: post-slot workflow (record results, check overdue, defer or pick next) Role definitions (6 roles): - developer, manager, operator, mentor, secretary, agent-resource-director - Each defines responsibilities, capabilities, boundaries, escalation rules, and memory practice Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
63
daily-routine/workflows/slot-complete.md
Normal file
63
daily-routine/workflows/slot-complete.md
Normal file
@@ -0,0 +1,63 @@
|
||||
# Slot Complete
|
||||
|
||||
When you have finished working on the current slot.
|
||||
|
||||
## Process
|
||||
|
||||
### 1. Record Results
|
||||
|
||||
Update the task status if applicable:
|
||||
|
||||
```bash
|
||||
hf tasks update --id <task_id> --status <completed|in-progress|blocked>
|
||||
```
|
||||
|
||||
Update the slot:
|
||||
|
||||
```bash
|
||||
hf calendar slot update --id <slot_id> --status finished
|
||||
```
|
||||
|
||||
### 2. Write to Memory
|
||||
|
||||
Append a brief work summary to your daily note (`memory/YYYY-MM-DD.md`):
|
||||
|
||||
```
|
||||
## Slot <slot_id> — <task summary>
|
||||
- What was done: ...
|
||||
- Key decisions: ...
|
||||
- Output: commit <hash>, PR #<num>, file <path>, etc.
|
||||
- Blockers: ... (if any)
|
||||
```
|
||||
|
||||
### 3. Check for Overdue Slots
|
||||
|
||||
Before going idle, check if there are overdue slots:
|
||||
|
||||
```bash
|
||||
hf calendar show --date today --status not-started
|
||||
```
|
||||
|
||||
For each overdue slot, decide:
|
||||
- **Defer**: reschedule to a later time today (if work period allows)
|
||||
- **Skip**: if no longer relevant
|
||||
|
||||
```bash
|
||||
hf calendar slot update --id <slot_id> --status deferred --time HH:MM
|
||||
```
|
||||
|
||||
### 4. Decide Next Action
|
||||
|
||||
If there are more ready slots within the work period:
|
||||
- Pick the highest priority one
|
||||
- Follow `task-handson` workflow for it
|
||||
- Do NOT set status to idle yet
|
||||
|
||||
If no more slots, or work period is ending:
|
||||
- Set status to idle:
|
||||
|
||||
```bash
|
||||
hf agent status --set idle
|
||||
```
|
||||
|
||||
Your session can end. You will be woken up again if new slots become due.
|
||||
Reference in New Issue
Block a user