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:
zhi
2026-04-18 17:14:05 +00:00
parent 4cca810c15
commit 1d34768019
10 changed files with 428 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
# Plan Schedule
When woken up for daily planning (typically 01:00 UTC). You receive your suggested workload for the day.
## Process
### 1. Review Suggested Workload
Read the suggested workload provided in your wakeup message. This includes:
- Number of oncall slots to schedule
- Number of task slots to schedule
This was designed by agent-resource-director for your specific role and capacity.
### 2. Review Existing Schedule
Check if any slots have already been planned for today:
```bash
hf calendar show --date today
```
### 3. Review Pending Tasks
List tasks assigned to you or that you've claimed:
```bash
hf tasks list --assignee me --status open
```
### 4. Plan Slots
Create slots for today. Distribute them within the work period:
```bash
hf calendar slot create --type work --time HH:MM --duration <min> --event-data '{"task_id": <id>}'
hf calendar slot create --type oncall --time HH:MM --duration <min>
```
For each task slot, note which HF task you intend to work on.
### 5. Assess Collaboration Needs
Review your planned work — does any task require discussion with other agents?
If yes:
- Check the shared daily planning channel
- Propose discussion time with relevant agents
- Agree on a time slot
### 6. Write Daily Plan to Memory
Append a brief summary to your daily note:
```
memory/YYYY-MM-DD.md:
## Daily Plan
- N task slots, M oncall slots scheduled
- Tasks to work on: [list]
- Discussions planned: [list or none]
```
### 7. Confirm Readiness
Once your schedule is submitted, you're done with planning. Set your status:
```bash
hf agent status --set idle
```
Wait for your first slot to be triggered by the wakeup mechanism.