Skip to content

Daily Recap: /today command #12

Description

@cristoforows

Add a /today command that reads back the notes captured into today's Drive markdown file and replies with them, plus a short LLM TL;DR.

Why: the bot captures messages well but there is no way to review them inside Telegram — closes the capture→review loop.

Scope:

  • New recap.py module; register /today in bot.py.
  • Read-only lookup of the day's file (honor day_cutoff_hour); do not create an empty file.
  • Parse the <!-- msg_id: N --> blocks, list entries, prepend a one-paragraph LLM summary (reuse OpenRouter via scheduler.create_llm). Degrade gracefully if the LLM fails.
  • Empty day → friendly 'nothing captured yet'.

Auth-gated like other commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions