Conversation
send_message's body field now carries the two Inbox-only question lines, the bare-negative rule and an example block (SEND_BODY_DESCRIPTION, INBOX_STOP_EXAMPLE). A field description reaches the model whole, and the plannotator_inbox tool carries it on its body. The mod's bundled tool list is regenerated. The agent guide states the bare-negative rule; the Inbox reference and the questions guide gain an example. QUESTION_AUTHORING_GUIDE is unchanged (plan review shares it).
Review fixes: the guide's blocker bullet no longer reads as either/or, the body description and the docs say a Stopped: line wins over Holds up: for the thread's section, and the docs say Stopped: no reads as if the line were not there (a valid Holds up: still applies). The mod's bundled tool list is regenerated.
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Agents had almost nothing telling them how to mark an Inbox question as stopping them, so "Stopped on you" and "Holding up work" rarely fired. The parser (
packages/core/inbox-questions.ts) and the list (packages/shared/inbox/list.ts) already support the lines. This PR teaches them, in the Inbox only.Where the lines went, and why
bodyfield (packages/server/inbox-mcp.ts): newSEND_BODY_DESCRIPTIONwith the two lines, the bare-negative rule and an example block (INBOX_STOP_EXAMPLE). A field description reaches the model whole (theSUPERSEDES_DESCRIPTIONprecedent). send_message's own description is not touched: Claude Code cuts it at 2,048 characters and the question guide already fills that. The section labels come fromINBOX_SECTIONS, not hard-coded text.plannotator_inboxtool (Claude Code mod, Pi, OpenCode) is built fromtools/listbyinboxAgentTool, and itsbodycarries this description. No change to the connection contract (connection.ts/inbox-contract.ts) was needed.apps/hook/hooks/mod/inbox-default-tools.tsis regenerated withbun run scripts/sync-mod-inbox-tools.ts, not edited by hand.QUESTION_AUTHORING_GUIDEis unchanged. Plan review shares it, and theplannotatorskill copies it byte for byte.plannotator inbox --help,apps/hook/server/inbox-help.ts): the existing "Only in the Inbox" subsection already had both lines and an example block (INBOX_QUESTION_EXAMPLE). It now also states the bare-negative rule forStopped:and forHolds up:entries.reference/inbox.mdandguides/questions.mdeach get the example block and the bare-negative rule. The questions guide notes that the lines are Inbox-only, and that in a plan they stay plain context text.Not touched: the wake text, the reminder line and the agent note (see below).
Character counts
INBOX_MCP_INSTRUCTIONSSEND_MESSAGE_DESCRIPTIONSEND_BODY_DESCRIPTION(new)The
plannotator_inboxtool'sbodygrows from 282 to 796 characters (about 130 tokens more per request) on hosts where the tool is on (Pi and OpenCode are off by default; Claude Code defers the tool behind tool search).Proposed (NOT applied): one line in the agent note
The note in
~/.claude/rules/plannotator-inbox.mdand in the other agents' instruction files (INBOX_NOTE_BODY,packages/server/inbox-agent-notes.ts) is owner-approved text. This PR does not change it. If you want the note to mention the lines, this is a possible sentence to add after "...(as a:::questionblock)":What a change would cause on machines that already have the note:
plannotator inbox --notes), and then only over a block whose hash matches the record ininbox/agent-notes.json.noteStatuscompares the block with the new text. Every old block would then show as "edited" ("you edited it" in Settings and inuninstall --dry-run), and it would never be updated by itself.INBOX_NOTE_VERSION2) plus a path that rewrites untouched v1 blocks. Without that, the new text reaches only new notes.My view: it is probably not needed. The tool's
bodyfield and--helpreach every agent that sends, at the moment it writes the block.Tests
packages/server/inbox.test.ts: the servedbodydescription equalsSEND_BODY_DESCRIPTION, and theplannotator_inboxtool'sbodycontains it. The example parses with the store's parser tostoppedplus twoholds_upentries.no,none,n/aand-parse as no stop and nothing held up, and the text names each of them. The 2,048 checks on the description cut and the instructions still pass.apps/hook/server/inbox-help.test.ts: the guide states the bare-negative rule.inbox-contract.test.ts,inbox-default-tools.test.ts,inbox-question-waits.test.ts,list-waits.test.ts,plannotator-skill-reference.test.ts,inbox-supersede.test.ts,connection.test.ts,apps/hook/hooks/mod/inbox.test.ts. All pass (tempPLANNOTATOR_DATA_DIR,PLANNOTATOR_INBOX_CONNECT=0,PLANNOTATOR_BROWSER=/usr/bin/true).