prompt: remove reference to unshipped async bash() kernel helper - #1508
Merged
Conversation
The IPYTHON_CONTROL_PROMPT paragraph added in #1188 tells the model to use a documented async bash() helper and "managed jobs with durable receipts", but neither exists: bash() is from the unmerged #1187 and no job/receipt facility ships in the runtime. Conditional phantom capabilities prime the model to hallucinate wrappers the prompt otherwise forbids. Remove the paragraph and pin its absence in system-prompt.test.ts so it only returns together with the actual feature.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d6bb18b. Configure here.
alexzhang13
approved these changes
Aug 18, 2026
pde-rent
pushed a commit
to pde-rent/optimus-prime
that referenced
this pull request
Aug 19, 2026
gogoyqj
pushed a commit
to gogoyqj/prime-agent
that referenced
this pull request
Aug 21, 2026
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 this does
Removes one paragraph from
IPYTHON_CONTROL_PROMPT(added in #1188) that tells the model to use an asyncbash()kernel helper and "managed jobs with durable receipts".Why
Neither exists:
bash()is the feature from feat(coding-agent): add async bash() to IPython kernel #1187, which is still open and unmerged. Nothing namedbashis defined in the kernel bootstrap.The "If the runtime provides..." hedge does not help: it primes the model to look for
bash()and invent wrappers, which the prompt elsewhere explicitly forbids. A system prompt should only describe capabilities that are actually there.The surrounding guidance already covers the real mechanisms:
%%bashcells for shell work, and the nonblocking control-loop rules from #1188 for long-running work.Changes
rlm.ts: remove the paragraph (2 lines).If/when #1187 merges, an affirmative version of this guidance should ship inside that PR's diff so prompt and capability stay in lockstep.
Note
Low Risk
Prompt-only change aligning model instructions with actual kernel capabilities; no runtime or auth paths touched.
Overview
Removes a paragraph from
IPYTHON_CONTROL_PROMPTinrlm.tsthat told models to use an asyncbash()kernel helper and managed jobs with durable receipts for background or long-running shell work.Those capabilities are not in the runtime (the
bash()helper is still unmerged), so the text could push the model to hunt for or invent helpers the prompt elsewhere forbids. Shell work stays documented via%%bashcells and the existing nonblocking control-loop guidance.Changelog records the removal under [Unreleased].
Reviewed by Cursor Bugbot for commit d6ff0a0. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Remove reference to unshipped async
bash()helper from IPYTHON control promptDeletes a paragraph from the
IPYTHON_CONTROL_PROMPTconstant in rlm.ts that instructed use of an asyncbash()helper and managed background jobs — neither of which were shipped.Macroscope summarized d6ff0a0.