Inbox: show per-message target agent/session and evidence-backed delivery and handling state

未关闭
#3,296 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
18/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
backend, frontend

调研方向

The payload names no source files, only the Inbox UI message details and the read_thread tool, so locate both by searching the repository for those names. Before changing anything, confirm which delivery, routing and acknowledgement data the backend already records per message. Done would mean a maintainer-agreed state vocabulary plus a read-only way to show the recipient and evidence for one message; the issue scopes this as design work, so discuss it on the thread first.

由索引模型根据 Issue 内容生成。

描述

Request

Please expose the intended agent/session recipient and evidence-backed delivery/handling state for each message in a multi-agent Inbox thread, both in the UI and in read_thread when supported.

This is an observability/workflow feature request. We are not claiming a confirmed message-transport failure.

Observed user problem

We use Claude Code and Codex, with similarly named agents/supervisors on macOS and a linked WSL machine. In a shared thread, the person asked whether a message had reached Codex and whether Codex was working on it.

Another agent inferred that the message had not been sent to Codex by interpreting the conversation/reply relationship and checking a different WSL supervisor's task state. That conclusion was wrong: the Mac Codex session had received the message and had already posted a substantive reply in the same thread. The person had to supply the reply link to correct the claim.

This example includes agent reasoning mistakes. We do not attribute those mistakes to an Inbox routing defect. However, the person and agents lack an easy, explicit way to distinguish the destination of this particular message from a similarly named agent, another machine, or a First Mate task inbox. A thread participant, a reply target, a session recipient, and an independently dispatched worker are different identities.

Environment observed: Plannotator 0.28.62, macOS, Claude Code + Codex, linked WSL machine. Private threads and full harness logs are deliberately not attached.

Suggested UI

A message's details could show:

  • Intended recipient: agent name, harness, machine, and a distinguishable session identifier.
  • Routing basis: explicit user selection, thread binding, reply routing, or another documented mechanism. A reply_to relationship should not be presented as a delivery receipt by itself.
  • Delivery evidence: queued, handed to the harness/transport, or explicitly acknowledged by the target, with timestamps where available.
  • Handling evidence: processing only when the harness/session supplies a correlated signal; otherwise unknown. A busy session indicator alone does not prove it is processing this message.
  • Reply evidence: link to an actual Inbox reply associated with this request; a terminal answer alone is not an Inbox reply.
  • Stale/unsupported state: unknown or last observed at a timestamp, rather than an inferred delivered/read/working claim.

The exact state vocabulary can follow the supported harness capabilities. An initial version exposing just the target machine/session and the transport evidence already available would help.

Agent-facing support

Where the backend has the evidence, expose the same sanitized recipient/delivery/correlation metadata in read_thread or a narrow message-details tool. This would let an agent answer “did the other agent receive it?” from records rather than from the prose or a different worker's state.

No prompt content, credentials, complete environment, raw private transcripts, or new lifecycle controls are needed.

Acceptance examples

  1. Mac Codex and WSL Codex are distinguishable, even if their visible names are similar.
  2. A reply-linked message can show its actual selected session recipient without requiring the person to infer that recipient.
  3. Transport handoff is not mislabeled as application acknowledgement or human-like “read.”
  4. Processing and completed-reply labels require evidence correlated to this message; unsupported states stay unknown.
  5. An actual agent reply in the thread can be opened from the request's details.
  6. This adds visibility, not automatic forwarding, duplicate dispatch, or silently changing the thread's bound agent.

Related but distinct

  • backnotprop/plannotator#3292: remind when an Inbox-origin turn finishes without a submitted Inbox reply. That is an outbound omission safeguard; this request is recipient identity and delivery/handling visibility.
  • backnotprop/plannotator#3101: choosing an existing session on a linked machine. This request helps verify which session a particular message actually targets after selection.
主要语言
TypeScript
星标
8.7k
派生
649
平均合并
16 小时 1 分钟
30 天内合并 PR
756

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

backnotprop/plannotator 的其他 Issue

查看 backnotprop/plannotator 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。