Skip to content

Improve Telegram ready notifications with project/session context #564

@Shujakuinkuraudo

Description

@Shujakuinkuraudo

Motivation

Telegram ready notifications currently use a very generic message:

It's ready!

<agent> is waiting for your command

When multiple HAPI sessions are running across different machines or projects, these notifications look almost identical. It is hard to tell which repository, working directory, machine, or task the notification belongs to without opening each session.

Proposal

Add more project/session context to Telegram ready notifications and related action-required notifications. Useful fields could include:

  • Session title or tag, if available
  • Project/repository name
  • Working directory basename or relative path
  • Machine/host name
  • Model/agent name, if relevant
  • A short preview of the last user message or task prompt

For example:

Ready: infra on pc

Codex is waiting for your command
Session: rotate HAPI secrets
Path: ~/infra

Or, for permission requests:

Action required: infra on pc

Codex requests permission
Session: rotate HAPI secrets
Path: ~/infra

Notes

This would make Telegram notifications much more useful for users who keep several sessions active at once. It would also reduce unnecessary Mini App opens just to identify which session generated the notification.

A minimal first version could simply include session title/tag plus machine name, falling back to the current text when context is unavailable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions