Workspace correspondence: wire into heartbeat tick #28

Closed
opened 2026-03-14 13:33:34 +00:00 by Rockachopa · 0 comments
Owner

What

The workspace/ directory is set up for Hermes ↔ Timmy file-based communication:

  • workspace/correspondence.md — append-only journal
  • workspace/inbox/ — files from Hermes to Timmy
  • workspace/outbox/ — files from Timmy to Hermes
  • workspace/shared/handoff_patterns.md — protocol docs

Currently Timmy has no automated way to check for new correspondence. This should be wired into his thinking tick / heartbeat.

What to do

  1. Add a function in thinking.py or a new workspace.py module:

    • Check workspace/correspondence.md for entries after last-seen timestamp
    • Check workspace/inbox/ for new files
    • If new content found, read it and generate a response
    • Append response to correspondence.md
    • Optionally drop files in workspace/outbox/
  2. Call this function from the heartbeat/tick cycle

  3. Track "last seen" timestamp in MEMORY.md or a small state file

Protocol

See workspace/README.md and workspace/shared/handoff_patterns.md for the format spec.

Files

  • src/timmy/thinking.py — add workspace check to tick cycle
  • NEW: src/timmy/workspace.py (optional, could be a function in thinking.py)
  • workspace/ — already set up

Estimated effort: 1-2 hours

## What The `workspace/` directory is set up for Hermes ↔ Timmy file-based communication: - `workspace/correspondence.md` — append-only journal - `workspace/inbox/` — files from Hermes to Timmy - `workspace/outbox/` — files from Timmy to Hermes - `workspace/shared/handoff_patterns.md` — protocol docs Currently Timmy has no automated way to check for new correspondence. This should be wired into his thinking tick / heartbeat. ## What to do 1. Add a function in `thinking.py` or a new `workspace.py` module: - Check `workspace/correspondence.md` for entries after last-seen timestamp - Check `workspace/inbox/` for new files - If new content found, read it and generate a response - Append response to `correspondence.md` - Optionally drop files in `workspace/outbox/` 2. Call this function from the heartbeat/tick cycle 3. Track "last seen" timestamp in MEMORY.md or a small state file ## Protocol See `workspace/README.md` and `workspace/shared/handoff_patterns.md` for the format spec. ## Files - `src/timmy/thinking.py` — add workspace check to tick cycle - NEW: `src/timmy/workspace.py` (optional, could be a function in thinking.py) - `workspace/` — already set up ## Estimated effort: 1-2 hours
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#28