Skip to content

BOB-183: UserPromptSubmit inbox hook delivers messages at turn start; status shows undelivered - #35

Merged
ccevans merged 2 commits into
mainfrom
bobby/bob-183-conductor-inbox-hook
Nov 8, 2026
Merged

ccevans merged 2 commits into
mainfrom
bobby/bob-183-conductor-inbox-hook

Conversation

@ccevans

@ccevans ccevans commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

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 status gains 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

ccevans and others added 2 commits November 8, 2026 10:15
… 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
ccevans force-pushed the bobby/bob-183-conductor-inbox-hook branch from b2db4a9 to 3ead2aa Compare November 8, 2026 15:16
@ccevans
ccevans merged commit 91a09f4 into main Nov 8, 2026
3 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