Skip to content
← Public packages

@kentcdodds/quiet-hours

Quiet hours for Kent's bots: 10 PM to 8 AM MT (DST-aware) clock, shared overnight queue, override, and the 8 AM digest of finished work and open decisions.

FollowFork

Files

README.md

34 lines · 2.2 KB · Markdown

Quiet hours

Intent

From 10:00 PM to 8:00 AM Mountain Time, Kent's bots keep working but stop pinging him. Work that doesn't need Kent just keeps going. Work that needs his input stops at that point and waits as a decision for 8 AM, unless it's urgent. At 8 AM he gets one summary: what got finished overnight and which decisions are open.

This package is the shared clock, the overnight queue, and that morning summary.

How it works

  • The window. 10:00 PM to 8:00 AM America/Denver, every day including weekends. It follows daylight saving time automatically, so it never drifts an hour when the clocks change.
  • Override. "Quiet off" turns quiet hours off for every bot until the next 10 PM. "Quiet on" turns them back on right away, until the next 8 AM. You can also clear an override so the clock decides again.
  • Overnight queue. Bots add finished work ("done"), open decisions ("needs decision"), and FYIs, each with a link. Open decisions are also copied into Waiting on Me, so they don't disappear once the summary scrolls away.
  • The 8 AM summary. It reports finished work and open decisions. It isn't a to-do list to start working through. It's ordered:
    1. Urgent things that already got handled overnight
    2. Hard deadlines today
    3. Decisions a bot is blocked on
    4. Everything else that got done, plus FYIs On a night with nothing to report it's one line: "Quiet night. Nothing needs you."
  • Safety net. If the 8 AM summary hasn't gone out by 8:15 AM MT, a plain copy posts to Kent's Discord #reports channel. This job ships disabled. Turn it on only after the 8 AM routine exists.

Who's excluded

Lilly (private) and Imogen (alt text only) ignore quiet hours. They keep their normal behavior and never write to the shared queue.

Setup

Nothing to configure. No secrets. The Discord safety net uses the existing Discord package and posts to #reports by default.

Done when

  • Overnight Discord posts arrive silently. Only urgent ones notify.
  • Overnight bot wakes are marked as quiet, so each bot knows to finish its work or queue a decision instead of messaging Kent.
  • Kent gets one morning summary of what got done and what's waiting on him.