picoclaw/pkg
dj-oyu 1daa2c135c test: add cancellation and AgentLoop lifecycle reporter tests
- pkg/tools/subagent_reporter_test.go: add blockingProvider stub and
  TestSubagentManager_Spawn_CancelledDuringExecution — verifies that
  context cancellation mid-LLM-call emits agent_gc(reason=cancelled)
  and clears the Broadcaster snapshot
- pkg/agent/loop_reporter_test.go: new file — verifies main session and
  heartbeat session lifecycle events through a real Broadcaster:
  agent_spawn → agent_state(waiting) → agent_gc(completed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 04:22:03 +09:00
..
agent test: add cancellation and AgentLoop lifecycle reporter tests 2026-02-25 04:22:03 +09:00
auth feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
bus feat: live task terminal, session lock, reply-based intervention 2026-02-22 02:51:12 +09:00
channels fix: data race in WeComBot processedMsgs map access 2026-02-24 16:06:04 +09:00
config feat: add --orchestration startup flag to gate spawn tool 2026-02-25 01:54:49 +09:00
constants refactor: replace bool map with set-style map for internal channels (#472) 2026-02-19 11:48:17 +01:00
cron feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
devices feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
git perf: reduce []byte/string conversions and add ASCII fast paths 2026-02-24 15:43:41 +09:00
health feat: add Telegram Mini App dashboard 2026-02-22 06:22:41 +09:00
heartbeat fix: suppress duplicate heartbeat notifications with 24h TTL 2026-02-24 07:38:32 +09:00
logger fix: use local time for log timestamps instead of UTC 2026-02-24 17:24:19 +09:00
migrate feat: add native Mistral AI provider support 2026-02-22 11:40:21 +04:00
miniapp refactor: split pkg/miniapp/miniapp.go into focused files 2026-02-25 03:25:18 +09:00
orch test: add AgentReporter interface and event-ordering tests 2026-02-25 04:12:04 +09:00
providers fix: context leak in TestChatStream_EarlyCancel 2026-02-24 17:18:46 +09:00
routing feat: add multi-agent routing with declarative bindings 2026-02-13 12:12:33 -03:00
session perf: add write-behind for sessions — reduce disk writes by 80% 2026-02-24 15:47:18 +09:00
skills perf: hoist per-call allocations to package-level variables 2026-02-24 15:44:18 +09:00
state feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
stats perf: add write-behind for stats.json — reduce disk writes by 98% 2026-02-24 15:46:51 +09:00
tailscale feat: add Telegram Mini App dashboard 2026-02-22 06:22:41 +09:00
tools test: add cancellation and AgentLoop lifecycle reporter tests 2026-02-25 04:22:03 +09:00
utils perf: hoist per-call allocations to package-level variables 2026-02-24 15:44:18 +09:00
voice feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00