Skip to content

feat(daemon): a lone long DM arrives whole in a hook (MUS-102) - #185

Merged
Castor-o7 merged 6 commits into
mainfrom
feat/hook-inbox-full-dms
Nov 7, 2026
Merged

Castor-o7 merged 6 commits into
mainfrom
feat/hook-inbox-full-dms

Conversation

@Castor-o7

Copy link
Copy Markdown
Owner

From the DiscoSim rally issues log §1.3. Long peer messages, such as the team summaries, arrived cut at 2,000 characters, and each one needed an extra muster://messages read.

Change.

  • A hook now shows up to 6,000 characters of one message (HOOK_BODY_MAX_CHARS). Before, it used the live push's 2,000 cap.
  • A batch still splits the 8,000-char budget, minimum 256 each, and the block still fits under Claude's 10,000-char hook limit.
  • The live push (meta.body) keeps 2,000.
  • README and docs/hook-delivery.md say the new numbers.
  • The roadmap gets a MUS-102 entry.

Tests. hook_inbox_e2e checks that a lone 4,000-char DM arrives whole with no truncation notice. The existing bounded-preview check now uses a 7,000-char body. Daemon hook tests and clippy pass.

Not here. A read_message(id) tool. Also §10.1, mail marked read that the model never saw: the hook ack fires once the HTTP response is written to the hook process, which is before the harness puts the text in front of the model. That needs its own design.

🤖 Generated with Claude Code

Castor-o7 and others added 4 commits November 6, 2026 18:55
A hook now shows up to 6,000 characters of one message instead of the
live push's 2,000, within the same 8,000-char batch budget, so a team
summary no longer needs a resource read. From the rally issues log §1.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Castor-o7
Castor-o7 merged commit 45e6b30 into main Nov 7, 2026
6 checks 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