Skip to content

fix(T765): close informational mail on read; remind and escalate unanswered work mail - #401

Merged
kryptobaseddev merged 3 commits into
mainfrom
fix/t765-unanswered-mail
Nov 2, 2026
Merged

kryptobaseddev merged 3 commits into
mainfrom
fix/t765-unanswered-mail

Conversation

@kryptobaseddev

Copy link
Copy Markdown
Owner

Owner decision 2026-11-02 (split by kind).

  • Informational mail closes on read. A full read of message/reply/status with no needs_reply and no owner authority acks it as auto: read (audited). The daemon's 60 s sweep closes the existing backlog (961 of 1,371 read-but-unacked rows on this Mac) and reads by older connectors. Metadata-only reads stay open.
  • 30 min reminder. Work mail (request/task/decision/alert/needs_reply) read 30+ min ago with no reply or ack is named by id at the next prompt and at Stop. Stop is the path that reaches OpenCode, which has no prompt hook: that was the root cause of OpenCode agents leaving requests read and unanswered.
  • 2 h lead alert. One alert per message to the agent's project lead, ids and senders only; the copy's note unanswered shows in the sender's receipts.
  • agentmbx read marks mail read like mbx_read.

Tests: new test/unanswered.test.ts, a Stop test in test/hook-stop-read.test.ts; tests that modelled read-but-unacked mail with plain messages now use work kinds.

🤖 Generated with Claude Code

kryptobaseddev and others added 3 commits November 2, 2026 09:11
…ork mail at 30 min, alert the lead at 2 h

OpenCode agents opened requests within seconds and never replied or acked; the read-but-unacked reminder ran
only on a prompt hook, which OpenCode lacks. 70% of read-but-unacked mail was status/reply asking for nothing.

- message/reply/status without needs_reply or owner authority acks as 'auto: read' on a full read; the daemon
  sweep closes the backlog and older-connector reads (metadata-only reads stay open)
- work mail read 30+ min ago with no reply or ack is named by id at the next prompt and at Stop
- 2 h unanswered: one alert per message to the project lead; the copy's note 'unanswered' shows in receipts
- agentmbx read marks mail read like mbx_read

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kryptobaseddev
kryptobaseddev merged commit 863dfa8 into main Nov 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant