已关闭
[TELEGRAM-02] Project canonical assistant events to Telegram #37
urandon创建于  8月4日关闭于  8月19日
urandon
urandon成员
8月4日 创建

Parent and architecture

Outcome

Make the existing Telegram sender project canonical assistant events through the durable frontend-projection boundary without owning result content or history.

Estimate

  • 3 SP / 2 engineering days
  • Risk: medium

Scope

  • Consume a generic frontend projection record referencing a canonical assistant event.
  • Resolve the authorized Telegram binding and render bounded text/file messages.
  • Preserve delivery claim, retry/backoff and dead-letter behavior.
  • Keep Telegram message IDs and post-send ambiguity as transport delivery facts.
  • Ensure delivery TTL expiry cannot erase canonical assistant/tool history.
  • Reject tenant, binding, session, event and attachment mismatches before send.
  • Update sender documentation and projection tests.

Verification

  • Delivery retry does not duplicate the canonical assistant event.
  • A stale or cross-tenant binding/event reference cannot be sent.
  • Missing/archived/revoked bindings follow explicit retry or terminal policies.
  • Text and attachment projections preserve canonical payload digests.
  • Physical post-send ambiguity is documented and reconciled without claiming exactly-once Telegram delivery.

Acceptance criteria

  • Telegram consumes canonical events as a projection frontend.
  • Canonical result history survives Telegram delivery state expiry.
  • The sender contains no canonical conversation/session ownership.
  • This issue is independently schedulable after generic finalization.

Non-goals

  • Worker finalization.
  • Telegram external ingress edge #17.
  • Physical exactly-once Telegram sends.
  • WebUI projection.
likedislike
urandon
urandon成员
8月18日 评论:

Starting implementation after #36 / MR !34 merged.

Planned slice:

  • audit the generic frontend_projection_outbox contract produced by canonical finalization and the existing Telegram delivery claim/retry/DLQ machinery;
  • add a Telegram projection consumer that resolves the authoritative binding/session/event under tenant authorization before rendering;
  • preserve canonical payload digests and attachment references while keeping Telegram delivery state transport-only;
  • define explicit policies for stale/archived/revoked/missing bindings and post-send ambiguity;
  • update sender wiring, docs, unit/YDB/multi-service coverage;
  • publish MR, synchronize the GitHub replica, run an independent reviewer cycle, address feedback, then merge only on exact-SHA green CI.
likedislike
urandonurandon成员
8月19日 关联了pull request:[TELEGRAM-02] Project canonical assistant events to Telegram
urandon
urandon成员
8月19日 评论:

Implementation status

MR !35 implements TELEGRAM-02.

  • exact head: 9d3dc6c0cff91c3b345389056e83221856c8af32
  • independent review cycle: no actionable findings
  • GitCode→GitHub mirror: finished
  • GitHub exact-SHA CI run #106: passed
  • issue relation: linked through GitCode MCP

Ready for merge.

likedislike
urandon
urandon成员
8月19日 评论:

TELEGRAM-02 завершена и проверена.

Acceptance criteria issue покрыты реализацией и тестами; issue закрывается после зелёного merge-SHA gate.

likedislike
urandonurandon成员
8月19日 关闭了 issue
urandonurandon成员
26 天前 添加了label:mvptelegram
urandonurandon成员
26 天前 关联了里程碑:MVP — Core platform (#6)