zhi-2026-04-18 #16

Merged
hzhang merged 3 commits from zhi-2026-04-18 into main 2026-05-01 07:24:36 +00:00
Contributor
No description provided.
hzhang added 2 commits 2026-05-01 07:24:26 +00:00
Returns today's slots for all agents on a claw instance, keyed by
agent_id. Used by HF Plugin to maintain a local schedule cache
instead of per-agent heartbeat.

Also records heartbeat for all agents on the instance.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- New model: ScheduleType (name, work_from/to, entertainment_from/to)
- Agent.schedule_type_id FK to schedule_types
- CRUD API: GET/POST/PATCH/DELETE /schedule-types/
- Agent assignment: PUT /schedule-types/agent/{agent_id}/assign
- Agent self-query: GET /schedule-types/agent/me
- Permissions: schedule_type.read, schedule_type.manage
- Migration: adds schedule_type_id column to agents table

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hzhang added 1 commit 2026-05-01 07:24:31 +00:00
hzhang merged commit 1cb924451b into main 2026-05-01 07:24:36 +00:00
hzhang deleted branch zhi-2026-04-18 2026-05-01 07:24:36 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zhi/HarborForge.Backend#16