Registry Mirror
Skip to content

Conversation

@backnotprop

@backnotprop backnotprop commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

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

  1. send_message's body field (packages/server/inbox-mcp.ts): new SEND_BODY_DESCRIPTION with the two lines, the bare-negative rule and an example block (INBOX_STOP_EXAMPLE). A field description reaches the model whole (the SUPERSEDES_DESCRIPTION precedent). 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 from INBOX_SECTIONS, not hard-coded text.
    • The plannotator_inbox tool (Claude Code mod, Pi, OpenCode) is built from tools/list by inboxAgentTool, and its body carries this description. No change to the connection contract (connection.ts / inbox-contract.ts) was needed.
    • apps/hook/hooks/mod/inbox-default-tools.ts is regenerated with bun run scripts/sync-mod-inbox-tools.ts, not edited by hand.
  2. QUESTION_AUTHORING_GUIDE is unchanged. Plan review shares it, and the plannotator skill copies it byte for byte.
  3. Agent guide (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 for Stopped: and for Holds up: entries.
  4. Docs: reference/inbox.md and guides/questions.md each 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.
  5. AGENTS.md (CLAUDE.md): one line in the Inbox MCP section about where these lines are taught.

Not touched: the wake text, the reminder line and the agent note (see below).

Character counts

Text Length Limit
INBOX_MCP_INSTRUCTIONS 2,035 (unchanged) < 2,048
SEND_MESSAGE_DESCRIPTION 2,784 (unchanged; the pinned cut still keeps the guide's working part) cut at 2,048
SEND_BODY_DESCRIPTION (new) 796 field description, reaches the model whole

The plannotator_inbox tool's body grows 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.md and 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 :::question block)":

If you cannot continue without the answer, add a Stopped: <why> line to the block; if other work waits on it, add Holds up: <work>; <work>.

What a change would cause on machines that already have the note:

  • The existing v1 blocks stay as written. A note is rewritten only when it is added again (the note dialog, Settings → Agents, plannotator inbox --notes), and then only over a block whose hash matches the record in inbox/agent-notes.json.
  • Where the record is gone, noteStatus compares the block with the new text. Every old block would then show as "edited" ("you edited it" in Settings and in uninstall --dry-run), and it would never be updated by itself.
  • Uninstall and switching a note off still find the blocks by their markers, so removal is not affected.
  • A clean rollout would need a version bump (INBOX_NOTE_VERSION 2) 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 body field and --help reach every agent that sends, at the moment it writes the block.

Tests

  • packages/server/inbox.test.ts: the served body description equals SEND_BODY_DESCRIPTION, and the plannotator_inbox tool's body contains it. The example parses with the store's parser to stopped plus two holds_up entries. no, none, n/a and - 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.
  • Also ran: 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 (temp PLANNOTATOR_DATA_DIR, PLANNOTATOR_INBOX_CONNECT=0, PLANNOTATOR_BROWSER=/usr/bin/true).

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.
@backnotprop
backnotprop merged commit 88d69a1 into main Oct 14, 2026
48 of 50 checks passed
@backnotprop
backnotprop deleted the inbox-stopped-holds-up-docs branch October 14, 2026 19:24
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