Repository navigation
BOB-183: UserPromptSubmit inbox hook delivers messages at turn start; status shows undelivered - #35
Merged
Merged
Conversation
… status shows undelivered Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Hook treats an empty inbox file (send between open and write) as nothing to deliver instead of a line-1 JSON error; status reports an unparseable ts as an error entry instead of a silent not-stale NaN age. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ccevans
force-pushed
the
bobby/bob-183-conductor-inbox-hook
branch
from
November 8, 2026 15:16
b2db4a9 to
3ead2aa
Compare
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.
Delivery for the BOB-182 file inbox. templates/hooks/conductor-inbox.sh (UserPromptSubmit) returns unread lines as additionalContext and moves the cursor only after the output is written; failures go to stderr with exit 1 (never 2, never blocks a prompt); empty inbox ~30 ms. Installed by bobby init/upgrade next to context-cap.sh.
conductor statusgains an INBOX section (undelivered count, oldest age, stale flag 'waiting for CC to reply' on blocked sessions, 'not delivered' otherwise). New required config key inbox.stale_minutes, written by init (30); existing studios must add it.Rebased on BOB-180 (#34). Full suite: 127 suites passed, 2298 tests (EXITCODE=0).
🤖 Generated with Claude Code