picoclaw/pkg
yinwm e63f96794f feat: US-020 - Move heartbeat log to memory directory
Verified and tested that heartbeat log is written to memory directory:
- Current code uses workspace/memory/heartbeat.log (correct)
- Added TestLogPath test verifying log is in memory directory
- All acceptance criteria met

Note: US-020 was already implemented (log path was already memory/heartbeat.log).
This commit adds the missing test to verify the requirement.

Acceptance criteria met:
- Log path is workspace/memory/heartbeat.log (not workspace/heartbeat.log)
- Directory auto-created if missing (os.MkdirAll)
- Log format unchanged (timestamped messages)
- Typecheck passes (go build ./... succeeds)
- go test ./pkg/heartbeat -run TestLogPath passes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 20:16:36 +08:00
..
agent feat: US-018 - Add SubagentTool with ToolResult support 2026-02-12 20:14:21 +08:00
auth feat(auth): add OAuth and token-based login for OpenAI and Anthropic 2026-02-11 11:41:13 -06:00
bus * First commit 2026-02-09 19:20:19 +08:00
channels refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
config feat: US-019 - Enable heartbeat by default in config 2026-02-12 20:15:43 +08:00
cron refactor(agent): improve code quality and restore summarization 2026-02-11 20:31:41 +08:00
heartbeat feat: US-020 - Move heartbeat log to memory directory 2026-02-12 20:16:36 +08:00
logger * First commit 2026-02-09 19:20:19 +08:00
migrate feat(migrate): add picoclaw migrate command for OpenClaw workspace migration 2026-02-11 12:48:16 -06:00
providers chore(deps): upgrade openai-go from v1.12.0 to v3.21.0 2026-02-11 13:39:19 -06:00
session fix(cron): add one-time reminders and fix data paths to workspace 2026-02-11 20:31:41 +08:00
skills Add memory system, dynamic tool loading, and fix logging issues 2026-02-11 00:14:33 +08:00
state feat: US-009 - Add state save atomicity with SetLastChannel 2026-02-12 19:46:10 +08:00
tools feat: US-018 - Add SubagentTool with ToolResult support 2026-02-12 20:14:21 +08:00
utils refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
voice Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00