Time checks in on the office bus #275

Merged
teahubxyz merged 5 commits from office-bus into main 2026-10-27 17:42:00 +00:00
Owner

The heartbeat, doctor, Astra and housekeeping now check in on Teahub's office bus (teahubxyz/teahub#30, #31) when they start and when they end ("heartbeat: running" → "heartbeat: done", or "failed (Error)"), with a link to the run. Names are time-heartbeat, time-astra, etc., posted as the time user with TIME_TOKEN.

  • office.py: best effort only. A 5s timeout, never raises, prints one line when skipped. TIME_BUS=off turns it off. No token means no check-in (doctor has none; the GitHub copy has none).
  • mention stays off the bus (it fires on every comment).
  • Tests: test_office.py (4); test_time, test_housekeeping and test_seed unchanged and green.

Needs teahubxyz/teahub#31 deployed (POST /bus) to do anything; until then every check-in is a quiet skip.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FAqjv4PBaoWnL62rDKmBJ1

The heartbeat, doctor, Astra and housekeeping now check in on Teahub's office bus (teahubxyz/teahub#30, #31) when they start and when they end ("heartbeat: running" → "heartbeat: done", or "failed (Error)"), with a link to the run. Names are `time-heartbeat`, `time-astra`, etc., posted as the `time` user with TIME_TOKEN. - `office.py`: best effort only. A 5s timeout, never raises, prints one line when skipped. `TIME_BUS=off` turns it off. No token means no check-in (doctor has none; the GitHub copy has none). - `mention` stays off the bus (it fires on every comment). - Tests: `test_office.py` (4); test_time, test_housekeeping and test_seed unchanged and green. Needs teahubxyz/teahub#31 deployed (`POST /bus`) to do anything; until then every check-in is a quiet skip. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01FAqjv4PBaoWnL62rDKmBJ1
teahubxyz added 4 commits 2026-10-27 17:24:49 +00:00
teahubxyz added 1 commit 2026-10-27 17:30:05 +00:00
teahubxyz merged commit 988d772fbb into main 2026-10-27 17:42:00 +00:00
Sign in to join this conversation.