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>
5.7 KiB
5.7 KiB