fix: filedrop reply routing + debug logging + workspace deploy (#151) #153

Merged
Zeus merged 2 commits from fix/filedrop-reply-logging into main 2026-02-27 20:45:45 +00:00
Collaborator

Changes

1. Filedrop reply mechanism

Filedrop plugin now implements communication.send via handle_send(). When the loop plugin processes a filedrop message and generates a response, comm.send() routes it back through filedrop to the original sender. The recipient is extracted from the inbox path in channel_id.

2. Debug logging

  • filedrop: log_debug on poll, read, move-to-processed, send
  • loop: log_debug on message handling (sender + channel_type)

3. Workspace context deployment

  • deploy.sh now copies workspace/*.md to ~/.cobot/workspace/ (SOUL.md, TOOLS.md, HEARTBEAT.md)
  • Added workspace/HEARTBEAT.md with filedrop check instructions
  • Also incorporates #139 (kill before restart) and #149 (chown fix)

Note

This PR also includes deploy.sh fixes from #139/#149 since they haven't merged yet and all touch the same file. PR #150 can be closed if this merges first.

Closes #151

## Changes ### 1. Filedrop reply mechanism Filedrop plugin now implements `communication.send` via `handle_send()`. When the loop plugin processes a filedrop message and generates a response, `comm.send()` routes it back through filedrop to the original sender. The recipient is extracted from the inbox path in `channel_id`. ### 2. Debug logging - `filedrop`: log_debug on poll, read, move-to-processed, send - `loop`: log_debug on message handling (sender + channel_type) ### 3. Workspace context deployment - `deploy.sh` now copies `workspace/*.md` to `~/.cobot/workspace/` (SOUL.md, TOOLS.md, HEARTBEAT.md) - Added `workspace/HEARTBEAT.md` with filedrop check instructions - Also incorporates #139 (kill before restart) and #149 (chown fix) ### Note This PR also includes deploy.sh fixes from #139/#149 since they haven't merged yet and all touch the same file. PR #150 can be closed if this merges first. Closes #151
- Filedrop plugin implements communication.send via handle_send()
  so LLM responses to filedrop messages are routed back to sender
- Add debug logging to filedrop poll_inbox, send, handle_send
- Add debug logging to loop _handle_message
- deploy.sh: copy workspace/*.md to ~/.cobot/workspace/ on deploy
- deploy.sh: kill existing processes before restart (incorporates #139, #149)
- Add workspace/HEARTBEAT.md for Alpha heartbeat instructions

Closes #151
Zeus merged commit c0bbabbf84 into main 2026-02-27 20:45:45 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ultanio/cobot!153
No description provided.