Skip to content

fix(bob): wait for the composer before first worker input - #1

Closed
alfred-rootson wants to merge 0 commit into
trs-80:feat/ibm-bob-integrationfrom
alfred-rootson:contrib/bob-composer-readiness
Closed

alfred-rootson wants to merge 0 commit into
trs-80:feat/ibm-bob-integrationfrom
alfred-rootson:contrib/bob-composer-readiness

Conversation

@alfred-rootson

@alfred-rootson alfred-rootson commented Oct 9, 2026 •

Copy link
Copy Markdown

Summary

  • configure IBM Bob to use Orca's existing capture-backed composer-marker readiness lane
  • reuse one shared Build Anything, @ for context composer fingerprint for readiness and approval detection
  • support a capture-proven marker that does not have a terminal-mode anchor
  • reject bare ❯ shell prompts and cover chunked output plus both committed Bob captures

Problem

Fresh Bob workers currently select tui-idle. Bob Shell 2.x emits no lifecycle hook before its first input, so waiting for hook-backed idle blocks the input that would cause Bob to emit SessionStart and UserPromptSubmit.

Bob also emits neither DECSET 2004 nor the alternate-screen switch in the committed startup captures. Its safe readiness evidence is the composer placeholder. The bare ❯ glyph is not sufficient because Powerlevel10k, Starship, and Pure can render it in the launching shell before Bob starts.

Design

This does not add a Bob-specific worker-start branch or a new readiness lane. Adding Bob's committed captures selects the existing composer-marker lane and waitForFreshWorkerComposer path. The scanner extension allows a sufficiently specific configured marker to stand without an anchor when the capture proves no anchor exists.

The shared prefix is intentionally shorter than the full placeholder so changes to secondary / for commands or $ for skills hints do not break startup readiness.

Validation

  • ORCA_BACKGROUND_LAUNCH=1 pnpm test with 10 focused readiness/config/startup/worker files: 291 passed
  • nearby Grok replay and Claude/Codex readiness files: 38 passed
  • ORCA_BACKGROUND_LAUNCH=1 pnpm tc: passed
  • ORCA_CODE_QUALITY_BASE=e0f131adfab96cd07984cc0ebf379f2416d6b706 pnpm run check:code-quality:changed: passed, 0 findings
  • pre-commit Oxlint, React Doctor, and Oxfmt hooks: passed
  • git diff --check: passed

Base

This is a dependent change based on trs-80/orca:feat/ibm-bob-integration at e0f131adfab96cd07984cc0ebf379f2416d6b706. It is intended to be merged or cherry-picked into PR stablyai#20397, not merged independently before that integration.

AI disclosure: The code and accompanying messages were generated using the GPT-5.6-sol AI model.

@trs-80

trs-80 commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Cherry-picked as-is onto stablyai#20397 (cb05a1dee5, authorship kept). Thanks!

@trs-80 trs-80 closed this Oct 9, 2026
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.

2 participants